@elqnt/admin 2.2.1 → 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.
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // models/index.ts
21
21
  var models_exports = {};
22
22
  __export(models_exports, {
23
+ AdminBillingSuperAgentCheckout: () => AdminBillingSuperAgentCheckout,
23
24
  AdminOrgCreate: () => AdminOrgCreate,
24
25
  AdminOrgCreated: () => AdminOrgCreated,
25
26
  AdminOrgDelete: () => AdminOrgDelete,
@@ -45,6 +46,7 @@ __export(models_exports, {
45
46
  AdminUsersGetOneByEmail: () => AdminUsersGetOneByEmail,
46
47
  AdminUsersGetOneByPhone: () => AdminUsersGetOneByPhone,
47
48
  AdminUsersGetSettings: () => AdminUsersGetSettings,
49
+ AdminUsersTouchActivity: () => AdminUsersTouchActivity,
48
50
  AdminUsersUpdate: () => AdminUsersUpdate,
49
51
  AdminUsersUpdateSettings: () => AdminUsersUpdateSettings,
50
52
  AffiliateAnalytics: () => AffiliateAnalytics,
@@ -86,6 +88,7 @@ __export(models_exports, {
86
88
  CustomerCreate: () => CustomerCreate,
87
89
  CustomerGet: () => CustomerGet,
88
90
  CustomerUpdate: () => CustomerUpdate,
91
+ DefaultTrialDays: () => DefaultTrialDays,
89
92
  InviteStatusAccepted: () => InviteStatusAccepted,
90
93
  InviteStatusExpired: () => InviteStatusExpired,
91
94
  InviteStatusPending: () => InviteStatusPending,
@@ -97,36 +100,6 @@ __export(models_exports, {
97
100
  OnboardingStatusPending: () => OnboardingStatusPending,
98
101
  OnboardingStatusSkipped: () => OnboardingStatusSkipped,
99
102
  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
103
  OrgSizeEnterprise: () => OrgSizeEnterprise,
131
104
  OrgSizeLarge: () => OrgSizeLarge,
132
105
  OrgSizeMedium: () => OrgSizeMedium,
@@ -150,19 +123,10 @@ __export(models_exports, {
150
123
  PlansGet: () => PlansGet,
151
124
  PlansGetAll: () => PlansGetAll,
152
125
  PortalSessionCreate: () => PortalSessionCreate,
153
- ProvisioningStatusCompleted: () => ProvisioningStatusCompleted,
154
- ProvisioningStatusFailed: () => ProvisioningStatusFailed,
155
- ProvisioningStatusInProgress: () => ProvisioningStatusInProgress,
156
- ProvisioningStatusPartial: () => ProvisioningStatusPartial,
157
- ProvisioningStatusPending: () => ProvisioningStatusPending,
158
- ProvisioningStatuses: () => ProvisioningStatuses,
159
126
  RulesCreateBillingRule: () => RulesCreateBillingRule,
160
127
  RulesDeleteBillingRule: () => RulesDeleteBillingRule,
161
128
  RulesGetBillingRules: () => RulesGetBillingRules,
162
129
  RulesUpdateBillingRule: () => RulesUpdateBillingRule,
163
- SchemaTypeAgents: () => SchemaTypeAgents,
164
- SchemaTypeEntities: () => SchemaTypeEntities,
165
- SchemaTypeOrgConfig: () => SchemaTypeOrgConfig,
166
130
  SubscriptionCancel: () => SubscriptionCancel,
167
131
  SubscriptionCheckout: () => SubscriptionCheckout,
168
132
  SubscriptionCreate: () => SubscriptionCreate,
@@ -171,15 +135,6 @@ __export(models_exports, {
171
135
  SubscriptionPlatformCustom: () => SubscriptionPlatformCustom,
172
136
  SubscriptionPlatformStripe: () => SubscriptionPlatformStripe,
173
137
  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
138
  ThemeOptions: () => ThemeOptions,
184
139
  UsageAlertThreshold: () => UsageAlertThreshold,
185
140
  UsageGetCostBreakdown: () => UsageGetCostBreakdown,
@@ -225,64 +180,6 @@ var OrgSizes = {
225
180
  large: { value: "large", label: "51-200" },
226
181
  enterprise: { value: "enterprise", label: "200+" }
227
182
  };
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
183
  var OnboardingStatusPending = "pending";
287
184
  var OnboardingStatusInProgress = "in_progress";
288
185
  var OnboardingStatusCompleted = "completed";
@@ -295,18 +192,6 @@ var OnboardingStatuses = {
295
192
  skipped: { value: "skipped", label: "Skipped" },
296
193
  legacy: { value: "legacy", label: "Legacy" }
297
194
  };
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
195
  var OrgSubscriptionStatusTrialing = "trialing";
311
196
  var OrgSubscriptionStatusActive = "active";
312
197
  var OrgSubscriptionStatusPastDue = "past_due";
@@ -346,32 +231,6 @@ var InviteStatuses = {
346
231
  };
347
232
  var SubscriptionPlatformStripe = "stripe";
348
233
  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
234
  var AdminOrgCreate = "admin.orgs.create";
376
235
  var AdminOrgList = "admin.orgs.list";
377
236
  var AdminOrgListByMetadata = "admin.orgs.listByMetadata";
@@ -395,10 +254,13 @@ var AdminUsersUpdate = "admin.users.update";
395
254
  var AdminUsersDelete = "admin.users.delete";
396
255
  var AdminUsersUpdateSettings = "admin.users.updateSettings";
397
256
  var AdminUsersGetSettings = "admin.users.getSettings";
257
+ var AdminUsersTouchActivity = "admin.users.touchActivity";
398
258
  var AdminTeamsCreate = "admin.teams.create";
399
259
  var AdminTeamsGetOne = "admin.teams.getOne";
400
260
  var AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
401
261
  var AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
262
+ var AdminBillingSuperAgentCheckout = "admin.billing.superagent-checkout";
263
+ var DefaultTrialDays = 7;
402
264
 
403
265
  // models/billing.ts
404
266
  var BillingRecordEvent = "billing.events.record";
@@ -468,6 +330,7 @@ var BillingOrgProvision = "billing.org.provision";
468
330
  var BillingHealthCheck = "billing.health.check";
469
331
  // Annotate the CommonJS export names for ESM import in node:
470
332
  0 && (module.exports = {
333
+ AdminBillingSuperAgentCheckout,
471
334
  AdminOrgCreate,
472
335
  AdminOrgCreated,
473
336
  AdminOrgDelete,
@@ -493,6 +356,7 @@ var BillingHealthCheck = "billing.health.check";
493
356
  AdminUsersGetOneByEmail,
494
357
  AdminUsersGetOneByPhone,
495
358
  AdminUsersGetSettings,
359
+ AdminUsersTouchActivity,
496
360
  AdminUsersUpdate,
497
361
  AdminUsersUpdateSettings,
498
362
  AffiliateAnalytics,
@@ -534,6 +398,7 @@ var BillingHealthCheck = "billing.health.check";
534
398
  CustomerCreate,
535
399
  CustomerGet,
536
400
  CustomerUpdate,
401
+ DefaultTrialDays,
537
402
  InviteStatusAccepted,
538
403
  InviteStatusExpired,
539
404
  InviteStatusPending,
@@ -545,36 +410,6 @@ var BillingHealthCheck = "billing.health.check";
545
410
  OnboardingStatusPending,
546
411
  OnboardingStatusSkipped,
547
412
  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
413
  OrgSizeEnterprise,
579
414
  OrgSizeLarge,
580
415
  OrgSizeMedium,
@@ -598,19 +433,10 @@ var BillingHealthCheck = "billing.health.check";
598
433
  PlansGet,
599
434
  PlansGetAll,
600
435
  PortalSessionCreate,
601
- ProvisioningStatusCompleted,
602
- ProvisioningStatusFailed,
603
- ProvisioningStatusInProgress,
604
- ProvisioningStatusPartial,
605
- ProvisioningStatusPending,
606
- ProvisioningStatuses,
607
436
  RulesCreateBillingRule,
608
437
  RulesDeleteBillingRule,
609
438
  RulesGetBillingRules,
610
439
  RulesUpdateBillingRule,
611
- SchemaTypeAgents,
612
- SchemaTypeEntities,
613
- SchemaTypeOrgConfig,
614
440
  SubscriptionCancel,
615
441
  SubscriptionCheckout,
616
442
  SubscriptionCreate,
@@ -619,15 +445,6 @@ var BillingHealthCheck = "billing.health.check";
619
445
  SubscriptionPlatformCustom,
620
446
  SubscriptionPlatformStripe,
621
447
  SubscriptionUpdate,
622
- SystemAppAdmin,
623
- SystemAppAnalytics,
624
- SystemAppCRM,
625
- SystemAppDocumentProcessor,
626
- SystemAppHelpdesk,
627
- SystemAppKnowledgeGraph,
628
- SystemAppMarketing,
629
- SystemAppWorkflow,
630
- SystemApps,
631
448
  ThemeOptions,
632
449
  UsageAlertThreshold,
633
450
  UsageGetCostBreakdown,