@elqnt/admin 2.3.0 → 2.3.1
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/README.md +24 -14
- package/SKILL.md +570 -0
- package/dist/{analytics-CZ0LmSlf.d.cts → admin-C1iVQe2d.d.cts} +6 -168
- package/dist/{analytics-CZ0LmSlf.d.ts → admin-C1iVQe2d.d.ts} +6 -168
- package/dist/api/index.cjs +29 -125
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.d.cts +4 -50
- package/dist/api/index.d.ts +4 -50
- package/dist/api/index.js +28 -115
- package/dist/api/index.js.map +1 -1
- package/dist/hooks/index.cjs +85 -419
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +66 -129
- package/dist/hooks/index.d.ts +66 -129
- package/dist/hooks/index.js +85 -415
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +32 -125
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +30 -115
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +3 -0
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +2 -2
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -1
- package/dist/{orgs-BOVRgr8L.d.ts → orgs-BSHeYVe-.d.ts} +1 -1
- package/dist/{orgs-IvppiqI8.d.cts → orgs-Buu2Re0N.d.cts} +1 -1
- package/package.json +5 -4
|
@@ -789,6 +789,11 @@ declare const AdminTeamsCreate = "admin.teams.create";
|
|
|
789
789
|
declare const AdminTeamsGetOne = "admin.teams.getOne";
|
|
790
790
|
declare const AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
|
|
791
791
|
declare const AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
|
|
792
|
+
/**
|
|
793
|
+
* AdminBillingSuperAgentCheckout mints a per-user Super Agent Stripe checkout
|
|
794
|
+
* URL. Requested by the chat service for the WhatsApp free-limit wall.
|
|
795
|
+
*/
|
|
796
|
+
declare const AdminBillingSuperAgentCheckout = "admin.billing.superagent-checkout";
|
|
792
797
|
/**
|
|
793
798
|
* Country is a supported jurisdiction for org-level scoping of system
|
|
794
799
|
* document libraries. The Code is the canonical, machine value stored on
|
|
@@ -808,171 +813,4 @@ interface Country {
|
|
|
808
813
|
*/
|
|
809
814
|
declare const DefaultTrialDays = 7;
|
|
810
815
|
|
|
811
|
-
|
|
812
|
-
* Product Analytics Models
|
|
813
|
-
*
|
|
814
|
-
* Types for product analytics (chats, agents, usage, events).
|
|
815
|
-
*/
|
|
816
|
-
|
|
817
|
-
interface DateFilter {
|
|
818
|
-
from?: string;
|
|
819
|
-
to?: string;
|
|
820
|
-
}
|
|
821
|
-
interface AnalyticsSummary {
|
|
822
|
-
total_chats: number;
|
|
823
|
-
total_messages: number;
|
|
824
|
-
total_tokens: number;
|
|
825
|
-
total_cost: number;
|
|
826
|
-
unique_users: number;
|
|
827
|
-
avg_session_duration: number;
|
|
828
|
-
}
|
|
829
|
-
interface SummaryResponse {
|
|
830
|
-
success: boolean;
|
|
831
|
-
data: AnalyticsSummary;
|
|
832
|
-
metadata?: ResponseMetadata;
|
|
833
|
-
}
|
|
834
|
-
interface ChatAnalytics {
|
|
835
|
-
chat_id: string;
|
|
836
|
-
agent_id: string;
|
|
837
|
-
user_id: string;
|
|
838
|
-
message_count: number;
|
|
839
|
-
total_tokens: number;
|
|
840
|
-
duration_secs: number;
|
|
841
|
-
csat_score?: number;
|
|
842
|
-
created_at: string;
|
|
843
|
-
}
|
|
844
|
-
interface ChatsResponse {
|
|
845
|
-
success: boolean;
|
|
846
|
-
data: ChatAnalytics[];
|
|
847
|
-
total: number;
|
|
848
|
-
metadata?: ResponseMetadata;
|
|
849
|
-
}
|
|
850
|
-
interface AgentAnalytics {
|
|
851
|
-
agent_id: string;
|
|
852
|
-
agent_name?: string;
|
|
853
|
-
total_chats: number;
|
|
854
|
-
total_messages: number;
|
|
855
|
-
total_tokens: number;
|
|
856
|
-
avg_duration_secs: number;
|
|
857
|
-
unique_users: number;
|
|
858
|
-
avg_csat?: number;
|
|
859
|
-
}
|
|
860
|
-
interface AgentsAnalyticsResponse {
|
|
861
|
-
success: boolean;
|
|
862
|
-
data: AgentAnalytics[];
|
|
863
|
-
metadata?: ResponseMetadata;
|
|
864
|
-
}
|
|
865
|
-
interface UsageAnalytics {
|
|
866
|
-
service: string;
|
|
867
|
-
model: string;
|
|
868
|
-
input_tokens: number;
|
|
869
|
-
output_tokens: number;
|
|
870
|
-
total_tokens: number;
|
|
871
|
-
cost: number;
|
|
872
|
-
request_count: number;
|
|
873
|
-
}
|
|
874
|
-
interface UsageResponse {
|
|
875
|
-
success: boolean;
|
|
876
|
-
data: UsageAnalytics[];
|
|
877
|
-
metadata?: ResponseMetadata;
|
|
878
|
-
}
|
|
879
|
-
interface DailyAnalytics {
|
|
880
|
-
date: string;
|
|
881
|
-
total_chats: number;
|
|
882
|
-
total_messages: number;
|
|
883
|
-
total_tokens: number;
|
|
884
|
-
unique_users: number;
|
|
885
|
-
}
|
|
886
|
-
interface DailyResponse {
|
|
887
|
-
success: boolean;
|
|
888
|
-
data: DailyAnalytics[];
|
|
889
|
-
metadata?: ResponseMetadata;
|
|
890
|
-
}
|
|
891
|
-
interface AnalyticsEvent {
|
|
892
|
-
eventId?: string;
|
|
893
|
-
orgId?: string;
|
|
894
|
-
sessionId: string;
|
|
895
|
-
userId: string;
|
|
896
|
-
eventType: string;
|
|
897
|
-
eventCategory: string;
|
|
898
|
-
pagePath?: string;
|
|
899
|
-
properties?: Record<string, unknown>;
|
|
900
|
-
timestamp?: string;
|
|
901
|
-
}
|
|
902
|
-
interface EventsResponse {
|
|
903
|
-
success: boolean;
|
|
904
|
-
data: AnalyticsEvent[];
|
|
905
|
-
metadata?: ResponseMetadata;
|
|
906
|
-
}
|
|
907
|
-
interface GlobalAnalyticsSummary {
|
|
908
|
-
total_orgs: number;
|
|
909
|
-
total_chats: number;
|
|
910
|
-
total_messages: number;
|
|
911
|
-
total_tokens: number;
|
|
912
|
-
total_cost: number;
|
|
913
|
-
total_users: number;
|
|
914
|
-
}
|
|
915
|
-
interface GlobalSummaryResponse {
|
|
916
|
-
success: boolean;
|
|
917
|
-
data: GlobalAnalyticsSummary;
|
|
918
|
-
metadata?: ResponseMetadata;
|
|
919
|
-
}
|
|
920
|
-
interface OrgAnalytics {
|
|
921
|
-
org_id: string;
|
|
922
|
-
org_name: string;
|
|
923
|
-
total_chats: number;
|
|
924
|
-
total_messages: number;
|
|
925
|
-
total_tokens: number;
|
|
926
|
-
total_cost: number;
|
|
927
|
-
unique_users: number;
|
|
928
|
-
}
|
|
929
|
-
interface OrgAnalyticsResponse {
|
|
930
|
-
success: boolean;
|
|
931
|
-
data: OrgAnalytics[];
|
|
932
|
-
total: number;
|
|
933
|
-
metadata?: ResponseMetadata;
|
|
934
|
-
}
|
|
935
|
-
interface GlobalChannelSummary {
|
|
936
|
-
channel: string;
|
|
937
|
-
total_orgs: number;
|
|
938
|
-
total_chats: number;
|
|
939
|
-
total_messages: number;
|
|
940
|
-
inbound_messages: number;
|
|
941
|
-
total_users: number;
|
|
942
|
-
total_tokens: number;
|
|
943
|
-
total_cost: number;
|
|
944
|
-
avg_messages_per_chat: number;
|
|
945
|
-
}
|
|
946
|
-
interface ChannelSummaryResponse {
|
|
947
|
-
success: boolean;
|
|
948
|
-
data: GlobalChannelSummary;
|
|
949
|
-
metadata?: ResponseMetadata;
|
|
950
|
-
}
|
|
951
|
-
interface ChannelDaily {
|
|
952
|
-
date: string;
|
|
953
|
-
total_chats: number;
|
|
954
|
-
total_messages: number;
|
|
955
|
-
unique_users: number;
|
|
956
|
-
}
|
|
957
|
-
interface ChannelDailyResponse {
|
|
958
|
-
success: boolean;
|
|
959
|
-
data: ChannelDaily[];
|
|
960
|
-
metadata?: ResponseMetadata;
|
|
961
|
-
}
|
|
962
|
-
interface OrgChannelAnalytics {
|
|
963
|
-
org_id: string;
|
|
964
|
-
org_name: string;
|
|
965
|
-
total_chats: number;
|
|
966
|
-
total_messages: number;
|
|
967
|
-
unique_users: number;
|
|
968
|
-
total_tokens: number;
|
|
969
|
-
total_cost: number;
|
|
970
|
-
}
|
|
971
|
-
interface ChannelOrgsResponse {
|
|
972
|
-
success: boolean;
|
|
973
|
-
data: OrgChannelAnalytics[];
|
|
974
|
-
total: number;
|
|
975
|
-
metadata?: ResponseMetadata;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export { type DailyResponse as $, type Address as A, AdminUsersGetOne as B, AdminUsersGetOneByEmail as C, AdminUsersGetOneByPhone as D, AdminUsersGetSettings as E, AdminUsersTouchActivity as F, AdminUsersUpdate as G, AdminUsersUpdateSettings as H, type AgentAnalytics as I, type AgentInfo as J, type AgentInput as K, type ListOrgsResponse as L, type AgentResult as M, type AgentsAnalyticsResponse as N, type OrgStatusTS as O, type AnalyticsEvent as P, type AnalyticsSummary as Q, type AzureSettings as R, type ChannelDaily as S, type ChannelDailyResponse as T, type ChannelOrgsResponse as U, type ChannelSummaryResponse as V, type ChatAnalytics as W, type ChatsResponse as X, type Country as Y, type CreateOrgRequest as Z, type DailyAnalytics as _, type OrgTypeTS as a, OrgStatusActive as a$, type DateFilter as a0, DefaultTrialDays as a1, type EventsResponse as a2, type GlobalAnalyticsSummary as a3, type GlobalChannelSummary as a4, type GlobalSummaryResponse as a5, type Invite as a6, type InviteInput as a7, type InviteResponse as a8, type InviteSentStatus as a9, OnboardingStatusInProgress as aA, OnboardingStatusLegacy as aB, type OnboardingStatusOptionTS as aC, OnboardingStatusPending as aD, OnboardingStatusSkipped as aE, type OnboardingStatusTS as aF, OnboardingStatuses as aG, type OnboardingStep as aH, type OrgAnalytics as aI, type OrgAnalyticsResponse as aJ, type OrgChannelAnalytics as aK, type OrgInfo as aL, type OrgInput as aM, type OrgOnboarding as aN, type OrgResult as aO, type OrgRole as aP, type OrgRoleResponse as aQ, type OrgSize as aR, OrgSizeEnterprise as aS, OrgSizeLarge as aT, OrgSizeMedium as aU, type OrgSizeOptionTS as aV, OrgSizeSmall as aW, OrgSizeSolo as aX, type OrgSizeTS as aY, OrgSizes as aZ, type OrgStatus as a_, type InviteStatus as aa, InviteStatusAccepted as ab, InviteStatusExpired as ac, type InviteStatusOptionTS as ad, InviteStatusPending as ae, InviteStatusRevoked as af, type InviteStatusTS as ag, InviteStatuses as ah, type InvitesResult as ai, type KnowledgeGraphInfo as aj, type KnowledgeInput as ak, type KnowledgeResult as al, type ListInvitesResponse as am, type ListOrgRolesResponse as an, type ListUsersResponse as ao, type NotificationPreferences as ap, type OnboardingCompleteResult as aq, type OnboardingDocumentInput as ar, type OnboardingKnowledgeInput as as, type OnboardingOrgInput as at, type OnboardingPlanInput as au, type OnboardingProvisionRequest as av, type OnboardingProvisionResponse as aw, type OnboardingStateResponse as ax, type OnboardingStatus as ay, OnboardingStatusCompleted as az, type Org as b, type OrgStatusOptionTS as b0, OrgStatusSuspended as b1, OrgStatuses as b2, type OrgSubscription as b3, type OrgSubscriptionStatus as b4, OrgSubscriptionStatusActive as b5, OrgSubscriptionStatusCancelled as b6, type OrgSubscriptionStatusOptionTS as b7, OrgSubscriptionStatusPastDue as b8, type OrgSubscriptionStatusTS as b9, type UserSettings as bA, type UserSettingsResponse as bB, type UserSource as bC, UserSourceAPI as bD, UserSourceInvite as bE, type UserSourceOptionTS as bF, UserSourceSSO as bG, UserSourceSignup as bH, type UserSourceTS as bI, UserSources as bJ, type WorkspaceInput as bK, type WorkspaceResult as bL, OrgSubscriptionStatusTrialing as ba, OrgSubscriptionStatusUnpaid as bb, OrgSubscriptionStatuses as bc, type OrgTemplate as bd, type OrgType as be, OrgTypeEnterprise as bf, type OrgTypeOptionTS as bg, OrgTypeSelfServe as bh, OrgTypes as bi, type PaymentSessionInput as bj, type PaymentSessionResult as bk, type Permission as bl, type SubscriptionPlatform as bm, SubscriptionPlatformCustom as bn, SubscriptionPlatformStripe as bo, type SummaryResponse as bp, type Team as bq, type ThemeOptionTS as br, ThemeOptions as bs, type UpdateUserSettingsRequest as bt, type UsageAnalytics as bu, type UsageResponse as bv, type User as bw, type UserOnboarding as bx, type UserOrgAccess as by, type UserResponse as bz, type OrgResponse as c, type OrgInfoResponse as d, type OnboardingState as e, AdminOrgCreate as f, AdminOrgCreated as g, AdminOrgDelete as h, AdminOrgGet as i, AdminOrgGetByDomain as j, AdminOrgGetInfo as k, AdminOrgList as l, AdminOrgListByMetadata as m, AdminOrgRolesCreate as n, AdminOrgRolesDelete as o, AdminOrgRolesGet as p, AdminOrgRolesUpdate as q, AdminOrgUpdate as r, AdminTeamsCreate as s, AdminTeamsGetForOrg as t, AdminTeamsGetOne as u, AdminTeamsUpdateOnboarding as v, AdminUsersCreate as w, AdminUsersDelete as x, AdminUsersGet as y, AdminUsersGetForOrg as z };
|
|
816
|
+
export { InviteStatusRevoked as $, type Address as A, AdminUsersGetForOrg as B, AdminUsersGetOne as C, AdminUsersGetOneByEmail as D, AdminUsersGetOneByPhone as E, AdminUsersGetSettings as F, AdminUsersTouchActivity as G, AdminUsersUpdate as H, AdminUsersUpdateSettings as I, type AgentInfo as J, type AgentInput as K, type ListOrgsResponse as L, type AgentResult as M, type AzureSettings as N, type OrgStatusTS as O, type Country as P, type CreateOrgRequest as Q, DefaultTrialDays as R, type Invite as S, type InviteInput as T, type InviteResponse as U, type InviteSentStatus as V, type InviteStatus as W, InviteStatusAccepted as X, InviteStatusExpired as Y, type InviteStatusOptionTS as Z, InviteStatusPending as _, type OrgTypeTS as a, OrgTypes as a$, type InviteStatusTS as a0, InviteStatuses as a1, type InvitesResult as a2, type KnowledgeGraphInfo as a3, type KnowledgeInput as a4, type KnowledgeResult as a5, type ListInvitesResponse as a6, type ListOrgRolesResponse as a7, type ListUsersResponse as a8, type NotificationPreferences as a9, OrgSizeLarge as aA, OrgSizeMedium as aB, type OrgSizeOptionTS as aC, OrgSizeSmall as aD, OrgSizeSolo as aE, type OrgSizeTS as aF, OrgSizes as aG, type OrgStatus as aH, OrgStatusActive as aI, type OrgStatusOptionTS as aJ, OrgStatusSuspended as aK, OrgStatuses as aL, type OrgSubscription as aM, type OrgSubscriptionStatus as aN, OrgSubscriptionStatusActive as aO, OrgSubscriptionStatusCancelled as aP, type OrgSubscriptionStatusOptionTS as aQ, OrgSubscriptionStatusPastDue as aR, type OrgSubscriptionStatusTS as aS, OrgSubscriptionStatusTrialing as aT, OrgSubscriptionStatusUnpaid as aU, OrgSubscriptionStatuses as aV, type OrgTemplate as aW, type OrgType as aX, OrgTypeEnterprise as aY, type OrgTypeOptionTS as aZ, OrgTypeSelfServe as a_, type OnboardingCompleteResult as aa, type OnboardingDocumentInput as ab, type OnboardingKnowledgeInput as ac, type OnboardingOrgInput as ad, type OnboardingPlanInput as ae, type OnboardingProvisionRequest as af, type OnboardingProvisionResponse as ag, type OnboardingStateResponse as ah, type OnboardingStatus as ai, OnboardingStatusCompleted as aj, OnboardingStatusInProgress as ak, OnboardingStatusLegacy as al, type OnboardingStatusOptionTS as am, OnboardingStatusPending as an, OnboardingStatusSkipped as ao, type OnboardingStatusTS as ap, OnboardingStatuses as aq, type OnboardingStep as ar, type OrgInfo as as, type OrgInput as at, type OrgOnboarding as au, type OrgResult as av, type OrgRole as aw, type OrgRoleResponse as ax, type OrgSize as ay, OrgSizeEnterprise as az, type Org as b, type PaymentSessionInput as b0, type PaymentSessionResult as b1, type Permission as b2, type SubscriptionPlatform as b3, SubscriptionPlatformCustom as b4, SubscriptionPlatformStripe as b5, type Team as b6, type ThemeOptionTS as b7, ThemeOptions as b8, type UpdateUserSettingsRequest as b9, type User as ba, type UserOnboarding as bb, type UserOrgAccess as bc, type UserResponse as bd, type UserSettings as be, type UserSettingsResponse as bf, type UserSource as bg, UserSourceAPI as bh, UserSourceInvite as bi, type UserSourceOptionTS as bj, UserSourceSSO as bk, UserSourceSignup as bl, type UserSourceTS as bm, UserSources as bn, type WorkspaceInput as bo, type WorkspaceResult as bp, type OrgResponse as c, type OrgInfoResponse as d, type OnboardingState as e, AdminBillingSuperAgentCheckout as f, AdminOrgCreate as g, AdminOrgCreated as h, AdminOrgDelete as i, AdminOrgGet as j, AdminOrgGetByDomain as k, AdminOrgGetInfo as l, AdminOrgList as m, AdminOrgListByMetadata as n, AdminOrgRolesCreate as o, AdminOrgRolesDelete as p, AdminOrgRolesGet as q, AdminOrgRolesUpdate as r, AdminOrgUpdate as s, AdminTeamsCreate as t, AdminTeamsGetForOrg as u, AdminTeamsGetOne as v, AdminTeamsUpdateOnboarding as w, AdminUsersCreate as x, AdminUsersDelete as y, AdminUsersGet as z };
|
|
@@ -789,6 +789,11 @@ declare const AdminTeamsCreate = "admin.teams.create";
|
|
|
789
789
|
declare const AdminTeamsGetOne = "admin.teams.getOne";
|
|
790
790
|
declare const AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
|
|
791
791
|
declare const AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
|
|
792
|
+
/**
|
|
793
|
+
* AdminBillingSuperAgentCheckout mints a per-user Super Agent Stripe checkout
|
|
794
|
+
* URL. Requested by the chat service for the WhatsApp free-limit wall.
|
|
795
|
+
*/
|
|
796
|
+
declare const AdminBillingSuperAgentCheckout = "admin.billing.superagent-checkout";
|
|
792
797
|
/**
|
|
793
798
|
* Country is a supported jurisdiction for org-level scoping of system
|
|
794
799
|
* document libraries. The Code is the canonical, machine value stored on
|
|
@@ -808,171 +813,4 @@ interface Country {
|
|
|
808
813
|
*/
|
|
809
814
|
declare const DefaultTrialDays = 7;
|
|
810
815
|
|
|
811
|
-
|
|
812
|
-
* Product Analytics Models
|
|
813
|
-
*
|
|
814
|
-
* Types for product analytics (chats, agents, usage, events).
|
|
815
|
-
*/
|
|
816
|
-
|
|
817
|
-
interface DateFilter {
|
|
818
|
-
from?: string;
|
|
819
|
-
to?: string;
|
|
820
|
-
}
|
|
821
|
-
interface AnalyticsSummary {
|
|
822
|
-
total_chats: number;
|
|
823
|
-
total_messages: number;
|
|
824
|
-
total_tokens: number;
|
|
825
|
-
total_cost: number;
|
|
826
|
-
unique_users: number;
|
|
827
|
-
avg_session_duration: number;
|
|
828
|
-
}
|
|
829
|
-
interface SummaryResponse {
|
|
830
|
-
success: boolean;
|
|
831
|
-
data: AnalyticsSummary;
|
|
832
|
-
metadata?: ResponseMetadata;
|
|
833
|
-
}
|
|
834
|
-
interface ChatAnalytics {
|
|
835
|
-
chat_id: string;
|
|
836
|
-
agent_id: string;
|
|
837
|
-
user_id: string;
|
|
838
|
-
message_count: number;
|
|
839
|
-
total_tokens: number;
|
|
840
|
-
duration_secs: number;
|
|
841
|
-
csat_score?: number;
|
|
842
|
-
created_at: string;
|
|
843
|
-
}
|
|
844
|
-
interface ChatsResponse {
|
|
845
|
-
success: boolean;
|
|
846
|
-
data: ChatAnalytics[];
|
|
847
|
-
total: number;
|
|
848
|
-
metadata?: ResponseMetadata;
|
|
849
|
-
}
|
|
850
|
-
interface AgentAnalytics {
|
|
851
|
-
agent_id: string;
|
|
852
|
-
agent_name?: string;
|
|
853
|
-
total_chats: number;
|
|
854
|
-
total_messages: number;
|
|
855
|
-
total_tokens: number;
|
|
856
|
-
avg_duration_secs: number;
|
|
857
|
-
unique_users: number;
|
|
858
|
-
avg_csat?: number;
|
|
859
|
-
}
|
|
860
|
-
interface AgentsAnalyticsResponse {
|
|
861
|
-
success: boolean;
|
|
862
|
-
data: AgentAnalytics[];
|
|
863
|
-
metadata?: ResponseMetadata;
|
|
864
|
-
}
|
|
865
|
-
interface UsageAnalytics {
|
|
866
|
-
service: string;
|
|
867
|
-
model: string;
|
|
868
|
-
input_tokens: number;
|
|
869
|
-
output_tokens: number;
|
|
870
|
-
total_tokens: number;
|
|
871
|
-
cost: number;
|
|
872
|
-
request_count: number;
|
|
873
|
-
}
|
|
874
|
-
interface UsageResponse {
|
|
875
|
-
success: boolean;
|
|
876
|
-
data: UsageAnalytics[];
|
|
877
|
-
metadata?: ResponseMetadata;
|
|
878
|
-
}
|
|
879
|
-
interface DailyAnalytics {
|
|
880
|
-
date: string;
|
|
881
|
-
total_chats: number;
|
|
882
|
-
total_messages: number;
|
|
883
|
-
total_tokens: number;
|
|
884
|
-
unique_users: number;
|
|
885
|
-
}
|
|
886
|
-
interface DailyResponse {
|
|
887
|
-
success: boolean;
|
|
888
|
-
data: DailyAnalytics[];
|
|
889
|
-
metadata?: ResponseMetadata;
|
|
890
|
-
}
|
|
891
|
-
interface AnalyticsEvent {
|
|
892
|
-
eventId?: string;
|
|
893
|
-
orgId?: string;
|
|
894
|
-
sessionId: string;
|
|
895
|
-
userId: string;
|
|
896
|
-
eventType: string;
|
|
897
|
-
eventCategory: string;
|
|
898
|
-
pagePath?: string;
|
|
899
|
-
properties?: Record<string, unknown>;
|
|
900
|
-
timestamp?: string;
|
|
901
|
-
}
|
|
902
|
-
interface EventsResponse {
|
|
903
|
-
success: boolean;
|
|
904
|
-
data: AnalyticsEvent[];
|
|
905
|
-
metadata?: ResponseMetadata;
|
|
906
|
-
}
|
|
907
|
-
interface GlobalAnalyticsSummary {
|
|
908
|
-
total_orgs: number;
|
|
909
|
-
total_chats: number;
|
|
910
|
-
total_messages: number;
|
|
911
|
-
total_tokens: number;
|
|
912
|
-
total_cost: number;
|
|
913
|
-
total_users: number;
|
|
914
|
-
}
|
|
915
|
-
interface GlobalSummaryResponse {
|
|
916
|
-
success: boolean;
|
|
917
|
-
data: GlobalAnalyticsSummary;
|
|
918
|
-
metadata?: ResponseMetadata;
|
|
919
|
-
}
|
|
920
|
-
interface OrgAnalytics {
|
|
921
|
-
org_id: string;
|
|
922
|
-
org_name: string;
|
|
923
|
-
total_chats: number;
|
|
924
|
-
total_messages: number;
|
|
925
|
-
total_tokens: number;
|
|
926
|
-
total_cost: number;
|
|
927
|
-
unique_users: number;
|
|
928
|
-
}
|
|
929
|
-
interface OrgAnalyticsResponse {
|
|
930
|
-
success: boolean;
|
|
931
|
-
data: OrgAnalytics[];
|
|
932
|
-
total: number;
|
|
933
|
-
metadata?: ResponseMetadata;
|
|
934
|
-
}
|
|
935
|
-
interface GlobalChannelSummary {
|
|
936
|
-
channel: string;
|
|
937
|
-
total_orgs: number;
|
|
938
|
-
total_chats: number;
|
|
939
|
-
total_messages: number;
|
|
940
|
-
inbound_messages: number;
|
|
941
|
-
total_users: number;
|
|
942
|
-
total_tokens: number;
|
|
943
|
-
total_cost: number;
|
|
944
|
-
avg_messages_per_chat: number;
|
|
945
|
-
}
|
|
946
|
-
interface ChannelSummaryResponse {
|
|
947
|
-
success: boolean;
|
|
948
|
-
data: GlobalChannelSummary;
|
|
949
|
-
metadata?: ResponseMetadata;
|
|
950
|
-
}
|
|
951
|
-
interface ChannelDaily {
|
|
952
|
-
date: string;
|
|
953
|
-
total_chats: number;
|
|
954
|
-
total_messages: number;
|
|
955
|
-
unique_users: number;
|
|
956
|
-
}
|
|
957
|
-
interface ChannelDailyResponse {
|
|
958
|
-
success: boolean;
|
|
959
|
-
data: ChannelDaily[];
|
|
960
|
-
metadata?: ResponseMetadata;
|
|
961
|
-
}
|
|
962
|
-
interface OrgChannelAnalytics {
|
|
963
|
-
org_id: string;
|
|
964
|
-
org_name: string;
|
|
965
|
-
total_chats: number;
|
|
966
|
-
total_messages: number;
|
|
967
|
-
unique_users: number;
|
|
968
|
-
total_tokens: number;
|
|
969
|
-
total_cost: number;
|
|
970
|
-
}
|
|
971
|
-
interface ChannelOrgsResponse {
|
|
972
|
-
success: boolean;
|
|
973
|
-
data: OrgChannelAnalytics[];
|
|
974
|
-
total: number;
|
|
975
|
-
metadata?: ResponseMetadata;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
export { type DailyResponse as $, type Address as A, AdminUsersGetOne as B, AdminUsersGetOneByEmail as C, AdminUsersGetOneByPhone as D, AdminUsersGetSettings as E, AdminUsersTouchActivity as F, AdminUsersUpdate as G, AdminUsersUpdateSettings as H, type AgentAnalytics as I, type AgentInfo as J, type AgentInput as K, type ListOrgsResponse as L, type AgentResult as M, type AgentsAnalyticsResponse as N, type OrgStatusTS as O, type AnalyticsEvent as P, type AnalyticsSummary as Q, type AzureSettings as R, type ChannelDaily as S, type ChannelDailyResponse as T, type ChannelOrgsResponse as U, type ChannelSummaryResponse as V, type ChatAnalytics as W, type ChatsResponse as X, type Country as Y, type CreateOrgRequest as Z, type DailyAnalytics as _, type OrgTypeTS as a, OrgStatusActive as a$, type DateFilter as a0, DefaultTrialDays as a1, type EventsResponse as a2, type GlobalAnalyticsSummary as a3, type GlobalChannelSummary as a4, type GlobalSummaryResponse as a5, type Invite as a6, type InviteInput as a7, type InviteResponse as a8, type InviteSentStatus as a9, OnboardingStatusInProgress as aA, OnboardingStatusLegacy as aB, type OnboardingStatusOptionTS as aC, OnboardingStatusPending as aD, OnboardingStatusSkipped as aE, type OnboardingStatusTS as aF, OnboardingStatuses as aG, type OnboardingStep as aH, type OrgAnalytics as aI, type OrgAnalyticsResponse as aJ, type OrgChannelAnalytics as aK, type OrgInfo as aL, type OrgInput as aM, type OrgOnboarding as aN, type OrgResult as aO, type OrgRole as aP, type OrgRoleResponse as aQ, type OrgSize as aR, OrgSizeEnterprise as aS, OrgSizeLarge as aT, OrgSizeMedium as aU, type OrgSizeOptionTS as aV, OrgSizeSmall as aW, OrgSizeSolo as aX, type OrgSizeTS as aY, OrgSizes as aZ, type OrgStatus as a_, type InviteStatus as aa, InviteStatusAccepted as ab, InviteStatusExpired as ac, type InviteStatusOptionTS as ad, InviteStatusPending as ae, InviteStatusRevoked as af, type InviteStatusTS as ag, InviteStatuses as ah, type InvitesResult as ai, type KnowledgeGraphInfo as aj, type KnowledgeInput as ak, type KnowledgeResult as al, type ListInvitesResponse as am, type ListOrgRolesResponse as an, type ListUsersResponse as ao, type NotificationPreferences as ap, type OnboardingCompleteResult as aq, type OnboardingDocumentInput as ar, type OnboardingKnowledgeInput as as, type OnboardingOrgInput as at, type OnboardingPlanInput as au, type OnboardingProvisionRequest as av, type OnboardingProvisionResponse as aw, type OnboardingStateResponse as ax, type OnboardingStatus as ay, OnboardingStatusCompleted as az, type Org as b, type OrgStatusOptionTS as b0, OrgStatusSuspended as b1, OrgStatuses as b2, type OrgSubscription as b3, type OrgSubscriptionStatus as b4, OrgSubscriptionStatusActive as b5, OrgSubscriptionStatusCancelled as b6, type OrgSubscriptionStatusOptionTS as b7, OrgSubscriptionStatusPastDue as b8, type OrgSubscriptionStatusTS as b9, type UserSettings as bA, type UserSettingsResponse as bB, type UserSource as bC, UserSourceAPI as bD, UserSourceInvite as bE, type UserSourceOptionTS as bF, UserSourceSSO as bG, UserSourceSignup as bH, type UserSourceTS as bI, UserSources as bJ, type WorkspaceInput as bK, type WorkspaceResult as bL, OrgSubscriptionStatusTrialing as ba, OrgSubscriptionStatusUnpaid as bb, OrgSubscriptionStatuses as bc, type OrgTemplate as bd, type OrgType as be, OrgTypeEnterprise as bf, type OrgTypeOptionTS as bg, OrgTypeSelfServe as bh, OrgTypes as bi, type PaymentSessionInput as bj, type PaymentSessionResult as bk, type Permission as bl, type SubscriptionPlatform as bm, SubscriptionPlatformCustom as bn, SubscriptionPlatformStripe as bo, type SummaryResponse as bp, type Team as bq, type ThemeOptionTS as br, ThemeOptions as bs, type UpdateUserSettingsRequest as bt, type UsageAnalytics as bu, type UsageResponse as bv, type User as bw, type UserOnboarding as bx, type UserOrgAccess as by, type UserResponse as bz, type OrgResponse as c, type OrgInfoResponse as d, type OnboardingState as e, AdminOrgCreate as f, AdminOrgCreated as g, AdminOrgDelete as h, AdminOrgGet as i, AdminOrgGetByDomain as j, AdminOrgGetInfo as k, AdminOrgList as l, AdminOrgListByMetadata as m, AdminOrgRolesCreate as n, AdminOrgRolesDelete as o, AdminOrgRolesGet as p, AdminOrgRolesUpdate as q, AdminOrgUpdate as r, AdminTeamsCreate as s, AdminTeamsGetForOrg as t, AdminTeamsGetOne as u, AdminTeamsUpdateOnboarding as v, AdminUsersCreate as w, AdminUsersDelete as x, AdminUsersGet as y, AdminUsersGetForOrg as z };
|
|
816
|
+
export { InviteStatusRevoked as $, type Address as A, AdminUsersGetForOrg as B, AdminUsersGetOne as C, AdminUsersGetOneByEmail as D, AdminUsersGetOneByPhone as E, AdminUsersGetSettings as F, AdminUsersTouchActivity as G, AdminUsersUpdate as H, AdminUsersUpdateSettings as I, type AgentInfo as J, type AgentInput as K, type ListOrgsResponse as L, type AgentResult as M, type AzureSettings as N, type OrgStatusTS as O, type Country as P, type CreateOrgRequest as Q, DefaultTrialDays as R, type Invite as S, type InviteInput as T, type InviteResponse as U, type InviteSentStatus as V, type InviteStatus as W, InviteStatusAccepted as X, InviteStatusExpired as Y, type InviteStatusOptionTS as Z, InviteStatusPending as _, type OrgTypeTS as a, OrgTypes as a$, type InviteStatusTS as a0, InviteStatuses as a1, type InvitesResult as a2, type KnowledgeGraphInfo as a3, type KnowledgeInput as a4, type KnowledgeResult as a5, type ListInvitesResponse as a6, type ListOrgRolesResponse as a7, type ListUsersResponse as a8, type NotificationPreferences as a9, OrgSizeLarge as aA, OrgSizeMedium as aB, type OrgSizeOptionTS as aC, OrgSizeSmall as aD, OrgSizeSolo as aE, type OrgSizeTS as aF, OrgSizes as aG, type OrgStatus as aH, OrgStatusActive as aI, type OrgStatusOptionTS as aJ, OrgStatusSuspended as aK, OrgStatuses as aL, type OrgSubscription as aM, type OrgSubscriptionStatus as aN, OrgSubscriptionStatusActive as aO, OrgSubscriptionStatusCancelled as aP, type OrgSubscriptionStatusOptionTS as aQ, OrgSubscriptionStatusPastDue as aR, type OrgSubscriptionStatusTS as aS, OrgSubscriptionStatusTrialing as aT, OrgSubscriptionStatusUnpaid as aU, OrgSubscriptionStatuses as aV, type OrgTemplate as aW, type OrgType as aX, OrgTypeEnterprise as aY, type OrgTypeOptionTS as aZ, OrgTypeSelfServe as a_, type OnboardingCompleteResult as aa, type OnboardingDocumentInput as ab, type OnboardingKnowledgeInput as ac, type OnboardingOrgInput as ad, type OnboardingPlanInput as ae, type OnboardingProvisionRequest as af, type OnboardingProvisionResponse as ag, type OnboardingStateResponse as ah, type OnboardingStatus as ai, OnboardingStatusCompleted as aj, OnboardingStatusInProgress as ak, OnboardingStatusLegacy as al, type OnboardingStatusOptionTS as am, OnboardingStatusPending as an, OnboardingStatusSkipped as ao, type OnboardingStatusTS as ap, OnboardingStatuses as aq, type OnboardingStep as ar, type OrgInfo as as, type OrgInput as at, type OrgOnboarding as au, type OrgResult as av, type OrgRole as aw, type OrgRoleResponse as ax, type OrgSize as ay, OrgSizeEnterprise as az, type Org as b, type PaymentSessionInput as b0, type PaymentSessionResult as b1, type Permission as b2, type SubscriptionPlatform as b3, SubscriptionPlatformCustom as b4, SubscriptionPlatformStripe as b5, type Team as b6, type ThemeOptionTS as b7, ThemeOptions as b8, type UpdateUserSettingsRequest as b9, type User as ba, type UserOnboarding as bb, type UserOrgAccess as bc, type UserResponse as bd, type UserSettings as be, type UserSettingsResponse as bf, type UserSource as bg, UserSourceAPI as bh, UserSourceInvite as bi, type UserSourceOptionTS as bj, UserSourceSSO as bk, UserSourceSignup as bl, type UserSourceTS as bm, UserSources as bn, type WorkspaceInput as bo, type WorkspaceResult as bp, type OrgResponse as c, type OrgInfoResponse as d, type OnboardingState as e, AdminBillingSuperAgentCheckout as f, AdminOrgCreate as g, AdminOrgCreated as h, AdminOrgDelete as i, AdminOrgGet as j, AdminOrgGetByDomain as k, AdminOrgGetInfo as l, AdminOrgList as m, AdminOrgListByMetadata as n, AdminOrgRolesCreate as o, AdminOrgRolesDelete as p, AdminOrgRolesGet as q, AdminOrgRolesUpdate as r, AdminOrgUpdate as s, AdminTeamsCreate as t, AdminTeamsGetForOrg as u, AdminTeamsGetOne as v, AdminTeamsUpdateOnboarding as w, AdminUsersCreate as x, AdminUsersDelete as y, AdminUsersGet as z };
|