theragist-ts 1.0.76 → 1.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/admin/analytics.js +1 -1
  2. package/dist/admin/message.d.ts +40 -0
  3. package/dist/admin/message.js +529 -8
  4. package/dist/admin/notification.js +1 -1
  5. package/dist/admin/service.d.ts +898 -874
  6. package/dist/admin/service.js +110 -1
  7. package/dist/auth/message.js +1 -1
  8. package/dist/auth/service.d.ts +63 -63
  9. package/dist/auth/service.js +1 -1
  10. package/dist/bug/message.js +15 -69
  11. package/dist/bug/service.d.ts +3 -3
  12. package/dist/bug/service.js +1 -1
  13. package/dist/calendar/message.js +1 -1
  14. package/dist/calendar/service.d.ts +12 -12
  15. package/dist/calendar/service.js +1 -1
  16. package/dist/call/message.js +1 -1
  17. package/dist/call/service.d.ts +36 -36
  18. package/dist/call/service.js +1 -1
  19. package/dist/chat/message.js +1 -1
  20. package/dist/chat/service.d.ts +21 -21
  21. package/dist/chat/service.js +1 -1
  22. package/dist/clients/message.js +1 -1
  23. package/dist/clients/service.d.ts +6 -6
  24. package/dist/clients/service.js +1 -1
  25. package/dist/common.d.ts +2 -2
  26. package/dist/common.js +1 -1
  27. package/dist/community/message.js +1 -1
  28. package/dist/community/service.d.ts +42 -42
  29. package/dist/community/service.js +1 -1
  30. package/dist/crisis/message.js +1 -1
  31. package/dist/crisis/service.d.ts +33 -33
  32. package/dist/crisis/service.js +1 -1
  33. package/dist/google/api/annotations.js +1 -1
  34. package/dist/google/api/http.js +4 -12
  35. package/dist/google/protobuf/descriptor.js +69 -289
  36. package/dist/google/protobuf/struct.js +7 -31
  37. package/dist/google/protobuf/wrappers.js +1 -1
  38. package/dist/group/message.js +1 -1
  39. package/dist/group/service.d.ts +39 -39
  40. package/dist/group/service.js +3 -26
  41. package/dist/home/message.js +1 -1
  42. package/dist/home/service.d.ts +15 -15
  43. package/dist/home/service.js +3 -7
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.js +22 -15
  46. package/dist/lookup/message.js +1 -1
  47. package/dist/lookup/service.d.ts +30 -30
  48. package/dist/lookup/service.js +1 -1
  49. package/dist/lounge/message.js +1 -1
  50. package/dist/lounge/service.d.ts +114 -114
  51. package/dist/lounge/service.js +2 -4
  52. package/dist/notification/message.js +1 -1
  53. package/dist/notification/service.d.ts +12 -12
  54. package/dist/notification/service.js +1 -1
  55. package/dist/post/message.js +1 -1
  56. package/dist/post/service.d.ts +96 -96
  57. package/dist/post/service.js +3 -44
  58. package/dist/search/message.js +1 -1
  59. package/dist/search/service.d.ts +27 -27
  60. package/dist/search/service.js +2 -4
  61. package/dist/session/message.js +1 -1
  62. package/dist/session/service.d.ts +45 -45
  63. package/dist/session/service.js +2 -22
  64. package/dist/settings/message.js +1 -1
  65. package/dist/settings/service.d.ts +9 -9
  66. package/dist/settings/service.js +2 -22
  67. package/dist/soundscape/message.js +1 -1
  68. package/dist/soundscape/service.d.ts +45 -45
  69. package/dist/soundscape/service.js +1 -1
  70. package/dist/therapist/message.js +1 -1
  71. package/dist/therapist/service.d.ts +12 -12
  72. package/dist/therapist/service.js +1 -1
  73. package/dist/user/message.js +1 -1
  74. package/dist/user/service.d.ts +120 -120
  75. package/dist/user/service.js +3 -43
  76. package/dist/wallet/message.d.ts +2 -0
  77. package/dist/wallet/message.js +36 -2
  78. package/dist/wallet/service.d.ts +75 -75
  79. package/dist/wallet/service.js +4 -48
  80. package/dist/websocket/message.js +1 -1
  81. package/dist/workspace/message.d.ts +6 -0
  82. package/dist/workspace/message.js +122 -7
  83. package/dist/workspace/service.d.ts +273 -273
  84. package/dist/workspace/service.js +1 -1
  85. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.11.6
4
+ // protoc-gen-ts_proto v2.10.1
5
5
  // protoc v3.21.12
6
6
  // source: admin/analytics.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2300,6 +2300,40 @@ export interface UpdatePayoutSettingsRequest {
2300
2300
  wallet: PayoutMethodScheduleConfig | undefined;
2301
2301
  bankAccount: PayoutMethodScheduleConfig | undefined;
2302
2302
  }
