@elqnt/auth 1.0.8 → 1.0.12
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/chunk-LSUDMEL5.js +261 -0
- package/dist/chunk-LSUDMEL5.js.map +1 -0
- package/dist/chunk-OTGGRIEC.mjs +261 -0
- package/dist/chunk-OTGGRIEC.mjs.map +1 -0
- package/dist/index.d.mts +3 -154
- package/dist/index.d.ts +3 -154
- package/dist/index.js +253 -157
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +177 -29
- package/dist/index.mjs.map +1 -1
- package/dist/models/index.d.mts +825 -0
- package/dist/models/index.d.ts +825 -0
- package/dist/models/index.js +206 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/index.mjs +206 -0
- package/dist/models/index.mjs.map +1 -0
- package/package.json +8 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,159 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { UserStatusTS } from '@elqnt/types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare const WidgetTypeCalendar: WidgetType;
|
|
7
|
-
declare const WidgetTypeActivities: WidgetType;
|
|
8
|
-
declare const WidgetTypeEmail: WidgetType;
|
|
9
|
-
declare const WidgetTypeTasks: WidgetType;
|
|
10
|
-
declare const WidgetTypeNotes: WidgetType;
|
|
11
|
-
declare const WidgetTypeFiles: WidgetType;
|
|
12
|
-
declare const WidgetTypeContacts: WidgetType;
|
|
13
|
-
declare const WidgetTypeAccounts: WidgetType;
|
|
14
|
-
declare const WidgetTypeLeads: WidgetType;
|
|
15
|
-
declare const WidgetTypeOpportunities: WidgetType;
|
|
16
|
-
declare const WidgetTypeChart: WidgetType;
|
|
17
|
-
declare const WidgetTypeOrders: WidgetType;
|
|
18
|
-
interface Widget {
|
|
19
|
-
id?: string;
|
|
20
|
-
userId: string;
|
|
21
|
-
title: string;
|
|
22
|
-
subTitle?: string;
|
|
23
|
-
type: WidgetType;
|
|
24
|
-
chartSettings?: ChartSettings;
|
|
25
|
-
slotIndex: number;
|
|
26
|
-
}
|
|
27
|
-
type ChartType = string;
|
|
28
|
-
declare const ChartTypeBar: ChartType;
|
|
29
|
-
declare const ChartTypeLine: ChartType;
|
|
30
|
-
declare const ChartTypePie: ChartType;
|
|
31
|
-
declare const ChartTypeDoughnut: ChartType;
|
|
32
|
-
declare const ChartTypeMetic: ChartType;
|
|
33
|
-
type AggregateType = string;
|
|
34
|
-
declare const AggregateTypeSum: AggregateType;
|
|
35
|
-
declare const AggregateTypeCount: AggregateType;
|
|
36
|
-
declare const AggregateTypeAverage: AggregateType;
|
|
37
|
-
declare const AggregateTypeMin: AggregateType;
|
|
38
|
-
declare const AggregateTypeMax: AggregateType;
|
|
39
|
-
declare const AggregateTypeDistinct: AggregateType;
|
|
40
|
-
interface MetricResult {
|
|
41
|
-
aggregateType: AggregateType;
|
|
42
|
-
value: any;
|
|
43
|
-
compareAggregateType: AggregateType;
|
|
44
|
-
compareValue: any;
|
|
45
|
-
}
|
|
46
|
-
interface DateValue {
|
|
47
|
-
date: string;
|
|
48
|
-
value: number;
|
|
49
|
-
}
|
|
50
|
-
interface ChartSettings {
|
|
51
|
-
chartType: ChartType;
|
|
52
|
-
aggregateType: AggregateType;
|
|
53
|
-
tableName: string;
|
|
54
|
-
groupByFieldName: string;
|
|
55
|
-
valueFieldName: string;
|
|
56
|
-
filterFieldName: string;
|
|
57
|
-
filterFieldValue: string;
|
|
58
|
-
enableCompare: boolean;
|
|
59
|
-
compareTitle: string;
|
|
60
|
-
compareAggregateType: AggregateType;
|
|
61
|
-
compareTableName: string;
|
|
62
|
-
compareValueFieldName: string;
|
|
63
|
-
compareFilterFieldName: string;
|
|
64
|
-
compareFilterFieldValue: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
interface ResponseMetadata {
|
|
68
|
-
success: boolean;
|
|
69
|
-
timestamp: string;
|
|
70
|
-
message?: string;
|
|
71
|
-
error?: string;
|
|
72
|
-
}
|
|
73
|
-
interface UserOrgAccess {
|
|
74
|
-
orgId: string;
|
|
75
|
-
orgTitle: string;
|
|
76
|
-
roles: string[];
|
|
77
|
-
isSingleAccount: boolean;
|
|
78
|
-
entityRecordFilter?: any;
|
|
79
|
-
}
|
|
80
|
-
interface UserSettings {
|
|
81
|
-
theme?: string;
|
|
82
|
-
language?: string;
|
|
83
|
-
timezone?: string;
|
|
84
|
-
occupation?: string;
|
|
85
|
-
company?: string;
|
|
86
|
-
}
|
|
87
|
-
interface NotificationPreferences {
|
|
88
|
-
pushEnabled: boolean;
|
|
89
|
-
newChatAssignment: boolean;
|
|
90
|
-
newMessages: boolean;
|
|
91
|
-
escalations: boolean;
|
|
92
|
-
urgentOnly: boolean;
|
|
93
|
-
soundEnabled: boolean;
|
|
94
|
-
doNotDisturb: boolean;
|
|
95
|
-
dndStart?: string;
|
|
96
|
-
dndEnd?: string;
|
|
97
|
-
}
|
|
98
|
-
interface User {
|
|
99
|
-
id?: string;
|
|
100
|
-
email: string;
|
|
101
|
-
firstName: string;
|
|
102
|
-
lastName: string;
|
|
103
|
-
authProviderName: string;
|
|
104
|
-
orgAccess: UserOrgAccess[];
|
|
105
|
-
settings?: UserSettings;
|
|
106
|
-
notificationPreferences?: NotificationPreferences;
|
|
107
|
-
createdAt?: number;
|
|
108
|
-
updatedAt?: number;
|
|
109
|
-
createdBy?: string;
|
|
110
|
-
updatedBy?: string;
|
|
111
|
-
isTeamAdmin?: boolean;
|
|
112
|
-
teamId?: string;
|
|
113
|
-
teamName?: string;
|
|
114
|
-
isSysAdmin?: boolean;
|
|
115
|
-
}
|
|
116
|
-
interface UserResponse {
|
|
117
|
-
user: User;
|
|
118
|
-
metadata: ResponseMetadata;
|
|
119
|
-
}
|
|
120
|
-
interface UpdateUserSettingsRequest {
|
|
121
|
-
id: string;
|
|
122
|
-
settings?: UserSettings;
|
|
123
|
-
notificationPreferences?: NotificationPreferences;
|
|
124
|
-
}
|
|
125
|
-
interface UserSettingsResponse {
|
|
126
|
-
settings?: UserSettings;
|
|
127
|
-
notificationPreferences?: NotificationPreferences;
|
|
128
|
-
metadata: ResponseMetadata;
|
|
129
|
-
}
|
|
130
|
-
interface Team {
|
|
131
|
-
id?: string;
|
|
132
|
-
name: string;
|
|
133
|
-
isSubscribed: boolean;
|
|
134
|
-
subscribedAt: number;
|
|
135
|
-
plan: string;
|
|
136
|
-
ownerName: string;
|
|
137
|
-
ownerEmail: string;
|
|
138
|
-
subscriptionPlatform: SubscriptionPlatform;
|
|
139
|
-
subscriptionId: string;
|
|
140
|
-
onboardingDone: boolean;
|
|
141
|
-
onboardingData: string;
|
|
142
|
-
}
|
|
143
|
-
type SubscriptionPlatform = string;
|
|
144
|
-
declare const SubscriptionPlatformStripe: SubscriptionPlatform;
|
|
145
|
-
declare const SubscriptionPlatformCustom: SubscriptionPlatform;
|
|
146
|
-
interface OrgInfo {
|
|
147
|
-
id?: string;
|
|
148
|
-
title: string;
|
|
149
|
-
logoUrl: string;
|
|
150
|
-
mainDomain?: string;
|
|
151
|
-
apps: any[];
|
|
152
|
-
}
|
|
153
|
-
interface OrgInfoResponse {
|
|
154
|
-
orgInfo: OrgInfo;
|
|
155
|
-
metadata: ResponseMetadata;
|
|
156
|
-
}
|
|
4
|
+
import { User, UserOrgAccess, OrgInfo, UserResponse, Team } from './models/index.mjs';
|
|
5
|
+
export { Address, AdminOrgCreate, AdminOrgCreated, AdminOrgDelete, AdminOrgGet, AdminOrgGetByDomain, AdminOrgGetInfo, AdminOrgList, AdminOrgListByMetadata, AdminOrgRolesCreate, AdminOrgRolesDelete, AdminOrgRolesGet, AdminOrgRolesUpdate, AdminOrgUpdate, AdminTeamsCreate, AdminTeamsGetForOrg, AdminTeamsGetOne, AdminTeamsUpdateOnboarding, AdminUsersCreate, AdminUsersDelete, AdminUsersGet, AdminUsersGetForOrg, AdminUsersGetOne, AdminUsersGetOneByEmail, AdminUsersGetSettings, AdminUsersUpdate, AdminUsersUpdateSettings, AgentInfo, AgentInput, AgentResult, AggregateType, AggregateTypeAverage, AggregateTypeCount, AggregateTypeDistinct, AggregateTypeMax, AggregateTypeMin, AggregateTypeSum, AzureSettings, ChartSettings, ChartType, ChartTypeBar, ChartTypeDoughnut, ChartTypeLine, ChartTypeMetic, ChartTypePie, DateValue, Invite, InviteInput, InviteResponse, InviteSentStatus, InviteStatus, InviteStatusAccepted, InviteStatusExpired, InviteStatusOptionTS, InviteStatusPending, InviteStatusRevoked, InviteStatusTS, InviteStatuses, InvitesResult, KnowledgeGraphInfo, KnowledgeInput, KnowledgeResult, ListInvitesResponse, ListOrgRolesResponse, ListOrgsResponse, ListUsersResponse, MetricResult, NotificationPreferences, OnboardingCompleteResult, OnboardingState, OnboardingStateResponse, OnboardingStatus, OnboardingStatusCompleted, OnboardingStatusInProgress, OnboardingStatusLegacy, OnboardingStatusOptionTS, OnboardingStatusPending, OnboardingStatusSkipped, OnboardingStatusTS, OnboardingStatuses, OnboardingStep, Org, OrgInfoResponse, OrgInput, OrgOnboarding, OrgProvisioning, OrgResponse, OrgResult, OrgRole, OrgRoleResponse, OrgSize, OrgSizeEnterprise, OrgSizeLarge, OrgSizeMedium, OrgSizeOptionTS, OrgSizeSmall, OrgSizeSolo, OrgSizeTS, OrgSizes, OrgStatus, OrgStatusActive, OrgStatusOptionTS, OrgStatusSuspended, OrgStatusTS, OrgStatuses, OrgSubscription, OrgSubscriptionStatus, OrgSubscriptionStatusActive, OrgSubscriptionStatusCancelled, OrgSubscriptionStatusOptionTS, OrgSubscriptionStatusPastDue, OrgSubscriptionStatusTS, OrgSubscriptionStatusTrialing, OrgSubscriptionStatusUnpaid, OrgSubscriptionStatuses, OrgTemplate, OrgType, OrgTypeEnterprise, OrgTypeOptionTS, OrgTypeSelfServe, OrgTypeTS, OrgTypes, PaymentSessionInput, PaymentSessionResult, Permission, ProvisioningStatus, ProvisioningStatusCompleted, ProvisioningStatusFailed, ProvisioningStatusOptionTS, ProvisioningStatusPending, ProvisioningStatusRunning, ProvisioningStatusTS, ProvisioningStatuses, ResponseMetadata, SubscriptionPlatform, SubscriptionPlatformCustom, SubscriptionPlatformStripe, SystemApp, SystemAppAdmin, SystemAppAnalytics, SystemAppCRM, SystemAppDocumentProcessor, SystemAppHelpdesk, SystemAppKnowledgeGraph, SystemAppMarketing, SystemAppOptionTS, SystemAppTS, SystemAppWorkflow, SystemApps, ThemeOptionTS, ThemeOptions, UpdateUserSettingsRequest, UserOnboarding, UserSettings, UserSettingsResponse, UserSource, UserSourceAPI, UserSourceInvite, UserSourceOptionTS, UserSourceSSO, UserSourceSignup, UserSourceTS, UserSources, Widget, WidgetType, WidgetTypeAccounts, WidgetTypeActivities, WidgetTypeCalendar, WidgetTypeChart, WidgetTypeContacts, WidgetTypeEmail, WidgetTypeFiles, WidgetTypeLeads, WidgetTypeNotes, WidgetTypeOpportunities, WidgetTypeOrders, WidgetTypeTasks, WorkspaceInput, WorkspaceResult } from './models/index.mjs';
|
|
157
6
|
|
|
158
7
|
interface UseUserType {
|
|
159
8
|
user?: User;
|
|
@@ -186,4 +35,4 @@ type UserProviderProps = {
|
|
|
186
35
|
declare const UserProvider: FC<UserProviderProps>;
|
|
187
36
|
declare const useUserContext: () => UseUserType;
|
|
188
37
|
|
|
189
|
-
export {
|
|
38
|
+
export { OrgInfo, Team, type UseUserType, User, UserContext, UserOrgAccess, UserProvider, UserResponse, useUser, useUserContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,159 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
import { UserStatusTS } from '@elqnt/types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare const WidgetTypeCalendar: WidgetType;
|
|
7
|
-
declare const WidgetTypeActivities: WidgetType;
|
|
8
|
-
declare const WidgetTypeEmail: WidgetType;
|
|
9
|
-
declare const WidgetTypeTasks: WidgetType;
|
|
10
|
-
declare const WidgetTypeNotes: WidgetType;
|
|
11
|
-
declare const WidgetTypeFiles: WidgetType;
|
|
12
|
-
declare const WidgetTypeContacts: WidgetType;
|
|
13
|
-
declare const WidgetTypeAccounts: WidgetType;
|
|
14
|
-
declare const WidgetTypeLeads: WidgetType;
|
|
15
|
-
declare const WidgetTypeOpportunities: WidgetType;
|
|
16
|
-
declare const WidgetTypeChart: WidgetType;
|
|
17
|
-
declare const WidgetTypeOrders: WidgetType;
|
|
18
|
-
interface Widget {
|
|
19
|
-
id?: string;
|
|
20
|
-
userId: string;
|
|
21
|
-
title: string;
|
|
22
|
-
subTitle?: string;
|
|
23
|
-
type: WidgetType;
|
|
24
|
-
chartSettings?: ChartSettings;
|
|
25
|
-
slotIndex: number;
|
|
26
|
-
}
|
|
27
|
-
type ChartType = string;
|
|
28
|
-
declare const ChartTypeBar: ChartType;
|
|
29
|
-
declare const ChartTypeLine: ChartType;
|
|
30
|
-
declare const ChartTypePie: ChartType;
|
|
31
|
-
declare const ChartTypeDoughnut: ChartType;
|
|
32
|
-
declare const ChartTypeMetic: ChartType;
|
|
33
|
-
type AggregateType = string;
|
|
34
|
-
declare const AggregateTypeSum: AggregateType;
|
|
35
|
-
declare const AggregateTypeCount: AggregateType;
|
|
36
|
-
declare const AggregateTypeAverage: AggregateType;
|
|
37
|
-
declare const AggregateTypeMin: AggregateType;
|
|
38
|
-
declare const AggregateTypeMax: AggregateType;
|
|
39
|
-
declare const AggregateTypeDistinct: AggregateType;
|
|
40
|
-
interface MetricResult {
|
|
41
|
-
aggregateType: AggregateType;
|
|
42
|
-
value: any;
|
|
43
|
-
compareAggregateType: AggregateType;
|
|
44
|
-
compareValue: any;
|
|
45
|
-
}
|
|
46
|
-
interface DateValue {
|
|
47
|
-
date: string;
|
|
48
|
-
value: number;
|
|
49
|
-
}
|
|
50
|
-
interface ChartSettings {
|
|
51
|
-
chartType: ChartType;
|
|
52
|
-
aggregateType: AggregateType;
|
|
53
|
-
tableName: string;
|
|
54
|
-
groupByFieldName: string;
|
|
55
|
-
valueFieldName: string;
|
|
56
|
-
filterFieldName: string;
|
|
57
|
-
filterFieldValue: string;
|
|
58
|
-
enableCompare: boolean;
|
|
59
|
-
compareTitle: string;
|
|
60
|
-
compareAggregateType: AggregateType;
|
|
61
|
-
compareTableName: string;
|
|
62
|
-
compareValueFieldName: string;
|
|
63
|
-
compareFilterFieldName: string;
|
|
64
|
-
compareFilterFieldValue: string;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
interface ResponseMetadata {
|
|
68
|
-
success: boolean;
|
|
69
|
-
timestamp: string;
|
|
70
|
-
message?: string;
|
|
71
|
-
error?: string;
|
|
72
|
-
}
|
|
73
|
-
interface UserOrgAccess {
|
|
74
|
-
orgId: string;
|
|
75
|
-
orgTitle: string;
|
|
76
|
-
roles: string[];
|
|
77
|
-
isSingleAccount: boolean;
|
|
78
|
-
entityRecordFilter?: any;
|
|
79
|
-
}
|
|
80
|
-
interface UserSettings {
|
|
81
|
-
theme?: string;
|
|
82
|
-
language?: string;
|
|
83
|
-
timezone?: string;
|
|
84
|
-
occupation?: string;
|
|
85
|
-
company?: string;
|
|
86
|
-
}
|
|
87
|
-
interface NotificationPreferences {
|
|
88
|
-
pushEnabled: boolean;
|
|
89
|
-
newChatAssignment: boolean;
|
|
90
|
-
newMessages: boolean;
|
|
91
|
-
escalations: boolean;
|
|
92
|
-
urgentOnly: boolean;
|
|
93
|
-
soundEnabled: boolean;
|
|
94
|
-
doNotDisturb: boolean;
|
|
95
|
-
dndStart?: string;
|
|
96
|
-
dndEnd?: string;
|
|
97
|
-
}
|
|
98
|
-
interface User {
|
|
99
|
-
id?: string;
|
|
100
|
-
email: string;
|
|
101
|
-
firstName: string;
|
|
102
|
-
lastName: string;
|
|
103
|
-
authProviderName: string;
|
|
104
|
-
orgAccess: UserOrgAccess[];
|
|
105
|
-
settings?: UserSettings;
|
|
106
|
-
notificationPreferences?: NotificationPreferences;
|
|
107
|
-
createdAt?: number;
|
|
108
|
-
updatedAt?: number;
|
|
109
|
-
createdBy?: string;
|
|
110
|
-
updatedBy?: string;
|
|
111
|
-
isTeamAdmin?: boolean;
|
|
112
|
-
teamId?: string;
|
|
113
|
-
teamName?: string;
|
|
114
|
-
isSysAdmin?: boolean;
|
|
115
|
-
}
|
|
116
|
-
interface UserResponse {
|
|
117
|
-
user: User;
|
|
118
|
-
metadata: ResponseMetadata;
|
|
119
|
-
}
|
|
120
|
-
interface UpdateUserSettingsRequest {
|
|
121
|
-
id: string;
|
|
122
|
-
settings?: UserSettings;
|
|
123
|
-
notificationPreferences?: NotificationPreferences;
|
|
124
|
-
}
|
|
125
|
-
interface UserSettingsResponse {
|
|
126
|
-
settings?: UserSettings;
|
|
127
|
-
notificationPreferences?: NotificationPreferences;
|
|
128
|
-
metadata: ResponseMetadata;
|
|
129
|
-
}
|
|
130
|
-
interface Team {
|
|
131
|
-
id?: string;
|
|
132
|
-
name: string;
|
|
133
|
-
isSubscribed: boolean;
|
|
134
|
-
subscribedAt: number;
|
|
135
|
-
plan: string;
|
|
136
|
-
ownerName: string;
|
|
137
|
-
ownerEmail: string;
|
|
138
|
-
subscriptionPlatform: SubscriptionPlatform;
|
|
139
|
-
subscriptionId: string;
|
|
140
|
-
onboardingDone: boolean;
|
|
141
|
-
onboardingData: string;
|
|
142
|
-
}
|
|
143
|
-
type SubscriptionPlatform = string;
|
|
144
|
-
declare const SubscriptionPlatformStripe: SubscriptionPlatform;
|
|
145
|
-
declare const SubscriptionPlatformCustom: SubscriptionPlatform;
|
|
146
|
-
interface OrgInfo {
|
|
147
|
-
id?: string;
|
|
148
|
-
title: string;
|
|
149
|
-
logoUrl: string;
|
|
150
|
-
mainDomain?: string;
|
|
151
|
-
apps: any[];
|
|
152
|
-
}
|
|
153
|
-
interface OrgInfoResponse {
|
|
154
|
-
orgInfo: OrgInfo;
|
|
155
|
-
metadata: ResponseMetadata;
|
|
156
|
-
}
|
|
4
|
+
import { User, UserOrgAccess, OrgInfo, UserResponse, Team } from './models/index.js';
|
|
5
|
+
export { Address, AdminOrgCreate, AdminOrgCreated, AdminOrgDelete, AdminOrgGet, AdminOrgGetByDomain, AdminOrgGetInfo, AdminOrgList, AdminOrgListByMetadata, AdminOrgRolesCreate, AdminOrgRolesDelete, AdminOrgRolesGet, AdminOrgRolesUpdate, AdminOrgUpdate, AdminTeamsCreate, AdminTeamsGetForOrg, AdminTeamsGetOne, AdminTeamsUpdateOnboarding, AdminUsersCreate, AdminUsersDelete, AdminUsersGet, AdminUsersGetForOrg, AdminUsersGetOne, AdminUsersGetOneByEmail, AdminUsersGetSettings, AdminUsersUpdate, AdminUsersUpdateSettings, AgentInfo, AgentInput, AgentResult, AggregateType, AggregateTypeAverage, AggregateTypeCount, AggregateTypeDistinct, AggregateTypeMax, AggregateTypeMin, AggregateTypeSum, AzureSettings, ChartSettings, ChartType, ChartTypeBar, ChartTypeDoughnut, ChartTypeLine, ChartTypeMetic, ChartTypePie, DateValue, Invite, InviteInput, InviteResponse, InviteSentStatus, InviteStatus, InviteStatusAccepted, InviteStatusExpired, InviteStatusOptionTS, InviteStatusPending, InviteStatusRevoked, InviteStatusTS, InviteStatuses, InvitesResult, KnowledgeGraphInfo, KnowledgeInput, KnowledgeResult, ListInvitesResponse, ListOrgRolesResponse, ListOrgsResponse, ListUsersResponse, MetricResult, NotificationPreferences, OnboardingCompleteResult, OnboardingState, OnboardingStateResponse, OnboardingStatus, OnboardingStatusCompleted, OnboardingStatusInProgress, OnboardingStatusLegacy, OnboardingStatusOptionTS, OnboardingStatusPending, OnboardingStatusSkipped, OnboardingStatusTS, OnboardingStatuses, OnboardingStep, Org, OrgInfoResponse, OrgInput, OrgOnboarding, OrgProvisioning, OrgResponse, OrgResult, OrgRole, OrgRoleResponse, OrgSize, OrgSizeEnterprise, OrgSizeLarge, OrgSizeMedium, OrgSizeOptionTS, OrgSizeSmall, OrgSizeSolo, OrgSizeTS, OrgSizes, OrgStatus, OrgStatusActive, OrgStatusOptionTS, OrgStatusSuspended, OrgStatusTS, OrgStatuses, OrgSubscription, OrgSubscriptionStatus, OrgSubscriptionStatusActive, OrgSubscriptionStatusCancelled, OrgSubscriptionStatusOptionTS, OrgSubscriptionStatusPastDue, OrgSubscriptionStatusTS, OrgSubscriptionStatusTrialing, OrgSubscriptionStatusUnpaid, OrgSubscriptionStatuses, OrgTemplate, OrgType, OrgTypeEnterprise, OrgTypeOptionTS, OrgTypeSelfServe, OrgTypeTS, OrgTypes, PaymentSessionInput, PaymentSessionResult, Permission, ProvisioningStatus, ProvisioningStatusCompleted, ProvisioningStatusFailed, ProvisioningStatusOptionTS, ProvisioningStatusPending, ProvisioningStatusRunning, ProvisioningStatusTS, ProvisioningStatuses, ResponseMetadata, SubscriptionPlatform, SubscriptionPlatformCustom, SubscriptionPlatformStripe, SystemApp, SystemAppAdmin, SystemAppAnalytics, SystemAppCRM, SystemAppDocumentProcessor, SystemAppHelpdesk, SystemAppKnowledgeGraph, SystemAppMarketing, SystemAppOptionTS, SystemAppTS, SystemAppWorkflow, SystemApps, ThemeOptionTS, ThemeOptions, UpdateUserSettingsRequest, UserOnboarding, UserSettings, UserSettingsResponse, UserSource, UserSourceAPI, UserSourceInvite, UserSourceOptionTS, UserSourceSSO, UserSourceSignup, UserSourceTS, UserSources, Widget, WidgetType, WidgetTypeAccounts, WidgetTypeActivities, WidgetTypeCalendar, WidgetTypeChart, WidgetTypeContacts, WidgetTypeEmail, WidgetTypeFiles, WidgetTypeLeads, WidgetTypeNotes, WidgetTypeOpportunities, WidgetTypeOrders, WidgetTypeTasks, WorkspaceInput, WorkspaceResult } from './models/index.js';
|
|
157
6
|
|
|
158
7
|
interface UseUserType {
|
|
159
8
|
user?: User;
|
|
@@ -186,4 +35,4 @@ type UserProviderProps = {
|
|
|
186
35
|
declare const UserProvider: FC<UserProviderProps>;
|
|
187
36
|
declare const useUserContext: () => UseUserType;
|
|
188
37
|
|
|
189
|
-
export {
|
|
38
|
+
export { OrgInfo, Team, type UseUserType, User, UserContext, UserOrgAccess, UserProvider, UserResponse, useUser, useUserContext };
|