@elqnt/admin 2.0.5 → 2.1.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/admin-Dlsd5IZ0.d.cts +767 -0
- package/dist/admin-Dlsd5IZ0.d.ts +767 -0
- package/dist/api/index.cjs +213 -27
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.d.cts +121 -3
- package/dist/api/index.d.ts +121 -3
- package/dist/api/index.js +192 -27
- package/dist/api/index.js.map +1 -1
- package/dist/hooks/index.cjs +765 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.cts +119 -0
- package/dist/hooks/index.d.ts +119 -0
- package/dist/hooks/index.js +735 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index.cjs +695 -27
- 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 +532 -27
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +491 -0
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +1095 -29
- package/dist/models/index.d.ts +1095 -29
- package/dist/models/index.js +341 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +9 -3
package/dist/index.cjs
CHANGED
|
@@ -20,47 +20,552 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_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
|
+
AdminUsersGetSettings: () => AdminUsersGetSettings,
|
|
47
|
+
AdminUsersUpdate: () => AdminUsersUpdate,
|
|
48
|
+
AdminUsersUpdateSettings: () => AdminUsersUpdateSettings,
|
|
49
|
+
AffiliateAnalytics: () => AffiliateAnalytics,
|
|
50
|
+
AffiliateCommissions: () => AffiliateCommissions,
|
|
51
|
+
AffiliateCreate: () => AffiliateCreate,
|
|
52
|
+
AffiliateGet: () => AffiliateGet,
|
|
53
|
+
AffiliateList: () => AffiliateList,
|
|
54
|
+
AffiliateOnboard: () => AffiliateOnboard,
|
|
55
|
+
AffiliateUpdate: () => AffiliateUpdate,
|
|
56
|
+
AnalyticsChurn: () => AnalyticsChurn,
|
|
57
|
+
AnalyticsRevenue: () => AnalyticsRevenue,
|
|
58
|
+
AnalyticsUsage: () => AnalyticsUsage,
|
|
59
|
+
BillingEventsRecord: () => BillingEventsRecord,
|
|
60
|
+
BillingGetInvoice: () => BillingGetInvoice,
|
|
61
|
+
BillingGetUsageReport: () => BillingGetUsageReport,
|
|
62
|
+
BillingHealthCheck: () => BillingHealthCheck,
|
|
63
|
+
BillingInvoiceCreate: () => BillingInvoiceCreate,
|
|
64
|
+
BillingInvoiceGet: () => BillingInvoiceGet,
|
|
65
|
+
BillingInvoiceProcess: () => BillingInvoiceProcess,
|
|
66
|
+
BillingOrgProvision: () => BillingOrgProvision,
|
|
67
|
+
BillingPeriodClose: () => BillingPeriodClose,
|
|
68
|
+
BillingPeriodCreate: () => BillingPeriodCreate,
|
|
69
|
+
BillingPeriodProcess: () => BillingPeriodProcess,
|
|
70
|
+
BillingProcessBillingPeriod: () => BillingProcessBillingPeriod,
|
|
71
|
+
BillingRecordEvent: () => BillingRecordEvent,
|
|
72
|
+
BillingRulesCreate: () => BillingRulesCreate,
|
|
73
|
+
BillingRulesDelete: () => BillingRulesDelete,
|
|
74
|
+
BillingRulesGet: () => BillingRulesGet,
|
|
75
|
+
BillingRulesUpdate: () => BillingRulesUpdate,
|
|
76
|
+
BillingSubjectPrefix: () => BillingSubjectPrefix,
|
|
77
|
+
BillingUsageCostBreakdown: () => BillingUsageCostBreakdown,
|
|
78
|
+
BillingUsageCurrent: () => BillingUsageCurrent,
|
|
79
|
+
BillingUsageHistory: () => BillingUsageHistory,
|
|
80
|
+
BillingUsageReport: () => BillingUsageReport,
|
|
81
|
+
BillingUsageTopCenters: () => BillingUsageTopCenters,
|
|
82
|
+
CreditsBalance: () => CreditsBalance,
|
|
83
|
+
CreditsConsume: () => CreditsConsume,
|
|
84
|
+
CreditsPurchase: () => CreditsPurchase,
|
|
85
|
+
CustomerCreate: () => CustomerCreate,
|
|
86
|
+
CustomerGet: () => CustomerGet,
|
|
87
|
+
CustomerUpdate: () => CustomerUpdate,
|
|
88
|
+
InviteStatusAccepted: () => InviteStatusAccepted,
|
|
89
|
+
InviteStatusExpired: () => InviteStatusExpired,
|
|
90
|
+
InviteStatusPending: () => InviteStatusPending,
|
|
91
|
+
InviteStatusRevoked: () => InviteStatusRevoked,
|
|
92
|
+
InviteStatuses: () => InviteStatuses,
|
|
93
|
+
OnboardingStatusCompleted: () => OnboardingStatusCompleted,
|
|
94
|
+
OnboardingStatusInProgress: () => OnboardingStatusInProgress,
|
|
95
|
+
OnboardingStatusLegacy: () => OnboardingStatusLegacy,
|
|
96
|
+
OnboardingStatusPending: () => OnboardingStatusPending,
|
|
97
|
+
OnboardingStatusSkipped: () => OnboardingStatusSkipped,
|
|
98
|
+
OnboardingStatuses: () => OnboardingStatuses,
|
|
99
|
+
OrgSizeEnterprise: () => OrgSizeEnterprise,
|
|
100
|
+
OrgSizeLarge: () => OrgSizeLarge,
|
|
101
|
+
OrgSizeMedium: () => OrgSizeMedium,
|
|
102
|
+
OrgSizeSmall: () => OrgSizeSmall,
|
|
103
|
+
OrgSizeSolo: () => OrgSizeSolo,
|
|
104
|
+
OrgSizes: () => OrgSizes,
|
|
105
|
+
OrgStatusActive: () => OrgStatusActive,
|
|
106
|
+
OrgStatusSuspended: () => OrgStatusSuspended,
|
|
107
|
+
OrgStatuses: () => OrgStatuses,
|
|
108
|
+
OrgSubscriptionStatusActive: () => OrgSubscriptionStatusActive,
|
|
109
|
+
OrgSubscriptionStatusCancelled: () => OrgSubscriptionStatusCancelled,
|
|
110
|
+
OrgSubscriptionStatusPastDue: () => OrgSubscriptionStatusPastDue,
|
|
111
|
+
OrgSubscriptionStatusTrialing: () => OrgSubscriptionStatusTrialing,
|
|
112
|
+
OrgSubscriptionStatusUnpaid: () => OrgSubscriptionStatusUnpaid,
|
|
113
|
+
OrgSubscriptionStatuses: () => OrgSubscriptionStatuses,
|
|
114
|
+
OrgTypeEnterprise: () => OrgTypeEnterprise,
|
|
115
|
+
OrgTypeSelfServe: () => OrgTypeSelfServe,
|
|
116
|
+
OrgTypes: () => OrgTypes,
|
|
117
|
+
PaymentLinkCreate: () => PaymentLinkCreate,
|
|
118
|
+
PaymentLinkList: () => PaymentLinkList,
|
|
119
|
+
PlansGet: () => PlansGet,
|
|
120
|
+
PlansGetAll: () => PlansGetAll,
|
|
121
|
+
PortalSessionCreate: () => PortalSessionCreate,
|
|
122
|
+
ProvisioningStatusCompleted: () => ProvisioningStatusCompleted,
|
|
123
|
+
ProvisioningStatusFailed: () => ProvisioningStatusFailed,
|
|
124
|
+
ProvisioningStatusPending: () => ProvisioningStatusPending,
|
|
125
|
+
ProvisioningStatusRunning: () => ProvisioningStatusRunning,
|
|
126
|
+
ProvisioningStatuses: () => ProvisioningStatuses,
|
|
127
|
+
RulesCreateBillingRule: () => RulesCreateBillingRule,
|
|
128
|
+
RulesDeleteBillingRule: () => RulesDeleteBillingRule,
|
|
129
|
+
RulesGetBillingRules: () => RulesGetBillingRules,
|
|
130
|
+
RulesUpdateBillingRule: () => RulesUpdateBillingRule,
|
|
131
|
+
SubscriptionCancel: () => SubscriptionCancel,
|
|
132
|
+
SubscriptionCheckout: () => SubscriptionCheckout,
|
|
133
|
+
SubscriptionCreate: () => SubscriptionCreate,
|
|
134
|
+
SubscriptionGet: () => SubscriptionGet,
|
|
135
|
+
SubscriptionList: () => SubscriptionList,
|
|
136
|
+
SubscriptionPlatformCustom: () => SubscriptionPlatformCustom,
|
|
137
|
+
SubscriptionPlatformStripe: () => SubscriptionPlatformStripe,
|
|
138
|
+
SubscriptionUpdate: () => SubscriptionUpdate,
|
|
139
|
+
SystemAppAdmin: () => SystemAppAdmin,
|
|
140
|
+
SystemAppAnalytics: () => SystemAppAnalytics,
|
|
141
|
+
SystemAppCRM: () => SystemAppCRM,
|
|
142
|
+
SystemAppDocumentProcessor: () => SystemAppDocumentProcessor,
|
|
143
|
+
SystemAppHelpdesk: () => SystemAppHelpdesk,
|
|
144
|
+
SystemAppKnowledgeGraph: () => SystemAppKnowledgeGraph,
|
|
145
|
+
SystemAppMarketing: () => SystemAppMarketing,
|
|
146
|
+
SystemAppWorkflow: () => SystemAppWorkflow,
|
|
147
|
+
SystemApps: () => SystemApps,
|
|
148
|
+
ThemeOptions: () => ThemeOptions,
|
|
149
|
+
UsageAlertThreshold: () => UsageAlertThreshold,
|
|
150
|
+
UsageGetCostBreakdown: () => UsageGetCostBreakdown,
|
|
151
|
+
UsageGetCurrentUsage: () => UsageGetCurrentUsage,
|
|
152
|
+
UsageGetTopCostCenters: () => UsageGetTopCostCenters,
|
|
153
|
+
UsageGetUsageHistory: () => UsageGetUsageHistory,
|
|
154
|
+
UserSourceAPI: () => UserSourceAPI,
|
|
155
|
+
UserSourceInvite: () => UserSourceInvite,
|
|
156
|
+
UserSourceSSO: () => UserSourceSSO,
|
|
157
|
+
UserSourceSignup: () => UserSourceSignup,
|
|
158
|
+
UserSources: () => UserSources,
|
|
159
|
+
WebhookInvoiceFailed: () => WebhookInvoiceFailed,
|
|
160
|
+
WebhookInvoicePaid: () => WebhookInvoicePaid,
|
|
161
|
+
WebhookPaymentSucceeded: () => WebhookPaymentSucceeded,
|
|
162
|
+
WebhookSubscriptionCanceled: () => WebhookSubscriptionCanceled,
|
|
163
|
+
WebhookSubscriptionCreated: () => WebhookSubscriptionCreated,
|
|
164
|
+
WebhookSubscriptionUpdated: () => WebhookSubscriptionUpdated,
|
|
165
|
+
acceptInviteApi: () => acceptInviteApi,
|
|
23
166
|
cancelSubscriptionApi: () => cancelSubscriptionApi,
|
|
24
|
-
clearGatewayTokenCache: () =>
|
|
167
|
+
clearGatewayTokenCache: () => import_browser4.clearGatewayTokenCache,
|
|
25
168
|
completeOnboardingApi: () => completeOnboardingApi,
|
|
26
169
|
createAgentWithSkillsApi: () => createAgentWithSkillsApi,
|
|
27
170
|
createCheckoutSessionApi: () => createCheckoutSessionApi,
|
|
28
171
|
createOnboardingAgentApi: () => createOnboardingAgentApi,
|
|
29
172
|
createOnboardingKnowledgeApi: () => createOnboardingKnowledgeApi,
|
|
173
|
+
createOrgApi: () => createOrgApi,
|
|
30
174
|
createOrgSettingsApi: () => createOrgSettingsApi,
|
|
31
175
|
createOrganizationApi: () => createOrganizationApi,
|
|
32
176
|
createPaymentSessionApi: () => createPaymentSessionApi,
|
|
33
177
|
createPortalSessionApi: () => createPortalSessionApi,
|
|
178
|
+
createUserApi: () => createUserApi,
|
|
179
|
+
deleteOrgApi: () => deleteOrgApi,
|
|
180
|
+
deleteUserApi: () => deleteUserApi,
|
|
34
181
|
getBillingPlansApi: () => getBillingPlansApi,
|
|
35
182
|
getCreditsApi: () => getCreditsApi,
|
|
183
|
+
getInviteApi: () => getInviteApi,
|
|
36
184
|
getOnboardingStatusApi: () => getOnboardingStatusApi,
|
|
185
|
+
getOrgApi: () => getOrgApi,
|
|
186
|
+
getOrgInfoApi: () => getOrgInfoApi,
|
|
37
187
|
getOrgSettingsApi: () => getOrgSettingsApi,
|
|
38
188
|
getSubscriptionApi: () => getSubscriptionApi,
|
|
189
|
+
getUserApi: () => getUserApi,
|
|
190
|
+
getUserByEmailApi: () => getUserByEmailApi,
|
|
191
|
+
getUserSettingsApi: () => getUserSettingsApi,
|
|
192
|
+
listInvitesApi: () => listInvitesApi,
|
|
193
|
+
listOrgsApi: () => listOrgsApi,
|
|
194
|
+
listUsersApi: () => listUsersApi,
|
|
39
195
|
provisionDefaultAgentsApi: () => provisionDefaultAgentsApi,
|
|
40
196
|
provisionEntitiesApi: () => provisionEntitiesApi,
|
|
41
197
|
provisionWorkflowsApi: () => provisionWorkflowsApi,
|
|
42
198
|
purchaseCreditsApi: () => purchaseCreditsApi,
|
|
199
|
+
resendInviteApi: () => resendInviteApi,
|
|
200
|
+
revokeInviteApi: () => revokeInviteApi,
|
|
201
|
+
sendInviteApi: () => sendInviteApi,
|
|
202
|
+
sendInvitesApi: () => sendInvitesApi,
|
|
43
203
|
sendOnboardingInvitesApi: () => sendOnboardingInvitesApi,
|
|
44
204
|
skipOnboardingStepApi: () => skipOnboardingStepApi,
|
|
45
205
|
startOnboardingApi: () => startOnboardingApi,
|
|
46
206
|
updateEntityDefinitionsApi: () => updateEntityDefinitionsApi,
|
|
47
207
|
updateOrgAgentsApi: () => updateOrgAgentsApi,
|
|
208
|
+
updateOrgApi: () => updateOrgApi,
|
|
48
209
|
updateOrgSettingsApi: () => updateOrgSettingsApi,
|
|
210
|
+
updateUserApi: () => updateUserApi,
|
|
211
|
+
updateUserSettingsApi: () => updateUserSettingsApi,
|
|
49
212
|
updateWorkflowDefinitionsApi: () => updateWorkflowDefinitionsApi
|
|
50
213
|
});
|
|
51
214
|
module.exports = __toCommonJS(index_exports);
|
|
52
215
|
|
|
216
|
+
// models/admin.ts
|
|
217
|
+
var OrgStatusActive = "active";
|
|
218
|
+
var OrgStatusSuspended = "suspended";
|
|
219
|
+
var OrgStatuses = {
|
|
220
|
+
active: { value: "active", label: "Active" },
|
|
221
|
+
suspended: { value: "suspended", label: "Suspended" }
|
|
222
|
+
};
|
|
223
|
+
var OrgTypeSelfServe = "self-serve";
|
|
224
|
+
var OrgTypeEnterprise = "enterprise";
|
|
225
|
+
var OrgTypes = {
|
|
226
|
+
"self-serve": { value: "self-serve", label: "Self-Serve" },
|
|
227
|
+
enterprise: { value: "enterprise", label: "Enterprise" }
|
|
228
|
+
};
|
|
229
|
+
var OrgSizeSolo = "solo";
|
|
230
|
+
var OrgSizeSmall = "small";
|
|
231
|
+
var OrgSizeMedium = "medium";
|
|
232
|
+
var OrgSizeLarge = "large";
|
|
233
|
+
var OrgSizeEnterprise = "enterprise";
|
|
234
|
+
var OrgSizes = {
|
|
235
|
+
solo: { value: "solo", label: "Just me" },
|
|
236
|
+
small: { value: "small", label: "2-10" },
|
|
237
|
+
medium: { value: "medium", label: "11-50" },
|
|
238
|
+
large: { value: "large", label: "51-200" },
|
|
239
|
+
enterprise: { value: "enterprise", label: "200+" }
|
|
240
|
+
};
|
|
241
|
+
var OnboardingStatusPending = "pending";
|
|
242
|
+
var OnboardingStatusInProgress = "in_progress";
|
|
243
|
+
var OnboardingStatusCompleted = "completed";
|
|
244
|
+
var OnboardingStatusSkipped = "skipped";
|
|
245
|
+
var OnboardingStatusLegacy = "legacy";
|
|
246
|
+
var OnboardingStatuses = {
|
|
247
|
+
pending: { value: "pending", label: "Pending" },
|
|
248
|
+
in_progress: { value: "in_progress", label: "In Progress" },
|
|
249
|
+
completed: { value: "completed", label: "Completed" },
|
|
250
|
+
skipped: { value: "skipped", label: "Skipped" },
|
|
251
|
+
legacy: { value: "legacy", label: "Legacy" }
|
|
252
|
+
};
|
|
253
|
+
var ProvisioningStatusPending = "pending";
|
|
254
|
+
var ProvisioningStatusRunning = "running";
|
|
255
|
+
var ProvisioningStatusCompleted = "completed";
|
|
256
|
+
var ProvisioningStatusFailed = "failed";
|
|
257
|
+
var ProvisioningStatuses = {
|
|
258
|
+
pending: { value: "pending", label: "Pending" },
|
|
259
|
+
running: { value: "running", label: "Running" },
|
|
260
|
+
completed: { value: "completed", label: "Completed" },
|
|
261
|
+
failed: { value: "failed", label: "Failed" }
|
|
262
|
+
};
|
|
263
|
+
var OrgSubscriptionStatusTrialing = "trialing";
|
|
264
|
+
var OrgSubscriptionStatusActive = "active";
|
|
265
|
+
var OrgSubscriptionStatusPastDue = "past_due";
|
|
266
|
+
var OrgSubscriptionStatusCancelled = "cancelled";
|
|
267
|
+
var OrgSubscriptionStatusUnpaid = "unpaid";
|
|
268
|
+
var OrgSubscriptionStatuses = {
|
|
269
|
+
trialing: { value: "trialing", label: "Trialing" },
|
|
270
|
+
active: { value: "active", label: "Active" },
|
|
271
|
+
past_due: { value: "past_due", label: "Past Due" },
|
|
272
|
+
cancelled: { value: "cancelled", label: "Cancelled" },
|
|
273
|
+
unpaid: { value: "unpaid", label: "Unpaid" }
|
|
274
|
+
};
|
|
275
|
+
var ThemeOptions = {
|
|
276
|
+
system: { value: "system", label: "System" },
|
|
277
|
+
light: { value: "light", label: "Light" },
|
|
278
|
+
dark: { value: "dark", label: "Dark" }
|
|
279
|
+
};
|
|
280
|
+
var UserSourceSignup = "signup";
|
|
281
|
+
var UserSourceInvite = "invite";
|
|
282
|
+
var UserSourceSSO = "sso";
|
|
283
|
+
var UserSourceAPI = "api";
|
|
284
|
+
var UserSources = {
|
|
285
|
+
signup: { value: "signup", label: "Signup" },
|
|
286
|
+
invite: { value: "invite", label: "Invite" },
|
|
287
|
+
sso: { value: "sso", label: "SSO" },
|
|
288
|
+
api: { value: "api", label: "API" }
|
|
289
|
+
};
|
|
290
|
+
var InviteStatusPending = "pending";
|
|
291
|
+
var InviteStatusAccepted = "accepted";
|
|
292
|
+
var InviteStatusExpired = "expired";
|
|
293
|
+
var InviteStatusRevoked = "revoked";
|
|
294
|
+
var InviteStatuses = {
|
|
295
|
+
pending: { value: "pending", label: "Pending" },
|
|
296
|
+
accepted: { value: "accepted", label: "Accepted" },
|
|
297
|
+
expired: { value: "expired", label: "Expired" },
|
|
298
|
+
revoked: { value: "revoked", label: "Revoked" }
|
|
299
|
+
};
|
|
300
|
+
var SubscriptionPlatformStripe = "stripe";
|
|
301
|
+
var SubscriptionPlatformCustom = "custom";
|
|
302
|
+
var SystemAppAdmin = "admin";
|
|
303
|
+
var SystemAppCRM = "crm";
|
|
304
|
+
var SystemAppHelpdesk = "helpdesk";
|
|
305
|
+
var SystemAppMarketing = "marketing";
|
|
306
|
+
var SystemAppWorkflow = "workflow";
|
|
307
|
+
var SystemAppAnalytics = "analytics";
|
|
308
|
+
var SystemAppKnowledgeGraph = "knowledge-graph";
|
|
309
|
+
var SystemAppDocumentProcessor = "document-processor";
|
|
310
|
+
var SystemApps = {
|
|
311
|
+
admin: { value: "admin", label: "Admin" },
|
|
312
|
+
crm: { value: "crm", label: "CRM" },
|
|
313
|
+
helpdesk: { value: "helpdesk", label: "Helpdesk" },
|
|
314
|
+
marketing: { value: "marketing", label: "Marketing" },
|
|
315
|
+
workflow: { value: "workflow", label: "Workflow" },
|
|
316
|
+
analytics: { value: "analytics", label: "Analytics" },
|
|
317
|
+
"knowledge-graph": { value: "knowledge-graph", label: "Knowledge Graph" },
|
|
318
|
+
"document-processor": { value: "document-processor", label: "Document Processor" }
|
|
319
|
+
};
|
|
320
|
+
var AdminOrgCreate = "admin.orgs.create";
|
|
321
|
+
var AdminOrgList = "admin.orgs.list";
|
|
322
|
+
var AdminOrgListByMetadata = "admin.orgs.listByMetadata";
|
|
323
|
+
var AdminOrgGet = "admin.orgs.get";
|
|
324
|
+
var AdminOrgGetInfo = "admin.orgs.getInfo";
|
|
325
|
+
var AdminOrgGetByDomain = "admin.orgs.getByDomain";
|
|
326
|
+
var AdminOrgUpdate = "admin.orgs.update";
|
|
327
|
+
var AdminOrgDelete = "admin.orgs.delete";
|
|
328
|
+
var AdminOrgCreated = "system.admin.org.created";
|
|
329
|
+
var AdminOrgRolesGet = "admin.orgRoles.get";
|
|
330
|
+
var AdminOrgRolesCreate = "admin.orgRoles.create";
|
|
331
|
+
var AdminOrgRolesUpdate = "admin.orgRoles.update";
|
|
332
|
+
var AdminOrgRolesDelete = "admin.orgRoles.delete";
|
|
333
|
+
var AdminUsersGet = "admin.users.get";
|
|
334
|
+
var AdminUsersGetForOrg = "admin.users.getUsersForOrg";
|
|
335
|
+
var AdminUsersGetOne = "admin.users.getOne";
|
|
336
|
+
var AdminUsersGetOneByEmail = "admin.users.getOneByEmail";
|
|
337
|
+
var AdminUsersCreate = "admin.users.create";
|
|
338
|
+
var AdminUsersUpdate = "admin.users.update";
|
|
339
|
+
var AdminUsersDelete = "admin.users.delete";
|
|
340
|
+
var AdminUsersUpdateSettings = "admin.users.updateSettings";
|
|
341
|
+
var AdminUsersGetSettings = "admin.users.getSettings";
|
|
342
|
+
var AdminTeamsCreate = "admin.teams.create";
|
|
343
|
+
var AdminTeamsGetOne = "admin.teams.getOne";
|
|
344
|
+
var AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
|
|
345
|
+
var AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
|
|
346
|
+
|
|
347
|
+
// models/billing.ts
|
|
348
|
+
var BillingRecordEvent = "billing.events.record";
|
|
349
|
+
var BillingGetUsageReport = "billing.usage.report";
|
|
350
|
+
var BillingGetInvoice = "billing.invoice.get";
|
|
351
|
+
var BillingProcessBillingPeriod = "billing.period.process";
|
|
352
|
+
var UsageGetCurrentUsage = "billing.usage.current";
|
|
353
|
+
var UsageGetUsageHistory = "billing.usage.history";
|
|
354
|
+
var UsageGetCostBreakdown = "billing.usage.breakdown";
|
|
355
|
+
var UsageGetTopCostCenters = "billing.usage.top_centers";
|
|
356
|
+
var RulesGetBillingRules = "billing.rules.get";
|
|
357
|
+
var RulesCreateBillingRule = "billing.rules.create";
|
|
358
|
+
var RulesUpdateBillingRule = "billing.rules.update";
|
|
359
|
+
var RulesDeleteBillingRule = "billing.rules.delete";
|
|
360
|
+
var SubscriptionCreate = "billing.subscription.create";
|
|
361
|
+
var SubscriptionGet = "billing.subscription.get";
|
|
362
|
+
var SubscriptionUpdate = "billing.subscription.update";
|
|
363
|
+
var SubscriptionCancel = "billing.subscription.cancel";
|
|
364
|
+
var SubscriptionList = "billing.subscription.list";
|
|
365
|
+
var SubscriptionCheckout = "billing.subscription.checkout";
|
|
366
|
+
var PaymentLinkCreate = "billing.payment-link.create";
|
|
367
|
+
var PaymentLinkList = "billing.payment-link.list";
|
|
368
|
+
var PortalSessionCreate = "billing.portal.create";
|
|
369
|
+
var CustomerCreate = "billing.customer.create";
|
|
370
|
+
var CustomerGet = "billing.customer.get";
|
|
371
|
+
var CustomerUpdate = "billing.customer.update";
|
|
372
|
+
var CreditsBalance = "billing.credits.balance";
|
|
373
|
+
var CreditsPurchase = "billing.credits.purchase";
|
|
374
|
+
var CreditsConsume = "billing.credits.consume";
|
|
375
|
+
var PlansGet = "billing.plans.get";
|
|
376
|
+
var PlansGetAll = "billing.plans.list";
|
|
377
|
+
var UsageAlertThreshold = "billing.usage.alert";
|
|
378
|
+
var WebhookSubscriptionCreated = "billing.webhook.subscription.created";
|
|
379
|
+
var WebhookSubscriptionUpdated = "billing.webhook.subscription.updated";
|
|
380
|
+
var WebhookSubscriptionCanceled = "billing.webhook.subscription.canceled";
|
|
381
|
+
var WebhookInvoicePaid = "billing.webhook.invoice.paid";
|
|
382
|
+
var WebhookInvoiceFailed = "billing.webhook.invoice.failed";
|
|
383
|
+
var WebhookPaymentSucceeded = "billing.webhook.payment.succeeded";
|
|
384
|
+
var AffiliateCreate = "billing.affiliate.create";
|
|
385
|
+
var AffiliateGet = "billing.affiliate.get";
|
|
386
|
+
var AffiliateList = "billing.affiliate.list";
|
|
387
|
+
var AffiliateUpdate = "billing.affiliate.update";
|
|
388
|
+
var AffiliateOnboard = "billing.affiliate.onboard";
|
|
389
|
+
var AffiliateCommissions = "billing.affiliate.commissions";
|
|
390
|
+
var AffiliateAnalytics = "billing.affiliate.analytics";
|
|
391
|
+
var AnalyticsRevenue = "billing.analytics.revenue";
|
|
392
|
+
var AnalyticsUsage = "billing.analytics.usage";
|
|
393
|
+
var AnalyticsChurn = "billing.analytics.churn";
|
|
394
|
+
var BillingSubjectPrefix = "billing";
|
|
395
|
+
var BillingEventsRecord = "billing.events.record";
|
|
396
|
+
var BillingUsageReport = "billing.usage.report";
|
|
397
|
+
var BillingUsageCurrent = "billing.usage.current";
|
|
398
|
+
var BillingUsageHistory = "billing.usage.history";
|
|
399
|
+
var BillingUsageCostBreakdown = "billing.usage.breakdown";
|
|
400
|
+
var BillingUsageTopCenters = "billing.usage.top_centers";
|
|
401
|
+
var BillingInvoiceGet = "billing.invoice.get";
|
|
402
|
+
var BillingInvoiceCreate = "billing.invoice.create";
|
|
403
|
+
var BillingInvoiceProcess = "billing.invoice.process";
|
|
404
|
+
var BillingPeriodCreate = "billing.period.create";
|
|
405
|
+
var BillingPeriodClose = "billing.period.close";
|
|
406
|
+
var BillingPeriodProcess = "billing.period.process";
|
|
407
|
+
var BillingRulesGet = "billing.rules.get";
|
|
408
|
+
var BillingRulesCreate = "billing.rules.create";
|
|
409
|
+
var BillingRulesUpdate = "billing.rules.update";
|
|
410
|
+
var BillingRulesDelete = "billing.rules.delete";
|
|
411
|
+
var BillingOrgProvision = "billing.org.provision";
|
|
412
|
+
var BillingHealthCheck = "billing.health.check";
|
|
413
|
+
|
|
53
414
|
// api/index.ts
|
|
415
|
+
var import_browser4 = require("@elqnt/api-client/browser");
|
|
416
|
+
|
|
417
|
+
// api/orgs.ts
|
|
54
418
|
var import_browser = require("@elqnt/api-client/browser");
|
|
419
|
+
async function listOrgsApi(options) {
|
|
420
|
+
return (0, import_browser.browserApiRequest)("/api/v1/admin/orgs", {
|
|
421
|
+
method: "GET",
|
|
422
|
+
...options
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
async function createOrgApi(org, options) {
|
|
426
|
+
return (0, import_browser.browserApiRequest)("/api/v1/admin/orgs", {
|
|
427
|
+
method: "POST",
|
|
428
|
+
body: org,
|
|
429
|
+
...options
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
async function getOrgApi(orgId, options) {
|
|
433
|
+
return (0, import_browser.browserApiRequest)(`/api/v1/admin/orgs/${orgId}`, {
|
|
434
|
+
method: "GET",
|
|
435
|
+
...options
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
async function updateOrgApi(orgId, updates, options) {
|
|
439
|
+
return (0, import_browser.browserApiRequest)(`/api/v1/admin/orgs/${orgId}`, {
|
|
440
|
+
method: "PUT",
|
|
441
|
+
body: updates,
|
|
442
|
+
...options
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
async function deleteOrgApi(orgId, options) {
|
|
446
|
+
return (0, import_browser.browserApiRequest)(`/api/v1/admin/orgs/${orgId}`, {
|
|
447
|
+
method: "DELETE",
|
|
448
|
+
...options
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
async function getOrgInfoApi(orgId, options) {
|
|
452
|
+
return (0, import_browser.browserApiRequest)(`/api/v1/admin/orgs/${orgId}/info`, {
|
|
453
|
+
method: "GET",
|
|
454
|
+
...options
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// api/users.ts
|
|
459
|
+
var import_browser2 = require("@elqnt/api-client/browser");
|
|
460
|
+
async function listUsersApi(options) {
|
|
461
|
+
return (0, import_browser2.browserApiRequest)("/api/v1/admin/users", {
|
|
462
|
+
method: "GET",
|
|
463
|
+
...options
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
async function createUserApi(user, options) {
|
|
467
|
+
return (0, import_browser2.browserApiRequest)("/api/v1/admin/users", {
|
|
468
|
+
method: "POST",
|
|
469
|
+
body: user,
|
|
470
|
+
...options
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
async function getUserApi(userId, options) {
|
|
474
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/${userId}`, {
|
|
475
|
+
method: "GET",
|
|
476
|
+
...options
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
async function getUserByEmailApi(email, options) {
|
|
480
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/by-email?email=${encodeURIComponent(email)}`, {
|
|
481
|
+
method: "GET",
|
|
482
|
+
...options
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
async function updateUserApi(userId, updates, options) {
|
|
486
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/${userId}`, {
|
|
487
|
+
method: "PUT",
|
|
488
|
+
body: updates,
|
|
489
|
+
...options
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
async function deleteUserApi(userId, options) {
|
|
493
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/${userId}`, {
|
|
494
|
+
method: "DELETE",
|
|
495
|
+
...options
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
async function getUserSettingsApi(userId, options) {
|
|
499
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/${userId}/settings`, {
|
|
500
|
+
method: "GET",
|
|
501
|
+
...options
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
async function updateUserSettingsApi(userId, settings, options) {
|
|
505
|
+
return (0, import_browser2.browserApiRequest)(`/api/v1/admin/users/${userId}/settings`, {
|
|
506
|
+
method: "PUT",
|
|
507
|
+
body: settings,
|
|
508
|
+
...options
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
// api/invites.ts
|
|
513
|
+
var import_browser3 = require("@elqnt/api-client/browser");
|
|
514
|
+
async function listInvitesApi(options) {
|
|
515
|
+
return (0, import_browser3.browserApiRequest)("/api/v1/admin/invites", {
|
|
516
|
+
method: "GET",
|
|
517
|
+
...options
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
async function sendInvitesApi(invites, options) {
|
|
521
|
+
return (0, import_browser3.browserApiRequest)("/api/v1/admin/invites", {
|
|
522
|
+
method: "POST",
|
|
523
|
+
body: { invites },
|
|
524
|
+
...options
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
async function sendInviteApi(invite, options) {
|
|
528
|
+
return (0, import_browser3.browserApiRequest)("/api/v1/admin/invites/single", {
|
|
529
|
+
method: "POST",
|
|
530
|
+
body: invite,
|
|
531
|
+
...options
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
async function getInviteApi(inviteId, options) {
|
|
535
|
+
return (0, import_browser3.browserApiRequest)(`/api/v1/admin/invites/${inviteId}`, {
|
|
536
|
+
method: "GET",
|
|
537
|
+
...options
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
async function resendInviteApi(inviteId, options) {
|
|
541
|
+
return (0, import_browser3.browserApiRequest)(`/api/v1/admin/invites/${inviteId}/resend`, {
|
|
542
|
+
method: "POST",
|
|
543
|
+
...options
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
async function revokeInviteApi(inviteId, options) {
|
|
547
|
+
return (0, import_browser3.browserApiRequest)(`/api/v1/admin/invites/${inviteId}`, {
|
|
548
|
+
method: "DELETE",
|
|
549
|
+
...options
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
async function acceptInviteApi(inviteId, options) {
|
|
553
|
+
return (0, import_browser3.browserApiRequest)(`/api/v1/admin/invites/${inviteId}/accept`, {
|
|
554
|
+
method: "POST",
|
|
555
|
+
...options
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// api/index.ts
|
|
55
560
|
async function getOnboardingStatusApi(options) {
|
|
56
|
-
return (0,
|
|
561
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/status", {
|
|
57
562
|
method: "GET",
|
|
58
563
|
...options,
|
|
59
564
|
orgId: options.orgId || ""
|
|
60
565
|
});
|
|
61
566
|
}
|
|
62
567
|
async function startOnboardingApi(options) {
|
|
63
|
-
return (0,
|
|
568
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/start", {
|
|
64
569
|
method: "POST",
|
|
65
570
|
body: {},
|
|
66
571
|
...options,
|
|
@@ -68,7 +573,7 @@ async function startOnboardingApi(options) {
|
|
|
68
573
|
});
|
|
69
574
|
}
|
|
70
575
|
async function createPaymentSessionApi(params, options) {
|
|
71
|
-
return (0,
|
|
576
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/step/payment", {
|
|
72
577
|
method: "POST",
|
|
73
578
|
body: params,
|
|
74
579
|
...options,
|
|
@@ -76,7 +581,7 @@ async function createPaymentSessionApi(params, options) {
|
|
|
76
581
|
});
|
|
77
582
|
}
|
|
78
583
|
async function createOrganizationApi(org, options) {
|
|
79
|
-
return (0,
|
|
584
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/step/organization", {
|
|
80
585
|
method: "POST",
|
|
81
586
|
body: org,
|
|
82
587
|
...options,
|
|
@@ -84,7 +589,7 @@ async function createOrganizationApi(org, options) {
|
|
|
84
589
|
});
|
|
85
590
|
}
|
|
86
591
|
async function sendOnboardingInvitesApi(invites, options) {
|
|
87
|
-
return (0,
|
|
592
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/step/invites", {
|
|
88
593
|
method: "POST",
|
|
89
594
|
body: { invites },
|
|
90
595
|
...options,
|
|
@@ -92,7 +597,7 @@ async function sendOnboardingInvitesApi(invites, options) {
|
|
|
92
597
|
});
|
|
93
598
|
}
|
|
94
599
|
async function createOnboardingKnowledgeApi(knowledge, options) {
|
|
95
|
-
return (0,
|
|
600
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/step/knowledge", {
|
|
96
601
|
method: "POST",
|
|
97
602
|
body: knowledge,
|
|
98
603
|
...options,
|
|
@@ -100,7 +605,7 @@ async function createOnboardingKnowledgeApi(knowledge, options) {
|
|
|
100
605
|
});
|
|
101
606
|
}
|
|
102
607
|
async function createOnboardingAgentApi(agent, options) {
|
|
103
|
-
return (0,
|
|
608
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/step/agent", {
|
|
104
609
|
method: "POST",
|
|
105
610
|
body: agent,
|
|
106
611
|
...options,
|
|
@@ -108,7 +613,7 @@ async function createOnboardingAgentApi(agent, options) {
|
|
|
108
613
|
});
|
|
109
614
|
}
|
|
110
615
|
async function createAgentWithSkillsApi(payload, options) {
|
|
111
|
-
return (0,
|
|
616
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/agent-with-skills", {
|
|
112
617
|
method: "POST",
|
|
113
618
|
body: payload,
|
|
114
619
|
...options,
|
|
@@ -116,7 +621,7 @@ async function createAgentWithSkillsApi(payload, options) {
|
|
|
116
621
|
});
|
|
117
622
|
}
|
|
118
623
|
async function completeOnboardingApi(options) {
|
|
119
|
-
return (0,
|
|
624
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/complete", {
|
|
120
625
|
method: "POST",
|
|
121
626
|
body: {},
|
|
122
627
|
...options,
|
|
@@ -124,7 +629,7 @@ async function completeOnboardingApi(options) {
|
|
|
124
629
|
});
|
|
125
630
|
}
|
|
126
631
|
async function skipOnboardingStepApi(step, options) {
|
|
127
|
-
return (0,
|
|
632
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/onboarding/skip-step", {
|
|
128
633
|
method: "POST",
|
|
129
634
|
body: { step },
|
|
130
635
|
...options,
|
|
@@ -132,108 +637,108 @@ async function skipOnboardingStepApi(step, options) {
|
|
|
132
637
|
});
|
|
133
638
|
}
|
|
134
639
|
async function getOrgSettingsApi(options) {
|
|
135
|
-
return (0,
|
|
640
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/settings", {
|
|
136
641
|
method: "GET",
|
|
137
642
|
...options
|
|
138
643
|
});
|
|
139
644
|
}
|
|
140
645
|
async function createOrgSettingsApi(settings, options) {
|
|
141
|
-
return (0,
|
|
646
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/settings", {
|
|
142
647
|
method: "POST",
|
|
143
648
|
body: settings,
|
|
144
649
|
...options
|
|
145
650
|
});
|
|
146
651
|
}
|
|
147
652
|
async function updateOrgSettingsApi(settings, options) {
|
|
148
|
-
return (0,
|
|
653
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/settings", {
|
|
149
654
|
method: "PUT",
|
|
150
655
|
body: settings,
|
|
151
656
|
...options
|
|
152
657
|
});
|
|
153
658
|
}
|
|
154
659
|
async function updateOrgAgentsApi(agentIds, options) {
|
|
155
|
-
return (0,
|
|
660
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/agents", {
|
|
156
661
|
method: "PUT",
|
|
157
662
|
body: { agentIds },
|
|
158
663
|
...options
|
|
159
664
|
});
|
|
160
665
|
}
|
|
161
666
|
async function updateEntityDefinitionsApi(entityNames, options) {
|
|
162
|
-
return (0,
|
|
667
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/entities", {
|
|
163
668
|
method: "PUT",
|
|
164
669
|
body: { entityNames },
|
|
165
670
|
...options
|
|
166
671
|
});
|
|
167
672
|
}
|
|
168
673
|
async function updateWorkflowDefinitionsApi(workflowIds, options) {
|
|
169
|
-
return (0,
|
|
674
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/org/workflows", {
|
|
170
675
|
method: "PUT",
|
|
171
676
|
body: { workflowIds },
|
|
172
677
|
...options
|
|
173
678
|
});
|
|
174
679
|
}
|
|
175
680
|
async function getBillingPlansApi(options) {
|
|
176
|
-
return (0,
|
|
681
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/plans", {
|
|
177
682
|
method: "GET",
|
|
178
683
|
...options
|
|
179
684
|
});
|
|
180
685
|
}
|
|
181
686
|
async function getSubscriptionApi(options) {
|
|
182
|
-
return (0,
|
|
687
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/subscription", {
|
|
183
688
|
method: "GET",
|
|
184
689
|
...options
|
|
185
690
|
});
|
|
186
691
|
}
|
|
187
692
|
async function getCreditsApi(options) {
|
|
188
|
-
return (0,
|
|
693
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/credits", {
|
|
189
694
|
method: "GET",
|
|
190
695
|
...options
|
|
191
696
|
});
|
|
192
697
|
}
|
|
193
698
|
async function createCheckoutSessionApi(params, options) {
|
|
194
|
-
return (0,
|
|
699
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/checkout", {
|
|
195
700
|
method: "POST",
|
|
196
701
|
body: params,
|
|
197
702
|
...options
|
|
198
703
|
});
|
|
199
704
|
}
|
|
200
705
|
async function createPortalSessionApi(params, options) {
|
|
201
|
-
return (0,
|
|
706
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/portal", {
|
|
202
707
|
method: "POST",
|
|
203
708
|
body: params,
|
|
204
709
|
...options
|
|
205
710
|
});
|
|
206
711
|
}
|
|
207
712
|
async function cancelSubscriptionApi(options) {
|
|
208
|
-
return (0,
|
|
713
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/subscription/cancel", {
|
|
209
714
|
method: "POST",
|
|
210
715
|
body: {},
|
|
211
716
|
...options
|
|
212
717
|
});
|
|
213
718
|
}
|
|
214
719
|
async function purchaseCreditsApi(params, options) {
|
|
215
|
-
return (0,
|
|
720
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/billing/credits/purchase", {
|
|
216
721
|
method: "POST",
|
|
217
722
|
body: params,
|
|
218
723
|
...options
|
|
219
724
|
});
|
|
220
725
|
}
|
|
221
726
|
async function provisionDefaultAgentsApi(definitions, options) {
|
|
222
|
-
return (0,
|
|
727
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/admin/provision/agents", {
|
|
223
728
|
method: "POST",
|
|
224
729
|
body: { definitions },
|
|
225
730
|
...options
|
|
226
731
|
});
|
|
227
732
|
}
|
|
228
733
|
async function provisionEntitiesApi(definitions, options) {
|
|
229
|
-
return (0,
|
|
734
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/admin/entities/update", {
|
|
230
735
|
method: "POST",
|
|
231
736
|
body: { definitions },
|
|
232
737
|
...options
|
|
233
738
|
});
|
|
234
739
|
}
|
|
235
740
|
async function provisionWorkflowsApi(definitions, options) {
|
|
236
|
-
return (0,
|
|
741
|
+
return (0, import_browser4.browserApiRequest)("/api/v1/admin/provision/workflows", {
|
|
237
742
|
method: "POST",
|
|
238
743
|
body: { definitions },
|
|
239
744
|
...options
|
|
@@ -241,6 +746,149 @@ async function provisionWorkflowsApi(definitions, options) {
|
|
|
241
746
|
}
|
|
242
747
|
// Annotate the CommonJS export names for ESM import in node:
|
|
243
748
|
0 && (module.exports = {
|
|
749
|
+
AdminOrgCreate,
|
|
750
|
+
AdminOrgCreated,
|
|
751
|
+
AdminOrgDelete,
|
|
752
|
+
AdminOrgGet,
|
|
753
|
+
AdminOrgGetByDomain,
|
|
754
|
+
AdminOrgGetInfo,
|
|
755
|
+
AdminOrgList,
|
|
756
|
+
AdminOrgListByMetadata,
|
|
757
|
+
AdminOrgRolesCreate,
|
|
758
|
+
AdminOrgRolesDelete,
|
|
759
|
+
AdminOrgRolesGet,
|
|
760
|
+
AdminOrgRolesUpdate,
|
|
761
|
+
AdminOrgUpdate,
|
|
762
|
+
AdminTeamsCreate,
|
|
763
|
+
AdminTeamsGetForOrg,
|
|
764
|
+
AdminTeamsGetOne,
|
|
765
|
+
AdminTeamsUpdateOnboarding,
|
|
766
|
+
AdminUsersCreate,
|
|
767
|
+
AdminUsersDelete,
|
|
768
|
+
AdminUsersGet,
|
|
769
|
+
AdminUsersGetForOrg,
|
|
770
|
+
AdminUsersGetOne,
|
|
771
|
+
AdminUsersGetOneByEmail,
|
|
772
|
+
AdminUsersGetSettings,
|
|
773
|
+
AdminUsersUpdate,
|
|
774
|
+
AdminUsersUpdateSettings,
|
|
775
|
+
AffiliateAnalytics,
|
|
776
|
+
AffiliateCommissions,
|
|
777
|
+
AffiliateCreate,
|
|
778
|
+
AffiliateGet,
|
|
779
|
+
AffiliateList,
|
|
780
|
+
AffiliateOnboard,
|
|
781
|
+
AffiliateUpdate,
|
|
782
|
+
AnalyticsChurn,
|
|
783
|
+
AnalyticsRevenue,
|
|
784
|
+
AnalyticsUsage,
|
|
785
|
+
BillingEventsRecord,
|
|
786
|
+
BillingGetInvoice,
|
|
787
|
+
BillingGetUsageReport,
|
|
788
|
+
BillingHealthCheck,
|
|
789
|
+
BillingInvoiceCreate,
|
|
790
|
+
BillingInvoiceGet,
|
|
791
|
+
BillingInvoiceProcess,
|
|
792
|
+
BillingOrgProvision,
|
|
793
|
+
BillingPeriodClose,
|
|
794
|
+
BillingPeriodCreate,
|
|
795
|
+
BillingPeriodProcess,
|
|
796
|
+
BillingProcessBillingPeriod,
|
|
797
|
+
BillingRecordEvent,
|
|
798
|
+
BillingRulesCreate,
|
|
799
|
+
BillingRulesDelete,
|
|
800
|
+
BillingRulesGet,
|
|
801
|
+
BillingRulesUpdate,
|
|
802
|
+
BillingSubjectPrefix,
|
|
803
|
+
BillingUsageCostBreakdown,
|
|
804
|
+
BillingUsageCurrent,
|
|
805
|
+
BillingUsageHistory,
|
|
806
|
+
BillingUsageReport,
|
|
807
|
+
BillingUsageTopCenters,
|
|
808
|
+
CreditsBalance,
|
|
809
|
+
CreditsConsume,
|
|
810
|
+
CreditsPurchase,
|
|
811
|
+
CustomerCreate,
|
|
812
|
+
CustomerGet,
|
|
813
|
+
CustomerUpdate,
|
|
814
|
+
InviteStatusAccepted,
|
|
815
|
+
InviteStatusExpired,
|
|
816
|
+
InviteStatusPending,
|
|
817
|
+
InviteStatusRevoked,
|
|
818
|
+
InviteStatuses,
|
|
819
|
+
OnboardingStatusCompleted,
|
|
820
|
+
OnboardingStatusInProgress,
|
|
821
|
+
OnboardingStatusLegacy,
|
|
822
|
+
OnboardingStatusPending,
|
|
823
|
+
OnboardingStatusSkipped,
|
|
824
|
+
OnboardingStatuses,
|
|
825
|
+
OrgSizeEnterprise,
|
|
826
|
+
OrgSizeLarge,
|
|
827
|
+
OrgSizeMedium,
|
|
828
|
+
OrgSizeSmall,
|
|
829
|
+
OrgSizeSolo,
|
|
830
|
+
OrgSizes,
|
|
831
|
+
OrgStatusActive,
|
|
832
|
+
OrgStatusSuspended,
|
|
833
|
+
OrgStatuses,
|
|
834
|
+
OrgSubscriptionStatusActive,
|
|
835
|
+
OrgSubscriptionStatusCancelled,
|
|
836
|
+
OrgSubscriptionStatusPastDue,
|
|
837
|
+
OrgSubscriptionStatusTrialing,
|
|
838
|
+
OrgSubscriptionStatusUnpaid,
|
|
839
|
+
OrgSubscriptionStatuses,
|
|
840
|
+
OrgTypeEnterprise,
|
|
841
|
+
OrgTypeSelfServe,
|
|
842
|
+
OrgTypes,
|
|
843
|
+
PaymentLinkCreate,
|
|
844
|
+
PaymentLinkList,
|
|
845
|
+
PlansGet,
|
|
846
|
+
PlansGetAll,
|
|
847
|
+
PortalSessionCreate,
|
|
848
|
+
ProvisioningStatusCompleted,
|
|
849
|
+
ProvisioningStatusFailed,
|
|
850
|
+
ProvisioningStatusPending,
|
|
851
|
+
ProvisioningStatusRunning,
|
|
852
|
+
ProvisioningStatuses,
|
|
853
|
+
RulesCreateBillingRule,
|
|
854
|
+
RulesDeleteBillingRule,
|
|
855
|
+
RulesGetBillingRules,
|
|
856
|
+
RulesUpdateBillingRule,
|
|
857
|
+
SubscriptionCancel,
|
|
858
|
+
SubscriptionCheckout,
|
|
859
|
+
SubscriptionCreate,
|
|
860
|
+
SubscriptionGet,
|
|
861
|
+
SubscriptionList,
|
|
862
|
+
SubscriptionPlatformCustom,
|
|
863
|
+
SubscriptionPlatformStripe,
|
|
864
|
+
SubscriptionUpdate,
|
|
865
|
+
SystemAppAdmin,
|
|
866
|
+
SystemAppAnalytics,
|
|
867
|
+
SystemAppCRM,
|
|
868
|
+
SystemAppDocumentProcessor,
|
|
869
|
+
SystemAppHelpdesk,
|
|
870
|
+
SystemAppKnowledgeGraph,
|
|
871
|
+
SystemAppMarketing,
|
|
872
|
+
SystemAppWorkflow,
|
|
873
|
+
SystemApps,
|
|
874
|
+
ThemeOptions,
|
|
875
|
+
UsageAlertThreshold,
|
|
876
|
+
UsageGetCostBreakdown,
|
|
877
|
+
UsageGetCurrentUsage,
|
|
878
|
+
UsageGetTopCostCenters,
|
|
879
|
+
UsageGetUsageHistory,
|
|
880
|
+
UserSourceAPI,
|
|
881
|
+
UserSourceInvite,
|
|
882
|
+
UserSourceSSO,
|
|
883
|
+
UserSourceSignup,
|
|
884
|
+
UserSources,
|
|
885
|
+
WebhookInvoiceFailed,
|
|
886
|
+
WebhookInvoicePaid,
|
|
887
|
+
WebhookPaymentSucceeded,
|
|
888
|
+
WebhookSubscriptionCanceled,
|
|
889
|
+
WebhookSubscriptionCreated,
|
|
890
|
+
WebhookSubscriptionUpdated,
|
|
891
|
+
acceptInviteApi,
|
|
244
892
|
cancelSubscriptionApi,
|
|
245
893
|
clearGatewayTokenCache,
|
|
246
894
|
completeOnboardingApi,
|
|
@@ -248,25 +896,45 @@ async function provisionWorkflowsApi(definitions, options) {
|
|
|
248
896
|
createCheckoutSessionApi,
|
|
249
897
|
createOnboardingAgentApi,
|
|
250
898
|
createOnboardingKnowledgeApi,
|
|
899
|
+
createOrgApi,
|
|
251
900
|
createOrgSettingsApi,
|
|
252
901
|
createOrganizationApi,
|
|
253
902
|
createPaymentSessionApi,
|
|
254
903
|
createPortalSessionApi,
|
|
904
|
+
createUserApi,
|
|
905
|
+
deleteOrgApi,
|
|
906
|
+
deleteUserApi,
|
|
255
907
|
getBillingPlansApi,
|
|
256
908
|
getCreditsApi,
|
|
909
|
+
getInviteApi,
|
|
257
910
|
getOnboardingStatusApi,
|
|
911
|
+
getOrgApi,
|
|
912
|
+
getOrgInfoApi,
|
|
258
913
|
getOrgSettingsApi,
|
|
259
914
|
getSubscriptionApi,
|
|
915
|
+
getUserApi,
|
|
916
|
+
getUserByEmailApi,
|
|
917
|
+
getUserSettingsApi,
|
|
918
|
+
listInvitesApi,
|
|
919
|
+
listOrgsApi,
|
|
920
|
+
listUsersApi,
|
|
260
921
|
provisionDefaultAgentsApi,
|
|
261
922
|
provisionEntitiesApi,
|
|
262
923
|
provisionWorkflowsApi,
|
|
263
924
|
purchaseCreditsApi,
|
|
925
|
+
resendInviteApi,
|
|
926
|
+
revokeInviteApi,
|
|
927
|
+
sendInviteApi,
|
|
928
|
+
sendInvitesApi,
|
|
264
929
|
sendOnboardingInvitesApi,
|
|
265
930
|
skipOnboardingStepApi,
|
|
266
931
|
startOnboardingApi,
|
|
267
932
|
updateEntityDefinitionsApi,
|
|
268
933
|
updateOrgAgentsApi,
|
|
934
|
+
updateOrgApi,
|
|
269
935
|
updateOrgSettingsApi,
|
|
936
|
+
updateUserApi,
|
|
937
|
+
updateUserSettingsApi,
|
|
270
938
|
updateWorkflowDefinitionsApi
|
|
271
939
|
});
|
|
272
940
|
//# sourceMappingURL=index.cjs.map
|