2303
+ export interface IAPProductMappingsResponse {
2304
+ apple: {
2305
+ [key: string]: string;
2306
+ };
2307
+ googlePlay: {
2308
+ [key: string]: string;
2309
+ };
2310
+ updatedAt: string;
2311
+ updatedBy: string;
2312
+ }
2313
+ export interface IAPProductMappingsResponse_AppleEntry {
2314
+ key: string;
2315
+ value: string;
2316
+ }
2317
+ export interface IAPProductMappingsResponse_GooglePlayEntry {
2318
+ key: string;
2319
+ value: string;
2320
+ }
2321
+ export interface UpdateIAPProductMappingsRequest {
2322
+ apple: {
2323
+ [key: string]: string;
2324
+ };
2325
+ googlePlay: {
2326
+ [key: string]: string;
2327
+ };
2328
+ }
2329
+ export interface UpdateIAPProductMappingsRequest_AppleEntry {
2330
+ key: string;
2331
+ value: string;
2332
+ }
2333
+ export interface UpdateIAPProductMappingsRequest_GooglePlayEntry {
2334
+ key: string;
2335
+ value: string;
2336
+ }
2303
2337
  export interface ListCounsellorPayoutsRequest {
2304
2338
  pagination: BaseListRequest | undefined;
2305
2339
  status: string;
@@ -4598,6 +4632,12 @@ export declare const AdminListTransactionsResponse: MessageFns<AdminListTransact
4598
4632
  export declare const PayoutMethodScheduleConfig: MessageFns<PayoutMethodScheduleConfig>;
4599
4633
  export declare const PayoutSettingsResponse: MessageFns<PayoutSettingsResponse>;
4600
4634
  export declare const UpdatePayoutSettingsRequest: MessageFns<UpdatePayoutSettingsRequest>;
4635
+ export declare const IAPProductMappingsResponse: MessageFns<IAPProductMappingsResponse>;
4636
+ export declare const IAPProductMappingsResponse_AppleEntry: MessageFns<IAPProductMappingsResponse_AppleEntry>;
4637
+ export declare const IAPProductMappingsResponse_GooglePlayEntry: MessageFns<IAPProductMappingsResponse_GooglePlayEntry>;
4638
+ export declare const UpdateIAPProductMappingsRequest: MessageFns<UpdateIAPProductMappingsRequest>;
4639
+ export declare const UpdateIAPProductMappingsRequest_AppleEntry: MessageFns<UpdateIAPProductMappingsRequest_AppleEntry>;
4640
+ export declare const UpdateIAPProductMappingsRequest_GooglePlayEntry: MessageFns<UpdateIAPProductMappingsRequest_GooglePlayEntry>;
4601
4641
  export declare const ListCounsellorPayoutsRequest: MessageFns<ListCounsellorPayoutsRequest>;
4602
4642
  export declare const CounsellorPayoutItem: MessageFns<CounsellorPayoutItem>;
4603
4643
  export declare const ListCounsellorPayoutsResponse: MessageFns<ListCounsellorPayoutsResponse>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.11.6
4
+ // protoc-gen-ts_proto v2.10.1
5
5
  // protoc v3.21.12
6
6
  // source: admin/message.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,13 +10,13 @@ exports.ManagedUserAvailabilitySlot = exports.ManagedUserSessionSettings = expor
10
10
  exports.AdminTestPushNotificationRequest_DataEntry = exports.AdminTestPushNotificationRequest = exports.AdminSavedDeviceToken = exports.AdminPushDeliveryResult = exports.AdminSendMessageResponse = exports.AdminSendMessageRequest = exports.ListUserWarningsResponse = exports.UserWarning = exports.WarningIssuedBy = exports.IssueWarningResponse = exports.IssueWarningRequest = exports.BanUserResponse = exports.BanUserRequest = exports.UnsuspendUserResponse = exports.SuspendUserResponse = exports.SuspendUserRequest = exports.ManagedUserAccountStats = exports.ManagedUserCommunicationStats = exports.ManagedUserModerationStats = exports.ManagedUserEngagementStats = exports.ManagedUserWalletStats = exports.ManagedUserLiveSessionStats = exports.ManagedUserTherapySessionStats = exports.ManagedUserAuthSessionStats = exports.ManagedUserSessionStats = exports.ManagedUserStats = exports.ManagedUserTherapistProfile = exports.ManagedUserDetail = exports.AdminUserTherapySessionStats = exports.ListManagedUserTherapySessionsResponse = exports.ManagedUserTherapySessionItem = exports.ListManagedUserTherapySessionsRequest = exports.ManagedUserSessionHistoryStats = exports.ListManagedUserSessionsResponse = exports.ManagedUserSessionHistoryItem = exports.ListManagedUserSessionsRequest = exports.ManagedUserTransactionHistoryStats = exports.ListManagedUserTransactionsResponse = exports.ManagedUserTransaction = exports.ListManagedUserTransactionsRequest = exports.ManagedUserActivityStats = exports.ListManagedUserActivitiesResponse = exports.ManagedUserActivity = exports.ListManagedUserActivitiesRequest = exports.DeleteManagedUserResponse = exports.DeleteManagedUserRequest = exports.UpdateManagedUserAvatarResponse = exports.UpdateManagedUserAvatarRequest = exports.UpdateManagedUserResponse = exports.ManagedUserPayoutSettings = void 0;
11
11
  exports.ModerationActionStats = exports.ContentReportsByType = exports.ContentModerationStatsResponse = exports.VerifyKycResponse = exports.VerifyKycRequest = exports.ListKycTherapistsResponse = exports.ListKycTherapistsRequest = exports.KycTherapist = exports.UpdateKycDocumentStatusResponse = exports.UpdateKycDocumentStatusRequest = exports.AdminKycDocument = exports.AdminTherapySessionStatusResponse = exports.AdminUpdateTherapySessionStatusRequest = exports.ListAdminTherapySessionsResponse = exports.AdminTherapySessionListStats = exports.AdminTherapySessionListItem = exports.ListAdminTherapySessionsRequest = exports.ListTherapistSessionsResponse = exports.TherapistSessionStats = exports.MonthlySessionPoint = exports.ListTherapistSessionsRequest = exports.TherapistSession = exports.UpdateTherapistStatusResponse = exports.UpdateTherapistStatusRequest = exports.TherapistStatsResponse = exports.GetAdminTherapistRequest = exports.TherapistStatsRequest = exports.TherapistUpcomingSession = exports.TherapistReview = exports.TherapistRatingPoint = exports.TherapistSessionPoint = exports.TherapistPerformanceStats = exports.AdminTherapistDetail = exports.ListAdminTherapistsResponse = exports.ListAdminTherapistsRequest = exports.AdminTherapist = exports.UserStatsResponse = exports.AdminBulkDebitUserWalletResponse = exports.AdminBulkDebitUserWalletFailure = exports.AdminBulkDebitUserWalletRequest = exports.AdminDebitUserWalletResponse = exports.AdminBulkCreditUserWalletResponse = exports.AdminBulkCreditUserWalletFailure = exports.AdminBulkCreditUserWalletRequest = exports.AdminCreditUserWalletResponse = exports.AdminCreditUserWalletRequest = exports.AdminTestCallNotificationResponse = exports.AdminTestCallNotificationRequest_DataEntry = exports.AdminTestCallNotificationRequest = exports.AdminTestPushNotificationResponse = void 0;
12
12
  exports.ListRecentGroupActivityResponse = exports.RecentGroupActivityItem = exports.ListRecentGroupActivityRequest = exports.ListGroupTopContributorsResponse = exports.GroupTopContributor = exports.ListGroupTopContributorsRequest = exports.AdminUpdateGroupResponse = exports.AdminUpdateGroupRequest = exports.AdminCreateGroupResponse = exports.AdminCreateGroupRequest = exports.GroupDetail = exports.GroupModerator = exports.GroupRule = exports.AdminListGroupsResponse = exports.AdminListGroupsRequest = exports.AdminGroup = exports.GroupCreator = exports.GroupStats = exports.GroupMemberGrowthChartPoint = exports.GroupActivityChartPoint = exports.GroupActivityStats = exports.GetGroupStatsRequest = exports.UpdateModerationSettingsResponse = exports.ModerationSettings = exports.ListContentReportsResponse = exports.ListContentReportsRequest = exports.ContentReport = exports.BulkContentActionResponse = exports.BulkContentResult = exports.BulkContentActionRequest = exports.EscalateContentResponse = exports.EscalateContentRequest = exports.HideContentResponse = exports.HideContentRequest = exports.RemoveContentResponse = exports.RemoveContentRequest = exports.RestoreContentResponse = exports.RestoreContentRequest = exports.ContentDetailStats_ReportCategoryStatsEntry = exports.ContentDetailStats = exports.ContentDetail = exports.ModerationHistoryEntry = exports.ReportDetail = exports.ContentBody = exports.ContentLocation = exports.ContentAuthor = exports.ListModeratedContentResponse = exports.ListModeratedContentRequest = exports.ModeratedContent = exports.ModerationActivityStats = void 0;
13
- exports.EngagementRequest = exports.UserGrowthResponse = exports.UserGrowthByRole = exports.UserGrowthDataPoint = exports.UserGrowthRequest = exports.AnalyticsStatsResponse = exports.AnalyticsStatsRequest = exports.AnalyticsPeriod = exports.AnalyticsMetric = exports.ProcessDueCounsellorPayoutsResponse = exports.ProcessDueCounsellorPayoutsRequest = exports.ReleaseCounsellorPayoutRequest = exports.ListCounsellorPayoutsResponse = exports.CounsellorPayoutItem = exports.ListCounsellorPayoutsRequest = exports.UpdatePayoutSettingsRequest = exports.PayoutSettingsResponse = exports.PayoutMethodScheduleConfig = exports.AdminListTransactionsResponse = exports.AdminListTransactionsRequest = exports.PlatformTransaction = exports.ReactivateWalletResponse = exports.SuspendWalletResponse = exports.SuspendWalletRequest = exports.CreditDebitResponse = exports.CreditDebitRequest = exports.GetWalletDetailRequest = exports.WalletBalanceHistoryItem = exports.WalletStats = exports.WalletDetail = exports.WalletTransaction = exports.ListWalletsResponse = exports.ListWalletsRequest = exports.AdminWallet = exports.PaymentStatsResponse = exports.WalletStatsResponse = exports.RemoveMemberResponse = exports.RemoveMemberRequest = exports.UpdateMemberRoleResponse = exports.UpdateMemberRoleRequest = exports.AdminListGroupMembersResponse = exports.AdminListGroupMembersRequest = exports.AdminGroupMember = exports.AdminDeleteGroupResponse = exports.AdminDeleteGroupRequest = exports.ReactivateGroupResponse = exports.SuspendGroupResponse = exports.SuspendGroupRequest = exports.UpdateGroupMediaResponse = exports.UpdateGroupMediaRequest = void 0;
14
- exports.TopReferrerEntry = exports.TopReferrersRequest = exports.ReferralPaidTcMetric = exports.ReferralEarningsMetric = exports.ReferralConversionMetric = exports.ReferralCountMetric = exports.ReferrerStats = exports.ReferrerDetail = exports.GetReferrerDetailRequest = exports.ReferralTimeSeriesPoint = exports.ReferralStatsResponse = exports.ReferralStatsRequest = exports.ListReferralAnalyticsResponse = exports.ListReferralAnalyticsRequest = exports.ReferralAnalyticsEntry = exports.ExportReportResponse = exports.ExportReportRequest = exports.CommunityAnalyticsResponse = exports.TopCommunityEntry = exports.CommunityAnalyticsRequest = exports.MoodAnalyticsResponse = exports.MoodDistributionEntry = exports.MoodAnalyticsRequest = exports.SoundscapeAnalyticsResponse = exports.SoundscapeAnalyticsSummary = exports.SoundscapeAnalyticsRequest = exports.GroupAnalyticsResponse = exports.GroupAnalyticsSummary = exports.GroupAnalyticsRequest = exports.ReferralAnalyticsResponse = exports.ReferralAnalyticsSummary = exports.ReferralAnalyticsRequest = exports.ContentModerationAnalyticsResponse = exports.ContentModerationAnalyticsSummary = exports.ModerationTimeSeriesPoint = exports.ContentModerationAnalyticsRequest = exports.TherapistPerformanceResponse = exports.TherapistPerformanceEntry = exports.TherapistPerformanceRequest = exports.RevenueAnalyticsResponse = exports.RevenueAnalyticsSummary = exports.RevenueTimeSeriesPoint = exports.RevenueAnalyticsRequest = exports.SessionsAnalyticsResponse = exports.SessionsAnalyticsSummary = exports.SessionsTimeSeriesPoint = exports.SessionsAnalyticsRequest = exports.EngagementResponse = exports.EngagementSummary = exports.EngagementDataPoint = void 0;
15
- exports.AdminListSoundscapePlansResponse = exports.AdminListSoundscapePlansRequest = exports.AdminSoundscapeTrackResponse = exports.AdminUpdateSoundscapeTrackRequest = exports.AdminCreateSoundscapeTrackRequest = exports.AdminListSoundscapeTracksResponse = exports.AdminListSoundscapeTracksRequest = exports.AdminSoundscapeCategoryResponse = exports.AdminUpdateSoundscapeCategoryRequest = exports.AdminCreateSoundscapeCategoryRequest = exports.AdminListSoundscapeCategoriesResponse = exports.AdminListSoundscapeCategoriesRequest = exports.AdminSoundscapeStats = exports.AdminSoundscapePlan = exports.AdminSoundscapeTrack = exports.AdminSoundscapeCategory = exports.AdminUpdateCommunityMemberRoleResponse = exports.AdminUpdateCommunityMemberRoleRequest = exports.AdminRemoveCommunityMemberResponse = exports.AdminRemoveCommunityMemberRequest = exports.AdminListCommunityMembersResponse = exports.AdminListCommunityMembersRequest = exports.AdminCommunityMember = exports.AdminDeleteCommunityResponse = exports.AdminToggleCommunityResponse = exports.AdminUpdateCommunityResponse = exports.AdminUpdateCommunityRequest = exports.AdminCreateCommunityResponse = exports.AdminCreateCommunityRequest = exports.AdminListCommunitiesResponse = exports.AdminListCommunitiesRequest = exports.AdminCommunityStats = exports.AdminCommunity = exports.AddTherapistResponse = exports.AddTherapistRequest = exports.UpdateGlobalReferralSettingsRequest = exports.GlobalReferralSettings = exports.EditReferralRewardsResponse = exports.EditReferralRewardsRequest = exports.EnableReferralsResponse = exports.DisableReferralsResponse = exports.DisableReferralsRequest = exports.ListReferredUsersResponse = exports.ListReferredUsersRequest = exports.ReferredUser = exports.ListReferralHistoryResponse = exports.ListReferralHistoryRequest = exports.ReferralHistoryEntry = exports.ReferralRewardConfig = exports.TopReferrersResponse = void 0;
16
- exports.AdminListBadgeRewardsResponse = exports.AdminListBadgeRewardsRequest = exports.AdminUpdateBadgeRewardRequest = exports.AdminCreateBadgeRewardRequest = exports.AdminBadgeRewardItem = exports.AdminListBadgeRequirementsResponse = exports.AdminListBadgeRequirementsRequest = exports.AdminUpdateBadgeRequirementRequest = exports.AdminCreateBadgeRequirementRequest = exports.AdminBadgeRequirementItem = exports.AdminListBadgeRulesResponse = exports.AdminListBadgeRulesRequest = exports.AdminUpdateBadgeRuleRequest = exports.AdminCreateBadgeRuleRequest = exports.AdminBadgeRuleItem = exports.AdminUpdateBadgeEngineConfigRequest = exports.AdminGetBadgeEngineConfigResponse = exports.AdminTopBadgeEarnersResponse = exports.AdminTopBadgeEarnersItem = exports.AdminBadgeLeaderboardResponse = exports.AdminBadgeLeaderboardItem = exports.AdminListUserBadgesResponse = exports.AdminUserBadgeItem = exports.AdminListUserBadgesRequest = exports.AdminRevokeBadgeRequest = exports.AdminAwardBadgeResponse = exports.AdminAwardBadgeRequest = exports.AdminBadgeCategoryResponse = exports.AdminUpdateBadgeCategoryRequest = exports.AdminBadgeResponse = exports.AdminUpdateBadgeRequest = exports.AdminCreateBadgeRequest = exports.AdminListBadgeCategoriesResponse = exports.AdminListBadgeCategoriesRequest = exports.AdminListBadgesResponse = exports.AdminListBadgesRequest = exports.AdminBadgeStats = exports.AdminBadgeCategory = exports.AdminCategoryInfo = exports.AdminSeasonInfo = exports.AdminBadge = exports.AdminSeasonResponse = exports.AdminUpdateSeasonRequest = exports.AdminCreateSeasonRequest = exports.AdminListSeasonsResponse = exports.AdminListSeasonsRequest = exports.AdminSeason = exports.AdminSoundscapePlanResponse = exports.AdminUpdateSoundscapePlanRequest = exports.AdminCreateSoundscapePlanRequest = void 0;
17
- exports.AdminGetOrganizationRequest = exports.AdminListOrganizationsResponse = exports.AdminListOrganizationsRequest = exports.AdminGetOrganizationStatsResponse = exports.AdminOrganizationAuditLog = exports.AdminOrganizationBillingEvent = exports.AdminOrganizationSubscription = exports.AdminOrganizationPlan = exports.AdminOrganizationInvitation = exports.AdminOrganizationMember = exports.AdminOrganizationStats = exports.AdminOrganizationDetail = exports.AdminOrganization = exports.RefreshConversionRatesResponse = exports.RefreshConversionRatesRequest = exports.AdminBundleResponse = exports.AdminUpdateBundleRequest = exports.AdminCreateBundleRequest = exports.AdminListBundlesResponse = exports.AdminListBundlesRequest = exports.AdminBundle = exports.AdminReplySupportTicketResponse = exports.AdminReplySupportTicketRequest = exports.AdminListSupportTicketInteractionsResponse = exports.AdminListSupportTicketInteractionsRequest = exports.AdminSupportTicketInteraction = exports.AdminSupportTicketResponse = exports.AdminUpdateSupportTicketStatusRequest = exports.AdminListSupportTicketsResponse = exports.AdminListSupportTicketsRequest = exports.AdminSupportTicketStats = exports.AdminSupportTicket = exports.AdminMoodTypeResponse = exports.AdminUpdateMoodTypeRequest = exports.AdminCreateMoodTypeRequest = exports.AdminListMoodTypesResponse = exports.AdminListMoodTypesRequest = exports.AdminMoodStats = exports.AdminMoodBreakdownItem = exports.AdminGetMoodStatsRequest = exports.AdminMoodType = exports.AdminBadgeFullDetails = exports.AdminGetBadgeFullDetailsRequest = exports.AdminListEventTypesResponse = exports.AdminEventTypeItem = exports.AdminListEventTypesRequest = exports.AdminListBadgeTriggersResponse = exports.AdminListBadgeTriggersRequest = exports.AdminCreateBadgeTriggerRequest = exports.AdminBadgeTriggerItem = void 0;
18
- exports.AdminArchiveOrganizationResponse = exports.AdminArchiveOrganizationRequest = exports.AdminTransferOrganizationOwnershipResponse = exports.AdminTransferOrganizationOwnershipRequest = exports.AdminUnsuspendOrganizationMemberResponse = exports.AdminUnsuspendOrganizationMemberRequest = exports.AdminSuspendOrganizationMemberResponse = exports.AdminSuspendOrganizationMemberRequest = exports.AdminRemoveOrganizationTherapistResponse = exports.AdminRemoveOrganizationTherapistRequest = exports.AdminUpdateOrganizationTherapistResponse = exports.AdminUpdateOrganizationTherapistRequest = exports.AdminAssignOrganizationTherapistResponse = exports.AdminAssignOrganizationTherapistRequest = exports.AdminListOrganizationTherapistsResponse = exports.AdminListOrganizationTherapistsRequest = exports.AdminOrganizationTherapist = exports.AdminListOrganizationAuditLogsResponse = exports.AdminListOrganizationAuditLogsRequest = exports.AdminListOrganizationBillingEventsResponse = exports.AdminListOrganizationBillingEventsRequest = exports.AdminAssignOrganizationPlanResponse = exports.AdminAssignOrganizationPlanRequest = exports.AdminGetOrganizationSubscriptionResponse = exports.AdminGetOrganizationSubscriptionRequest = exports.AdminUpdateOrganizationPlanResponse = exports.AdminUpdateOrganizationPlanRequest = exports.AdminCreateOrganizationPlanResponse = exports.AdminCreateOrganizationPlanRequest = exports.AdminListOrganizationPlansResponse = exports.AdminListOrganizationPlansRequest = exports.AdminRevokeOrganizationInvitationResponse = exports.AdminRevokeOrganizationInvitationRequest = exports.AdminCreateOrganizationInvitationResponse = exports.AdminCreateOrganizationInvitationRequest = exports.AdminListOrganizationInvitationsResponse = exports.AdminListOrganizationInvitationsRequest = exports.AdminRemoveOrganizationMemberResponse = exports.AdminRemoveOrganizationMemberRequest = exports.AdminUpdateOrganizationMemberRoleResponse = exports.AdminUpdateOrganizationMemberRoleRequest = exports.AdminAddOrganizationMemberResponse = exports.AdminAddOrganizationMemberRequest = exports.AdminListOrganizationMembersResponse = exports.AdminListOrganizationMembersRequest = exports.AdminUpdateOrganizationResponse = exports.AdminUpdateOrganizationRequest = exports.AdminCreateOrganizationResponse = exports.AdminCreateOrganizationRequest = exports.AdminGetOrganizationResponse = void 0;
19
- exports.AdminReindexSearchResponse = exports.AdminReindexSearchRequest = exports.AdminSetLoungeBoardActiveRequest = exports.AdminListLoungeBoardsResponse = exports.AdminListLoungeBoardsRequest = exports.AdminLoungeBoardItem = exports.AdminListLoungeReferralsResponse = exports.AdminListLoungeReferralsRequest = exports.AdminLoungeReferralItem = exports.AdminSetLoungeResourceFeaturedRequest = exports.AdminGetLoungeResourceResponse = exports.AdminGetLoungeResourceRequest = exports.AdminListLoungeResourcesResponse = exports.AdminListLoungeResourcesRequest = exports.AdminLoungeResourceItem = exports.AdminGetLoungeConsultationResponse = exports.AdminGetLoungeConsultationRequest = exports.AdminListLoungeConsultationsResponse = exports.AdminListLoungeConsultationsRequest = exports.AdminLoungeConsultationItem = exports.AdminLoungeStats = exports.AdminBulkTransferCreditsResponse = exports.AdminBulkTransferCreditsRequest = exports.AdminUnarchiveOrganizationResponse = exports.AdminUnarchiveOrganizationRequest = void 0;
13
+ exports.AnalyticsStatsRequest = exports.AnalyticsPeriod = exports.AnalyticsMetric = exports.ProcessDueCounsellorPayoutsResponse = exports.ProcessDueCounsellorPayoutsRequest = exports.ReleaseCounsellorPayoutRequest = exports.ListCounsellorPayoutsResponse = exports.CounsellorPayoutItem = exports.ListCounsellorPayoutsRequest = exports.UpdateIAPProductMappingsRequest_GooglePlayEntry = exports.UpdateIAPProductMappingsRequest_AppleEntry = exports.UpdateIAPProductMappingsRequest = exports.IAPProductMappingsResponse_GooglePlayEntry = exports.IAPProductMappingsResponse_AppleEntry = exports.IAPProductMappingsResponse = exports.UpdatePayoutSettingsRequest = exports.PayoutSettingsResponse = exports.PayoutMethodScheduleConfig = exports.AdminListTransactionsResponse = exports.AdminListTransactionsRequest = exports.PlatformTransaction = exports.ReactivateWalletResponse = exports.SuspendWalletResponse = exports.SuspendWalletRequest = exports.CreditDebitResponse = exports.CreditDebitRequest = exports.GetWalletDetailRequest = exports.WalletBalanceHistoryItem = exports.WalletStats = exports.WalletDetail = exports.WalletTransaction = exports.ListWalletsResponse = exports.ListWalletsRequest = exports.AdminWallet = exports.PaymentStatsResponse = exports.WalletStatsResponse = exports.RemoveMemberResponse = exports.RemoveMemberRequest = exports.UpdateMemberRoleResponse = exports.UpdateMemberRoleRequest = exports.AdminListGroupMembersResponse = exports.AdminListGroupMembersRequest = exports.AdminGroupMember = exports.AdminDeleteGroupResponse = exports.AdminDeleteGroupRequest = exports.ReactivateGroupResponse = exports.SuspendGroupResponse = exports.SuspendGroupRequest = exports.UpdateGroupMediaResponse = exports.UpdateGroupMediaRequest = void 0;
14
+ exports.ReferrerStats = exports.ReferrerDetail = exports.GetReferrerDetailRequest = exports.ReferralTimeSeriesPoint = exports.ReferralStatsResponse = exports.ReferralStatsRequest = exports.ListReferralAnalyticsResponse = exports.ListReferralAnalyticsRequest = exports.ReferralAnalyticsEntry = exports.ExportReportResponse = exports.ExportReportRequest = exports.CommunityAnalyticsResponse = exports.TopCommunityEntry = exports.CommunityAnalyticsRequest = exports.MoodAnalyticsResponse = exports.MoodDistributionEntry = exports.MoodAnalyticsRequest = exports.SoundscapeAnalyticsResponse = exports.SoundscapeAnalyticsSummary = exports.SoundscapeAnalyticsRequest = exports.GroupAnalyticsResponse = exports.GroupAnalyticsSummary = exports.GroupAnalyticsRequest = exports.ReferralAnalyticsResponse = exports.ReferralAnalyticsSummary = exports.ReferralAnalyticsRequest = exports.ContentModerationAnalyticsResponse = exports.ContentModerationAnalyticsSummary = exports.ModerationTimeSeriesPoint = exports.ContentModerationAnalyticsRequest = exports.TherapistPerformanceResponse = exports.TherapistPerformanceEntry = exports.TherapistPerformanceRequest = exports.RevenueAnalyticsResponse = exports.RevenueAnalyticsSummary = exports.RevenueTimeSeriesPoint = exports.RevenueAnalyticsRequest = exports.SessionsAnalyticsResponse = exports.SessionsAnalyticsSummary = exports.SessionsTimeSeriesPoint = exports.SessionsAnalyticsRequest = exports.EngagementResponse = exports.EngagementSummary = exports.EngagementDataPoint = exports.EngagementRequest = exports.UserGrowthResponse = exports.UserGrowthByRole = exports.UserGrowthDataPoint = exports.UserGrowthRequest = exports.AnalyticsStatsResponse = void 0;
15
+ exports.AdminListSoundscapeTracksRequest = exports.AdminSoundscapeCategoryResponse = exports.AdminUpdateSoundscapeCategoryRequest = exports.AdminCreateSoundscapeCategoryRequest = exports.AdminListSoundscapeCategoriesResponse = exports.AdminListSoundscapeCategoriesRequest = exports.AdminSoundscapeStats = exports.AdminSoundscapePlan = exports.AdminSoundscapeTrack = exports.AdminSoundscapeCategory = exports.AdminUpdateCommunityMemberRoleResponse = exports.AdminUpdateCommunityMemberRoleRequest = exports.AdminRemoveCommunityMemberResponse = exports.AdminRemoveCommunityMemberRequest = exports.AdminListCommunityMembersResponse = exports.AdminListCommunityMembersRequest = exports.AdminCommunityMember = exports.AdminDeleteCommunityResponse = exports.AdminToggleCommunityResponse = exports.AdminUpdateCommunityResponse = exports.AdminUpdateCommunityRequest = exports.AdminCreateCommunityResponse = exports.AdminCreateCommunityRequest = exports.AdminListCommunitiesResponse = exports.AdminListCommunitiesRequest = exports.AdminCommunityStats = exports.AdminCommunity = exports.AddTherapistResponse = exports.AddTherapistRequest = exports.UpdateGlobalReferralSettingsRequest = exports.GlobalReferralSettings = exports.EditReferralRewardsResponse = exports.EditReferralRewardsRequest = exports.EnableReferralsResponse = exports.DisableReferralsResponse = exports.DisableReferralsRequest = exports.ListReferredUsersResponse = exports.ListReferredUsersRequest = exports.ReferredUser = exports.ListReferralHistoryResponse = exports.ListReferralHistoryRequest = exports.ReferralHistoryEntry = exports.ReferralRewardConfig = exports.TopReferrersResponse = exports.TopReferrerEntry = exports.TopReferrersRequest = exports.ReferralPaidTcMetric = exports.ReferralEarningsMetric = exports.ReferralConversionMetric = exports.ReferralCountMetric = void 0;
16
+ exports.AdminListBadgeRequirementsRequest = exports.AdminUpdateBadgeRequirementRequest = exports.AdminCreateBadgeRequirementRequest = exports.AdminBadgeRequirementItem = exports.AdminListBadgeRulesResponse = exports.AdminListBadgeRulesRequest = exports.AdminUpdateBadgeRuleRequest = exports.AdminCreateBadgeRuleRequest = exports.AdminBadgeRuleItem = exports.AdminUpdateBadgeEngineConfigRequest = exports.AdminGetBadgeEngineConfigResponse = exports.AdminTopBadgeEarnersResponse = exports.AdminTopBadgeEarnersItem = exports.AdminBadgeLeaderboardResponse = exports.AdminBadgeLeaderboardItem = exports.AdminListUserBadgesResponse = exports.AdminUserBadgeItem = exports.AdminListUserBadgesRequest = exports.AdminRevokeBadgeRequest = exports.AdminAwardBadgeResponse = exports.AdminAwardBadgeRequest = exports.AdminBadgeCategoryResponse = exports.AdminUpdateBadgeCategoryRequest = exports.AdminBadgeResponse = exports.AdminUpdateBadgeRequest = exports.AdminCreateBadgeRequest = exports.AdminListBadgeCategoriesResponse = exports.AdminListBadgeCategoriesRequest = exports.AdminListBadgesResponse = exports.AdminListBadgesRequest = exports.AdminBadgeStats = exports.AdminBadgeCategory = exports.AdminCategoryInfo = exports.AdminSeasonInfo = exports.AdminBadge = exports.AdminSeasonResponse = exports.AdminUpdateSeasonRequest = exports.AdminCreateSeasonRequest = exports.AdminListSeasonsResponse = exports.AdminListSeasonsRequest = exports.AdminSeason = exports.AdminSoundscapePlanResponse = exports.AdminUpdateSoundscapePlanRequest = exports.AdminCreateSoundscapePlanRequest = exports.AdminListSoundscapePlansResponse = exports.AdminListSoundscapePlansRequest = exports.AdminSoundscapeTrackResponse = exports.AdminUpdateSoundscapeTrackRequest = exports.AdminCreateSoundscapeTrackRequest = exports.AdminListSoundscapeTracksResponse = void 0;
17
+ exports.AdminOrganizationSubscription = exports.AdminOrganizationPlan = exports.AdminOrganizationInvitation = exports.AdminOrganizationMember = exports.AdminOrganizationStats = exports.AdminOrganizationDetail = exports.AdminOrganization = exports.RefreshConversionRatesResponse = exports.RefreshConversionRatesRequest = exports.AdminBundleResponse = exports.AdminUpdateBundleRequest = exports.AdminCreateBundleRequest = exports.AdminListBundlesResponse = exports.AdminListBundlesRequest = exports.AdminBundle = exports.AdminReplySupportTicketResponse = exports.AdminReplySupportTicketRequest = exports.AdminListSupportTicketInteractionsResponse = exports.AdminListSupportTicketInteractionsRequest = exports.AdminSupportTicketInteraction = exports.AdminSupportTicketResponse = exports.AdminUpdateSupportTicketStatusRequest = exports.AdminListSupportTicketsResponse = exports.AdminListSupportTicketsRequest = exports.AdminSupportTicketStats = exports.AdminSupportTicket = exports.AdminMoodTypeResponse = exports.AdminUpdateMoodTypeRequest = exports.AdminCreateMoodTypeRequest = exports.AdminListMoodTypesResponse = exports.AdminListMoodTypesRequest = exports.AdminMoodStats = exports.AdminMoodBreakdownItem = exports.AdminGetMoodStatsRequest = exports.AdminMoodType = exports.AdminBadgeFullDetails = exports.AdminGetBadgeFullDetailsRequest = exports.AdminListEventTypesResponse = exports.AdminEventTypeItem = exports.AdminListEventTypesRequest = exports.AdminListBadgeTriggersResponse = exports.AdminListBadgeTriggersRequest = exports.AdminCreateBadgeTriggerRequest = exports.AdminBadgeTriggerItem = exports.AdminListBadgeRewardsResponse = exports.AdminListBadgeRewardsRequest = exports.AdminUpdateBadgeRewardRequest = exports.AdminCreateBadgeRewardRequest = exports.AdminBadgeRewardItem = exports.AdminListBadgeRequirementsResponse = void 0;
18
+ exports.AdminSuspendOrganizationMemberResponse = exports.AdminSuspendOrganizationMemberRequest = exports.AdminRemoveOrganizationTherapistResponse = exports.AdminRemoveOrganizationTherapistRequest = exports.AdminUpdateOrganizationTherapistResponse = exports.AdminUpdateOrganizationTherapistRequest = exports.AdminAssignOrganizationTherapistResponse = exports.AdminAssignOrganizationTherapistRequest = exports.AdminListOrganizationTherapistsResponse = exports.AdminListOrganizationTherapistsRequest = exports.AdminOrganizationTherapist = exports.AdminListOrganizationAuditLogsResponse = exports.AdminListOrganizationAuditLogsRequest = exports.AdminListOrganizationBillingEventsResponse = exports.AdminListOrganizationBillingEventsRequest = exports.AdminAssignOrganizationPlanResponse = exports.AdminAssignOrganizationPlanRequest = exports.AdminGetOrganizationSubscriptionResponse = exports.AdminGetOrganizationSubscriptionRequest = exports.AdminUpdateOrganizationPlanResponse = exports.AdminUpdateOrganizationPlanRequest = exports.AdminCreateOrganizationPlanResponse = exports.AdminCreateOrganizationPlanRequest = exports.AdminListOrganizationPlansResponse = exports.AdminListOrganizationPlansRequest = exports.AdminRevokeOrganizationInvitationResponse = exports.AdminRevokeOrganizationInvitationRequest = exports.AdminCreateOrganizationInvitationResponse = exports.AdminCreateOrganizationInvitationRequest = exports.AdminListOrganizationInvitationsResponse = exports.AdminListOrganizationInvitationsRequest = exports.AdminRemoveOrganizationMemberResponse = exports.AdminRemoveOrganizationMemberRequest = exports.AdminUpdateOrganizationMemberRoleResponse = exports.AdminUpdateOrganizationMemberRoleRequest = exports.AdminAddOrganizationMemberResponse = exports.AdminAddOrganizationMemberRequest = exports.AdminListOrganizationMembersResponse = exports.AdminListOrganizationMembersRequest = exports.AdminUpdateOrganizationResponse = exports.AdminUpdateOrganizationRequest = exports.AdminCreateOrganizationResponse = exports.AdminCreateOrganizationRequest = exports.AdminGetOrganizationResponse = exports.AdminGetOrganizationRequest = exports.AdminListOrganizationsResponse = exports.AdminListOrganizationsRequest = exports.AdminGetOrganizationStatsResponse = exports.AdminOrganizationAuditLog = exports.AdminOrganizationBillingEvent = void 0;
19
+ exports.AdminReindexSearchResponse = exports.AdminReindexSearchRequest = exports.AdminSetLoungeBoardActiveRequest = exports.AdminListLoungeBoardsResponse = exports.AdminListLoungeBoardsRequest = exports.AdminLoungeBoardItem = exports.AdminListLoungeReferralsResponse = exports.AdminListLoungeReferralsRequest = exports.AdminLoungeReferralItem = exports.AdminSetLoungeResourceFeaturedRequest = exports.AdminGetLoungeResourceResponse = exports.AdminGetLoungeResourceRequest = exports.AdminListLoungeResourcesResponse = exports.AdminListLoungeResourcesRequest = exports.AdminLoungeResourceItem = exports.AdminGetLoungeConsultationResponse = exports.AdminGetLoungeConsultationRequest = exports.AdminListLoungeConsultationsResponse = exports.AdminListLoungeConsultationsRequest = exports.AdminLoungeConsultationItem = exports.AdminLoungeStats = exports.AdminBulkTransferCreditsResponse = exports.AdminBulkTransferCreditsRequest = exports.AdminUnarchiveOrganizationResponse = exports.AdminUnarchiveOrganizationRequest = exports.AdminArchiveOrganizationResponse = exports.AdminArchiveOrganizationRequest = exports.AdminTransferOrganizationOwnershipResponse = exports.AdminTransferOrganizationOwnershipRequest = exports.AdminUnsuspendOrganizationMemberResponse = exports.AdminUnsuspendOrganizationMemberRequest = void 0;
20
20
  /* eslint-disable */
21
21
  const wire_1 = require("@bufbuild/protobuf/wire");
22
22
  const common_1 = require("../common");
@@ -38268,6 +38268,527 @@ exports.UpdatePayoutSettingsRequest = {
38268
38268
  return message;
38269
38269
  },
38270
38270
  };
