@elqnt/admin 2.0.5 → 2.2.0
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 +47 -192
- package/dist/api/index.cjs +486 -29
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.d.cts +197 -4
- package/dist/api/index.d.ts +197 -4
- package/dist/api/index.js +439 -28
- package/dist/api/index.js.map +1 -1
- package/dist/hooks/index.cjs +1526 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.cts +249 -0
- package/dist/hooks/index.d.ts +249 -0
- package/dist/hooks/index.js +1493 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.cjs +1107 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +883 -28
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +630 -0
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +2347 -35
- package/dist/models/index.d.ts +2347 -35
- package/dist/models/index.js +445 -0
- package/dist/models/index.js.map +1 -1
- package/dist/provisioning-Cfl6wbmV.d.cts +168 -0
- package/dist/provisioning-Il9t2jnH.d.ts +168 -0
- package/package.json +9 -3
package/dist/models/index.cjs
CHANGED
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -15,5 +19,631 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
15
19
|
|
|
16
20
|
// models/index.ts
|
|
17
21
|
var models_exports = {};
|
|
22
|
+
__export(models_exports, {
|
|
23
|
+
AdminOrgCreate: () => AdminOrgCreate,
|
|
24
|
+
AdminOrgCreated: () => AdminOrgCreated,
|
|
25
|
+
AdminOrgDelete: () => AdminOrgDelete,
|
|
26
|
+
AdminOrgGet: () => AdminOrgGet,
|
|
27
|
+
AdminOrgGetByDomain: () => AdminOrgGetByDomain,
|
|
28
|
+
AdminOrgGetInfo: () => AdminOrgGetInfo,
|
|
29
|
+
AdminOrgList: () => AdminOrgList,
|
|
30
|
+
AdminOrgListByMetadata: () => AdminOrgListByMetadata,
|
|
31
|
+
AdminOrgRolesCreate: () => AdminOrgRolesCreate,
|
|
32
|
+
AdminOrgRolesDelete: () => AdminOrgRolesDelete,
|
|
33
|
+
AdminOrgRolesGet: () => AdminOrgRolesGet,
|
|
34
|
+
AdminOrgRolesUpdate: () => AdminOrgRolesUpdate,
|
|
35
|
+
AdminOrgUpdate: () => AdminOrgUpdate,
|
|
36
|
+
AdminTeamsCreate: () => AdminTeamsCreate,
|
|
37
|
+
AdminTeamsGetForOrg: () => AdminTeamsGetForOrg,
|
|
38
|
+
AdminTeamsGetOne: () => AdminTeamsGetOne,
|
|
39
|
+
AdminTeamsUpdateOnboarding: () => AdminTeamsUpdateOnboarding,
|
|
40
|
+
AdminUsersCreate: () => AdminUsersCreate,
|
|
41
|
+
AdminUsersDelete: () => AdminUsersDelete,
|
|
42
|
+
AdminUsersGet: () => AdminUsersGet,
|
|
43
|
+
AdminUsersGetForOrg: () => AdminUsersGetForOrg,
|
|
44
|
+
AdminUsersGetOne: () => AdminUsersGetOne,
|
|
45
|
+
AdminUsersGetOneByEmail: () => AdminUsersGetOneByEmail,
|
|
46
|
+
AdminUsersGetOneByPhone: () => AdminUsersGetOneByPhone,
|
|
47
|
+
AdminUsersGetSettings: () => AdminUsersGetSettings,
|
|
48
|
+
AdminUsersUpdate: () => AdminUsersUpdate,
|
|
49
|
+
AdminUsersUpdateSettings: () => AdminUsersUpdateSettings,
|
|
50
|
+
AffiliateAnalytics: () => AffiliateAnalytics,
|
|
51
|
+
AffiliateCommissions: () => AffiliateCommissions,
|
|
52
|
+
AffiliateCreate: () => AffiliateCreate,
|
|
53
|
+
AffiliateGet: () => AffiliateGet,
|
|
54
|
+
AffiliateList: () => AffiliateList,
|
|
55
|
+
AffiliateOnboard: () => AffiliateOnboard,
|
|
56
|
+
AffiliateUpdate: () => AffiliateUpdate,
|
|
57
|
+
AnalyticsChurn: () => AnalyticsChurn,
|
|
58
|
+
AnalyticsRevenue: () => AnalyticsRevenue,
|
|
59
|
+
AnalyticsUsage: () => AnalyticsUsage,
|
|
60
|
+
BillingEventsRecord: () => BillingEventsRecord,
|
|
61
|
+
BillingGetInvoice: () => BillingGetInvoice,
|
|
62
|
+
BillingGetUsageReport: () => BillingGetUsageReport,
|
|
63
|
+
BillingHealthCheck: () => BillingHealthCheck,
|
|
64
|
+
BillingInvoiceCreate: () => BillingInvoiceCreate,
|
|
65
|
+
BillingInvoiceGet: () => BillingInvoiceGet,
|
|
66
|
+
BillingInvoiceProcess: () => BillingInvoiceProcess,
|
|
67
|
+
BillingOrgProvision: () => BillingOrgProvision,
|
|
68
|
+
BillingPeriodClose: () => BillingPeriodClose,
|
|
69
|
+
BillingPeriodCreate: () => BillingPeriodCreate,
|
|
70
|
+
BillingPeriodProcess: () => BillingPeriodProcess,
|
|
71
|
+
BillingProcessBillingPeriod: () => BillingProcessBillingPeriod,
|
|
72
|
+
BillingRecordEvent: () => BillingRecordEvent,
|
|
73
|
+
BillingRulesCreate: () => BillingRulesCreate,
|
|
74
|
+
BillingRulesDelete: () => BillingRulesDelete,
|
|
75
|
+
BillingRulesGet: () => BillingRulesGet,
|
|
76
|
+
BillingRulesUpdate: () => BillingRulesUpdate,
|
|
77
|
+
BillingSubjectPrefix: () => BillingSubjectPrefix,
|
|
78
|
+
BillingUsageCostBreakdown: () => BillingUsageCostBreakdown,
|
|
79
|
+
BillingUsageCurrent: () => BillingUsageCurrent,
|
|
80
|
+
BillingUsageHistory: () => BillingUsageHistory,
|
|
81
|
+
BillingUsageReport: () => BillingUsageReport,
|
|
82
|
+
BillingUsageTopCenters: () => BillingUsageTopCenters,
|
|
83
|
+
CreditsBalance: () => CreditsBalance,
|
|
84
|
+
CreditsConsume: () => CreditsConsume,
|
|
85
|
+
CreditsPurchase: () => CreditsPurchase,
|
|
86
|
+
CustomerCreate: () => CustomerCreate,
|
|
87
|
+
CustomerGet: () => CustomerGet,
|
|
88
|
+
CustomerUpdate: () => CustomerUpdate,
|
|
89
|
+
InviteStatusAccepted: () => InviteStatusAccepted,
|
|
90
|
+
InviteStatusExpired: () => InviteStatusExpired,
|
|
91
|
+
InviteStatusPending: () => InviteStatusPending,
|
|
92
|
+
InviteStatusRevoked: () => InviteStatusRevoked,
|
|
93
|
+
InviteStatuses: () => InviteStatuses,
|
|
94
|
+
OnboardingStatusCompleted: () => OnboardingStatusCompleted,
|
|
95
|
+
OnboardingStatusInProgress: () => OnboardingStatusInProgress,
|
|
96
|
+
OnboardingStatusLegacy: () => OnboardingStatusLegacy,
|
|
97
|
+
OnboardingStatusPending: () => OnboardingStatusPending,
|
|
98
|
+
OnboardingStatusSkipped: () => OnboardingStatusSkipped,
|
|
99
|
+
OnboardingStatuses: () => OnboardingStatuses,
|
|
100
|
+
OrgArtifactChatWidget: () => OrgArtifactChatWidget,
|
|
101
|
+
OrgArtifactClickHouseOrg: () => OrgArtifactClickHouseOrg,
|
|
102
|
+
OrgArtifactDefaultAgent: () => OrgArtifactDefaultAgent,
|
|
103
|
+
OrgArtifactDefaultOrgLibrary: () => OrgArtifactDefaultOrgLibrary,
|
|
104
|
+
OrgArtifactDefaultSkills: () => OrgArtifactDefaultSkills,
|
|
105
|
+
OrgArtifactEntityDefsBoards: () => OrgArtifactEntityDefsBoards,
|
|
106
|
+
OrgArtifactEntityDefsDocs: () => OrgArtifactEntityDefsDocs,
|
|
107
|
+
OrgArtifactEntityDefsEloquent: () => OrgArtifactEntityDefsEloquent,
|
|
108
|
+
OrgArtifactKGSchema: () => OrgArtifactKGSchema,
|
|
109
|
+
OrgArtifactKnowledgeGraph: () => OrgArtifactKnowledgeGraph,
|
|
110
|
+
OrgArtifactNATSChatBuckets: () => OrgArtifactNATSChatBuckets,
|
|
111
|
+
OrgArtifactOrgSettings: () => OrgArtifactOrgSettings,
|
|
112
|
+
OrgArtifactPostgresAgents: () => OrgArtifactPostgresAgents,
|
|
113
|
+
OrgArtifactPostgresEntities: () => OrgArtifactPostgresEntities,
|
|
114
|
+
OrgArtifactPostgresOrgConfig: () => OrgArtifactPostgresOrgConfig,
|
|
115
|
+
OrgArtifactStatusCompleted: () => OrgArtifactStatusCompleted,
|
|
116
|
+
OrgArtifactStatusFailed: () => OrgArtifactStatusFailed,
|
|
117
|
+
OrgArtifactStatusInProgress: () => OrgArtifactStatusInProgress,
|
|
118
|
+
OrgArtifactStatusPending: () => OrgArtifactStatusPending,
|
|
119
|
+
OrgArtifactStatusSkipped: () => OrgArtifactStatusSkipped,
|
|
120
|
+
OrgArtifactStatuses: () => OrgArtifactStatuses,
|
|
121
|
+
OrgArtifactTypes: () => OrgArtifactTypes,
|
|
122
|
+
OrgProductAafya: () => OrgProductAafya,
|
|
123
|
+
OrgProductConsumer: () => OrgProductConsumer,
|
|
124
|
+
OrgProductCustom: () => OrgProductCustom,
|
|
125
|
+
OrgProductEloquent: () => OrgProductEloquent,
|
|
126
|
+
OrgProductFahim: () => OrgProductFahim,
|
|
127
|
+
OrgProductShopAssist: () => OrgProductShopAssist,
|
|
128
|
+
OrgProducts: () => OrgProducts,
|
|
129
|
+
OrgSchemaTypes: () => OrgSchemaTypes,
|
|
130
|
+
OrgSizeEnterprise: () => OrgSizeEnterprise,
|
|
131
|
+
OrgSizeLarge: () => OrgSizeLarge,
|
|
132
|
+
OrgSizeMedium: () => OrgSizeMedium,
|
|
133
|
+
OrgSizeSmall: () => OrgSizeSmall,
|
|
134
|
+
OrgSizeSolo: () => OrgSizeSolo,
|
|
135
|
+
OrgSizes: () => OrgSizes,
|
|
136
|
+
OrgStatusActive: () => OrgStatusActive,
|
|
137
|
+
OrgStatusSuspended: () => OrgStatusSuspended,
|
|
138
|
+
OrgStatuses: () => OrgStatuses,
|
|
139
|
+
OrgSubscriptionStatusActive: () => OrgSubscriptionStatusActive,
|
|
140
|
+
OrgSubscriptionStatusCancelled: () => OrgSubscriptionStatusCancelled,
|
|
141
|
+
OrgSubscriptionStatusPastDue: () => OrgSubscriptionStatusPastDue,
|
|
142
|
+
OrgSubscriptionStatusTrialing: () => OrgSubscriptionStatusTrialing,
|
|
143
|
+
OrgSubscriptionStatusUnpaid: () => OrgSubscriptionStatusUnpaid,
|
|
144
|
+
OrgSubscriptionStatuses: () => OrgSubscriptionStatuses,
|
|
145
|
+
OrgTypeEnterprise: () => OrgTypeEnterprise,
|
|
146
|
+
OrgTypeSelfServe: () => OrgTypeSelfServe,
|
|
147
|
+
OrgTypes: () => OrgTypes,
|
|
148
|
+
PaymentLinkCreate: () => PaymentLinkCreate,
|
|
149
|
+
PaymentLinkList: () => PaymentLinkList,
|
|
150
|
+
PlansGet: () => PlansGet,
|
|
151
|
+
PlansGetAll: () => PlansGetAll,
|
|
152
|
+
PortalSessionCreate: () => PortalSessionCreate,
|
|
153
|
+
ProvisioningStatusCompleted: () => ProvisioningStatusCompleted,
|
|
154
|
+
ProvisioningStatusFailed: () => ProvisioningStatusFailed,
|
|
155
|
+
ProvisioningStatusInProgress: () => ProvisioningStatusInProgress,
|
|
156
|
+
ProvisioningStatusPartial: () => ProvisioningStatusPartial,
|
|
157
|
+
ProvisioningStatusPending: () => ProvisioningStatusPending,
|
|
158
|
+
ProvisioningStatuses: () => ProvisioningStatuses,
|
|
159
|
+
RulesCreateBillingRule: () => RulesCreateBillingRule,
|
|
160
|
+
RulesDeleteBillingRule: () => RulesDeleteBillingRule,
|
|
161
|
+
RulesGetBillingRules: () => RulesGetBillingRules,
|
|
162
|
+
RulesUpdateBillingRule: () => RulesUpdateBillingRule,
|
|
163
|
+
SchemaTypeAgents: () => SchemaTypeAgents,
|
|
164
|
+
SchemaTypeEntities: () => SchemaTypeEntities,
|
|
165
|
+
SchemaTypeOrgConfig: () => SchemaTypeOrgConfig,
|
|
166
|
+
SubscriptionCancel: () => SubscriptionCancel,
|
|
167
|
+
SubscriptionCheckout: () => SubscriptionCheckout,
|
|
168
|
+
SubscriptionCreate: () => SubscriptionCreate,
|
|
169
|
+
SubscriptionGet: () => SubscriptionGet,
|
|
170
|
+
SubscriptionList: () => SubscriptionList,
|
|
171
|
+
SubscriptionPlatformCustom: () => SubscriptionPlatformCustom,
|
|
172
|
+
SubscriptionPlatformStripe: () => SubscriptionPlatformStripe,
|
|
173
|
+
SubscriptionUpdate: () => SubscriptionUpdate,
|
|
174
|
+
SystemAppAdmin: () => SystemAppAdmin,
|
|
175
|
+
SystemAppAnalytics: () => SystemAppAnalytics,
|
|
176
|
+
SystemAppCRM: () => SystemAppCRM,
|
|
177
|
+
SystemAppDocumentProcessor: () => SystemAppDocumentProcessor,
|
|
178
|
+
SystemAppHelpdesk: () => SystemAppHelpdesk,
|
|
179
|
+
SystemAppKnowledgeGraph: () => SystemAppKnowledgeGraph,
|
|
180
|
+
SystemAppMarketing: () => SystemAppMarketing,
|
|
181
|
+
SystemAppWorkflow: () => SystemAppWorkflow,
|
|
182
|
+
SystemApps: () => SystemApps,
|
|
183
|
+
ThemeOptions: () => ThemeOptions,
|
|
184
|
+
UsageAlertThreshold: () => UsageAlertThreshold,
|
|
185
|
+
UsageGetCostBreakdown: () => UsageGetCostBreakdown,
|
|
186
|
+
UsageGetCurrentUsage: () => UsageGetCurrentUsage,
|
|
187
|
+
UsageGetTopCostCenters: () => UsageGetTopCostCenters,
|
|
188
|
+
UsageGetUsageHistory: () => UsageGetUsageHistory,
|
|
189
|
+
UserSourceAPI: () => UserSourceAPI,
|
|
190
|
+
UserSourceInvite: () => UserSourceInvite,
|
|
191
|
+
UserSourceSSO: () => UserSourceSSO,
|
|
192
|
+
UserSourceSignup: () => UserSourceSignup,
|
|
193
|
+
UserSources: () => UserSources,
|
|
194
|
+
WebhookInvoiceFailed: () => WebhookInvoiceFailed,
|
|
195
|
+
WebhookInvoicePaid: () => WebhookInvoicePaid,
|
|
196
|
+
WebhookPaymentSucceeded: () => WebhookPaymentSucceeded,
|
|
197
|
+
WebhookSubscriptionCanceled: () => WebhookSubscriptionCanceled,
|
|
198
|
+
WebhookSubscriptionCreated: () => WebhookSubscriptionCreated,
|
|
199
|
+
WebhookSubscriptionUpdated: () => WebhookSubscriptionUpdated
|
|
200
|
+
});
|
|
18
201
|
module.exports = __toCommonJS(models_exports);
|
|
202
|
+
|
|
203
|
+
// models/admin.ts
|
|
204
|
+
var OrgStatusActive = "active";
|
|
205
|
+
var OrgStatusSuspended = "suspended";
|
|
206
|
+
var OrgStatuses = {
|
|
207
|
+
active: { value: "active", label: "Active" },
|
|
208
|
+
suspended: { value: "suspended", label: "Suspended" }
|
|
209
|
+
};
|
|
210
|
+
var OrgTypeSelfServe = "self-serve";
|
|
211
|
+
var OrgTypeEnterprise = "enterprise";
|
|
212
|
+
var OrgTypes = {
|
|
213
|
+
"self-serve": { value: "self-serve", label: "Self-Serve" },
|
|
214
|
+
enterprise: { value: "enterprise", label: "Enterprise" }
|
|
215
|
+
};
|
|
216
|
+
var OrgSizeSolo = "solo";
|
|
217
|
+
var OrgSizeSmall = "small";
|
|
218
|
+
var OrgSizeMedium = "medium";
|
|
219
|
+
var OrgSizeLarge = "large";
|
|
220
|
+
var OrgSizeEnterprise = "enterprise";
|
|
221
|
+
var OrgSizes = {
|
|
222
|
+
solo: { value: "solo", label: "Just me" },
|
|
223
|
+
small: { value: "small", label: "2-10" },
|
|
224
|
+
medium: { value: "medium", label: "11-50" },
|
|
225
|
+
large: { value: "large", label: "51-200" },
|
|
226
|
+
enterprise: { value: "enterprise", label: "200+" }
|
|
227
|
+
};
|
|
228
|
+
var OrgProductEloquent = "eloquent";
|
|
229
|
+
var OrgProductShopAssist = "shop-assist";
|
|
230
|
+
var OrgProductConsumer = "consumer";
|
|
231
|
+
var OrgProductCustom = "custom";
|
|
232
|
+
var OrgProductAafya = "aafya";
|
|
233
|
+
var OrgProductFahim = "fahim";
|
|
234
|
+
var OrgProducts = {
|
|
235
|
+
eloquent: { value: "eloquent", label: "Eloquent", description: "Full-featured enterprise AI platform with all capabilities" },
|
|
236
|
+
"shop-assist": { value: "shop-assist", label: "Shop Assist", description: "E-commerce focused AI assistant for online stores" },
|
|
237
|
+
consumer: { value: "consumer", label: "Consumer", description: "Consumer-facing AI applications" },
|
|
238
|
+
custom: { value: "custom", label: "Custom", description: "Custom configuration for specific requirements" },
|
|
239
|
+
aafya: { value: "aafya", label: "Aafya", description: "AI-powered healthcare triage and medical assistance platform" },
|
|
240
|
+
fahim: { value: "fahim", label: "Fahim \u0641\u0627\u0647\u0645", description: "AI-powered tutor for personalized learning across subjects" }
|
|
241
|
+
};
|
|
242
|
+
var OrgArtifactPostgresEntities = "postgres_entities";
|
|
243
|
+
var OrgArtifactPostgresAgents = "postgres_agents";
|
|
244
|
+
var OrgArtifactPostgresOrgConfig = "postgres_org_config";
|
|
245
|
+
var OrgArtifactClickHouseOrg = "clickhouse_org";
|
|
246
|
+
var OrgArtifactNATSChatBuckets = "nats_chat_buckets";
|
|
247
|
+
var OrgArtifactEntityDefsEloquent = "entity_defs_eloquent";
|
|
248
|
+
var OrgArtifactEntityDefsDocs = "entity_defs_docs";
|
|
249
|
+
var OrgArtifactEntityDefsBoards = "entity_defs_boards";
|
|
250
|
+
var OrgArtifactOrgSettings = "org_settings";
|
|
251
|
+
var OrgArtifactKnowledgeGraph = "knowledge_graph";
|
|
252
|
+
var OrgArtifactKGSchema = "kg_schema";
|
|
253
|
+
var OrgArtifactDefaultSkills = "default_skills";
|
|
254
|
+
var OrgArtifactDefaultAgent = "default_agent";
|
|
255
|
+
var OrgArtifactChatWidget = "chat_widget";
|
|
256
|
+
var OrgArtifactDefaultOrgLibrary = "default_org_library";
|
|
257
|
+
var OrgArtifactTypes = {
|
|
258
|
+
postgres_entities: { value: "postgres_entities", label: "PostgreSQL Entities" },
|
|
259
|
+
postgres_agents: { value: "postgres_agents", label: "PostgreSQL Agents" },
|
|
260
|
+
postgres_org_config: { value: "postgres_org_config", label: "PostgreSQL Org Config" },
|
|
261
|
+
clickhouse_org: { value: "clickhouse_org", label: "ClickHouse Analytics" },
|
|
262
|
+
nats_chat_buckets: { value: "nats_chat_buckets", label: "NATS Chat Buckets" },
|
|
263
|
+
entity_defs_eloquent: { value: "entity_defs_eloquent", label: "Eloquent Entities" },
|
|
264
|
+
entity_defs_docs: { value: "entity_defs_docs", label: "Documents Entities" },
|
|
265
|
+
entity_defs_boards: { value: "entity_defs_boards", label: "Boards Entities" },
|
|
266
|
+
org_settings: { value: "org_settings", label: "Organization Settings" },
|
|
267
|
+
knowledge_graph: { value: "knowledge_graph", label: "Knowledge Graph" },
|
|
268
|
+
kg_schema: { value: "kg_schema", label: "KG Default Schema" },
|
|
269
|
+
default_skills: { value: "default_skills", label: "Default Skills" },
|
|
270
|
+
default_agent: { value: "default_agent", label: "Default Agent" },
|
|
271
|
+
chat_widget: { value: "chat_widget", label: "Chat Widget" },
|
|
272
|
+
default_org_library: { value: "default_org_library", label: "Org Documents Library" }
|
|
273
|
+
};
|
|
274
|
+
var OrgArtifactStatusPending = "pending";
|
|
275
|
+
var OrgArtifactStatusInProgress = "in_progress";
|
|
276
|
+
var OrgArtifactStatusCompleted = "completed";
|
|
277
|
+
var OrgArtifactStatusFailed = "failed";
|
|
278
|
+
var OrgArtifactStatusSkipped = "skipped";
|
|
279
|
+
var OrgArtifactStatuses = {
|
|
280
|
+
pending: { value: "pending", label: "Pending" },
|
|
281
|
+
in_progress: { value: "in_progress", label: "In Progress" },
|
|
282
|
+
completed: { value: "completed", label: "Completed" },
|
|
283
|
+
failed: { value: "failed", label: "Failed" },
|
|
284
|
+
skipped: { value: "skipped", label: "Skipped" }
|
|
285
|
+
};
|
|
286
|
+
var OnboardingStatusPending = "pending";
|
|
287
|
+
var OnboardingStatusInProgress = "in_progress";
|
|
288
|
+
var OnboardingStatusCompleted = "completed";
|
|
289
|
+
var OnboardingStatusSkipped = "skipped";
|
|
290
|
+
var OnboardingStatusLegacy = "legacy";
|
|
291
|
+
var OnboardingStatuses = {
|
|
292
|
+
pending: { value: "pending", label: "Pending" },
|
|
293
|
+
in_progress: { value: "in_progress", label: "In Progress" },
|
|
294
|
+
completed: { value: "completed", label: "Completed" },
|
|
295
|
+
skipped: { value: "skipped", label: "Skipped" },
|
|
296
|
+
legacy: { value: "legacy", label: "Legacy" }
|
|
297
|
+
};
|
|
298
|
+
var ProvisioningStatusPending = "pending";
|
|
299
|
+
var ProvisioningStatusInProgress = "in_progress";
|
|
300
|
+
var ProvisioningStatusCompleted = "completed";
|
|
301
|
+
var ProvisioningStatusPartial = "partial";
|
|
302
|
+
var ProvisioningStatusFailed = "failed";
|
|
303
|
+
var ProvisioningStatuses = {
|
|
304
|
+
pending: { value: "pending", label: "Pending" },
|
|
305
|
+
in_progress: { value: "in_progress", label: "In Progress" },
|
|
306
|
+
completed: { value: "completed", label: "Completed" },
|
|
307
|
+
partial: { value: "partial", label: "Partial" },
|
|
308
|
+
failed: { value: "failed", label: "Failed" }
|
|
309
|
+
};
|
|
310
|
+
var OrgSubscriptionStatusTrialing = "trialing";
|
|
311
|
+
var OrgSubscriptionStatusActive = "active";
|
|
312
|
+
var OrgSubscriptionStatusPastDue = "past_due";
|
|
313
|
+
var OrgSubscriptionStatusCancelled = "cancelled";
|
|
314
|
+
var OrgSubscriptionStatusUnpaid = "unpaid";
|
|
315
|
+
var OrgSubscriptionStatuses = {
|
|
316
|
+
trialing: { value: "trialing", label: "Trialing" },
|
|
317
|
+
active: { value: "active", label: "Active" },
|
|
318
|
+
past_due: { value: "past_due", label: "Past Due" },
|
|
319
|
+
cancelled: { value: "cancelled", label: "Cancelled" },
|
|
320
|
+
unpaid: { value: "unpaid", label: "Unpaid" }
|
|
321
|
+
};
|
|
322
|
+
var ThemeOptions = {
|
|
323
|
+
system: { value: "system", label: "System" },
|
|
324
|
+
light: { value: "light", label: "Light" },
|
|
325
|
+
dark: { value: "dark", label: "Dark" }
|
|
326
|
+
};
|
|
327
|
+
var UserSourceSignup = "signup";
|
|
328
|
+
var UserSourceInvite = "invite";
|
|
329
|
+
var UserSourceSSO = "sso";
|
|
330
|
+
var UserSourceAPI = "api";
|
|
331
|
+
var UserSources = {
|
|
332
|
+
signup: { value: "signup", label: "Signup" },
|
|
333
|
+
invite: { value: "invite", label: "Invite" },
|
|
334
|
+
sso: { value: "sso", label: "SSO" },
|
|
335
|
+
api: { value: "api", label: "API" }
|
|
336
|
+
};
|
|
337
|
+
var InviteStatusPending = "pending";
|
|
338
|
+
var InviteStatusAccepted = "accepted";
|
|
339
|
+
var InviteStatusExpired = "expired";
|
|
340
|
+
var InviteStatusRevoked = "revoked";
|
|
341
|
+
var InviteStatuses = {
|
|
342
|
+
pending: { value: "pending", label: "Pending" },
|
|
343
|
+
accepted: { value: "accepted", label: "Accepted" },
|
|
344
|
+
expired: { value: "expired", label: "Expired" },
|
|
345
|
+
revoked: { value: "revoked", label: "Revoked" }
|
|
346
|
+
};
|
|
347
|
+
var SubscriptionPlatformStripe = "stripe";
|
|
348
|
+
var SubscriptionPlatformCustom = "custom";
|
|
349
|
+
var SystemAppAdmin = "admin";
|
|
350
|
+
var SystemAppCRM = "crm";
|
|
351
|
+
var SystemAppHelpdesk = "helpdesk";
|
|
352
|
+
var SystemAppMarketing = "marketing";
|
|
353
|
+
var SystemAppWorkflow = "workflow";
|
|
354
|
+
var SystemAppAnalytics = "analytics";
|
|
355
|
+
var SystemAppKnowledgeGraph = "knowledge-graph";
|
|
356
|
+
var SystemAppDocumentProcessor = "document-processor";
|
|
357
|
+
var SystemApps = {
|
|
358
|
+
admin: { value: "admin", label: "Admin" },
|
|
359
|
+
crm: { value: "crm", label: "CRM" },
|
|
360
|
+
helpdesk: { value: "helpdesk", label: "Helpdesk" },
|
|
361
|
+
marketing: { value: "marketing", label: "Marketing" },
|
|
362
|
+
workflow: { value: "workflow", label: "Workflow" },
|
|
363
|
+
analytics: { value: "analytics", label: "Analytics" },
|
|
364
|
+
"knowledge-graph": { value: "knowledge-graph", label: "Knowledge Graph" },
|
|
365
|
+
"document-processor": { value: "document-processor", label: "Document Processor" }
|
|
366
|
+
};
|
|
367
|
+
var SchemaTypeEntities = "entities";
|
|
368
|
+
var SchemaTypeAgents = "agents";
|
|
369
|
+
var SchemaTypeOrgConfig = "org-config";
|
|
370
|
+
var OrgSchemaTypes = {
|
|
371
|
+
entities: { value: "entities", label: "Entities Database" },
|
|
372
|
+
agents: { value: "agents", label: "Agents Database" },
|
|
373
|
+
"org-config": { value: "org-config", label: "Org Config Database" }
|
|
374
|
+
};
|
|
375
|
+
var AdminOrgCreate = "admin.orgs.create";
|
|
376
|
+
var AdminOrgList = "admin.orgs.list";
|
|
377
|
+
var AdminOrgListByMetadata = "admin.orgs.listByMetadata";
|
|
378
|
+
var AdminOrgGet = "admin.orgs.get";
|
|
379
|
+
var AdminOrgGetInfo = "admin.orgs.getInfo";
|
|
380
|
+
var AdminOrgGetByDomain = "admin.orgs.getByDomain";
|
|
381
|
+
var AdminOrgUpdate = "admin.orgs.update";
|
|
382
|
+
var AdminOrgDelete = "admin.orgs.delete";
|
|
383
|
+
var AdminOrgCreated = "system.admin.org.created";
|
|
384
|
+
var AdminOrgRolesGet = "admin.orgRoles.get";
|
|
385
|
+
var AdminOrgRolesCreate = "admin.orgRoles.create";
|
|
386
|
+
var AdminOrgRolesUpdate = "admin.orgRoles.update";
|
|
387
|
+
var AdminOrgRolesDelete = "admin.orgRoles.delete";
|
|
388
|
+
var AdminUsersGet = "admin.users.get";
|
|
389
|
+
var AdminUsersGetForOrg = "admin.users.getUsersForOrg";
|
|
390
|
+
var AdminUsersGetOne = "admin.users.getOne";
|
|
391
|
+
var AdminUsersGetOneByEmail = "admin.users.getOneByEmail";
|
|
392
|
+
var AdminUsersGetOneByPhone = "admin.users.getOneByPhone";
|
|
393
|
+
var AdminUsersCreate = "admin.users.create";
|
|
394
|
+
var AdminUsersUpdate = "admin.users.update";
|
|
395
|
+
var AdminUsersDelete = "admin.users.delete";
|
|
396
|
+
var AdminUsersUpdateSettings = "admin.users.updateSettings";
|
|
397
|
+
var AdminUsersGetSettings = "admin.users.getSettings";
|
|
398
|
+
var AdminTeamsCreate = "admin.teams.create";
|
|
399
|
+
var AdminTeamsGetOne = "admin.teams.getOne";
|
|
400
|
+
var AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
|
|
401
|
+
var AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
|
|
402
|
+
|
|
403
|
+
// models/billing.ts
|
|
404
|
+
var BillingRecordEvent = "billing.events.record";
|
|
405
|
+
var BillingGetUsageReport = "billing.usage.report";
|
|
406
|
+
var BillingGetInvoice = "billing.invoice.get";
|
|
407
|
+
var BillingProcessBillingPeriod = "billing.period.process";
|
|
408
|
+
var UsageGetCurrentUsage = "billing.usage.current";
|
|
409
|
+
var UsageGetUsageHistory = "billing.usage.history";
|
|
410
|
+
var UsageGetCostBreakdown = "billing.usage.breakdown";
|
|
411
|
+
var UsageGetTopCostCenters = "billing.usage.top_centers";
|
|
412
|
+
var RulesGetBillingRules = "billing.rules.get";
|
|
413
|
+
var RulesCreateBillingRule = "billing.rules.create";
|
|
414
|
+
var RulesUpdateBillingRule = "billing.rules.update";
|
|
415
|
+
var RulesDeleteBillingRule = "billing.rules.delete";
|
|
416
|
+
var SubscriptionCreate = "billing.subscription.create";
|
|
417
|
+
var SubscriptionGet = "billing.subscription.get";
|
|
418
|
+
var SubscriptionUpdate = "billing.subscription.update";
|
|
419
|
+
var SubscriptionCancel = "billing.subscription.cancel";
|
|
420
|
+
var SubscriptionList = "billing.subscription.list";
|
|
421
|
+
var SubscriptionCheckout = "billing.subscription.checkout";
|
|
422
|
+
var PaymentLinkCreate = "billing.payment-link.create";
|
|
423
|
+
var PaymentLinkList = "billing.payment-link.list";
|
|
424
|
+
var PortalSessionCreate = "billing.portal.create";
|
|
425
|
+
var CustomerCreate = "billing.customer.create";
|
|
426
|
+
var CustomerGet = "billing.customer.get";
|
|
427
|
+
var CustomerUpdate = "billing.customer.update";
|
|
428
|
+
var CreditsBalance = "billing.credits.balance";
|
|
429
|
+
var CreditsPurchase = "billing.credits.purchase";
|
|
430
|
+
var CreditsConsume = "billing.credits.consume";
|
|
431
|
+
var PlansGet = "billing.plans.get";
|
|
432
|
+
var PlansGetAll = "billing.plans.list";
|
|
433
|
+
var UsageAlertThreshold = "billing.usage.alert";
|
|
434
|
+
var WebhookSubscriptionCreated = "billing.webhook.subscription.created";
|
|
435
|
+
var WebhookSubscriptionUpdated = "billing.webhook.subscription.updated";
|
|
436
|
+
var WebhookSubscriptionCanceled = "billing.webhook.subscription.canceled";
|
|
437
|
+
var WebhookInvoicePaid = "billing.webhook.invoice.paid";
|
|
438
|
+
var WebhookInvoiceFailed = "billing.webhook.invoice.failed";
|
|
439
|
+
var WebhookPaymentSucceeded = "billing.webhook.payment.succeeded";
|
|
440
|
+
var AffiliateCreate = "billing.affiliate.create";
|
|
441
|
+
var AffiliateGet = "billing.affiliate.get";
|
|
442
|
+
var AffiliateList = "billing.affiliate.list";
|
|
443
|
+
var AffiliateUpdate = "billing.affiliate.update";
|
|
444
|
+
var AffiliateOnboard = "billing.affiliate.onboard";
|
|
445
|
+
var AffiliateCommissions = "billing.affiliate.commissions";
|
|
446
|
+
var AffiliateAnalytics = "billing.affiliate.analytics";
|
|
447
|
+
var AnalyticsRevenue = "billing.analytics.revenue";
|
|
448
|
+
var AnalyticsUsage = "billing.analytics.usage";
|
|
449
|
+
var AnalyticsChurn = "billing.analytics.churn";
|
|
450
|
+
var BillingSubjectPrefix = "billing";
|
|
451
|
+
var BillingEventsRecord = "billing.events.record";
|
|
452
|
+
var BillingUsageReport = "billing.usage.report";
|
|
453
|
+
var BillingUsageCurrent = "billing.usage.current";
|
|
454
|
+
var BillingUsageHistory = "billing.usage.history";
|
|
455
|
+
var BillingUsageCostBreakdown = "billing.usage.breakdown";
|
|
456
|
+
var BillingUsageTopCenters = "billing.usage.top_centers";
|
|
457
|
+
var BillingInvoiceGet = "billing.invoice.get";
|
|
458
|
+
var BillingInvoiceCreate = "billing.invoice.create";
|
|
459
|
+
var BillingInvoiceProcess = "billing.invoice.process";
|
|
460
|
+
var BillingPeriodCreate = "billing.period.create";
|
|
461
|
+
var BillingPeriodClose = "billing.period.close";
|
|
462
|
+
var BillingPeriodProcess = "billing.period.process";
|
|
463
|
+
var BillingRulesGet = "billing.rules.get";
|
|
464
|
+
var BillingRulesCreate = "billing.rules.create";
|
|
465
|
+
var BillingRulesUpdate = "billing.rules.update";
|
|
466
|
+
var BillingRulesDelete = "billing.rules.delete";
|
|
467
|
+
var BillingOrgProvision = "billing.org.provision";
|
|
468
|
+
var BillingHealthCheck = "billing.health.check";
|
|
469
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
470
|
+
0 && (module.exports = {
|
|
471
|
+
AdminOrgCreate,
|
|
472
|
+
AdminOrgCreated,
|
|
473
|
+
AdminOrgDelete,
|
|
474
|
+
AdminOrgGet,
|
|
475
|
+
AdminOrgGetByDomain,
|
|
476
|
+
AdminOrgGetInfo,
|
|
477
|
+
AdminOrgList,
|
|
478
|
+
AdminOrgListByMetadata,
|
|
479
|
+
AdminOrgRolesCreate,
|
|
480
|
+
AdminOrgRolesDelete,
|
|
481
|
+
AdminOrgRolesGet,
|
|
482
|
+
AdminOrgRolesUpdate,
|
|
483
|
+
AdminOrgUpdate,
|
|
484
|
+
AdminTeamsCreate,
|
|
485
|
+
AdminTeamsGetForOrg,
|
|
486
|
+
AdminTeamsGetOne,
|
|
487
|
+
AdminTeamsUpdateOnboarding,
|
|
488
|
+
AdminUsersCreate,
|
|
489
|
+
AdminUsersDelete,
|
|
490
|
+
AdminUsersGet,
|
|
491
|
+
AdminUsersGetForOrg,
|
|
492
|
+
AdminUsersGetOne,
|
|
493
|
+
AdminUsersGetOneByEmail,
|
|
494
|
+
AdminUsersGetOneByPhone,
|
|
495
|
+
AdminUsersGetSettings,
|
|
496
|
+
AdminUsersUpdate,
|
|
497
|
+
AdminUsersUpdateSettings,
|
|
498
|
+
AffiliateAnalytics,
|
|
499
|
+
AffiliateCommissions,
|
|
500
|
+
AffiliateCreate,
|
|
501
|
+
AffiliateGet,
|
|
502
|
+
AffiliateList,
|
|
503
|
+
AffiliateOnboard,
|
|
504
|
+
AffiliateUpdate,
|
|
505
|
+
AnalyticsChurn,
|
|
506
|
+
AnalyticsRevenue,
|
|
507
|
+
AnalyticsUsage,
|
|
508
|
+
BillingEventsRecord,
|
|
509
|
+
BillingGetInvoice,
|
|
510
|
+
BillingGetUsageReport,
|
|
511
|
+
BillingHealthCheck,
|
|
512
|
+
BillingInvoiceCreate,
|
|
513
|
+
BillingInvoiceGet,
|
|
514
|
+
BillingInvoiceProcess,
|
|
515
|
+
BillingOrgProvision,
|
|
516
|
+
BillingPeriodClose,
|
|
517
|
+
BillingPeriodCreate,
|
|
518
|
+
BillingPeriodProcess,
|
|
519
|
+
BillingProcessBillingPeriod,
|
|
520
|
+
BillingRecordEvent,
|
|
521
|
+
BillingRulesCreate,
|
|
522
|
+
BillingRulesDelete,
|
|
523
|
+
BillingRulesGet,
|
|
524
|
+
BillingRulesUpdate,
|
|
525
|
+
BillingSubjectPrefix,
|
|
526
|
+
BillingUsageCostBreakdown,
|
|
527
|
+
BillingUsageCurrent,
|
|
528
|
+
BillingUsageHistory,
|
|
529
|
+
BillingUsageReport,
|
|
530
|
+
BillingUsageTopCenters,
|
|
531
|
+
CreditsBalance,
|
|
532
|
+
CreditsConsume,
|
|
533
|
+
CreditsPurchase,
|
|
534
|
+
CustomerCreate,
|
|
535
|
+
CustomerGet,
|
|
536
|
+
CustomerUpdate,
|
|
537
|
+
InviteStatusAccepted,
|
|
538
|
+
InviteStatusExpired,
|
|
539
|
+
InviteStatusPending,
|
|
540
|
+
InviteStatusRevoked,
|
|
541
|
+
InviteStatuses,
|
|
542
|
+
OnboardingStatusCompleted,
|
|
543
|
+
OnboardingStatusInProgress,
|
|
544
|
+
OnboardingStatusLegacy,
|
|
545
|
+
OnboardingStatusPending,
|
|
546
|
+
OnboardingStatusSkipped,
|
|
547
|
+
OnboardingStatuses,
|
|
548
|
+
OrgArtifactChatWidget,
|
|
549
|
+
OrgArtifactClickHouseOrg,
|
|
550
|
+
OrgArtifactDefaultAgent,
|
|
551
|
+
OrgArtifactDefaultOrgLibrary,
|
|
552
|
+
OrgArtifactDefaultSkills,
|
|
553
|
+
OrgArtifactEntityDefsBoards,
|
|
554
|
+
OrgArtifactEntityDefsDocs,
|
|
555
|
+
OrgArtifactEntityDefsEloquent,
|
|
556
|
+
OrgArtifactKGSchema,
|
|
557
|
+
OrgArtifactKnowledgeGraph,
|
|
558
|
+
OrgArtifactNATSChatBuckets,
|
|
559
|
+
OrgArtifactOrgSettings,
|
|
560
|
+
OrgArtifactPostgresAgents,
|
|
561
|
+
OrgArtifactPostgresEntities,
|
|
562
|
+
OrgArtifactPostgresOrgConfig,
|
|
563
|
+
OrgArtifactStatusCompleted,
|
|
564
|
+
OrgArtifactStatusFailed,
|
|
565
|
+
OrgArtifactStatusInProgress,
|
|
566
|
+
OrgArtifactStatusPending,
|
|
567
|
+
OrgArtifactStatusSkipped,
|
|
568
|
+
OrgArtifactStatuses,
|
|
569
|
+
OrgArtifactTypes,
|
|
570
|
+
OrgProductAafya,
|
|
571
|
+
OrgProductConsumer,
|
|
572
|
+
OrgProductCustom,
|
|
573
|
+
OrgProductEloquent,
|
|
574
|
+
OrgProductFahim,
|
|
575
|
+
OrgProductShopAssist,
|
|
576
|
+
OrgProducts,
|
|
577
|
+
OrgSchemaTypes,
|
|
578
|
+
OrgSizeEnterprise,
|
|
579
|
+
OrgSizeLarge,
|
|
580
|
+
OrgSizeMedium,
|
|
581
|
+
OrgSizeSmall,
|
|
582
|
+
OrgSizeSolo,
|
|
583
|
+
OrgSizes,
|
|
584
|
+
OrgStatusActive,
|
|
585
|
+
OrgStatusSuspended,
|
|
586
|
+
OrgStatuses,
|
|
587
|
+
OrgSubscriptionStatusActive,
|
|
588
|
+
OrgSubscriptionStatusCancelled,
|
|
589
|
+
OrgSubscriptionStatusPastDue,
|
|
590
|
+
OrgSubscriptionStatusTrialing,
|
|
591
|
+
OrgSubscriptionStatusUnpaid,
|
|
592
|
+
OrgSubscriptionStatuses,
|
|
593
|
+
OrgTypeEnterprise,
|
|
594
|
+
OrgTypeSelfServe,
|
|
595
|
+
OrgTypes,
|
|
596
|
+
PaymentLinkCreate,
|
|
597
|
+
PaymentLinkList,
|
|
598
|
+
PlansGet,
|
|
599
|
+
PlansGetAll,
|
|
600
|
+
PortalSessionCreate,
|
|
601
|
+
ProvisioningStatusCompleted,
|
|
602
|
+
ProvisioningStatusFailed,
|
|
603
|
+
ProvisioningStatusInProgress,
|
|
604
|
+
ProvisioningStatusPartial,
|
|
605
|
+
ProvisioningStatusPending,
|
|
606
|
+
ProvisioningStatuses,
|
|
607
|
+
RulesCreateBillingRule,
|
|
608
|
+
RulesDeleteBillingRule,
|
|
609
|
+
RulesGetBillingRules,
|
|
610
|
+
RulesUpdateBillingRule,
|
|
611
|
+
SchemaTypeAgents,
|
|
612
|
+
SchemaTypeEntities,
|
|
613
|
+
SchemaTypeOrgConfig,
|
|
614
|
+
SubscriptionCancel,
|
|
615
|
+
SubscriptionCheckout,
|
|
616
|
+
SubscriptionCreate,
|
|
617
|
+
SubscriptionGet,
|
|
618
|
+
SubscriptionList,
|
|
619
|
+
SubscriptionPlatformCustom,
|
|
620
|
+
SubscriptionPlatformStripe,
|
|
621
|
+
SubscriptionUpdate,
|
|
622
|
+
SystemAppAdmin,
|
|
623
|
+
SystemAppAnalytics,
|
|
624
|
+
SystemAppCRM,
|
|
625
|
+
SystemAppDocumentProcessor,
|
|
626
|
+
SystemAppHelpdesk,
|
|
627
|
+
SystemAppKnowledgeGraph,
|
|
628
|
+
SystemAppMarketing,
|
|
629
|
+
SystemAppWorkflow,
|
|
630
|
+
SystemApps,
|
|
631
|
+
ThemeOptions,
|
|
632
|
+
UsageAlertThreshold,
|
|
633
|
+
UsageGetCostBreakdown,
|
|
634
|
+
UsageGetCurrentUsage,
|
|
635
|
+
UsageGetTopCostCenters,
|
|
636
|
+
UsageGetUsageHistory,
|
|
637
|
+
UserSourceAPI,
|
|
638
|
+
UserSourceInvite,
|
|
639
|
+
UserSourceSSO,
|
|
640
|
+
UserSourceSignup,
|
|
641
|
+
UserSources,
|
|
642
|
+
WebhookInvoiceFailed,
|
|
643
|
+
WebhookInvoicePaid,
|
|
644
|
+
WebhookPaymentSucceeded,
|
|
645
|
+
WebhookSubscriptionCanceled,
|
|
646
|
+
WebhookSubscriptionCreated,
|
|
647
|
+
WebhookSubscriptionUpdated
|
|
648
|
+
});
|
|
19
649
|
//# sourceMappingURL=index.cjs.map
|