theragist-ts 1.0.21 → 1.0.22
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/index.d.ts +1 -1
- package/dist/index.js +18 -16
- package/dist/session/message.d.ts +2 -0
- package/dist/session/message.js +35 -1
- package/dist/therapist/message.d.ts +3 -1
- package/dist/therapist/message.js +35 -1
- package/dist/user/message.d.ts +22 -3
- package/dist/user/message.js +362 -69
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountSettings, AvailabilitySlot, AvailabilitySlotInput, BadgeInfo, BadgeProgressInfo, BadgeRef, BadgeStats, ChangePasswordRequest, CommunityPostStats, CreateJournalRequest, CreateJournalResponse, CreateMoodEntryRequest, CreateMoodEntryResponse, CurrentSeasonInfo, DeleteJournalRequest, DeleteJournalResponse, DeleteMoodEntryRequest, DeleteMoodEntryResponse, GetBadgeProgressRequest, GetBadgeProgressResponse, GetJournalRequest, GetJournalResponse, GetLatestMoodEntryRequest, GetLatestMoodEntryResponse, GetMoodEntriesByDateRangeRequest, GetMoodEntriesByDateRangeResponse, GetMoodEntryRequest, GetMoodEntryResponse, GetMoodStatsRequest, GetMoodStatsResponse, GetReferAndEarnRequest, GetReferAndEarnResponse, GetUserBadgesRequest, GetUserBadgesResponse, Journal, ListJournalsRequest, ListJournalsResponse, ListMoodEntriesRequest, ListMoodEntriesResponse, ListMyBadgesRequest, ListMyBadgesResponse, ListSessionsResponse, Location, MoodEntry, MoodStat, OnboardingData, PrivacySettings, ReferralEntry, RegisterDeviceTokenRequest, RegisterDeviceTokenResponse, RevokeSessionRequest, ScheduledSessions, SearchJournalsRequest, SearchJournalsResponse, Session, SessionInfo, SessionLocation, SessionPrice, SessionSettings, SessionSettingsInput, TcEarned, TherapistProfile, TherapistStats, UnregisterDeviceTokenRequest, UnregisterDeviceTokenResponse, UpcomingSession, UpdateAvatarRequest, UpdateAvatarResponse, UpdateJournalRequest, UpdateJournalResponse, UpdateSessionSettingsRequest, UpdateSessionSettingsResponse, UpdateUserRequest, User, UserAchievement, UserBadgeItem, UserPreferences, WalletInfo } from './user/message';
|
|
1
|
+
export { AccountSettings, AvailabilitySlot, AvailabilitySlotInput, BadgeInfo, BadgeProgressInfo, BadgeRef, BadgeStats, ChangePasswordRequest, CommunityAlias, CommunityPostStats, CreateJournalRequest, CreateJournalResponse, CreateMoodEntryRequest, CreateMoodEntryResponse, CurrentSeasonInfo, DeleteJournalRequest, DeleteJournalResponse, DeleteMoodEntryRequest, DeleteMoodEntryResponse, EducationEntry, GetBadgeProgressRequest, GetBadgeProgressResponse, GetJournalRequest, GetJournalResponse, GetLatestMoodEntryRequest, GetLatestMoodEntryResponse, GetMoodEntriesByDateRangeRequest, GetMoodEntriesByDateRangeResponse, GetMoodEntryRequest, GetMoodEntryResponse, GetMoodStatsRequest, GetMoodStatsResponse, GetReferAndEarnRequest, GetReferAndEarnResponse, GetUserBadgesRequest, GetUserBadgesResponse, Journal, ListJournalsRequest, ListJournalsResponse, ListMoodEntriesRequest, ListMoodEntriesResponse, ListMyBadgesRequest, ListMyBadgesResponse, ListSessionsResponse, Location, MoodEntry, MoodStat, OnboardingData, PrivacySettings, ReferralEntry, RegisterDeviceTokenRequest, RegisterDeviceTokenResponse, RevokeSessionRequest, ScheduledSessions, SearchJournalsRequest, SearchJournalsResponse, Session, SessionInfo, SessionLocation, SessionPrice, SessionSettings, SessionSettingsInput, TcEarned, TherapistProfile, TherapistStats, UnregisterDeviceTokenRequest, UnregisterDeviceTokenResponse, UpcomingSession, UpdateAvatarRequest, UpdateAvatarResponse, UpdateJournalRequest, UpdateJournalResponse, UpdateSessionSettingsRequest, UpdateSessionSettingsResponse, UpdateUserRequest, User, UserAchievement, UserBadgeItem, UserPreferences, WalletInfo } from './user/message';
|
|
2
2
|
export { AchievementItem, AddPaymentMethodRequest, AddPaymentMethodResponse, ApplyReferralCodeRequest, ApplyReferralCodeResponse, CreateRefundRequest, CreateRefundResponse, CreateTopUpRequest, CreateTopUpResponse, DeletePaymentMethodRequest, DeletePaymentMethodResponse, EarnHistoryItem, EarnMetrics, EarnWay, GetCheckoutSummaryRequest, GetCheckoutSummaryResponse, GetEarnPreviewRequest, GetEarnPreviewResponse, GetPaymentStatusRequest, GetPaymentStatusResponse, GetRefundStatusRequest, GetRefundStatusResponse, GetTopUpStatusRequest, GetTopUpStatusResponse, GetTransactionRequest, GetTransactionResponse, GetWalletRequest, GetWalletResponse, ListAchievementsRequest, ListAchievementsResponse, ListBundlesRequest, ListBundlesResponse, ListEarnHistoryRequest, ListEarnHistoryResponse, ListEarnWaysRequest, ListEarnWaysResponse, ListPaymentMethodsRequest, ListPaymentMethodsResponse, ListReferralsRequest, ListReferralsResponse, ListTransactionsRequest, ListTransactionsResponse, PayForBookingRequest, PayForBookingResponse, PaymentMethodItem, PaymentSummary, Price, ReferralItem, SendReferralRequest, SendReferralResponse, ServiceInfo, SetDefaultPaymentMethodRequest, SetDefaultPaymentMethodResponse, TcBundle, TransactionItem, TransferRequest, TransferResponse, WalletStats } from './wallet/message';
|
|
3
3
|
export { AddClinicalNoteRequest, AddClinicalNoteResponse, ClientDetailStats, ClinicalNoteContent, ClinicalNoteItem, GetClientClinicalNotesRequest, GetClientClinicalNotesResponse, GetClientDetailRequest, GetClientDetailResponse, GetSessionHistoryRequest, GetSessionHistoryResponse, RecentSessionItem, SessionHistoryItem, SessionHistoryStats, TreatmentPlanGoal, TreatmentPlanItem } from './clients/message';
|
|
4
4
|
export { AddCommunityMembersRequest, AddCommunityMembersResponse, Community, CreateCommunityRequest, CreateCommunityResponse, GetCommunitiesRequest, GetCommunitiesResponse, GetCommunityRequest, GetCommunityResponse, GetUserCommunitiesRequest, GetUserCommunitiesResponse, Invitation, JoinCommunityRequest, JoinCommunityResponse, LeaveCommunityRequest, LeaveCommunityResponse, ListInvitationsRequest, ListInvitationsResponse, RespondInvitationRequest, RespondInvitationResponse } from './community/message';
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.WalletServiceDefinition = exports.UserServiceDefinition = exports.TherapistServiceDefinition = exports.SoundscapeServiceDefinition = exports.SettingsServiceDefinition = exports.SessionServiceDefinition = exports.PostServiceDefinition = exports.NotificationServiceDefinition = exports.LookupServiceDefinition = exports.HomeServiceDefinition = exports.GroupServiceDefinition = exports.Notification = exports.MarkNotificationReadResponse = exports.MarkNotificationReadRequest = void 0;
|
|
3
|
+
exports.ReferralEntry = exports.PrivacySettings = exports.OnboardingData = exports.MoodStat = exports.MoodEntry = exports.Location = exports.ListSessionsResponse = exports.ListMyBadgesResponse = exports.ListMyBadgesRequest = exports.ListMoodEntriesResponse = exports.ListMoodEntriesRequest = exports.ListJournalsResponse = exports.ListJournalsRequest = exports.Journal = exports.GetUserBadgesResponse = exports.GetUserBadgesRequest = exports.GetReferAndEarnResponse = exports.GetReferAndEarnRequest = exports.GetMoodStatsResponse = exports.GetMoodStatsRequest = exports.GetMoodEntryResponse = exports.GetMoodEntryRequest = exports.GetMoodEntriesByDateRangeResponse = exports.GetMoodEntriesByDateRangeRequest = exports.GetLatestMoodEntryResponse = exports.GetLatestMoodEntryRequest = exports.GetJournalResponse = exports.GetJournalRequest = exports.GetBadgeProgressResponse = exports.GetBadgeProgressRequest = exports.EducationEntry = exports.DeleteMoodEntryResponse = exports.DeleteMoodEntryRequest = exports.DeleteJournalResponse = exports.DeleteJournalRequest = exports.CurrentSeasonInfo = exports.CreateMoodEntryResponse = exports.CreateMoodEntryRequest = exports.CreateJournalResponse = exports.CreateJournalRequest = exports.CommunityPostStats = exports.CommunityAlias = exports.ChangePasswordRequest = exports.BadgeStats = exports.BadgeRef = exports.BadgeProgressInfo = exports.BadgeInfo = exports.AvailabilitySlotInput = exports.AvailabilitySlot = exports.AccountSettings = void 0;
|
|
4
|
+
exports.GetPaymentStatusResponse = exports.GetPaymentStatusRequest = exports.GetEarnPreviewResponse = exports.GetEarnPreviewRequest = exports.GetCheckoutSummaryResponse = exports.GetCheckoutSummaryRequest = exports.EarnWay = exports.EarnMetrics = exports.EarnHistoryItem = exports.DeletePaymentMethodResponse = exports.DeletePaymentMethodRequest = exports.CreateTopUpResponse = exports.CreateTopUpRequest = exports.CreateRefundResponse = exports.CreateRefundRequest = exports.ApplyReferralCodeResponse = exports.ApplyReferralCodeRequest = exports.AddPaymentMethodResponse = exports.AddPaymentMethodRequest = exports.AchievementItem = exports.WalletInfo = exports.UserPreferences = exports.UserBadgeItem = exports.UserAchievement = exports.User = exports.UpdateUserRequest = exports.UpdateSessionSettingsResponse = exports.UpdateSessionSettingsRequest = exports.UpdateJournalResponse = exports.UpdateJournalRequest = exports.UpdateAvatarResponse = exports.UpdateAvatarRequest = exports.UpcomingSession = exports.UnregisterDeviceTokenResponse = exports.UnregisterDeviceTokenRequest = exports.TherapistStats = exports.TherapistProfile = exports.TcEarned = exports.SessionSettingsInput = exports.SessionSettings = exports.SessionPrice = exports.SessionLocation = exports.SessionInfo = exports.Session = exports.SearchJournalsResponse = exports.SearchJournalsRequest = exports.ScheduledSessions = exports.RevokeSessionRequest = exports.RegisterDeviceTokenResponse = exports.RegisterDeviceTokenRequest = void 0;
|
|
5
|
+
exports.RecentSessionItem = exports.GetSessionHistoryResponse = exports.GetSessionHistoryRequest = exports.GetClientDetailResponse = exports.GetClientDetailRequest = exports.GetClientClinicalNotesResponse = exports.GetClientClinicalNotesRequest = exports.ClinicalNoteItem = exports.ClinicalNoteContent = exports.ClientDetailStats = exports.AddClinicalNoteResponse = exports.AddClinicalNoteRequest = exports.WalletStats = exports.TransferResponse = exports.TransferRequest = exports.TransactionItem = exports.TcBundle = exports.SetDefaultPaymentMethodResponse = exports.SetDefaultPaymentMethodRequest = exports.ServiceInfo = exports.SendReferralResponse = exports.SendReferralRequest = exports.ReferralItem = exports.Price = exports.PaymentSummary = exports.PaymentMethodItem = exports.PayForBookingResponse = exports.PayForBookingRequest = exports.ListTransactionsResponse = exports.ListTransactionsRequest = exports.ListReferralsResponse = exports.ListReferralsRequest = exports.ListPaymentMethodsResponse = exports.ListPaymentMethodsRequest = exports.ListEarnWaysResponse = exports.ListEarnWaysRequest = exports.ListEarnHistoryResponse = exports.ListEarnHistoryRequest = exports.ListBundlesResponse = exports.ListBundlesRequest = exports.ListAchievementsResponse = exports.ListAchievementsRequest = exports.GetWalletResponse = exports.GetWalletRequest = exports.GetTransactionResponse = exports.GetTransactionRequest = exports.GetTopUpStatusResponse = exports.GetTopUpStatusRequest = exports.GetRefundStatusResponse = exports.GetRefundStatusRequest = void 0;
|
|
6
|
+
exports.ListHelpTopicsResponse = exports.ListHelpTopicsRequest = exports.ListEmergencyContactsResponse = exports.ListEmergencyContactsRequest = exports.ListCrisisResourcesResponse = exports.ListCrisisResourcesRequest = exports.HelpTopic = exports.GroundingExercise = exports.GetSafetySuggestionResponse = exports.GetSafetySuggestionRequest = exports.GetEmergencyFlowResponse = exports.GetEmergencyFlowRequest = exports.GetBreathingExerciseResponse = exports.GetBreathingExerciseRequest = exports.EmergencyFlowStep2 = exports.EmergencyFlowStep1 = exports.EmergencyFlowOption = exports.EmergencyContact = exports.CrisisResource = exports.CrisisChatHotline = exports.ContactSupportResponse = exports.ContactSupportRequest = exports.ContactMethods = exports.BreathingPhase = exports.AddEmergencyContactResponse = exports.AddEmergencyContactRequest = exports.RespondInvitationResponse = exports.RespondInvitationRequest = exports.ListInvitationsResponse = exports.ListInvitationsRequest = exports.LeaveCommunityResponse = exports.LeaveCommunityRequest = exports.JoinCommunityResponse = exports.JoinCommunityRequest = exports.Invitation = exports.GetUserCommunitiesResponse = exports.GetUserCommunitiesRequest = exports.GetCommunityResponse = exports.GetCommunityRequest = exports.GetCommunitiesResponse = exports.GetCommunitiesRequest = exports.CreateCommunityResponse = exports.CreateCommunityRequest = exports.Community = exports.AddCommunityMembersResponse = exports.AddCommunityMembersRequest = exports.TreatmentPlanItem = exports.TreatmentPlanGoal = exports.SessionHistoryStats = exports.SessionHistoryItem = void 0;
|
|
7
|
+
exports.AdminListGroupsRequest = exports.AdminListGroupMembersResponse = exports.AdminListGroupMembersRequest = exports.AdminGroupMember = exports.AdminGroup = exports.AdminForgotPasswordRequest = exports.AdminDeleteGroupResponse = exports.AdminDeleteGroupRequest = exports.AdminCreateGroupResponse = exports.AdminCreateGroupRequest = exports.AdminAuthUser = exports.AddTherapistResponse = exports.AddTherapistRequest = exports.UpdateGroupResponse = exports.UpdateGroupRequest = exports.UpdateGroupMemberRoleResponse = exports.UpdateGroupMemberRoleRequest = exports.SendGroupMessageResponse = exports.SendGroupMessageRequest = exports.RemoveGroupMemberResponse = exports.RemoveGroupMemberRequest = exports.ListGroupsResponse = exports.ListGroupsRequest = exports.ListGroupMessagesResponse = exports.ListGroupMessagesRequest = exports.ListGroupMembersResponse = exports.ListGroupMembersRequest = exports.LeaveGroupResponse = exports.LeaveGroupRequest = exports.JoinGroupResponse = exports.JoinGroupRequest = exports.GroupMessage = exports.GroupMember = exports.GroupAuthor = exports.GroupActivity = exports.Group = exports.GetGroupResponse = exports.GetGroupRequest = exports.DeleteGroupResponse = exports.DeleteGroupRequest = exports.CreateGroupResponse = exports.CreateGroupRequest = exports.AddGroupMembersResponse = exports.AddGroupMembersRequest = exports.RequestCrisisChatResponse = exports.RequestCrisisChatRequest = exports.RemoveEmergencyContactResponse = exports.RemoveEmergencyContactRequest = exports.ReachOutResponse = exports.ReachOutRequest = void 0;
|
|
8
|
+
exports.ExportReportRequest = exports.EngagementSummary = exports.EngagementResponse = exports.EngagementRequest = exports.EngagementDataPoint = exports.EnableReferralsResponse = exports.EditReferralRewardsResponse = exports.EditReferralRewardsRequest = exports.DisableReferralsResponse = exports.DisableReferralsRequest = exports.DashboardOverviewResponse = exports.DashboardOverviewRequest = exports.DashboardMetric = exports.CreditDebitResponse = exports.CreditDebitRequest = exports.CreateAdminResponse = exports.CreateAdminRequest = exports.ContentReport = exports.ContentModerationStatsResponse = exports.ContentDetail = exports.ContentBody = exports.ContentAuthor = exports.BulkContentResult = exports.BulkContentActionResponse = exports.BulkContentActionRequest = exports.BanUserResponse = exports.BanUserRequest = exports.AuditLogEntry = exports.AnalyticsStatsResponse = exports.AnalyticsStatsRequest = exports.AnalyticsPeriod = exports.AnalyticsMetric = exports.AdminWallet = exports.AdminUserDetail = exports.AdminUser = exports.AdminUpdateGroupResponse = exports.AdminUpdateGroupRequest = exports.AdminTherapistDetail = exports.AdminTherapist = exports.AdminSession = exports.AdminResetPasswordRequest = exports.AdminPermissions = exports.AdminNotification = exports.AdminManagedUser = exports.AdminLogoutRequest = exports.AdminLoginResponse = exports.AdminLoginRequest = exports.AdminListTransactionsResponse = exports.AdminListTransactionsRequest = exports.AdminListGroupsResponse = void 0;
|
|
9
|
+
exports.ReferrerStats = exports.ReferrerDetail = exports.ReferralStatsResponse = exports.ReferralRewardConfig = exports.ReferralHistoryEntry = exports.ReferralAnalyticsEntry = exports.ReactivateWalletResponse = exports.ReactivateGroupResponse = exports.PlatformTransaction = exports.ModulePermission = exports.ModerationSettings = exports.ModerationHistoryEntry = exports.ModeratedContent = exports.ManagedUserDetail = exports.ListWalletsResponse = exports.ListWalletsRequest = exports.ListUserWarningsResponse = exports.ListTherapistSessionsResponse = exports.ListTherapistSessionsRequest = exports.ListReferralHistoryResponse = exports.ListReferralHistoryRequest = exports.ListReferralAnalyticsResponse = exports.ListReferralAnalyticsRequest = exports.ListModeratedContentResponse = exports.ListModeratedContentRequest = exports.ListManagedUsersResponse = exports.ListManagedUsersRequest = exports.ListKycTherapistsResponse = exports.ListKycTherapistsRequest = exports.ListContentReportsResponse = exports.ListContentReportsRequest = exports.ListAuditLogsResponse = exports.ListAuditLogsRequest = exports.ListAdminUsersResponse = exports.ListAdminUsersRequest = exports.ListAdminTherapistsResponse = exports.ListAdminTherapistsRequest = exports.ListAdminNotificationsResponse = exports.ListAdminNotificationsRequest = exports.KycTherapist = exports.KycDocumentDecision = exports.IssueWarningResponse = exports.IssueWarningRequest = exports.GroupStats = exports.GroupRule = exports.GroupModerator = exports.GroupDetail = exports.GroupCreator = exports.GlobalReferralSettings = exports.ExportReportResponse = void 0;
|
|
10
|
+
exports.Value = exports.Struct_FieldsEntry = exports.Struct = exports.NullValue = exports.ListValue = exports.AdminServiceDefinition = exports.WarningIssuedBy = exports.WalletTransaction = exports.WalletStatsResponse = exports.WalletDetail = exports.VerifyKycResponse = exports.VerifyKycRequest = exports.UserWarning = exports.UserStatsResponse = exports.UserGrowthResponse = exports.UserGrowthRequest = exports.UserGrowthDataPoint = exports.UserActivityResponse = exports.UserActivityRequest = exports.UserActivityDataPoint = exports.UpdateTherapistStatusResponse = exports.UpdateTherapistStatusRequest = exports.UpdateModerationSettingsResponse = exports.UpdateMemberRoleResponse = exports.UpdateMemberRoleRequest = exports.UpdateGlobalReferralSettingsRequest = exports.UpdateAdminRoleResponse = exports.UpdateAdminRoleRequest = exports.UpdateAdminPermissionsResponse = exports.UpdateAdminPermissionsRequest = exports.UnsuspendUserResponse = exports.TherapistStatsResponse = exports.TherapistSession = exports.SuspendWalletResponse = exports.SuspendWalletRequest = exports.SuspendUserResponse = exports.SuspendUserRequest = exports.SuspendGroupResponse = exports.SuspendGroupRequest = exports.RevenueResponse = exports.RevenueDataPoint = exports.RestoreContentResponse = exports.RestoreContentRequest = exports.ReportDetail = exports.RemoveMemberResponse = exports.RemoveMemberRequest = exports.RemoveContentResponse = exports.RemoveContentRequest = exports.RemoveAdminResponse = exports.RemoveAdminRequest = void 0;
|
|
11
|
+
exports.ListBadgeCategoriesRequest = exports.GroupCategory = exports.GetGroupCategoryResponse = exports.GetGroupCategoryRequest = exports.GetGroupCategoriesResponse = exports.GetGroupCategoriesRequest = exports.GetCurrentSeasonRequest = exports.CreateGroupCategoryResponse = exports.CreateGroupCategoryRequest = exports.BadgeItem = exports.BadgeCategory = exports.VerifyEmailResponse = exports.VerifyEmailRequest = exports.UploadKycDocumentResponse = exports.UploadKycDocumentRequest = exports.UpdateTherapistOnboardingResponse = exports.UpdateTherapistOnboardingRequest = exports.UpdateOnboardingResponse = exports.UpdateOnboardingRequest = exports.SubmitKycResponse = exports.SubmitKycRequest = exports.SocialUnlinkResponse = exports.SocialUnlinkRequest = exports.SocialLoginResponse = exports.SocialLoginRequest = exports.SocialLinkResponse = exports.SocialLinkRequest = exports.SignUpResponse = exports.SignUpRequest = exports.ResetPasswordRequest = exports.ResendEmailVerificationResponse = exports.ResendEmailVerificationRequest = exports.RefreshTokenResponse = exports.RefreshTokenRequest = exports.LogoutRequest = exports.LoginResponse = exports.LoginRequest = exports.KycDocument = exports.GetTherapistOnboardingResponse = exports.GetTherapistOnboardingRequest = exports.GetOnboardingResponse = exports.GetOnboardingRequest = exports.GetKycStatusResponse = exports.GetKycStatusRequest = exports.ForgotPasswordRequest = exports.DeviceInfo = exports.AuthUser = exports.AuthServiceDefinition = exports.nullValueToJSON = exports.nullValueFromJSON = void 0;
|
|
12
|
+
exports.ListPostsResponse = exports.ListPostsRequest = exports.ListCommentsResponse = exports.ListCommentsRequest = exports.ListCommentRepliesResponse = exports.ListCommentRepliesRequest = exports.LikePostResponse = exports.LikePostRequest = exports.LikeCommentResponse = exports.LikeCommentRequest = exports.GetUserBookmarksResponse = exports.GetUserBookmarksRequest = exports.GetPostResponse = exports.GetPostRequest = exports.GetNodStatsResponse = exports.GetNodStatsRequest = exports.GetMyPostsResponse = exports.GetMyPostsRequest = exports.DeletePostResponse = exports.DeletePostRequest = exports.DeleteCommentResponse = exports.DeleteCommentRequest = exports.CreatePostResponse = exports.CreatePostRequest = exports.CreateCommentResponse = exports.CreateCommentRequest = exports.Comment = exports.BookmarkPostResponse = exports.BookmarkPostRequest = exports.SuccessResponse = exports.Metadata = exports.HealthServiceDefinition = exports.HealthCheckResponse = exports.HealthCheckRequest = exports.GetIDRequest = exports.Error = exports.Empty = exports.DeleteResponse = exports.BaseListRequest = exports.UpdateGroupCategoryResponse = exports.UpdateGroupCategoryRequest = exports.SeasonInfo = exports.MoodType = exports.ListSeasonsResponse = exports.ListSeasonsRequest = exports.ListMoodTypesResponse = exports.ListMoodTypesRequest = exports.ListBadgesResponse = exports.ListBadgesRequest = exports.ListBadgeCategoriesResponse = void 0;
|
|
13
|
+
exports.GetCallStatusRequest = exports.GetCallHistoryResponse = exports.GetCallHistoryRequest = exports.EndCallResponse = exports.EndCallRequest = exports.CallRoom = exports.CallParticipant = exports.CallInvitation = exports.CallHistoryItem = exports.CalendarServiceDefinition = exports.GetCalendarEventsResponse = exports.GetCalendarEventsRequest = exports.CreateCalendarEventResponse = exports.CreateCalendarEventRequest = exports.CalendarStats = exports.CalendarEvent = exports.UInt64Value = exports.UInt32Value = exports.StringValue = exports.Int64Value = exports.Int32Value = exports.FloatValue = exports.DoubleValue = exports.BytesValue = exports.BoolValue = exports.UpdatePostResponse = exports.UpdatePostRequest = exports.UpdateCommentResponse = exports.UpdateCommentRequest = exports.UnnodPostResponse = exports.UnnodPostRequest = exports.UnnodCommentResponse = exports.UnnodCommentRequest = exports.UnlikePostResponse = exports.UnlikePostRequest = exports.UnlikeCommentResponse = exports.UnlikeCommentRequest = exports.UnbookmarkPostResponse = exports.UnbookmarkPostRequest = exports.SharePostResponse = exports.SharePostRequest = exports.PostAuthor = exports.Post = exports.PinPostResponse = exports.PinPostRequest = exports.NodPostResponse = exports.NodPostRequest = exports.NodCommentResponse = exports.NodCommentRequest = exports.NodCategoryStat = void 0;
|
|
14
|
+
exports.ListTracksResponse = exports.ListTracksRequest = exports.ListRecommendationsResponse = exports.ListRecommendationsRequest = exports.ListPlansResponse = exports.ListPlansRequest = exports.ListCategoriesResponse = exports.ListCategoriesRequest = exports.GiftSubscriptionResponse = exports.GiftSubscriptionRequest = exports.GetTrackResponse = exports.GetTrackRequest = exports.GetSubscriptionResponse = exports.GetSubscriptionRequest = exports.GetPlaybackUrlResponse = exports.GetPlaybackUrlRequest = exports.GetDownloadUrlResponse = exports.GetDownloadUrlRequest = exports.CreateRecommendationResponse = exports.CreateRecommendationRequest = exports.CancelSubscriptionResponse = exports.CancelSubscriptionRequest = exports.UpdateSessionRequest = exports.StartLiveSessionRequest = exports.SessionItem = exports.RescheduleSessionRequest = exports.LiveSessionItem = exports.ListTherapySessionsResponse = exports.ListTherapySessionsRequest = exports.GetSessionRequest = exports.GetLiveSessionRequest = exports.EndLiveSessionRequest = exports.CreateSessionRequest = exports.CancelSessionRequest = exports.CallServiceDefinition = exports.RespondToInvitationResponse = exports.RespondToInvitationRequest = exports.ListPendingInvitationsResponse = exports.ListPendingInvitationsRequest = exports.ListActiveCallsResponse = exports.ListActiveCallsRequest = exports.LeaveCallResponse = exports.LeaveCallRequest = exports.JoinCallResponse = exports.JoinCallRequest = exports.InitiateCallResponse = exports.InitiateCallRequest = exports.GetCallTokenResponse = exports.GetCallTokenRequest = exports.GetCallStatusResponse = void 0;
|
|
15
|
+
exports.Http = exports.CustomHttpPattern = exports.CrisisServiceDefinition = exports.CommunityServiceDefinition = exports.ClientsServiceDefinition = exports.WalletSummary = exports.UpcomingSessionItem = exports.TopRatedTherapist = exports.TherapistPerformanceStats = exports.TherapistPerformance = exports.TherapistItem = exports.TherapistHomeSummary = exports.SessionSummary = exports.RecentMood = exports.RecentActivity = exports.PaginationStats = exports.GetMyTherapistResponse = exports.GetMyTherapistRequest = exports.GetMyClientsResponse = exports.GetMyClientsRequest = exports.GetHomeStatsResponse = exports.GetHomeStatsRequest = exports.GetHomeResponse = exports.GetHomeRequest = exports.CurrentSeason = exports.CommunityPost = exports.ClientItem = exports.ClientHomeSummary = exports.SendDirectMessageResponse = exports.SendDirectMessageRequest = exports.MarkDirectMessagesReadResponse = exports.MarkDirectMessagesReadRequest = exports.ListDirectMessagesResponse = exports.ListDirectMessagesRequest = exports.ListConversationsResponse = exports.ListConversationsRequest = exports.DirectMessage = exports.DeleteMessageResponse = exports.DeleteMessageRequest = exports.Conversation = exports.ChatUser = exports.ChatServiceDefinition = exports.UnlockTrackResponse = exports.UnlockTrackRequest = exports.SubscribeResponse = exports.SubscribeRequest = exports.SoundscapeTrack = exports.SoundscapePlan = exports.SoundscapeCategory = exports.RecommendationItem = void 0;
|
|
16
|
+
exports.UninterpretedOption = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.ServiceOptions = exports.ServiceDescriptorProto = exports.OneofOptions = exports.OneofDescriptorProto = exports.MethodOptions_IdempotencyLevel = exports.MethodOptions = exports.MethodDescriptorProto = exports.MessageOptions = exports.GeneratedCodeInfo_Annotation_Semantic = exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.FileOptions_OptimizeMode = exports.FileOptions = exports.FileDescriptorSet = exports.FileDescriptorProto = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions_CType = exports.FieldOptions = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_MessageEncoding = exports.FeatureSet_JsonFormat = exports.FeatureSet_FieldPresence = exports.FeatureSet_EnumType = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.ExtensionRangeOptions_VerificationState = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.EnumValueOptions = exports.EnumValueDescriptorProto = exports.EnumOptions = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.Edition = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.HttpRule = void 0;
|
|
17
|
+
exports.ListNotificationsResponse = exports.ListNotificationsRequest = exports.GetUnreadCountResponse = exports.GetUnreadCountRequest = exports.SettingItem = exports.GetSettingsResponse = exports.GetSettingsRequest = exports.GetPublicSettingsResponse = exports.GetPublicSettingsRequest = exports.TimeSlot = exports.TherapistSearchResult = exports.SearchTherapistsResponse = exports.SearchTherapistsRequest = exports.GetAvailabilityResponse = exports.GetAvailabilityRequest = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.generatedCodeInfo_Annotation_SemanticToJSON = exports.generatedCodeInfo_Annotation_SemanticFromJSON = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.fieldOptions_OptionTargetTypeToJSON = exports.fieldOptions_OptionTargetTypeFromJSON = exports.fieldOptions_OptionRetentionToJSON = exports.fieldOptions_OptionRetentionFromJSON = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.featureSet_Utf8ValidationToJSON = exports.featureSet_Utf8ValidationFromJSON = exports.featureSet_RepeatedFieldEncodingToJSON = exports.featureSet_RepeatedFieldEncodingFromJSON = exports.featureSet_MessageEncodingToJSON = exports.featureSet_MessageEncodingFromJSON = exports.featureSet_JsonFormatToJSON = exports.featureSet_JsonFormatFromJSON = exports.featureSet_FieldPresenceToJSON = exports.featureSet_FieldPresenceFromJSON = exports.featureSet_EnumTypeToJSON = exports.featureSet_EnumTypeFromJSON = exports.extensionRangeOptions_VerificationStateToJSON = exports.extensionRangeOptions_VerificationStateFromJSON = exports.editionToJSON = exports.editionFromJSON = exports.UninterpretedOption_NamePart = void 0;
|
|
18
|
+
exports.WalletServiceDefinition = exports.UserServiceDefinition = exports.TherapistServiceDefinition = exports.SoundscapeServiceDefinition = exports.SettingsServiceDefinition = exports.SessionServiceDefinition = exports.PostServiceDefinition = exports.NotificationServiceDefinition = exports.LookupServiceDefinition = exports.HomeServiceDefinition = exports.GroupServiceDefinition = exports.Notification = exports.MarkNotificationReadResponse = exports.MarkNotificationReadRequest = exports.MarkAllNotificationsReadResponse = exports.MarkAllNotificationsReadRequest = void 0;
|
|
19
19
|
var message_1 = require("./user/message");
|
|
20
20
|
Object.defineProperty(exports, "AccountSettings", { enumerable: true, get: function () { return message_1.AccountSettings; } });
|
|
21
21
|
Object.defineProperty(exports, "AvailabilitySlot", { enumerable: true, get: function () { return message_1.AvailabilitySlot; } });
|
|
@@ -25,6 +25,7 @@ Object.defineProperty(exports, "BadgeProgressInfo", { enumerable: true, get: fun
|
|
|
25
25
|
Object.defineProperty(exports, "BadgeRef", { enumerable: true, get: function () { return message_1.BadgeRef; } });
|
|
26
26
|
Object.defineProperty(exports, "BadgeStats", { enumerable: true, get: function () { return message_1.BadgeStats; } });
|
|
27
27
|
Object.defineProperty(exports, "ChangePasswordRequest", { enumerable: true, get: function () { return message_1.ChangePasswordRequest; } });
|
|
28
|
+
Object.defineProperty(exports, "CommunityAlias", { enumerable: true, get: function () { return message_1.CommunityAlias; } });
|
|
28
29
|
Object.defineProperty(exports, "CommunityPostStats", { enumerable: true, get: function () { return message_1.CommunityPostStats; } });
|
|
29
30
|
Object.defineProperty(exports, "CreateJournalRequest", { enumerable: true, get: function () { return message_1.CreateJournalRequest; } });
|
|
30
31
|
Object.defineProperty(exports, "CreateJournalResponse", { enumerable: true, get: function () { return message_1.CreateJournalResponse; } });
|
|
@@ -35,6 +36,7 @@ Object.defineProperty(exports, "DeleteJournalRequest", { enumerable: true, get:
|
|
|
35
36
|
Object.defineProperty(exports, "DeleteJournalResponse", { enumerable: true, get: function () { return message_1.DeleteJournalResponse; } });
|
|
36
37
|
Object.defineProperty(exports, "DeleteMoodEntryRequest", { enumerable: true, get: function () { return message_1.DeleteMoodEntryRequest; } });
|
|
37
38
|
Object.defineProperty(exports, "DeleteMoodEntryResponse", { enumerable: true, get: function () { return message_1.DeleteMoodEntryResponse; } });
|
|
39
|
+
Object.defineProperty(exports, "EducationEntry", { enumerable: true, get: function () { return message_1.EducationEntry; } });
|
|
38
40
|
Object.defineProperty(exports, "GetBadgeProgressRequest", { enumerable: true, get: function () { return message_1.GetBadgeProgressRequest; } });
|
|
39
41
|
Object.defineProperty(exports, "GetBadgeProgressResponse", { enumerable: true, get: function () { return message_1.GetBadgeProgressResponse; } });
|
|
40
42
|
Object.defineProperty(exports, "GetJournalRequest", { enumerable: true, get: function () { return message_1.GetJournalRequest; } });
|
package/dist/session/message.js
CHANGED
|
@@ -338,6 +338,8 @@ function createBaseSessionItem() {
|
|
|
338
338
|
therapistBio: "",
|
|
339
339
|
preparationNotes: "",
|
|
340
340
|
therapistNotes: "",
|
|
341
|
+
therapistPhone: "",
|
|
342
|
+
therapistTherapeuticApproach: "",
|
|
341
343
|
};
|
|
342
344
|
}
|
|
343
345
|
exports.SessionItem = {
|
|
@@ -429,6 +431,12 @@ exports.SessionItem = {
|
|
|
429
431
|
if (message.therapistNotes !== "") {
|
|
430
432
|
writer.uint32(234).string(message.therapistNotes);
|
|
431
433
|
}
|
|
434
|
+
if (message.therapistPhone !== "") {
|
|
435
|
+
writer.uint32(242).string(message.therapistPhone);
|
|
436
|
+
}
|
|
437
|
+
if (message.therapistTherapeuticApproach !== "") {
|
|
438
|
+
writer.uint32(250).string(message.therapistTherapeuticApproach);
|
|
439
|
+
}
|
|
432
440
|
return writer;
|
|
433
441
|
},
|
|
434
442
|
decode(input, length) {
|
|
@@ -641,6 +649,20 @@ exports.SessionItem = {
|
|
|
641
649
|
message.therapistNotes = reader.string();
|
|
642
650
|
continue;
|
|
643
651
|
}
|
|
652
|
+
case 30: {
|
|
653
|
+
if (tag !== 242) {
|
|
654
|
+
break;
|
|
655
|
+
}
|
|
656
|
+
message.therapistPhone = reader.string();
|
|
657
|
+
continue;
|
|
658
|
+
}
|
|
659
|
+
case 31: {
|
|
660
|
+
if (tag !== 250) {
|
|
661
|
+
break;
|
|
662
|
+
}
|
|
663
|
+
message.therapistTherapeuticApproach = reader.string();
|
|
664
|
+
continue;
|
|
665
|
+
}
|
|
644
666
|
}
|
|
645
667
|
if ((tag & 7) === 4 || tag === 0) {
|
|
646
668
|
break;
|
|
@@ -682,6 +704,10 @@ exports.SessionItem = {
|
|
|
682
704
|
therapistBio: isSet(object.therapistBio) ? globalThis.String(object.therapistBio) : "",
|
|
683
705
|
preparationNotes: isSet(object.preparationNotes) ? globalThis.String(object.preparationNotes) : "",
|
|
684
706
|
therapistNotes: isSet(object.therapistNotes) ? globalThis.String(object.therapistNotes) : "",
|
|
707
|
+
therapistPhone: isSet(object.therapistPhone) ? globalThis.String(object.therapistPhone) : "",
|
|
708
|
+
therapistTherapeuticApproach: isSet(object.therapistTherapeuticApproach)
|
|
709
|
+
? globalThis.String(object.therapistTherapeuticApproach)
|
|
710
|
+
: "",
|
|
685
711
|
};
|
|
686
712
|
},
|
|
687
713
|
toJSON(message) {
|
|
@@ -774,13 +800,19 @@ exports.SessionItem = {
|
|
|
774
800
|
if (message.therapistNotes !== "") {
|
|
775
801
|
obj.therapistNotes = message.therapistNotes;
|
|
776
802
|
}
|
|
803
|
+
if (message.therapistPhone !== "") {
|
|
804
|
+
obj.therapistPhone = message.therapistPhone;
|
|
805
|
+
}
|
|
806
|
+
if (message.therapistTherapeuticApproach !== "") {
|
|
807
|
+
obj.therapistTherapeuticApproach = message.therapistTherapeuticApproach;
|
|
808
|
+
}
|
|
777
809
|
return obj;
|
|
778
810
|
},
|
|
779
811
|
create(base) {
|
|
780
812
|
return exports.SessionItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
781
813
|
},
|
|
782
814
|
fromPartial(object) {
|
|
783
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
|
|
815
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
|
|
784
816
|
const message = createBaseSessionItem();
|
|
785
817
|
message.sessionId = (_a = object.sessionId) !== null && _a !== void 0 ? _a : "";
|
|
786
818
|
message.clientId = (_b = object.clientId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -811,6 +843,8 @@ exports.SessionItem = {
|
|
|
811
843
|
message.therapistBio = (_2 = object.therapistBio) !== null && _2 !== void 0 ? _2 : "";
|
|
812
844
|
message.preparationNotes = (_3 = object.preparationNotes) !== null && _3 !== void 0 ? _3 : "";
|
|
813
845
|
message.therapistNotes = (_4 = object.therapistNotes) !== null && _4 !== void 0 ? _4 : "";
|
|
846
|
+
message.therapistPhone = (_5 = object.therapistPhone) !== null && _5 !== void 0 ? _5 : "";
|
|
847
|
+
message.therapistTherapeuticApproach = (_6 = object.therapistTherapeuticApproach) !== null && _6 !== void 0 ? _6 : "";
|
|
814
848
|
return message;
|
|
815
849
|
},
|
|
816
850
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { BaseListRequest } from "../common";
|
|
3
|
-
import { SessionPrice } from "../user/message";
|
|
3
|
+
import { CommunityAlias, SessionPrice } from "../user/message";
|
|
4
4
|
export declare const protobufPackage = "pb";
|
|
5
5
|
export interface SearchTherapistsRequest {
|
|
6
6
|
pagination: BaseListRequest | undefined;
|
|
@@ -26,6 +26,8 @@ export interface TherapistSearchResult {
|
|
|
26
26
|
sessionPrice: SessionPrice | undefined;
|
|
27
27
|
nextAvailableSessionAt: string;
|
|
28
28
|
sessionTypes: string[];
|
|
29
|
+
communityAliasId: string;
|
|
30
|
+
communityAlias: CommunityAlias | undefined;
|
|
29
31
|
}
|
|
30
32
|
export interface GetAvailabilityRequest {
|
|
31
33
|
therapistId: string;
|
|
@@ -270,6 +270,8 @@ function createBaseTherapistSearchResult() {
|
|
|
270
270
|
sessionPrice: undefined,
|
|
271
271
|
nextAvailableSessionAt: "",
|
|
272
272
|
sessionTypes: [],
|
|
273
|
+
communityAliasId: "",
|
|
274
|
+
communityAlias: undefined,
|
|
273
275
|
};
|
|
274
276
|
}
|
|
275
277
|
exports.TherapistSearchResult = {
|
|
@@ -301,6 +303,12 @@ exports.TherapistSearchResult = {
|
|
|
301
303
|
for (const v of message.sessionTypes) {
|
|
302
304
|
writer.uint32(82).string(v);
|
|
303
305
|
}
|
|
306
|
+
if (message.communityAliasId !== "") {
|
|
307
|
+
writer.uint32(90).string(message.communityAliasId);
|
|
308
|
+
}
|
|
309
|
+
if (message.communityAlias !== undefined) {
|
|
310
|
+
message_1.CommunityAlias.encode(message.communityAlias, writer.uint32(98).fork()).join();
|
|
311
|
+
}
|
|
304
312
|
return writer;
|
|
305
313
|
},
|
|
306
314
|
decode(input, length) {
|
|
@@ -373,6 +381,20 @@ exports.TherapistSearchResult = {
|
|
|
373
381
|
message.sessionTypes.push(reader.string());
|
|
374
382
|
continue;
|
|
375
383
|
}
|
|
384
|
+
case 11: {
|
|
385
|
+
if (tag !== 90) {
|
|
386
|
+
break;
|
|
387
|
+
}
|
|
388
|
+
message.communityAliasId = reader.string();
|
|
389
|
+
continue;
|
|
390
|
+
}
|
|
391
|
+
case 12: {
|
|
392
|
+
if (tag !== 98) {
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
message.communityAlias = message_1.CommunityAlias.decode(reader, reader.uint32());
|
|
396
|
+
continue;
|
|
397
|
+
}
|
|
376
398
|
}
|
|
377
399
|
if ((tag & 7) === 4 || tag === 0) {
|
|
378
400
|
break;
|
|
@@ -398,6 +420,8 @@ exports.TherapistSearchResult = {
|
|
|
398
420
|
sessionTypes: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.sessionTypes)
|
|
399
421
|
? object.sessionTypes.map((e) => globalThis.String(e))
|
|
400
422
|
: [],
|
|
423
|
+
communityAliasId: isSet(object.communityAliasId) ? globalThis.String(object.communityAliasId) : "",
|
|
424
|
+
communityAlias: isSet(object.communityAlias) ? message_1.CommunityAlias.fromJSON(object.communityAlias) : undefined,
|
|
401
425
|
};
|
|
402
426
|
},
|
|
403
427
|
toJSON(message) {
|
|
@@ -430,13 +454,19 @@ exports.TherapistSearchResult = {
|
|
|
430
454
|
if ((_b = message.sessionTypes) === null || _b === void 0 ? void 0 : _b.length) {
|
|
431
455
|
obj.sessionTypes = message.sessionTypes;
|
|
432
456
|
}
|
|
457
|
+
if (message.communityAliasId !== "") {
|
|
458
|
+
obj.communityAliasId = message.communityAliasId;
|
|
459
|
+
}
|
|
460
|
+
if (message.communityAlias !== undefined) {
|
|
461
|
+
obj.communityAlias = message_1.CommunityAlias.toJSON(message.communityAlias);
|
|
462
|
+
}
|
|
433
463
|
return obj;
|
|
434
464
|
},
|
|
435
465
|
create(base) {
|
|
436
466
|
return exports.TherapistSearchResult.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
437
467
|
},
|
|
438
468
|
fromPartial(object) {
|
|
439
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
469
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
440
470
|
const message = createBaseTherapistSearchResult();
|
|
441
471
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
442
472
|
message.fullName = (_b = object.fullName) !== null && _b !== void 0 ? _b : "";
|
|
@@ -449,6 +479,10 @@ exports.TherapistSearchResult = {
|
|
|
449
479
|
: undefined;
|
|
450
480
|
message.nextAvailableSessionAt = (_g = object.nextAvailableSessionAt) !== null && _g !== void 0 ? _g : "";
|
|
451
481
|
message.sessionTypes = ((_h = object.sessionTypes) === null || _h === void 0 ? void 0 : _h.map((e) => e)) || [];
|
|
482
|
+
message.communityAliasId = (_j = object.communityAliasId) !== null && _j !== void 0 ? _j : "";
|
|
483
|
+
message.communityAlias = (object.communityAlias !== undefined && object.communityAlias !== null)
|
|
484
|
+
? message_1.CommunityAlias.fromPartial(object.communityAlias)
|
|
485
|
+
: undefined;
|
|
452
486
|
return message;
|
|
453
487
|
},
|
|
454
488
|
};
|
package/dist/user/message.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "pb";
|
|
3
|
+
export interface EducationEntry {
|
|
4
|
+
degree: string;
|
|
5
|
+
institution: string;
|
|
6
|
+
year: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CommunityAlias {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
emoji: string;
|
|
12
|
+
background: string;
|
|
13
|
+
}
|
|
3
14
|
export interface UserPreferences {
|
|
4
15
|
/** "chat", "video", "audio" */
|
|
5
16
|
communicationChannel: string;
|
|
@@ -100,7 +111,6 @@ export interface User {
|
|
|
100
111
|
location: Location | undefined;
|
|
101
112
|
licenseNumber?: string | undefined;
|
|
102
113
|
licenseState?: string | undefined;
|
|
103
|
-
education?: string | undefined;
|
|
104
114
|
verificationStatus?: string | undefined;
|
|
105
115
|
sessionTypes: string[];
|
|
106
116
|
/** Enriched profile fields (populated on GetMe for both roles) */
|
|
@@ -111,6 +121,9 @@ export interface User {
|
|
|
111
121
|
communityAliasId: string;
|
|
112
122
|
communityPostStats: CommunityPostStats | undefined;
|
|
113
123
|
memberSince: string;
|
|
124
|
+
therapeuticApproach?: string | undefined;
|
|
125
|
+
communityAlias: CommunityAlias | undefined;
|
|
126
|
+
education: EducationEntry[];
|
|
114
127
|
}
|
|
115
128
|
export interface Session {
|
|
116
129
|
accessToken: string;
|
|
@@ -131,13 +144,16 @@ export interface TherapistProfile {
|
|
|
131
144
|
location: Location | undefined;
|
|
132
145
|
licenseNumber: string;
|
|
133
146
|
licenseState: string;
|
|
134
|
-
education: string;
|
|
135
147
|
timeZone: string;
|
|
136
148
|
verificationStatus: string;
|
|
137
149
|
sessionDurationMinutes: number;
|
|
138
150
|
sessionRateTc: number;
|
|
139
151
|
bufferTimeMinutes: number;
|
|
140
152
|
sessionTypes: string[];
|
|
153
|
+
therapeuticApproach: string;
|
|
154
|
+
education: EducationEntry[];
|
|
155
|
+
communityAlias: CommunityAlias | undefined;
|
|
156
|
+
communityAliasId: string;
|
|
141
157
|
}
|
|
142
158
|
export interface SessionPrice {
|
|
143
159
|
currency: string;
|
|
@@ -419,12 +435,13 @@ export interface UpdateUserRequest {
|
|
|
419
435
|
experienceLevelId?: string | undefined;
|
|
420
436
|
licenseNumber?: string | undefined;
|
|
421
437
|
licenseState?: string | undefined;
|
|
422
|
-
education?: string | undefined;
|
|
423
438
|
languages: string[];
|
|
424
439
|
sessionPrice?: SessionPrice | undefined;
|
|
425
440
|
location?: Location | undefined;
|
|
426
441
|
communityAliasId?: string | undefined;
|
|
427
442
|
sessionSettings: SessionSettingsInput | undefined;
|
|
443
|
+
therapeuticApproach?: string | undefined;
|
|
444
|
+
education: EducationEntry[];
|
|
428
445
|
}
|
|
429
446
|
export interface SessionSettingsInput {
|
|
430
447
|
sessionRateTc?: number | undefined;
|
|
@@ -486,6 +503,8 @@ export interface GetReferAndEarnResponse {
|
|
|
486
503
|
referralCode: string;
|
|
487
504
|
referrals: ReferralEntry[];
|
|
488
505
|
}
|
|
506
|
+
export declare const EducationEntry: MessageFns<EducationEntry>;
|
|
507
|
+
export declare const CommunityAlias: MessageFns<CommunityAlias>;
|
|
489
508
|
export declare const UserPreferences: MessageFns<UserPreferences>;
|
|
490
509
|
export declare const PrivacySettings: MessageFns<PrivacySettings>;
|
|
491
510
|
export declare const AccountSettings: MessageFns<AccountSettings>;
|
package/dist/user/message.js
CHANGED
|
@@ -5,11 +5,194 @@
|
|
|
5
5
|
// protoc v5.28.3
|
|
6
6
|
// source: user/message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.GetReferAndEarnResponse = exports.ReferralEntry = exports.GetReferAndEarnRequest = exports.UnregisterDeviceTokenResponse = exports.UnregisterDeviceTokenRequest = exports.RegisterDeviceTokenResponse = exports.RegisterDeviceTokenRequest = exports.RevokeSessionRequest = exports.ListSessionsResponse = exports.ChangePasswordRequest = exports.UpdateAvatarResponse = exports.UpdateAvatarRequest = exports.SessionSettingsInput = exports.UpdateUserRequest = exports.CommunityPostStats = exports.UpcomingSession = exports.BadgeInfo = exports.WalletInfo = exports.CurrentSeasonInfo = exports.UpdateSessionSettingsResponse = exports.AvailabilitySlotInput = exports.UpdateSessionSettingsRequest = exports.GetLatestMoodEntryResponse = exports.GetLatestMoodEntryRequest = exports.GetMoodStatsResponse = exports.GetMoodStatsRequest = exports.GetMoodEntriesByDateRangeResponse = exports.GetMoodEntriesByDateRangeRequest = exports.DeleteMoodEntryResponse = void 0;
|
|
8
|
+
exports.ListMoodEntriesRequest = exports.GetMoodEntryResponse = exports.GetMoodEntryRequest = exports.CreateMoodEntryResponse = exports.CreateMoodEntryRequest = exports.MoodStat = exports.MoodEntry = exports.SearchJournalsResponse = exports.SearchJournalsRequest = exports.DeleteJournalResponse = exports.DeleteJournalRequest = exports.UpdateJournalResponse = exports.UpdateJournalRequest = exports.ListJournalsResponse = exports.ListJournalsRequest = exports.GetJournalResponse = exports.GetJournalRequest = exports.CreateJournalResponse = exports.CreateJournalRequest = exports.Journal = exports.GetUserBadgesResponse = exports.GetUserBadgesRequest = exports.GetBadgeProgressResponse = exports.BadgeProgressInfo = exports.BadgeRef = exports.GetBadgeProgressRequest = exports.ListMyBadgesResponse = exports.BadgeStats = exports.UserBadgeItem = exports.ListMyBadgesRequest = exports.SessionInfo = exports.SessionLocation = exports.OnboardingData = exports.Location = exports.SessionPrice = exports.TherapistProfile = exports.Session = exports.User = exports.SessionSettings = exports.AvailabilitySlot = exports.UserAchievement = exports.TcEarned = exports.ScheduledSessions = exports.TherapistStats = exports.AccountSettings = exports.PrivacySettings = exports.UserPreferences = exports.CommunityAlias = exports.EducationEntry = exports.protobufPackage = void 0;
|
|
9
|
+
exports.GetReferAndEarnResponse = exports.ReferralEntry = exports.GetReferAndEarnRequest = exports.UnregisterDeviceTokenResponse = exports.UnregisterDeviceTokenRequest = exports.RegisterDeviceTokenResponse = exports.RegisterDeviceTokenRequest = exports.RevokeSessionRequest = exports.ListSessionsResponse = exports.ChangePasswordRequest = exports.UpdateAvatarResponse = exports.UpdateAvatarRequest = exports.SessionSettingsInput = exports.UpdateUserRequest = exports.CommunityPostStats = exports.UpcomingSession = exports.BadgeInfo = exports.WalletInfo = exports.CurrentSeasonInfo = exports.UpdateSessionSettingsResponse = exports.AvailabilitySlotInput = exports.UpdateSessionSettingsRequest = exports.GetLatestMoodEntryResponse = exports.GetLatestMoodEntryRequest = exports.GetMoodStatsResponse = exports.GetMoodStatsRequest = exports.GetMoodEntriesByDateRangeResponse = exports.GetMoodEntriesByDateRangeRequest = exports.DeleteMoodEntryResponse = exports.DeleteMoodEntryRequest = exports.ListMoodEntriesResponse = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
exports.protobufPackage = "pb";
|
|
13
|
+
function createBaseEducationEntry() {
|
|
14
|
+
return { degree: "", institution: "", year: "" };
|
|
15
|
+
}
|
|
16
|
+
exports.EducationEntry = {
|
|
17
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
18
|
+
if (message.degree !== "") {
|
|
19
|
+
writer.uint32(10).string(message.degree);
|
|
20
|
+
}
|
|
21
|
+
if (message.institution !== "") {
|
|
22
|
+
writer.uint32(18).string(message.institution);
|
|
23
|
+
}
|
|
24
|
+
if (message.year !== "") {
|
|
25
|
+
writer.uint32(26).string(message.year);
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
31
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBaseEducationEntry();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1: {
|
|
37
|
+
if (tag !== 10) {
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
message.degree = reader.string();
|
|
41
|
+
continue;
|
|
42
|
+
}
|
|
43
|
+
case 2: {
|
|
44
|
+
if (tag !== 18) {
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
message.institution = reader.string();
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
case 3: {
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.year = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
reader.skip(tag & 7);
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
fromJSON(object) {
|
|
66
|
+
return {
|
|
67
|
+
degree: isSet(object.degree) ? globalThis.String(object.degree) : "",
|
|
68
|
+
institution: isSet(object.institution) ? globalThis.String(object.institution) : "",
|
|
69
|
+
year: isSet(object.year) ? globalThis.String(object.year) : "",
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
toJSON(message) {
|
|
73
|
+
const obj = {};
|
|
74
|
+
if (message.degree !== "") {
|
|
75
|
+
obj.degree = message.degree;
|
|
76
|
+
}
|
|
77
|
+
if (message.institution !== "") {
|
|
78
|
+
obj.institution = message.institution;
|
|
79
|
+
}
|
|
80
|
+
if (message.year !== "") {
|
|
81
|
+
obj.year = message.year;
|
|
82
|
+
}
|
|
83
|
+
return obj;
|
|
84
|
+
},
|
|
85
|
+
create(base) {
|
|
86
|
+
return exports.EducationEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
87
|
+
},
|
|
88
|
+
fromPartial(object) {
|
|
89
|
+
var _a, _b, _c;
|
|
90
|
+
const message = createBaseEducationEntry();
|
|
91
|
+
message.degree = (_a = object.degree) !== null && _a !== void 0 ? _a : "";
|
|
92
|
+
message.institution = (_b = object.institution) !== null && _b !== void 0 ? _b : "";
|
|
93
|
+
message.year = (_c = object.year) !== null && _c !== void 0 ? _c : "";
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
function createBaseCommunityAlias() {
|
|
98
|
+
return { id: "", name: "", emoji: "", background: "" };
|
|
99
|
+
}
|
|
100
|
+
exports.CommunityAlias = {
|
|
101
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
102
|
+
if (message.id !== "") {
|
|
103
|
+
writer.uint32(10).string(message.id);
|
|
104
|
+
}
|
|
105
|
+
if (message.name !== "") {
|
|
106
|
+
writer.uint32(18).string(message.name);
|
|
107
|
+
}
|
|
108
|
+
if (message.emoji !== "") {
|
|
109
|
+
writer.uint32(26).string(message.emoji);
|
|
110
|
+
}
|
|
111
|
+
if (message.background !== "") {
|
|
112
|
+
writer.uint32(34).string(message.background);
|
|
113
|
+
}
|
|
114
|
+
return writer;
|
|
115
|
+
},
|
|
116
|
+
decode(input, length) {
|
|
117
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
118
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
119
|
+
const message = createBaseCommunityAlias();
|
|
120
|
+
while (reader.pos < end) {
|
|
121
|
+
const tag = reader.uint32();
|
|
122
|
+
switch (tag >>> 3) {
|
|
123
|
+
case 1: {
|
|
124
|
+
if (tag !== 10) {
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
message.id = reader.string();
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
case 2: {
|
|
131
|
+
if (tag !== 18) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
message.name = reader.string();
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
case 3: {
|
|
138
|
+
if (tag !== 26) {
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
message.emoji = reader.string();
|
|
142
|
+
continue;
|
|
143
|
+
}
|
|
144
|
+
case 4: {
|
|
145
|
+
if (tag !== 34) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.background = reader.string();
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
reader.skip(tag & 7);
|
|
156
|
+
}
|
|
157
|
+
return message;
|
|
158
|
+
},
|
|
159
|
+
fromJSON(object) {
|
|
160
|
+
return {
|
|
161
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
162
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
163
|
+
emoji: isSet(object.emoji) ? globalThis.String(object.emoji) : "",
|
|
164
|
+
background: isSet(object.background) ? globalThis.String(object.background) : "",
|
|
165
|
+
};
|
|
166
|
+
},
|
|
167
|
+
toJSON(message) {
|
|
168
|
+
const obj = {};
|
|
169
|
+
if (message.id !== "") {
|
|
170
|
+
obj.id = message.id;
|
|
171
|
+
}
|
|
172
|
+
if (message.name !== "") {
|
|
173
|
+
obj.name = message.name;
|
|
174
|
+
}
|
|
175
|
+
if (message.emoji !== "") {
|
|
176
|
+
obj.emoji = message.emoji;
|
|
177
|
+
}
|
|
178
|
+
if (message.background !== "") {
|
|
179
|
+
obj.background = message.background;
|
|
180
|
+
}
|
|
181
|
+
return obj;
|
|
182
|
+
},
|
|
183
|
+
create(base) {
|
|
184
|
+
return exports.CommunityAlias.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
185
|
+
},
|
|
186
|
+
fromPartial(object) {
|
|
187
|
+
var _a, _b, _c, _d;
|
|
188
|
+
const message = createBaseCommunityAlias();
|
|
189
|
+
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
190
|
+
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
191
|
+
message.emoji = (_c = object.emoji) !== null && _c !== void 0 ? _c : "";
|
|
192
|
+
message.background = (_d = object.background) !== null && _d !== void 0 ? _d : "";
|
|
193
|
+
return message;
|
|
194
|
+
},
|
|
195
|
+
};
|
|
13
196
|
function createBaseUserPreferences() {
|
|
14
197
|
return {
|
|
15
198
|
communicationChannel: "",
|
|
@@ -1016,7 +1199,6 @@ function createBaseUser() {
|
|
|
1016
1199
|
location: undefined,
|
|
1017
1200
|
licenseNumber: undefined,
|
|
1018
1201
|
licenseState: undefined,
|
|
1019
|
-
education: undefined,
|
|
1020
1202
|
verificationStatus: undefined,
|
|
1021
1203
|
sessionTypes: [],
|
|
1022
1204
|
currentSeason: undefined,
|
|
@@ -1026,6 +1208,9 @@ function createBaseUser() {
|
|
|
1026
1208
|
communityAliasId: "",
|
|
1027
1209
|
communityPostStats: undefined,
|
|
1028
1210
|
memberSince: "",
|
|
1211
|
+
therapeuticApproach: undefined,
|
|
1212
|
+
communityAlias: undefined,
|
|
1213
|
+
education: [],
|
|
1029
1214
|
};
|
|
1030
1215
|
}
|
|
1031
1216
|
exports.User = {
|
|
@@ -1126,9 +1311,6 @@ exports.User = {
|
|
|
1126
1311
|
if (message.licenseState !== undefined) {
|
|
1127
1312
|
writer.uint32(266).string(message.licenseState);
|
|
1128
1313
|
}
|
|
1129
|
-
if (message.education !== undefined) {
|
|
1130
|
-
writer.uint32(274).string(message.education);
|
|
1131
|
-
}
|
|
1132
1314
|
if (message.verificationStatus !== undefined) {
|
|
1133
1315
|
writer.uint32(282).string(message.verificationStatus);
|
|
1134
1316
|
}
|
|
@@ -1156,6 +1338,15 @@ exports.User = {
|
|
|
1156
1338
|
if (message.memberSince !== "") {
|
|
1157
1339
|
writer.uint32(346).string(message.memberSince);
|
|
1158
1340
|
}
|
|
1341
|
+
if (message.therapeuticApproach !== undefined) {
|
|
1342
|
+
writer.uint32(354).string(message.therapeuticApproach);
|
|
1343
|
+
}
|
|
1344
|
+
if (message.communityAlias !== undefined) {
|
|
1345
|
+
exports.CommunityAlias.encode(message.communityAlias, writer.uint32(362).fork()).join();
|
|
1346
|
+
}
|
|
1347
|
+
for (const v of message.education) {
|
|
1348
|
+
exports.EducationEntry.encode(v, writer.uint32(370).fork()).join();
|
|
1349
|
+
}
|
|
1159
1350
|
return writer;
|
|
1160
1351
|
},
|
|
1161
1352
|
decode(input, length) {
|
|
@@ -1389,13 +1580,6 @@ exports.User = {
|
|
|
1389
1580
|
message.licenseState = reader.string();
|
|
1390
1581
|
continue;
|
|
1391
1582
|
}
|
|
1392
|
-
case 34: {
|
|
1393
|
-
if (tag !== 274) {
|
|
1394
|
-
break;
|
|
1395
|
-
}
|
|
1396
|
-
message.education = reader.string();
|
|
1397
|
-
continue;
|
|
1398
|
-
}
|
|
1399
1583
|
case 35: {
|
|
1400
1584
|
if (tag !== 282) {
|
|
1401
1585
|
break;
|
|
@@ -1459,6 +1643,27 @@ exports.User = {
|
|
|
1459
1643
|
message.memberSince = reader.string();
|
|
1460
1644
|
continue;
|
|
1461
1645
|
}
|
|
1646
|
+
case 44: {
|
|
1647
|
+
if (tag !== 354) {
|
|
1648
|
+
break;
|
|
1649
|
+
}
|
|
1650
|
+
message.therapeuticApproach = reader.string();
|
|
1651
|
+
continue;
|
|
1652
|
+
}
|
|
1653
|
+
case 45: {
|
|
1654
|
+
if (tag !== 362) {
|
|
1655
|
+
break;
|
|
1656
|
+
}
|
|
1657
|
+
message.communityAlias = exports.CommunityAlias.decode(reader, reader.uint32());
|
|
1658
|
+
continue;
|
|
1659
|
+
}
|
|
1660
|
+
case 46: {
|
|
1661
|
+
if (tag !== 370) {
|
|
1662
|
+
break;
|
|
1663
|
+
}
|
|
1664
|
+
message.education.push(exports.EducationEntry.decode(reader, reader.uint32()));
|
|
1665
|
+
continue;
|
|
1666
|
+
}
|
|
1462
1667
|
}
|
|
1463
1668
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1464
1669
|
break;
|
|
@@ -1507,7 +1712,6 @@ exports.User = {
|
|
|
1507
1712
|
location: isSet(object.location) ? exports.Location.fromJSON(object.location) : undefined,
|
|
1508
1713
|
licenseNumber: isSet(object.licenseNumber) ? globalThis.String(object.licenseNumber) : undefined,
|
|
1509
1714
|
licenseState: isSet(object.licenseState) ? globalThis.String(object.licenseState) : undefined,
|
|
1510
|
-
education: isSet(object.education) ? globalThis.String(object.education) : undefined,
|
|
1511
1715
|
verificationStatus: isSet(object.verificationStatus) ? globalThis.String(object.verificationStatus) : undefined,
|
|
1512
1716
|
sessionTypes: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.sessionTypes)
|
|
1513
1717
|
? object.sessionTypes.map((e) => globalThis.String(e))
|
|
@@ -1523,10 +1727,17 @@ exports.User = {
|
|
|
1523
1727
|
? exports.CommunityPostStats.fromJSON(object.communityPostStats)
|
|
1524
1728
|
: undefined,
|
|
1525
1729
|
memberSince: isSet(object.memberSince) ? globalThis.String(object.memberSince) : "",
|
|
1730
|
+
therapeuticApproach: isSet(object.therapeuticApproach)
|
|
1731
|
+
? globalThis.String(object.therapeuticApproach)
|
|
1732
|
+
: undefined,
|
|
1733
|
+
communityAlias: isSet(object.communityAlias) ? exports.CommunityAlias.fromJSON(object.communityAlias) : undefined,
|
|
1734
|
+
education: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.education)
|
|
1735
|
+
? object.education.map((e) => exports.EducationEntry.fromJSON(e))
|
|
1736
|
+
: [],
|
|
1526
1737
|
};
|
|
1527
1738
|
},
|
|
1528
1739
|
toJSON(message) {
|
|
1529
|
-
var _a, _b, _c, _d, _e;
|
|
1740
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1530
1741
|
const obj = {};
|
|
1531
1742
|
if (message.userId !== "") {
|
|
1532
1743
|
obj.userId = message.userId;
|
|
@@ -1624,9 +1835,6 @@ exports.User = {
|
|
|
1624
1835
|
if (message.licenseState !== undefined) {
|
|
1625
1836
|
obj.licenseState = message.licenseState;
|
|
1626
1837
|
}
|
|
1627
|
-
if (message.education !== undefined) {
|
|
1628
|
-
obj.education = message.education;
|
|
1629
|
-
}
|
|
1630
1838
|
if (message.verificationStatus !== undefined) {
|
|
1631
1839
|
obj.verificationStatus = message.verificationStatus;
|
|
1632
1840
|
}
|
|
@@ -1654,13 +1862,22 @@ exports.User = {
|
|
|
1654
1862
|
if (message.memberSince !== "") {
|
|
1655
1863
|
obj.memberSince = message.memberSince;
|
|
1656
1864
|
}
|
|
1865
|
+
if (message.therapeuticApproach !== undefined) {
|
|
1866
|
+
obj.therapeuticApproach = message.therapeuticApproach;
|
|
1867
|
+
}
|
|
1868
|
+
if (message.communityAlias !== undefined) {
|
|
1869
|
+
obj.communityAlias = exports.CommunityAlias.toJSON(message.communityAlias);
|
|
1870
|
+
}
|
|
1871
|
+
if ((_f = message.education) === null || _f === void 0 ? void 0 : _f.length) {
|
|
1872
|
+
obj.education = message.education.map((e) => exports.EducationEntry.toJSON(e));
|
|
1873
|
+
}
|
|
1657
1874
|
return obj;
|
|
1658
1875
|
},
|
|
1659
1876
|
create(base) {
|
|
1660
1877
|
return exports.User.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1661
1878
|
},
|
|
1662
1879
|
fromPartial(object) {
|
|
1663
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8;
|
|
1880
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9;
|
|
1664
1881
|
const message = createBaseUser();
|
|
1665
1882
|
message.userId = (_a = object.userId) !== null && _a !== void 0 ? _a : "";
|
|
1666
1883
|
message.role = (_b = object.role) !== null && _b !== void 0 ? _b : "";
|
|
@@ -1704,9 +1921,8 @@ exports.User = {
|
|
|
1704
1921
|
: undefined;
|
|
1705
1922
|
message.licenseNumber = (_1 = object.licenseNumber) !== null && _1 !== void 0 ? _1 : undefined;
|
|
1706
1923
|
message.licenseState = (_2 = object.licenseState) !== null && _2 !== void 0 ? _2 : undefined;
|
|
1707
|
-
message.
|
|
1708
|
-
message.
|
|
1709
|
-
message.sessionTypes = ((_5 = object.sessionTypes) === null || _5 === void 0 ? void 0 : _5.map((e) => e)) || [];
|
|
1924
|
+
message.verificationStatus = (_3 = object.verificationStatus) !== null && _3 !== void 0 ? _3 : undefined;
|
|
1925
|
+
message.sessionTypes = ((_4 = object.sessionTypes) === null || _4 === void 0 ? void 0 : _4.map((e) => e)) || [];
|
|
1710
1926
|
message.currentSeason = (object.currentSeason !== undefined && object.currentSeason !== null)
|
|
1711
1927
|
? exports.CurrentSeasonInfo.fromPartial(object.currentSeason)
|
|
1712
1928
|
: undefined;
|
|
@@ -1716,12 +1932,17 @@ exports.User = {
|
|
|
1716
1932
|
message.badge = (object.badge !== undefined && object.badge !== null)
|
|
1717
1933
|
? exports.BadgeInfo.fromPartial(object.badge)
|
|
1718
1934
|
: undefined;
|
|
1719
|
-
message.upcomingSessions = ((
|
|
1720
|
-
message.communityAliasId = (
|
|
1935
|
+
message.upcomingSessions = ((_5 = object.upcomingSessions) === null || _5 === void 0 ? void 0 : _5.map((e) => exports.UpcomingSession.fromPartial(e))) || [];
|
|
1936
|
+
message.communityAliasId = (_6 = object.communityAliasId) !== null && _6 !== void 0 ? _6 : "";
|
|
1721
1937
|
message.communityPostStats = (object.communityPostStats !== undefined && object.communityPostStats !== null)
|
|
1722
1938
|
? exports.CommunityPostStats.fromPartial(object.communityPostStats)
|
|
1723
1939
|
: undefined;
|
|
1724
|
-
message.memberSince = (
|
|
1940
|
+
message.memberSince = (_7 = object.memberSince) !== null && _7 !== void 0 ? _7 : "";
|
|
1941
|
+
message.therapeuticApproach = (_8 = object.therapeuticApproach) !== null && _8 !== void 0 ? _8 : undefined;
|
|
1942
|
+
message.communityAlias = (object.communityAlias !== undefined && object.communityAlias !== null)
|
|
1943
|
+
? exports.CommunityAlias.fromPartial(object.communityAlias)
|
|
1944
|
+
: undefined;
|
|
1945
|
+
message.education = ((_9 = object.education) === null || _9 === void 0 ? void 0 : _9.map((e) => exports.EducationEntry.fromPartial(e))) || [];
|
|
1725
1946
|
return message;
|
|
1726
1947
|
},
|
|
1727
1948
|
};
|
|
@@ -1824,13 +2045,16 @@ function createBaseTherapistProfile() {
|
|
|
1824
2045
|
location: undefined,
|
|
1825
2046
|
licenseNumber: "",
|
|
1826
2047
|
licenseState: "",
|
|
1827
|
-
education: "",
|
|
1828
2048
|
timeZone: "",
|
|
1829
2049
|
verificationStatus: "",
|
|
1830
2050
|
sessionDurationMinutes: 0,
|
|
1831
2051
|
sessionRateTc: 0,
|
|
1832
2052
|
bufferTimeMinutes: 0,
|
|
1833
2053
|
sessionTypes: [],
|
|
2054
|
+
therapeuticApproach: "",
|
|
2055
|
+
education: [],
|
|
2056
|
+
communityAlias: undefined,
|
|
2057
|
+
communityAliasId: "",
|
|
1834
2058
|
};
|
|
1835
2059
|
}
|
|
1836
2060
|
exports.TherapistProfile = {
|
|
@@ -1874,9 +2098,6 @@ exports.TherapistProfile = {
|
|
|
1874
2098
|
if (message.licenseState !== "") {
|
|
1875
2099
|
writer.uint32(122).string(message.licenseState);
|
|
1876
2100
|
}
|
|
1877
|
-
if (message.education !== "") {
|
|
1878
|
-
writer.uint32(130).string(message.education);
|
|
1879
|
-
}
|
|
1880
2101
|
if (message.timeZone !== "") {
|
|
1881
2102
|
writer.uint32(138).string(message.timeZone);
|
|
1882
2103
|
}
|
|
@@ -1895,6 +2116,18 @@ exports.TherapistProfile = {
|
|
|
1895
2116
|
for (const v of message.sessionTypes) {
|
|
1896
2117
|
writer.uint32(178).string(v);
|
|
1897
2118
|
}
|
|
2119
|
+
if (message.therapeuticApproach !== "") {
|
|
2120
|
+
writer.uint32(186).string(message.therapeuticApproach);
|
|
2121
|
+
}
|
|
2122
|
+
for (const v of message.education) {
|
|
2123
|
+
exports.EducationEntry.encode(v, writer.uint32(194).fork()).join();
|
|
2124
|
+
}
|
|
2125
|
+
if (message.communityAlias !== undefined) {
|
|
2126
|
+
exports.CommunityAlias.encode(message.communityAlias, writer.uint32(202).fork()).join();
|
|
2127
|
+
}
|
|
2128
|
+
if (message.communityAliasId !== "") {
|
|
2129
|
+
writer.uint32(210).string(message.communityAliasId);
|
|
2130
|
+
}
|
|
1898
2131
|
return writer;
|
|
1899
2132
|
},
|
|
1900
2133
|
decode(input, length) {
|
|
@@ -1995,13 +2228,6 @@ exports.TherapistProfile = {
|
|
|
1995
2228
|
message.licenseState = reader.string();
|
|
1996
2229
|
continue;
|
|
1997
2230
|
}
|
|
1998
|
-
case 16: {
|
|
1999
|
-
if (tag !== 130) {
|
|
2000
|
-
break;
|
|
2001
|
-
}
|
|
2002
|
-
message.education = reader.string();
|
|
2003
|
-
continue;
|
|
2004
|
-
}
|
|
2005
2231
|
case 17: {
|
|
2006
2232
|
if (tag !== 138) {
|
|
2007
2233
|
break;
|
|
@@ -2044,6 +2270,34 @@ exports.TherapistProfile = {
|
|
|
2044
2270
|
message.sessionTypes.push(reader.string());
|
|
2045
2271
|
continue;
|
|
2046
2272
|
}
|
|
2273
|
+
case 23: {
|
|
2274
|
+
if (tag !== 186) {
|
|
2275
|
+
break;
|
|
2276
|
+
}
|
|
2277
|
+
message.therapeuticApproach = reader.string();
|
|
2278
|
+
continue;
|
|
2279
|
+
}
|
|
2280
|
+
case 24: {
|
|
2281
|
+
if (tag !== 194) {
|
|
2282
|
+
break;
|
|
2283
|
+
}
|
|
2284
|
+
message.education.push(exports.EducationEntry.decode(reader, reader.uint32()));
|
|
2285
|
+
continue;
|
|
2286
|
+
}
|
|
2287
|
+
case 25: {
|
|
2288
|
+
if (tag !== 202) {
|
|
2289
|
+
break;
|
|
2290
|
+
}
|
|
2291
|
+
message.communityAlias = exports.CommunityAlias.decode(reader, reader.uint32());
|
|
2292
|
+
continue;
|
|
2293
|
+
}
|
|
2294
|
+
case 26: {
|
|
2295
|
+
if (tag !== 210) {
|
|
2296
|
+
break;
|
|
2297
|
+
}
|
|
2298
|
+
message.communityAliasId = reader.string();
|
|
2299
|
+
continue;
|
|
2300
|
+
}
|
|
2047
2301
|
}
|
|
2048
2302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2049
2303
|
break;
|
|
@@ -2071,7 +2325,6 @@ exports.TherapistProfile = {
|
|
|
2071
2325
|
location: isSet(object.location) ? exports.Location.fromJSON(object.location) : undefined,
|
|
2072
2326
|
licenseNumber: isSet(object.licenseNumber) ? globalThis.String(object.licenseNumber) : "",
|
|
2073
2327
|
licenseState: isSet(object.licenseState) ? globalThis.String(object.licenseState) : "",
|
|
2074
|
-
education: isSet(object.education) ? globalThis.String(object.education) : "",
|
|
2075
2328
|
timeZone: isSet(object.timeZone) ? globalThis.String(object.timeZone) : "",
|
|
2076
2329
|
verificationStatus: isSet(object.verificationStatus) ? globalThis.String(object.verificationStatus) : "",
|
|
2077
2330
|
sessionDurationMinutes: isSet(object.sessionDurationMinutes)
|
|
@@ -2082,10 +2335,16 @@ exports.TherapistProfile = {
|
|
|
2082
2335
|
sessionTypes: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.sessionTypes)
|
|
2083
2336
|
? object.sessionTypes.map((e) => globalThis.String(e))
|
|
2084
2337
|
: [],
|
|
2338
|
+
therapeuticApproach: isSet(object.therapeuticApproach) ? globalThis.String(object.therapeuticApproach) : "",
|
|
2339
|
+
education: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.education)
|
|
2340
|
+
? object.education.map((e) => exports.EducationEntry.fromJSON(e))
|
|
2341
|
+
: [],
|
|
2342
|
+
communityAlias: isSet(object.communityAlias) ? exports.CommunityAlias.fromJSON(object.communityAlias) : undefined,
|
|
2343
|
+
communityAliasId: isSet(object.communityAliasId) ? globalThis.String(object.communityAliasId) : "",
|
|
2085
2344
|
};
|
|
2086
2345
|
},
|
|
2087
2346
|
toJSON(message) {
|
|
2088
|
-
var _a, _b, _c;
|
|
2347
|
+
var _a, _b, _c, _d;
|
|
2089
2348
|
const obj = {};
|
|
2090
2349
|
if (message.id !== "") {
|
|
2091
2350
|
obj.id = message.id;
|
|
@@ -2126,9 +2385,6 @@ exports.TherapistProfile = {
|
|
|
2126
2385
|
if (message.licenseState !== "") {
|
|
2127
2386
|
obj.licenseState = message.licenseState;
|
|
2128
2387
|
}
|
|
2129
|
-
if (message.education !== "") {
|
|
2130
|
-
obj.education = message.education;
|
|
2131
|
-
}
|
|
2132
2388
|
if (message.timeZone !== "") {
|
|
2133
2389
|
obj.timeZone = message.timeZone;
|
|
2134
2390
|
}
|
|
@@ -2147,13 +2403,25 @@ exports.TherapistProfile = {
|
|
|
2147
2403
|
if ((_c = message.sessionTypes) === null || _c === void 0 ? void 0 : _c.length) {
|
|
2148
2404
|
obj.sessionTypes = message.sessionTypes;
|
|
2149
2405
|
}
|
|
2406
|
+
if (message.therapeuticApproach !== "") {
|
|
2407
|
+
obj.therapeuticApproach = message.therapeuticApproach;
|
|
2408
|
+
}
|
|
2409
|
+
if ((_d = message.education) === null || _d === void 0 ? void 0 : _d.length) {
|
|
2410
|
+
obj.education = message.education.map((e) => exports.EducationEntry.toJSON(e));
|
|
2411
|
+
}
|
|
2412
|
+
if (message.communityAlias !== undefined) {
|
|
2413
|
+
obj.communityAlias = exports.CommunityAlias.toJSON(message.communityAlias);
|
|
2414
|
+
}
|
|
2415
|
+
if (message.communityAliasId !== "") {
|
|
2416
|
+
obj.communityAliasId = message.communityAliasId;
|
|
2417
|
+
}
|
|
2150
2418
|
return obj;
|
|
2151
2419
|
},
|
|
2152
2420
|
create(base) {
|
|
2153
2421
|
return exports.TherapistProfile.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2154
2422
|
},
|
|
2155
2423
|
fromPartial(object) {
|
|
2156
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
2424
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
2157
2425
|
const message = createBaseTherapistProfile();
|
|
2158
2426
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
2159
2427
|
message.fullName = (_b = object.fullName) !== null && _b !== void 0 ? _b : "";
|
|
@@ -2172,13 +2440,18 @@ exports.TherapistProfile = {
|
|
|
2172
2440
|
: undefined;
|
|
2173
2441
|
message.licenseNumber = (_k = object.licenseNumber) !== null && _k !== void 0 ? _k : "";
|
|
2174
2442
|
message.licenseState = (_l = object.licenseState) !== null && _l !== void 0 ? _l : "";
|
|
2175
|
-
message.
|
|
2176
|
-
message.
|
|
2177
|
-
message.
|
|
2178
|
-
message.
|
|
2179
|
-
message.
|
|
2180
|
-
message.
|
|
2181
|
-
message.
|
|
2443
|
+
message.timeZone = (_m = object.timeZone) !== null && _m !== void 0 ? _m : "";
|
|
2444
|
+
message.verificationStatus = (_o = object.verificationStatus) !== null && _o !== void 0 ? _o : "";
|
|
2445
|
+
message.sessionDurationMinutes = (_p = object.sessionDurationMinutes) !== null && _p !== void 0 ? _p : 0;
|
|
2446
|
+
message.sessionRateTc = (_q = object.sessionRateTc) !== null && _q !== void 0 ? _q : 0;
|
|
2447
|
+
message.bufferTimeMinutes = (_r = object.bufferTimeMinutes) !== null && _r !== void 0 ? _r : 0;
|
|
2448
|
+
message.sessionTypes = ((_s = object.sessionTypes) === null || _s === void 0 ? void 0 : _s.map((e) => e)) || [];
|
|
2449
|
+
message.therapeuticApproach = (_t = object.therapeuticApproach) !== null && _t !== void 0 ? _t : "";
|
|
2450
|
+
message.education = ((_u = object.education) === null || _u === void 0 ? void 0 : _u.map((e) => exports.EducationEntry.fromPartial(e))) || [];
|
|
2451
|
+
message.communityAlias = (object.communityAlias !== undefined && object.communityAlias !== null)
|
|
2452
|
+
? exports.CommunityAlias.fromPartial(object.communityAlias)
|
|
2453
|
+
: undefined;
|
|
2454
|
+
message.communityAliasId = (_v = object.communityAliasId) !== null && _v !== void 0 ? _v : "";
|
|
2182
2455
|
return message;
|
|
2183
2456
|
},
|
|
2184
2457
|
};
|
|
@@ -6619,12 +6892,13 @@ function createBaseUpdateUserRequest() {
|
|
|
6619
6892
|
experienceLevelId: undefined,
|
|
6620
6893
|
licenseNumber: undefined,
|
|
6621
6894
|
licenseState: undefined,
|
|
6622
|
-
education: undefined,
|
|
6623
6895
|
languages: [],
|
|
6624
6896
|
sessionPrice: undefined,
|
|
6625
6897
|
location: undefined,
|
|
6626
6898
|
communityAliasId: undefined,
|
|
6627
6899
|
sessionSettings: undefined,
|
|
6900
|
+
therapeuticApproach: undefined,
|
|
6901
|
+
education: [],
|
|
6628
6902
|
};
|
|
6629
6903
|
}
|
|
6630
6904
|
exports.UpdateUserRequest = {
|
|
@@ -6677,9 +6951,6 @@ exports.UpdateUserRequest = {
|
|
|
6677
6951
|
if (message.licenseState !== undefined) {
|
|
6678
6952
|
writer.uint32(130).string(message.licenseState);
|
|
6679
6953
|
}
|
|
6680
|
-
if (message.education !== undefined) {
|
|
6681
|
-
writer.uint32(138).string(message.education);
|
|
6682
|
-
}
|
|
6683
6954
|
for (const v of message.languages) {
|
|
6684
6955
|
writer.uint32(146).string(v);
|
|
6685
6956
|
}
|
|
@@ -6695,6 +6966,12 @@ exports.UpdateUserRequest = {
|
|
|
6695
6966
|
if (message.sessionSettings !== undefined) {
|
|
6696
6967
|
exports.SessionSettingsInput.encode(message.sessionSettings, writer.uint32(178).fork()).join();
|
|
6697
6968
|
}
|
|
6969
|
+
if (message.therapeuticApproach !== undefined) {
|
|
6970
|
+
writer.uint32(186).string(message.therapeuticApproach);
|
|
6971
|
+
}
|
|
6972
|
+
for (const v of message.education) {
|
|
6973
|
+
exports.EducationEntry.encode(v, writer.uint32(194).fork()).join();
|
|
6974
|
+
}
|
|
6698
6975
|
return writer;
|
|
6699
6976
|
},
|
|
6700
6977
|
decode(input, length) {
|
|
@@ -6816,13 +7093,6 @@ exports.UpdateUserRequest = {
|
|
|
6816
7093
|
message.licenseState = reader.string();
|
|
6817
7094
|
continue;
|
|
6818
7095
|
}
|
|
6819
|
-
case 17: {
|
|
6820
|
-
if (tag !== 138) {
|
|
6821
|
-
break;
|
|
6822
|
-
}
|
|
6823
|
-
message.education = reader.string();
|
|
6824
|
-
continue;
|
|
6825
|
-
}
|
|
6826
7096
|
case 18: {
|
|
6827
7097
|
if (tag !== 146) {
|
|
6828
7098
|
break;
|
|
@@ -6858,6 +7128,20 @@ exports.UpdateUserRequest = {
|
|
|
6858
7128
|
message.sessionSettings = exports.SessionSettingsInput.decode(reader, reader.uint32());
|
|
6859
7129
|
continue;
|
|
6860
7130
|
}
|
|
7131
|
+
case 23: {
|
|
7132
|
+
if (tag !== 186) {
|
|
7133
|
+
break;
|
|
7134
|
+
}
|
|
7135
|
+
message.therapeuticApproach = reader.string();
|
|
7136
|
+
continue;
|
|
7137
|
+
}
|
|
7138
|
+
case 24: {
|
|
7139
|
+
if (tag !== 194) {
|
|
7140
|
+
break;
|
|
7141
|
+
}
|
|
7142
|
+
message.education.push(exports.EducationEntry.decode(reader, reader.uint32()));
|
|
7143
|
+
continue;
|
|
7144
|
+
}
|
|
6861
7145
|
}
|
|
6862
7146
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6863
7147
|
break;
|
|
@@ -6888,7 +7172,6 @@ exports.UpdateUserRequest = {
|
|
|
6888
7172
|
experienceLevelId: isSet(object.experienceLevelId) ? globalThis.String(object.experienceLevelId) : undefined,
|
|
6889
7173
|
licenseNumber: isSet(object.licenseNumber) ? globalThis.String(object.licenseNumber) : undefined,
|
|
6890
7174
|
licenseState: isSet(object.licenseState) ? globalThis.String(object.licenseState) : undefined,
|
|
6891
|
-
education: isSet(object.education) ? globalThis.String(object.education) : undefined,
|
|
6892
7175
|
languages: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.languages)
|
|
6893
7176
|
? object.languages.map((e) => globalThis.String(e))
|
|
6894
7177
|
: [],
|
|
@@ -6898,10 +7181,16 @@ exports.UpdateUserRequest = {
|
|
|
6898
7181
|
sessionSettings: isSet(object.sessionSettings)
|
|
6899
7182
|
? exports.SessionSettingsInput.fromJSON(object.sessionSettings)
|
|
6900
7183
|
: undefined,
|
|
7184
|
+
therapeuticApproach: isSet(object.therapeuticApproach)
|
|
7185
|
+
? globalThis.String(object.therapeuticApproach)
|
|
7186
|
+
: undefined,
|
|
7187
|
+
education: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.education)
|
|
7188
|
+
? object.education.map((e) => exports.EducationEntry.fromJSON(e))
|
|
7189
|
+
: [],
|
|
6901
7190
|
};
|
|
6902
7191
|
},
|
|
6903
7192
|
toJSON(message) {
|
|
6904
|
-
var _a, _b, _c;
|
|
7193
|
+
var _a, _b, _c, _d;
|
|
6905
7194
|
const obj = {};
|
|
6906
7195
|
if (message.fullName !== undefined) {
|
|
6907
7196
|
obj.fullName = message.fullName;
|
|
@@ -6951,9 +7240,6 @@ exports.UpdateUserRequest = {
|
|
|
6951
7240
|
if (message.licenseState !== undefined) {
|
|
6952
7241
|
obj.licenseState = message.licenseState;
|
|
6953
7242
|
}
|
|
6954
|
-
if (message.education !== undefined) {
|
|
6955
|
-
obj.education = message.education;
|
|
6956
|
-
}
|
|
6957
7243
|
if ((_c = message.languages) === null || _c === void 0 ? void 0 : _c.length) {
|
|
6958
7244
|
obj.languages = message.languages;
|
|
6959
7245
|
}
|
|
@@ -6969,13 +7255,19 @@ exports.UpdateUserRequest = {
|
|
|
6969
7255
|
if (message.sessionSettings !== undefined) {
|
|
6970
7256
|
obj.sessionSettings = exports.SessionSettingsInput.toJSON(message.sessionSettings);
|
|
6971
7257
|
}
|
|
7258
|
+
if (message.therapeuticApproach !== undefined) {
|
|
7259
|
+
obj.therapeuticApproach = message.therapeuticApproach;
|
|
7260
|
+
}
|
|
7261
|
+
if ((_d = message.education) === null || _d === void 0 ? void 0 : _d.length) {
|
|
7262
|
+
obj.education = message.education.map((e) => exports.EducationEntry.toJSON(e));
|
|
7263
|
+
}
|
|
6972
7264
|
return obj;
|
|
6973
7265
|
},
|
|
6974
7266
|
create(base) {
|
|
6975
7267
|
return exports.UpdateUserRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
6976
7268
|
},
|
|
6977
7269
|
fromPartial(object) {
|
|
6978
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
7270
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
6979
7271
|
const message = createBaseUpdateUserRequest();
|
|
6980
7272
|
message.fullName = (_a = object.fullName) !== null && _a !== void 0 ? _a : undefined;
|
|
6981
7273
|
message.phoneNumber = (_b = object.phoneNumber) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -6995,18 +7287,19 @@ exports.UpdateUserRequest = {
|
|
|
6995
7287
|
message.experienceLevelId = (_o = object.experienceLevelId) !== null && _o !== void 0 ? _o : undefined;
|
|
6996
7288
|
message.licenseNumber = (_p = object.licenseNumber) !== null && _p !== void 0 ? _p : undefined;
|
|
6997
7289
|
message.licenseState = (_q = object.licenseState) !== null && _q !== void 0 ? _q : undefined;
|
|
6998
|
-
message.
|
|
6999
|
-
message.languages = ((_s = object.languages) === null || _s === void 0 ? void 0 : _s.map((e) => e)) || [];
|
|
7290
|
+
message.languages = ((_r = object.languages) === null || _r === void 0 ? void 0 : _r.map((e) => e)) || [];
|
|
7000
7291
|
message.sessionPrice = (object.sessionPrice !== undefined && object.sessionPrice !== null)
|
|
7001
7292
|
? exports.SessionPrice.fromPartial(object.sessionPrice)
|
|
7002
7293
|
: undefined;
|
|
7003
7294
|
message.location = (object.location !== undefined && object.location !== null)
|
|
7004
7295
|
? exports.Location.fromPartial(object.location)
|
|
7005
7296
|
: undefined;
|
|
7006
|
-
message.communityAliasId = (
|
|
7297
|
+
message.communityAliasId = (_s = object.communityAliasId) !== null && _s !== void 0 ? _s : undefined;
|
|
7007
7298
|
message.sessionSettings = (object.sessionSettings !== undefined && object.sessionSettings !== null)
|
|
7008
7299
|
? exports.SessionSettingsInput.fromPartial(object.sessionSettings)
|
|
7009
7300
|
: undefined;
|
|
7301
|
+
message.therapeuticApproach = (_t = object.therapeuticApproach) !== null && _t !== void 0 ? _t : undefined;
|
|
7302
|
+
message.education = ((_u = object.education) === null || _u === void 0 ? void 0 : _u.map((e) => exports.EducationEntry.fromPartial(e))) || [];
|
|
7010
7303
|
return message;
|
|
7011
7304
|
},
|
|
7012
7305
|
};
|