38271
+ function createBaseIAPProductMappingsResponse() {
38272
+ return { apple: {}, googlePlay: {}, updatedAt: "", updatedBy: "" };
38273
+ }
38274
+ exports.IAPProductMappingsResponse = {
38275
+ encode(message, writer = new wire_1.BinaryWriter()) {
38276
+ globalThis.Object.entries(message.apple).forEach(([key, value]) => {
38277
+ exports.IAPProductMappingsResponse_AppleEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
38278
+ });
38279
+ globalThis.Object.entries(message.googlePlay).forEach(([key, value]) => {
38280
+ exports.IAPProductMappingsResponse_GooglePlayEntry.encode({ key: key, value }, writer.uint32(18).fork()).join();
38281
+ });
38282
+ if (message.updatedAt !== "") {
38283
+ writer.uint32(26).string(message.updatedAt);
38284
+ }
38285
+ if (message.updatedBy !== "") {
38286
+ writer.uint32(34).string(message.updatedBy);
38287
+ }
38288
+ return writer;
38289
+ },
38290
+ decode(input, length) {
38291
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38292
+ const end = length === undefined ? reader.len : reader.pos + length;
38293
+ const message = createBaseIAPProductMappingsResponse();
38294
+ while (reader.pos < end) {
38295
+ const tag = reader.uint32();
38296
+ switch (tag >>> 3) {
38297
+ case 1: {
38298
+ if (tag !== 10) {
38299
+ break;
38300
+ }
38301
+ const entry1 = exports.IAPProductMappingsResponse_AppleEntry.decode(reader, reader.uint32());
38302
+ if (entry1.value !== undefined) {
38303
+ message.apple[entry1.key] = entry1.value;
38304
+ }
38305
+ continue;
38306
+ }
38307
+ case 2: {
38308
+ if (tag !== 18) {
38309
+ break;
38310
+ }
38311
+ const entry2 = exports.IAPProductMappingsResponse_GooglePlayEntry.decode(reader, reader.uint32());
38312
+ if (entry2.value !== undefined) {
38313
+ message.googlePlay[entry2.key] = entry2.value;
38314
+ }
38315
+ continue;
38316
+ }
38317
+ case 3: {
38318
+ if (tag !== 26) {
38319
+ break;
38320
+ }
38321
+ message.updatedAt = reader.string();
38322
+ continue;
38323
+ }
38324
+ case 4: {
38325
+ if (tag !== 34) {
38326
+ break;
38327
+ }
38328
+ message.updatedBy = reader.string();
38329
+ continue;
38330
+ }
38331
+ }
38332
+ if ((tag & 7) === 4 || tag === 0) {
38333
+ break;
38334
+ }
38335
+ reader.skip(tag & 7);
38336
+ }
38337
+ return message;
38338
+ },
38339
+ fromJSON(object) {
38340
+ return {
38341
+ apple: isObject(object.apple)
38342
+ ? globalThis.Object.entries(object.apple).reduce((acc, [key, value]) => {
38343
+ acc[key] = globalThis.String(value);
38344
+ return acc;
38345
+ }, {})
38346
+ : {},
38347
+ googlePlay: isObject(object.googlePlay)
38348
+ ? globalThis.Object.entries(object.googlePlay).reduce((acc, [key, value]) => {
38349
+ acc[key] = globalThis.String(value);
38350
+ return acc;
38351
+ }, {})
38352
+ : {},
38353
+ updatedAt: isSet(object.updatedAt) ? globalThis.String(object.updatedAt) : "",
38354
+ updatedBy: isSet(object.updatedBy) ? globalThis.String(object.updatedBy) : "",
38355
+ };
38356
+ },
38357
+ toJSON(message) {
38358
+ const obj = {};
38359
+ if (message.apple) {
38360
+ const entries = globalThis.Object.entries(message.apple);
38361
+ if (entries.length > 0) {
38362
+ obj.apple = {};
38363
+ entries.forEach(([k, v]) => {
38364
+ obj.apple[k] = v;
38365
+ });
38366
+ }
38367
+ }
38368
+ if (message.googlePlay) {
38369
+ const entries = globalThis.Object.entries(message.googlePlay);
38370
+ if (entries.length > 0) {
38371
+ obj.googlePlay = {};
38372
+ entries.forEach(([k, v]) => {
38373
+ obj.googlePlay[k] = v;
38374
+ });
38375
+ }
38376
+ }
38377
+ if (message.updatedAt !== "") {
38378
+ obj.updatedAt = message.updatedAt;
38379
+ }
38380
+ if (message.updatedBy !== "") {
38381
+ obj.updatedBy = message.updatedBy;
38382
+ }
38383
+ return obj;
38384
+ },
38385
+ create(base) {
38386
+ return exports.IAPProductMappingsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
38387
+ },
38388
+ fromPartial(object) {
38389
+ var _a, _b, _c, _d;
38390
+ const message = createBaseIAPProductMappingsResponse();
38391
+ message.apple = globalThis.Object.entries((_a = object.apple) !== null && _a !== void 0 ? _a : {}).reduce((acc, [key, value]) => {
38392
+ if (value !== undefined) {
38393
+ acc[key] = globalThis.String(value);
38394
+ }
38395
+ return acc;
38396
+ }, {});
38397
+ message.googlePlay = globalThis.Object.entries((_b = object.googlePlay) !== null && _b !== void 0 ? _b : {}).reduce((acc, [key, value]) => {
38398
+ if (value !== undefined) {
38399
+ acc[key] = globalThis.String(value);
38400
+ }
38401
+ return acc;
38402
+ }, {});
38403
+ message.updatedAt = (_c = object.updatedAt) !== null && _c !== void 0 ? _c : "";
38404
+ message.updatedBy = (_d = object.updatedBy) !== null && _d !== void 0 ? _d : "";
38405
+ return message;
38406
+ },
38407
+ };
38408
+ function createBaseIAPProductMappingsResponse_AppleEntry() {
38409
+ return { key: "", value: "" };
38410
+ }
38411
+ exports.IAPProductMappingsResponse_AppleEntry = {
38412
+ encode(message, writer = new wire_1.BinaryWriter()) {
38413
+ if (message.key !== "") {
38414
+ writer.uint32(10).string(message.key);
38415
+ }
38416
+ if (message.value !== "") {
38417
+ writer.uint32(18).string(message.value);
38418
+ }
38419
+ return writer;
38420
+ },
38421
+ decode(input, length) {
38422
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38423
+ const end = length === undefined ? reader.len : reader.pos + length;
38424
+ const message = createBaseIAPProductMappingsResponse_AppleEntry();
38425
+ while (reader.pos < end) {
38426
+ const tag = reader.uint32();
38427
+ switch (tag >>> 3) {
38428
+ case 1: {
38429
+ if (tag !== 10) {
38430
+ break;
38431
+ }
38432
+ message.key = reader.string();
38433
+ continue;
38434
+ }
38435
+ case 2: {
38436
+ if (tag !== 18) {
38437
+ break;
38438
+ }
38439
+ message.value = reader.string();
38440
+ continue;
38441
+ }
38442
+ }
38443
+ if ((tag & 7) === 4 || tag === 0) {
38444
+ break;
38445
+ }
38446
+ reader.skip(tag & 7);
38447
+ }
38448
+ return message;
38449
+ },
38450
+ fromJSON(object) {
38451
+ return {
38452
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
38453
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
38454
+ };
38455
+ },
38456
+ toJSON(message) {
38457
+ const obj = {};
38458
+ if (message.key !== "") {
38459
+ obj.key = message.key;
38460
+ }
38461
+ if (message.value !== "") {
38462
+ obj.value = message.value;
38463
+ }
38464
+ return obj;
38465
+ },
38466
+ create(base) {
38467
+ return exports.IAPProductMappingsResponse_AppleEntry.fromPartial(base !== null && base !== void 0 ? base : {});
38468
+ },
38469
+ fromPartial(object) {
38470
+ var _a, _b;
38471
+ const message = createBaseIAPProductMappingsResponse_AppleEntry();
38472
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
38473
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
38474
+ return message;
38475
+ },
38476
+ };
38477
+ function createBaseIAPProductMappingsResponse_GooglePlayEntry() {
38478
+ return { key: "", value: "" };
38479
+ }
38480
+ exports.IAPProductMappingsResponse_GooglePlayEntry = {
38481
+ encode(message, writer = new wire_1.BinaryWriter()) {
38482
+ if (message.key !== "") {
38483
+ writer.uint32(10).string(message.key);
38484
+ }
38485
+ if (message.value !== "") {
38486
+ writer.uint32(18).string(message.value);
38487
+ }
38488
+ return writer;
38489
+ },
38490
+ decode(input, length) {
38491
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38492
+ const end = length === undefined ? reader.len : reader.pos + length;
38493
+ const message = createBaseIAPProductMappingsResponse_GooglePlayEntry();
38494
+ while (reader.pos < end) {
38495
+ const tag = reader.uint32();
38496
+ switch (tag >>> 3) {
38497
+ case 1: {
38498
+ if (tag !== 10) {
38499
+ break;
38500
+ }
38501
+ message.key = reader.string();
38502
+ continue;
38503
+ }
38504
+ case 2: {
38505
+ if (tag !== 18) {
38506
+ break;
38507
+ }
38508
+ message.value = reader.string();
38509
+ continue;
38510
+ }
38511
+ }
38512
+ if ((tag & 7) === 4 || tag === 0) {
38513
+ break;
38514
+ }
38515
+ reader.skip(tag & 7);
38516
+ }
38517
+ return message;
38518
+ },
38519
+ fromJSON(object) {
38520
+ return {
38521
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
38522
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
38523
+ };
38524
+ },
38525
+ toJSON(message) {
38526
+ const obj = {};
38527
+ if (message.key !== "") {
38528
+ obj.key = message.key;
38529
+ }
38530
+ if (message.value !== "") {
38531
+ obj.value = message.value;
38532
+ }
38533
+ return obj;
38534
+ },
38535
+ create(base) {
38536
+ return exports.IAPProductMappingsResponse_GooglePlayEntry.fromPartial(base !== null && base !== void 0 ? base : {});
38537
+ },
38538
+ fromPartial(object) {
38539
+ var _a, _b;
38540
+ const message = createBaseIAPProductMappingsResponse_GooglePlayEntry();
38541
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
38542
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
38543
+ return message;
38544
+ },
38545
+ };
38546
+ function createBaseUpdateIAPProductMappingsRequest() {
38547
+ return { apple: {}, googlePlay: {} };
38548
+ }
38549
+ exports.UpdateIAPProductMappingsRequest = {
38550
+ encode(message, writer = new wire_1.BinaryWriter()) {
38551
+ globalThis.Object.entries(message.apple).forEach(([key, value]) => {
38552
+ exports.UpdateIAPProductMappingsRequest_AppleEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
38553
+ });
38554
+ globalThis.Object.entries(message.googlePlay).forEach(([key, value]) => {
38555
+ exports.UpdateIAPProductMappingsRequest_GooglePlayEntry.encode({ key: key, value }, writer.uint32(18).fork())
38556
+ .join();
38557
+ });
38558
+ return writer;
38559
+ },
38560
+ decode(input, length) {
38561
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38562
+ const end = length === undefined ? reader.len : reader.pos + length;
38563
+ const message = createBaseUpdateIAPProductMappingsRequest();
38564
+ while (reader.pos < end) {
38565
+ const tag = reader.uint32();
38566
+ switch (tag >>> 3) {
38567
+ case 1: {
38568
+ if (tag !== 10) {
38569
+ break;
38570
+ }
38571
+ const entry1 = exports.UpdateIAPProductMappingsRequest_AppleEntry.decode(reader, reader.uint32());
38572
+ if (entry1.value !== undefined) {
38573
+ message.apple[entry1.key] = entry1.value;
38574
+ }
38575
+ continue;
38576
+ }
38577
+ case 2: {
38578
+ if (tag !== 18) {
38579
+ break;
38580
+ }
38581
+ const entry2 = exports.UpdateIAPProductMappingsRequest_GooglePlayEntry.decode(reader, reader.uint32());
38582
+ if (entry2.value !== undefined) {
38583
+ message.googlePlay[entry2.key] = entry2.value;
38584
+ }
38585
+ continue;
38586
+ }
38587
+ }
38588
+ if ((tag & 7) === 4 || tag === 0) {
38589
+ break;
38590
+ }
38591
+ reader.skip(tag & 7);
38592
+ }
38593
+ return message;
38594
+ },
38595
+ fromJSON(object) {
38596
+ return {
38597
+ apple: isObject(object.apple)
38598
+ ? globalThis.Object.entries(object.apple).reduce((acc, [key, value]) => {
38599
+ acc[key] = globalThis.String(value);
38600
+ return acc;
38601
+ }, {})
38602
+ : {},
38603
+ googlePlay: isObject(object.googlePlay)
38604
+ ? globalThis.Object.entries(object.googlePlay).reduce((acc, [key, value]) => {
38605
+ acc[key] = globalThis.String(value);
38606
+ return acc;
38607
+ }, {})
38608
+ : {},
38609
+ };
38610
+ },
38611
+ toJSON(message) {
38612
+ const obj = {};
38613
+ if (message.apple) {
38614
+ const entries = globalThis.Object.entries(message.apple);
38615
+ if (entries.length > 0) {
38616
+ obj.apple = {};
38617
+ entries.forEach(([k, v]) => {
38618
+ obj.apple[k] = v;
38619
+ });
38620
+ }
38621
+ }
38622
+ if (message.googlePlay) {
38623
+ const entries = globalThis.Object.entries(message.googlePlay);
38624
+ if (entries.length > 0) {
38625
+ obj.googlePlay = {};
38626
+ entries.forEach(([k, v]) => {
38627
+ obj.googlePlay[k] = v;
38628
+ });
38629
+ }
38630
+ }
38631
+ return obj;
38632
+ },
38633
+ create(base) {
38634
+ return exports.UpdateIAPProductMappingsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
38635
+ },
38636
+ fromPartial(object) {
38637
+ var _a, _b;
38638
+ const message = createBaseUpdateIAPProductMappingsRequest();
38639
+ message.apple = globalThis.Object.entries((_a = object.apple) !== null && _a !== void 0 ? _a : {}).reduce((acc, [key, value]) => {
38640
+ if (value !== undefined) {
38641
+ acc[key] = globalThis.String(value);
38642
+ }
38643
+ return acc;
38644
+ }, {});
38645
+ message.googlePlay = globalThis.Object.entries((_b = object.googlePlay) !== null && _b !== void 0 ? _b : {}).reduce((acc, [key, value]) => {
38646
+ if (value !== undefined) {
38647
+ acc[key] = globalThis.String(value);
38648
+ }
38649
+ return acc;
38650
+ }, {});
38651
+ return message;
38652
+ },
38653
+ };
38654
+ function createBaseUpdateIAPProductMappingsRequest_AppleEntry() {
38655
+ return { key: "", value: "" };
38656
+ }
38657
+ exports.UpdateIAPProductMappingsRequest_AppleEntry = {
38658
+ encode(message, writer = new wire_1.BinaryWriter()) {
38659
+ if (message.key !== "") {
38660
+ writer.uint32(10).string(message.key);
38661
+ }
38662
+ if (message.value !== "") {
38663
+ writer.uint32(18).string(message.value);
38664
+ }
38665
+ return writer;
38666
+ },
38667
+ decode(input, length) {
38668
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38669
+ const end = length === undefined ? reader.len : reader.pos + length;
38670
+ const message = createBaseUpdateIAPProductMappingsRequest_AppleEntry();
38671
+ while (reader.pos < end) {
38672
+ const tag = reader.uint32();
38673
+ switch (tag >>> 3) {
38674
+ case 1: {
38675
+ if (tag !== 10) {
38676
+ break;
38677
+ }
38678
+ message.key = reader.string();
38679
+ continue;
38680
+ }
38681
+ case 2: {
38682
+ if (tag !== 18) {
38683
+ break;
38684
+ }
38685
+ message.value = reader.string();
38686
+ continue;
38687
+ }
38688
+ }
38689
+ if ((tag & 7) === 4 || tag === 0) {
38690
+ break;
38691
+ }
38692
+ reader.skip(tag & 7);
38693
+ }
38694
+ return message;
38695
+ },
38696
+ fromJSON(object) {
38697
+ return {
38698
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
38699
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
38700
+ };
38701
+ },
38702
+ toJSON(message) {
38703
+ const obj = {};
38704
+ if (message.key !== "") {
38705
+ obj.key = message.key;
38706
+ }
38707
+ if (message.value !== "") {
38708
+ obj.value = message.value;
38709
+ }
38710
+ return obj;
38711
+ },
38712
+ create(base) {
38713
+ return exports.UpdateIAPProductMappingsRequest_AppleEntry.fromPartial(base !== null && base !== void 0 ? base : {});
38714
+ },
38715
+ fromPartial(object) {
38716
+ var _a, _b;
38717
+ const message = createBaseUpdateIAPProductMappingsRequest_AppleEntry();
38718
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
38719
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
38720
+ return message;
38721
+ },
38722
+ };
38723
+ function createBaseUpdateIAPProductMappingsRequest_GooglePlayEntry() {
38724
+ return { key: "", value: "" };
38725
+ }
38726
+ exports.UpdateIAPProductMappingsRequest_GooglePlayEntry = {
38727
+ encode(message, writer = new wire_1.BinaryWriter()) {
38728
+ if (message.key !== "") {
38729
+ writer.uint32(10).string(message.key);
38730
+ }
38731
+ if (message.value !== "") {
38732
+ writer.uint32(18).string(message.value);
38733
+ }
38734
+ return writer;
38735
+ },
38736
+ decode(input, length) {
38737
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
38738
+ const end = length === undefined ? reader.len : reader.pos + length;
38739
+ const message = createBaseUpdateIAPProductMappingsRequest_GooglePlayEntry();
38740
+ while (reader.pos < end) {
38741
+ const tag = reader.uint32();
38742
+ switch (tag >>> 3) {
38743
+ case 1: {
38744
+ if (tag !== 10) {
38745
+ break;
38746
+ }
38747
+ message.key = reader.string();
38748
+ continue;
38749
+ }
38750
+ case 2: {
38751
+ if (tag !== 18) {
38752
+ break;
38753
+ }
38754
+ message.value = reader.string();
38755
+ continue;
38756
+ }
38757
+ }
38758
+ if ((tag & 7) === 4 || tag === 0) {
38759
+ break;
38760
+ }
38761
+ reader.skip(tag & 7);
38762
+ }
38763
+ return message;
38764
+ },
38765
+ fromJSON(object) {
38766
+ return {
38767
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
38768
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
38769
+ };
38770
+ },
38771
+ toJSON(message) {
38772
+ const obj = {};
38773
+ if (message.key !== "") {
38774
+ obj.key = message.key;
38775
+ }
38776
+ if (message.value !== "") {
38777
+ obj.value = message.value;
38778
+ }
38779
+ return obj;
38780
+ },
38781
+ create(base) {
38782
+ return exports.UpdateIAPProductMappingsRequest_GooglePlayEntry.fromPartial(base !== null && base !== void 0 ? base : {});
38783
+ },
38784
+ fromPartial(object) {
38785
+ var _a, _b;
38786
+ const message = createBaseUpdateIAPProductMappingsRequest_GooglePlayEntry();
38787
+ message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
38788
+ message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
38789
+ return message;
38790
+ },
38791
+ };
38271
38792
  function createBaseListCounsellorPayoutsRequest() {
38272
38793
  return { pagination: undefined, status: "", releaseMode: "", payoutMethod: "", therapistId: "" };
38273
38794
  }