theragist-ts 1.0.94 → 1.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/analytics.js +2 -2
- package/dist/admin/enum.d.ts +22 -0
- package/dist/admin/enum.js +156 -4
- package/dist/admin/message.d.ts +112 -5
- package/dist/admin/message.js +1930 -310
- package/dist/admin/notification.js +2 -2
- package/dist/admin/service.d.ts +952 -880
- package/dist/admin/service.js +390 -2
- package/dist/auth/enum.js +2 -2
- package/dist/auth/message.js +2 -2
- package/dist/auth/service.d.ts +63 -63
- package/dist/auth/service.js +2 -2
- package/dist/bug/enum.js +2 -2
- package/dist/bug/message.js +70 -16
- package/dist/bug/service.d.ts +3 -3
- package/dist/bug/service.js +2 -2
- package/dist/calendar/enum.js +2 -2
- package/dist/calendar/message.js +2 -2
- package/dist/calendar/service.d.ts +12 -12
- package/dist/calendar/service.js +2 -2
- package/dist/call/enum.js +2 -2
- package/dist/call/message.js +2 -2
- package/dist/call/service.d.ts +39 -39
- package/dist/call/service.js +2 -2
- package/dist/chat/enum.js +2 -2
- package/dist/chat/message.js +2 -2
- package/dist/chat/service.d.ts +21 -21
- package/dist/chat/service.js +2 -2
- package/dist/clients/enum.js +2 -2
- package/dist/clients/message.js +2 -2
- package/dist/clients/service.d.ts +6 -6
- package/dist/clients/service.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/community/enum.js +2 -2
- package/dist/community/message.js +2 -2
- package/dist/community/service.d.ts +42 -42
- package/dist/community/service.js +2 -2
- package/dist/crisis/enum.js +2 -2
- package/dist/crisis/message.js +2 -2
- package/dist/crisis/service.d.ts +33 -33
- package/dist/crisis/service.js +2 -2
- package/dist/enums.js +2 -2
- package/dist/google/api/annotations.js +2 -2
- package/dist/google/api/http.js +13 -5
- package/dist/google/protobuf/descriptor.d.ts +386 -38
- package/dist/google/protobuf/descriptor.js +2044 -190
- package/dist/google/protobuf/struct.d.ts +1 -1
- package/dist/google/protobuf/struct.js +33 -9
- package/dist/google/protobuf/wrappers.js +2 -2
- package/dist/group/enum.js +2 -2
- package/dist/group/message.js +2 -2
- package/dist/group/service.d.ts +39 -39
- package/dist/group/service.js +27 -4
- package/dist/home/enum.js +2 -2
- package/dist/home/message.js +2 -2
- package/dist/home/service.d.ts +15 -15
- package/dist/home/service.js +8 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +460 -386
- package/dist/lookup/message.js +2 -2
- package/dist/lookup/service.d.ts +30 -30
- package/dist/lookup/service.js +2 -2
- package/dist/lounge/enum.js +2 -2
- package/dist/lounge/message.d.ts +4 -3
- package/dist/lounge/message.js +46 -30
- package/dist/lounge/service.d.ts +114 -114
- package/dist/lounge/service.js +5 -3
- package/dist/notification/enum.d.ts +4 -0
- package/dist/notification/enum.js +26 -2
- package/dist/notification/message.js +2 -2
- package/dist/notification/service.d.ts +12 -12
- package/dist/notification/service.js +2 -2
- package/dist/post/enum.js +2 -2
- package/dist/post/message.js +2 -2
- package/dist/post/service.d.ts +96 -96
- package/dist/post/service.js +45 -4
- package/dist/search/enum.js +2 -2
- package/dist/search/message.js +2 -2
- package/dist/search/service.d.ts +27 -27
- package/dist/search/service.js +5 -3
- package/dist/session/enum.js +2 -2
- package/dist/session/message.js +2 -2
- package/dist/session/service.d.ts +45 -45
- package/dist/session/service.js +23 -3
- package/dist/settings/message.d.ts +42 -0
- package/dist/settings/message.js +626 -3
- package/dist/settings/service.d.ts +22 -10
- package/dist/settings/service.js +75 -3
- package/dist/soundscape/enum.js +2 -2
- package/dist/soundscape/message.js +2 -2
- package/dist/soundscape/service.d.ts +45 -45
- package/dist/soundscape/service.js +2 -2
- package/dist/therapist/enum.js +2 -2
- package/dist/therapist/message.js +2 -2
- package/dist/therapist/service.d.ts +12 -12
- package/dist/therapist/service.js +2 -2
- package/dist/user/enum.js +2 -2
- package/dist/user/message.js +2 -2
- package/dist/user/service.d.ts +120 -120
- package/dist/user/service.js +44 -4
- package/dist/wallet/message.js +2 -2
- package/dist/wallet/service.d.ts +75 -75
- package/dist/wallet/service.js +49 -5
- package/dist/websocket/enum.d.ts +2 -0
- package/dist/websocket/enum.js +14 -2
- package/dist/websocket/message.d.ts +38 -0
- package/dist/websocket/message.js +599 -3
- package/dist/workspace/enum.js +2 -2
- package/dist/workspace/message.d.ts +73 -0
- package/dist/workspace/message.js +1124 -111
- package/dist/workspace/service.d.ts +322 -274
- package/dist/workspace/service.js +371 -2
- package/package.json +1 -1
package/dist/admin/analytics.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v2.11.6
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: admin/analytics.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.MentalHealthOutcomesResponse = exports.MentalHealthOutcomesRequest = exports.UserActivityHeatmapResponse = exports.UserActivityHeatmapEntry = exports.UserActivityHeatmapRequest = exports.UserEngagementScoreResponse = exports.UserEngagementScoreEntry = exports.UserEngagementScoreRequest = exports.UserRetentionResponse = exports.UserRetentionCohort = exports.UserRetentionRequest = exports.CallQualityMetricsResponse = exports.CallQualityMetricsRequest = exports.CallParticipationResponse = exports.CallParticipationEntry = exports.CallParticipationRequest = exports.CallByTypeResponse = exports.CallByTypeEntry = exports.CallByTypeRequest = exports.CallTimeSeriesResponse = exports.CallTimeSeriesDataPoint = exports.CallTimeSeriesRequest = exports.CallAnalyticsOverviewResponse = exports.CallAnalyticsOverviewRequest = exports.K10RiskDistributionResponse = exports.K10RiskDistributionEntry = exports.K10RiskDistributionRequest = exports.K10UserProgressResponse = exports.K10UserProgressEntry = exports.K10UserProgressRequest = exports.K10ByRoleResponse = exports.K10ByRoleEntry = exports.K10ByRoleRequest = exports.K10TimeSeriesResponse = exports.K10TimeSeriesDataPoint = exports.K10TimeSeriesRequest = exports.K10AnalyticsOverviewResponse = exports.K10AnalyticsOverviewRequest = exports.MoodUserEngagementResponse = exports.MoodUserEngagementEntry = exports.MoodUserEngagementRequest = exports.MoodSummaryResponse = exports.MoodSummaryRequest = exports.MoodDistributionByRoleResponse = exports.MoodDistributionByRoleEntry = exports.MoodDistributionByRoleRequest = exports.MoodTrendsResponse = exports.MoodTrendDataPoint = exports.MoodTrendsRequest = exports.protobufPackage = void 0;
|
package/dist/admin/enum.d.ts
CHANGED
|
@@ -206,6 +206,26 @@ export declare enum AdminOrganizationPlanTier_Value {
|
|
|
206
206
|
}
|
|
207
207
|
export declare function adminOrganizationPlanTier_ValueFromJSON(object: any): AdminOrganizationPlanTier_Value;
|
|
208
208
|
export declare function adminOrganizationPlanTier_ValueToJSON(object: AdminOrganizationPlanTier_Value): string;
|
|
209
|
+
export interface AdminOrganizationPlanBillingInterval {
|
|
210
|
+
}
|
|
211
|
+
export declare enum AdminOrganizationPlanBillingInterval_Value {
|
|
212
|
+
unknown = 0,
|
|
213
|
+
monthly = 1,
|
|
214
|
+
annual = 2,
|
|
215
|
+
UNRECOGNIZED = -1
|
|
216
|
+
}
|
|
217
|
+
export declare function adminOrganizationPlanBillingInterval_ValueFromJSON(object: any): AdminOrganizationPlanBillingInterval_Value;
|
|
218
|
+
export declare function adminOrganizationPlanBillingInterval_ValueToJSON(object: AdminOrganizationPlanBillingInterval_Value): string;
|
|
219
|
+
export interface AdminOrganizationPlanCurrency {
|
|
220
|
+
}
|
|
221
|
+
export declare enum AdminOrganizationPlanCurrency_Value {
|
|
222
|
+
unknown = 0,
|
|
223
|
+
usd = 1,
|
|
224
|
+
ngn = 2,
|
|
225
|
+
UNRECOGNIZED = -1
|
|
226
|
+
}
|
|
227
|
+
export declare function adminOrganizationPlanCurrency_ValueFromJSON(object: any): AdminOrganizationPlanCurrency_Value;
|
|
228
|
+
export declare function adminOrganizationPlanCurrency_ValueToJSON(object: AdminOrganizationPlanCurrency_Value): string;
|
|
209
229
|
export interface AdminOrganizationSubscriptionStatus {
|
|
210
230
|
}
|
|
211
231
|
export declare enum AdminOrganizationSubscriptionStatus_Value {
|
|
@@ -437,6 +457,8 @@ export declare const AdminManagedTransactionType: MessageFns<AdminManagedTransac
|
|
|
437
457
|
export declare const AdminManagedTransactionStatus: MessageFns<AdminManagedTransactionStatus>;
|
|
438
458
|
export declare const AdminOrganizationStatus: MessageFns<AdminOrganizationStatus>;
|
|
439
459
|
export declare const AdminOrganizationPlanTier: MessageFns<AdminOrganizationPlanTier>;
|
|
460
|
+
export declare const AdminOrganizationPlanBillingInterval: MessageFns<AdminOrganizationPlanBillingInterval>;
|
|
461
|
+
export declare const AdminOrganizationPlanCurrency: MessageFns<AdminOrganizationPlanCurrency>;
|
|
440
462
|
export declare const AdminOrganizationSubscriptionStatus: MessageFns<AdminOrganizationSubscriptionStatus>;
|
|
441
463
|
export declare const AdminOrganizationTherapistStatus: MessageFns<AdminOrganizationTherapistStatus>;
|
|
442
464
|
export declare const AdminLoungeConsultationStatus: MessageFns<AdminLoungeConsultationStatus>;
|
package/dist/admin/enum.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v2.11.6
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: admin/enum.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.AdminSupportTicketStatus = exports.AdminCommunityPrivacy = exports.AdminCommunityStatus = exports.AdminModerationAction = exports.AdminContentReportStatus = exports.AdminModeratedContentStatus = exports.AdminModeratedContentType = exports.AdminPayoutScheduleType = exports.AdminPlatformTransactionType = exports.AdminGroupPrivacy = exports.AdminGroupType = exports.AdminGroupStatus = exports.AdminReferralProgramStatus = exports.AdminReferralRecordStatus = exports.AdminLoungeResourceStatus = exports.AdminLoungeReferralStatus = exports.AdminLoungeConsultationStatus = exports.AdminOrganizationTherapistStatus = exports.AdminOrganizationSubscriptionStatus = exports.AdminOrganizationPlanTier = exports.AdminOrganizationStatus = exports.AdminManagedTransactionStatus = exports.AdminManagedTransactionType = exports.AdminNotificationStatus = exports.AdminNotificationPriority = void 0;
|
|
8
|
+
exports.AdminWalletStatus = exports.AdminManagedSessionStatus = exports.AdminManagedUserStatus = exports.AdminNotificationDeliveryStatus = exports.AdminNotificationDispatchStatus = exports.AdminNotificationWorkflowClass = exports.AdminNotificationChannelType = exports.AdminMediaStatus = exports.AdminMediaStorageProvider = exports.AdminUserStatus = exports.AdminSupportTicketStatus_Value = exports.AdminCommunityPrivacy_Value = exports.AdminCommunityStatus_Value = exports.AdminModerationAction_Value = exports.AdminContentReportStatus_Value = exports.AdminModeratedContentStatus_Value = exports.AdminModeratedContentType_Value = exports.AdminPayoutScheduleType_Value = exports.AdminPlatformTransactionType_Value = exports.AdminGroupPrivacy_Value = exports.AdminGroupType_Value = exports.AdminGroupStatus_Value = exports.AdminReferralProgramStatus_Value = exports.AdminReferralRecordStatus_Value = exports.AdminLoungeResourceStatus_Value = exports.AdminLoungeReferralStatus_Value = exports.AdminLoungeConsultationStatus_Value = exports.AdminOrganizationTherapistStatus_Value = exports.AdminOrganizationSubscriptionStatus_Value = exports.AdminOrganizationPlanCurrency_Value = exports.AdminOrganizationPlanBillingInterval_Value = exports.AdminOrganizationPlanTier_Value = exports.AdminOrganizationStatus_Value = exports.AdminManagedTransactionStatus_Value = exports.AdminManagedTransactionType_Value = exports.AdminNotificationStatus_Value = exports.AdminNotificationPriority_Value = exports.AdminCounsellorPayoutStatus_Value = exports.AdminCounsellorPayoutReleaseMode_Value = exports.AdminWalletStatus_Value = exports.AdminManagedSessionStatus_Value = exports.AdminManagedUserStatus_Value = exports.AdminNotificationDeliveryStatus_Value = exports.AdminNotificationDispatchStatus_Value = exports.AdminNotificationWorkflowClass_Value = exports.AdminNotificationChannelType_Value = exports.AdminMediaStatus_Value = exports.AdminMediaStorageProvider_Value = exports.AdminUserStatus_Value = exports.protobufPackage = void 0;
|
|
9
|
+
exports.AdminSupportTicketStatus = exports.AdminCommunityPrivacy = exports.AdminCommunityStatus = exports.AdminModerationAction = exports.AdminContentReportStatus = exports.AdminModeratedContentStatus = exports.AdminModeratedContentType = exports.AdminPayoutScheduleType = exports.AdminPlatformTransactionType = exports.AdminGroupPrivacy = exports.AdminGroupType = exports.AdminGroupStatus = exports.AdminReferralProgramStatus = exports.AdminReferralRecordStatus = exports.AdminLoungeResourceStatus = exports.AdminLoungeReferralStatus = exports.AdminLoungeConsultationStatus = exports.AdminOrganizationTherapistStatus = exports.AdminOrganizationSubscriptionStatus = exports.AdminOrganizationPlanCurrency = exports.AdminOrganizationPlanBillingInterval = exports.AdminOrganizationPlanTier = exports.AdminOrganizationStatus = exports.AdminManagedTransactionStatus = exports.AdminManagedTransactionType = exports.AdminNotificationStatus = exports.AdminNotificationPriority = exports.AdminCounsellorPayoutStatus = exports.AdminCounsellorPayoutReleaseMode = void 0;
|
|
10
10
|
exports.adminUserStatus_ValueFromJSON = adminUserStatus_ValueFromJSON;
|
|
11
11
|
exports.adminUserStatus_ValueToJSON = adminUserStatus_ValueToJSON;
|
|
12
12
|
exports.adminMediaStorageProvider_ValueFromJSON = adminMediaStorageProvider_ValueFromJSON;
|
|
@@ -43,6 +43,10 @@ exports.adminOrganizationStatus_ValueFromJSON = adminOrganizationStatus_ValueFro
|
|
|
43
43
|
exports.adminOrganizationStatus_ValueToJSON = adminOrganizationStatus_ValueToJSON;
|
|
44
44
|
exports.adminOrganizationPlanTier_ValueFromJSON = adminOrganizationPlanTier_ValueFromJSON;
|
|
45
45
|
exports.adminOrganizationPlanTier_ValueToJSON = adminOrganizationPlanTier_ValueToJSON;
|
|
46
|
+
exports.adminOrganizationPlanBillingInterval_ValueFromJSON = adminOrganizationPlanBillingInterval_ValueFromJSON;
|
|
47
|
+
exports.adminOrganizationPlanBillingInterval_ValueToJSON = adminOrganizationPlanBillingInterval_ValueToJSON;
|
|
48
|
+
exports.adminOrganizationPlanCurrency_ValueFromJSON = adminOrganizationPlanCurrency_ValueFromJSON;
|
|
49
|
+
exports.adminOrganizationPlanCurrency_ValueToJSON = adminOrganizationPlanCurrency_ValueToJSON;
|
|
46
50
|
exports.adminOrganizationSubscriptionStatus_ValueFromJSON = adminOrganizationSubscriptionStatus_ValueFromJSON;
|
|
47
51
|
exports.adminOrganizationSubscriptionStatus_ValueToJSON = adminOrganizationSubscriptionStatus_ValueToJSON;
|
|
48
52
|
exports.adminOrganizationTherapistStatus_ValueFromJSON = adminOrganizationTherapistStatus_ValueFromJSON;
|
|
@@ -906,6 +910,80 @@ function adminOrganizationPlanTier_ValueToJSON(object) {
|
|
|
906
910
|
return "UNRECOGNIZED";
|
|
907
911
|
}
|
|
908
912
|
}
|
|
913
|
+
var AdminOrganizationPlanBillingInterval_Value;
|
|
914
|
+
(function (AdminOrganizationPlanBillingInterval_Value) {
|
|
915
|
+
AdminOrganizationPlanBillingInterval_Value[AdminOrganizationPlanBillingInterval_Value["unknown"] = 0] = "unknown";
|
|
916
|
+
AdminOrganizationPlanBillingInterval_Value[AdminOrganizationPlanBillingInterval_Value["monthly"] = 1] = "monthly";
|
|
917
|
+
AdminOrganizationPlanBillingInterval_Value[AdminOrganizationPlanBillingInterval_Value["annual"] = 2] = "annual";
|
|
918
|
+
AdminOrganizationPlanBillingInterval_Value[AdminOrganizationPlanBillingInterval_Value["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
919
|
+
})(AdminOrganizationPlanBillingInterval_Value || (exports.AdminOrganizationPlanBillingInterval_Value = AdminOrganizationPlanBillingInterval_Value = {}));
|
|
920
|
+
function adminOrganizationPlanBillingInterval_ValueFromJSON(object) {
|
|
921
|
+
switch (object) {
|
|
922
|
+
case 0:
|
|
923
|
+
case "unknown":
|
|
924
|
+
return AdminOrganizationPlanBillingInterval_Value.unknown;
|
|
925
|
+
case 1:
|
|
926
|
+
case "monthly":
|
|
927
|
+
return AdminOrganizationPlanBillingInterval_Value.monthly;
|
|
928
|
+
case 2:
|
|
929
|
+
case "annual":
|
|
930
|
+
return AdminOrganizationPlanBillingInterval_Value.annual;
|
|
931
|
+
case -1:
|
|
932
|
+
case "UNRECOGNIZED":
|
|
933
|
+
default:
|
|
934
|
+
return AdminOrganizationPlanBillingInterval_Value.UNRECOGNIZED;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
function adminOrganizationPlanBillingInterval_ValueToJSON(object) {
|
|
938
|
+
switch (object) {
|
|
939
|
+
case AdminOrganizationPlanBillingInterval_Value.unknown:
|
|
940
|
+
return "unknown";
|
|
941
|
+
case AdminOrganizationPlanBillingInterval_Value.monthly:
|
|
942
|
+
return "monthly";
|
|
943
|
+
case AdminOrganizationPlanBillingInterval_Value.annual:
|
|
944
|
+
return "annual";
|
|
945
|
+
case AdminOrganizationPlanBillingInterval_Value.UNRECOGNIZED:
|
|
946
|
+
default:
|
|
947
|
+
return "UNRECOGNIZED";
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
var AdminOrganizationPlanCurrency_Value;
|
|
951
|
+
(function (AdminOrganizationPlanCurrency_Value) {
|
|
952
|
+
AdminOrganizationPlanCurrency_Value[AdminOrganizationPlanCurrency_Value["unknown"] = 0] = "unknown";
|
|
953
|
+
AdminOrganizationPlanCurrency_Value[AdminOrganizationPlanCurrency_Value["usd"] = 1] = "usd";
|
|
954
|
+
AdminOrganizationPlanCurrency_Value[AdminOrganizationPlanCurrency_Value["ngn"] = 2] = "ngn";
|
|
955
|
+
AdminOrganizationPlanCurrency_Value[AdminOrganizationPlanCurrency_Value["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
956
|
+
})(AdminOrganizationPlanCurrency_Value || (exports.AdminOrganizationPlanCurrency_Value = AdminOrganizationPlanCurrency_Value = {}));
|
|
957
|
+
function adminOrganizationPlanCurrency_ValueFromJSON(object) {
|
|
958
|
+
switch (object) {
|
|
959
|
+
case 0:
|
|
960
|
+
case "unknown":
|
|
961
|
+
return AdminOrganizationPlanCurrency_Value.unknown;
|
|
962
|
+
case 1:
|
|
963
|
+
case "usd":
|
|
964
|
+
return AdminOrganizationPlanCurrency_Value.usd;
|
|
965
|
+
case 2:
|
|
966
|
+
case "ngn":
|
|
967
|
+
return AdminOrganizationPlanCurrency_Value.ngn;
|
|
968
|
+
case -1:
|
|
969
|
+
case "UNRECOGNIZED":
|
|
970
|
+
default:
|
|
971
|
+
return AdminOrganizationPlanCurrency_Value.UNRECOGNIZED;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
function adminOrganizationPlanCurrency_ValueToJSON(object) {
|
|
975
|
+
switch (object) {
|
|
976
|
+
case AdminOrganizationPlanCurrency_Value.unknown:
|
|
977
|
+
return "unknown";
|
|
978
|
+
case AdminOrganizationPlanCurrency_Value.usd:
|
|
979
|
+
return "usd";
|
|
980
|
+
case AdminOrganizationPlanCurrency_Value.ngn:
|
|
981
|
+
return "ngn";
|
|
982
|
+
case AdminOrganizationPlanCurrency_Value.UNRECOGNIZED:
|
|
983
|
+
default:
|
|
984
|
+
return "UNRECOGNIZED";
|
|
985
|
+
}
|
|
986
|
+
}
|
|
909
987
|
var AdminOrganizationSubscriptionStatus_Value;
|
|
910
988
|
(function (AdminOrganizationSubscriptionStatus_Value) {
|
|
911
989
|
AdminOrganizationSubscriptionStatus_Value[AdminOrganizationSubscriptionStatus_Value["unknown"] = 0] = "unknown";
|
|
@@ -2413,6 +2491,80 @@ exports.AdminOrganizationPlanTier = {
|
|
|
2413
2491
|
return message;
|
|
2414
2492
|
},
|
|
2415
2493
|
};
|
|
2494
|
+
function createBaseAdminOrganizationPlanBillingInterval() {
|
|
2495
|
+
return {};
|
|
2496
|
+
}
|
|
2497
|
+
exports.AdminOrganizationPlanBillingInterval = {
|
|
2498
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2499
|
+
return writer;
|
|
2500
|
+
},
|
|
2501
|
+
decode(input, length) {
|
|
2502
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2503
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2504
|
+
const message = createBaseAdminOrganizationPlanBillingInterval();
|
|
2505
|
+
while (reader.pos < end) {
|
|
2506
|
+
const tag = reader.uint32();
|
|
2507
|
+
switch (tag >>> 3) {
|
|
2508
|
+
}
|
|
2509
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2510
|
+
break;
|
|
2511
|
+
}
|
|
2512
|
+
reader.skip(tag & 7);
|
|
2513
|
+
}
|
|
2514
|
+
return message;
|
|
2515
|
+
},
|
|
2516
|
+
fromJSON(_) {
|
|
2517
|
+
return {};
|
|
2518
|
+
},
|
|
2519
|
+
toJSON(_) {
|
|
2520
|
+
const obj = {};
|
|
2521
|
+
return obj;
|
|
2522
|
+
},
|
|
2523
|
+
create(base) {
|
|
2524
|
+
return exports.AdminOrganizationPlanBillingInterval.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2525
|
+
},
|
|
2526
|
+
fromPartial(_) {
|
|
2527
|
+
const message = createBaseAdminOrganizationPlanBillingInterval();
|
|
2528
|
+
return message;
|
|
2529
|
+
},
|
|
2530
|
+
};
|
|
2531
|
+
function createBaseAdminOrganizationPlanCurrency() {
|
|
2532
|
+
return {};
|
|
2533
|
+
}
|
|
2534
|
+
exports.AdminOrganizationPlanCurrency = {
|
|
2535
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2536
|
+
return writer;
|
|
2537
|
+
},
|
|
2538
|
+
decode(input, length) {
|
|
2539
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2540
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2541
|
+
const message = createBaseAdminOrganizationPlanCurrency();
|
|
2542
|
+
while (reader.pos < end) {
|
|
2543
|
+
const tag = reader.uint32();
|
|
2544
|
+
switch (tag >>> 3) {
|
|
2545
|
+
}
|
|
2546
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2547
|
+
break;
|
|
2548
|
+
}
|
|
2549
|
+
reader.skip(tag & 7);
|
|
2550
|
+
}
|
|
2551
|
+
return message;
|
|
2552
|
+
},
|
|
2553
|
+
fromJSON(_) {
|
|
2554
|
+
return {};
|
|
2555
|
+
},
|
|
2556
|
+
toJSON(_) {
|
|
2557
|
+
const obj = {};
|
|
2558
|
+
return obj;
|
|
2559
|
+
},
|
|
2560
|
+
create(base) {
|
|
2561
|
+
return exports.AdminOrganizationPlanCurrency.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2562
|
+
},
|
|
2563
|
+
fromPartial(_) {
|
|
2564
|
+
const message = createBaseAdminOrganizationPlanCurrency();
|
|
2565
|
+
return message;
|
|
2566
|
+
},
|
|
2567
|
+
};
|
|
2416
2568
|
function createBaseAdminOrganizationSubscriptionStatus() {
|
|
2417
2569
|
return {};
|
|
2418
2570
|
}
|
package/dist/admin/message.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CallRoomType_Value, CallType_Value } from "../call/enum";
|
|
|
3
3
|
import { BaseListRequest } from "../common";
|
|
4
4
|
import { AccountType_Value, CommunicationChannel_Value, InvitationStatus_Value, MembershipRole_Value, OnboardingStatus_Value, OrganizationRole_Value, PayoutMethod_Value, Platform_Value, PreferredTherapistGender_Value, ProfileVisibility_Value, SessionStatus_Value, SessionType_Value, TwoFactorMethod_Value, UserRole_Value, VerificationStatus_Value } from "../enums";
|
|
5
5
|
import { LiveSessionStatus_Value } from "../session/enum";
|
|
6
|
-
import { AdminCommunityPrivacy_Value, AdminCommunityStatus_Value, AdminContentReportStatus_Value, AdminCounsellorPayoutReleaseMode_Value, AdminCounsellorPayoutStatus_Value, AdminGroupPrivacy_Value, AdminGroupStatus_Value, AdminGroupType_Value, AdminLoungeConsultationStatus_Value, AdminLoungeReferralStatus_Value, AdminLoungeResourceStatus_Value, AdminManagedSessionStatus_Value, AdminManagedTransactionStatus_Value, AdminManagedTransactionType_Value, AdminManagedUserStatus_Value, AdminMediaStatus_Value, AdminMediaStorageProvider_Value, AdminModeratedContentStatus_Value, AdminModeratedContentType_Value, AdminModerationAction_Value, AdminNotificationPriority_Value, AdminNotificationStatus_Value, AdminOrganizationPlanTier_Value, AdminOrganizationStatus_Value, AdminOrganizationSubscriptionStatus_Value, AdminOrganizationTherapistStatus_Value, AdminPayoutScheduleType_Value, AdminPlatformTransactionType_Value, AdminReferralProgramStatus_Value, AdminReferralRecordStatus_Value, AdminSupportTicketStatus_Value, AdminUserStatus_Value, AdminWalletStatus_Value } from "./enum";
|
|
6
|
+
import { AdminCommunityPrivacy_Value, AdminCommunityStatus_Value, AdminContentReportStatus_Value, AdminCounsellorPayoutReleaseMode_Value, AdminCounsellorPayoutStatus_Value, AdminGroupPrivacy_Value, AdminGroupStatus_Value, AdminGroupType_Value, AdminLoungeConsultationStatus_Value, AdminLoungeReferralStatus_Value, AdminLoungeResourceStatus_Value, AdminManagedSessionStatus_Value, AdminManagedTransactionStatus_Value, AdminManagedTransactionType_Value, AdminManagedUserStatus_Value, AdminMediaStatus_Value, AdminMediaStorageProvider_Value, AdminModeratedContentStatus_Value, AdminModeratedContentType_Value, AdminModerationAction_Value, AdminNotificationPriority_Value, AdminNotificationStatus_Value, AdminOrganizationPlanBillingInterval_Value, AdminOrganizationPlanCurrency_Value, AdminOrganizationPlanTier_Value, AdminOrganizationStatus_Value, AdminOrganizationSubscriptionStatus_Value, AdminOrganizationTherapistStatus_Value, AdminPayoutScheduleType_Value, AdminPlatformTransactionType_Value, AdminReferralProgramStatus_Value, AdminReferralRecordStatus_Value, AdminSupportTicketStatus_Value, AdminUserStatus_Value, AdminWalletStatus_Value } from "./enum";
|
|
7
7
|
export declare const protobufPackage = "pb";
|
|
8
8
|
export interface AdminAuthUser {
|
|
9
9
|
id: string;
|
|
@@ -3671,6 +3671,15 @@ export interface AdminSupportTicket {
|
|
|
3671
3671
|
status: AdminSupportTicketStatus_Value;
|
|
3672
3672
|
createdAt: string;
|
|
3673
3673
|
updatedAt: string;
|
|
3674
|
+
assignedAdminId: string;
|
|
3675
|
+
assignedAdminName: string;
|
|
3676
|
+
assignedAdminEmail: string;
|
|
3677
|
+
assignedRole: string;
|
|
3678
|
+
firstResponseAt: string;
|
|
3679
|
+
resolvedAt: string;
|
|
3680
|
+
closedAt: string;
|
|
3681
|
+
lastEscalatedAt: string;
|
|
3682
|
+
lastEscalatedBy: string;
|
|
3674
3683
|
}
|
|
3675
3684
|
export interface AdminSupportTicketStats {
|
|
3676
3685
|
totalTickets: number;
|
|
@@ -3731,6 +3740,79 @@ export interface AdminReplySupportTicketResponse {
|
|
|
3731
3740
|
notificationDispatchId: string;
|
|
3732
3741
|
notificationWorkflowKey: string;
|
|
3733
3742
|
}
|
|
3743
|
+
export interface AdminSupportTicketTimelineEvent {
|
|
3744
|
+
id: string;
|
|
3745
|
+
ticketId: string;
|
|
3746
|
+
itemType: string;
|
|
3747
|
+
eventType: string;
|
|
3748
|
+
actorType: string;
|
|
3749
|
+
actorId: string;
|
|
3750
|
+
actorName: string;
|
|
3751
|
+
actorEmail: string;
|
|
3752
|
+
fromStatus: string;
|
|
3753
|
+
toStatus: string;
|
|
3754
|
+
assignedAdminId: string;
|
|
3755
|
+
assignedAdminName: string;
|
|
3756
|
+
assignedAdminEmail: string;
|
|
3757
|
+
assignedRole: string;
|
|
3758
|
+
channel: string;
|
|
3759
|
+
message: string;
|
|
3760
|
+
metadata: string;
|
|
3761
|
+
createdAt: string;
|
|
3762
|
+
}
|
|
3763
|
+
export interface AdminListSupportTicketTimelineRequest {
|
|
3764
|
+
id: string;
|
|
3765
|
+
pagination: BaseListRequest | undefined;
|
|
3766
|
+
}
|
|
3767
|
+
export interface AdminListSupportTicketTimelineResponse {
|
|
3768
|
+
events: AdminSupportTicketTimelineEvent[];
|
|
3769
|
+
}
|
|
3770
|
+
export interface AdminSupportTicketMetrics {
|
|
3771
|
+
id: string;
|
|
3772
|
+
status: string;
|
|
3773
|
+
createdAt: string;
|
|
3774
|
+
updatedAt: string;
|
|
3775
|
+
firstResponseAt: string;
|
|
3776
|
+
responseCount: number;
|
|
3777
|
+
internalNoteCount: number;
|
|
3778
|
+
escalationCount: number;
|
|
3779
|
+
assignmentCount: number;
|
|
3780
|
+
reopenCount: number;
|
|
3781
|
+
resolvedAt: string;
|
|
3782
|
+
closedAt: string;
|
|
3783
|
+
assignedAdminId: string;
|
|
3784
|
+
assignedAdminName: string;
|
|
3785
|
+
assignedAdminEmail: string;
|
|
3786
|
+
assignedRole: string;
|
|
3787
|
+
lastEscalatedAt: string;
|
|
3788
|
+
lastEscalatedBy: string;
|
|
3789
|
+
lastEscalatedByName: string;
|
|
3790
|
+
lastEscalatedByEmail: string;
|
|
3791
|
+
lastEventAt: string;
|
|
3792
|
+
firstResponseSeconds: number;
|
|
3793
|
+
resolutionSeconds: number;
|
|
3794
|
+
effectivenessScore: number;
|
|
3795
|
+
effectivenessLabel: string;
|
|
3796
|
+
slaMet: boolean;
|
|
3797
|
+
resolved: boolean;
|
|
3798
|
+
closed: boolean;
|
|
3799
|
+
}
|
|
3800
|
+
export interface AdminAssignSupportTicketRequest {
|
|
3801
|
+
id: string;
|
|
3802
|
+
assignedAdminId: string;
|
|
3803
|
+
assignedRole: string;
|
|
3804
|
+
note: string;
|
|
3805
|
+
}
|
|
3806
|
+
export interface AdminEscalateSupportTicketRequest {
|
|
3807
|
+
id: string;
|
|
3808
|
+
assignedAdminId: string;
|
|
3809
|
+
assignedRole: string;
|
|
3810
|
+
note: string;
|
|
3811
|
+
}
|
|
3812
|
+
export interface AdminSupportTicketAssignmentResponse {
|
|
3813
|
+
ticket: AdminSupportTicket | undefined;
|
|
3814
|
+
event: AdminSupportTicketTimelineEvent | undefined;
|
|
3815
|
+
}
|
|
3734
3816
|
export interface AdminBundle {
|
|
3735
3817
|
id: string;
|
|
3736
3818
|
creditsTc: number;
|
|
@@ -3855,14 +3937,20 @@ export interface AdminOrganizationPlan {
|
|
|
3855
3937
|
slug: string;
|
|
3856
3938
|
description: string;
|
|
3857
3939
|
tier: AdminOrganizationPlanTier_Value;
|
|
3858
|
-
billingInterval:
|
|
3940
|
+
billingInterval: AdminOrganizationPlanBillingInterval_Value;
|
|
3859
3941
|
priceAmount: number;
|
|
3860
|
-
priceCurrency:
|
|
3942
|
+
priceCurrency: AdminOrganizationPlanCurrency_Value;
|
|
3861
3943
|
maxMembers: number;
|
|
3862
3944
|
maxCommunities: number;
|
|
3863
3945
|
features: string;
|
|
3946
|
+
featureFlags: {
|
|
3947
|
+
[key: string]: any;
|
|
3948
|
+
} | undefined;
|
|
3864
3949
|
isActive: boolean;
|
|
3865
3950
|
sortOrder: number;
|
|
3951
|
+
annualDiscountPercentage: number;
|
|
3952
|
+
freeTrialEnabled: boolean;
|
|
3953
|
+
freeTrialDays: number;
|
|
3866
3954
|
createdAt: string;
|
|
3867
3955
|
updatedAt: string;
|
|
3868
3956
|
}
|
|
@@ -4029,14 +4117,17 @@ export interface AdminCreateOrganizationPlanRequest {
|
|
|
4029
4117
|
slug: string;
|
|
4030
4118
|
description: string;
|
|
4031
4119
|
tier: AdminOrganizationPlanTier_Value;
|
|
4032
|
-
billingInterval:
|
|
4120
|
+
billingInterval: AdminOrganizationPlanBillingInterval_Value;
|
|
4033
4121
|
priceAmount: number;
|
|
4034
|
-
priceCurrency:
|
|
4122
|
+
priceCurrency: AdminOrganizationPlanCurrency_Value;
|
|
4035
4123
|
maxMembers: number;
|
|
4036
4124
|
maxCommunities: number;
|
|
4037
4125
|
features: string;
|
|
4038
4126
|
isActive: boolean;
|
|
4039
4127
|
sortOrder: number;
|
|
4128
|
+
annualDiscountPercentage: number;
|
|
4129
|
+
freeTrialEnabled: boolean;
|
|
4130
|
+
freeTrialDays: number;
|
|
4040
4131
|
}
|
|
4041
4132
|
export interface AdminCreateOrganizationPlanResponse {
|
|
4042
4133
|
plan: AdminOrganizationPlan | undefined;
|
|
@@ -4051,6 +4142,11 @@ export interface AdminUpdateOrganizationPlanRequest {
|
|
|
4051
4142
|
features?: string | undefined;
|
|
4052
4143
|
isActive?: boolean | undefined;
|
|
4053
4144
|
sortOrder?: number | undefined;
|
|
4145
|
+
billingInterval?: AdminOrganizationPlanBillingInterval_Value | undefined;
|
|
4146
|
+
priceCurrency?: AdminOrganizationPlanCurrency_Value | undefined;
|
|
4147
|
+
annualDiscountPercentage?: number | undefined;
|
|
4148
|
+
freeTrialEnabled?: boolean | undefined;
|
|
4149
|
+
freeTrialDays?: number | undefined;
|
|
4054
4150
|
}
|
|
4055
4151
|
export interface AdminUpdateOrganizationPlanResponse {
|
|
4056
4152
|
plan: AdminOrganizationPlan | undefined;
|
|
@@ -4069,6 +4165,9 @@ export interface AdminAssignOrganizationPlanResponse {
|
|
|
4069
4165
|
subscription: AdminOrganizationSubscription | undefined;
|
|
4070
4166
|
message: string;
|
|
4071
4167
|
}
|
|
4168
|
+
export interface AdminExpireOrganizationSubscriptionRequest {
|
|
4169
|
+
organizationId: string;
|
|
4170
|
+
}
|
|
4072
4171
|
export interface AdminListOrganizationBillingEventsRequest {
|
|
4073
4172
|
organizationId: string;
|
|
4074
4173
|
pagination: BaseListRequest | undefined;
|
|
@@ -4834,6 +4933,13 @@ export declare const AdminListSupportTicketInteractionsRequest: MessageFns<Admin
|
|
|
4834
4933
|
export declare const AdminListSupportTicketInteractionsResponse: MessageFns<AdminListSupportTicketInteractionsResponse>;
|
|
4835
4934
|
export declare const AdminReplySupportTicketRequest: MessageFns<AdminReplySupportTicketRequest>;
|
|
4836
4935
|
export declare const AdminReplySupportTicketResponse: MessageFns<AdminReplySupportTicketResponse>;
|
|
4936
|
+
export declare const AdminSupportTicketTimelineEvent: MessageFns<AdminSupportTicketTimelineEvent>;
|
|
4937
|
+
export declare const AdminListSupportTicketTimelineRequest: MessageFns<AdminListSupportTicketTimelineRequest>;
|
|
4938
|
+
export declare const AdminListSupportTicketTimelineResponse: MessageFns<AdminListSupportTicketTimelineResponse>;
|
|
4939
|
+
export declare const AdminSupportTicketMetrics: MessageFns<AdminSupportTicketMetrics>;
|
|
4940
|
+
export declare const AdminAssignSupportTicketRequest: MessageFns<AdminAssignSupportTicketRequest>;
|
|
4941
|
+
export declare const AdminEscalateSupportTicketRequest: MessageFns<AdminEscalateSupportTicketRequest>;
|
|
4942
|
+
export declare const AdminSupportTicketAssignmentResponse: MessageFns<AdminSupportTicketAssignmentResponse>;
|
|
4837
4943
|
export declare const AdminBundle: MessageFns<AdminBundle>;
|
|
4838
4944
|
export declare const AdminListBundlesRequest: MessageFns<AdminListBundlesRequest>;
|
|
4839
4945
|
export declare const AdminListBundlesResponse: MessageFns<AdminListBundlesResponse>;
|
|
@@ -4884,6 +4990,7 @@ export declare const AdminGetOrganizationSubscriptionRequest: MessageFns<AdminGe
|
|
|
4884
4990
|
export declare const AdminGetOrganizationSubscriptionResponse: MessageFns<AdminGetOrganizationSubscriptionResponse>;
|
|
4885
4991
|
export declare const AdminAssignOrganizationPlanRequest: MessageFns<AdminAssignOrganizationPlanRequest>;
|
|
4886
4992
|
export declare const AdminAssignOrganizationPlanResponse: MessageFns<AdminAssignOrganizationPlanResponse>;
|
|
4993
|
+
export declare const AdminExpireOrganizationSubscriptionRequest: MessageFns<AdminExpireOrganizationSubscriptionRequest>;
|
|
4887
4994
|
export declare const AdminListOrganizationBillingEventsRequest: MessageFns<AdminListOrganizationBillingEventsRequest>;
|
|
4888
4995
|
export declare const AdminListOrganizationBillingEventsResponse: MessageFns<AdminListOrganizationBillingEventsResponse>;
|
|
4889
4996
|
export declare const AdminListOrganizationAuditLogsRequest: MessageFns<AdminListOrganizationAuditLogsRequest>;
|