@elqnt/types 2.0.12 → 2.0.14
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 +35 -157
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +28 -507
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -359
- package/dist/index.mjs.map +1 -1
- package/dist/models/index.d.mts +33 -1862
- package/dist/models/index.d.ts +33 -1862
- package/dist/models/index.js +28 -507
- package/dist/models/index.js.map +1 -1
- package/dist/models/index.mjs +21 -359
- package/dist/models/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -20,82 +20,17 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// models/index.ts
|
|
21
21
|
var models_exports = {};
|
|
22
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
|
-
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
23
|
AggregateTypeAverage: () => AggregateTypeAverage,
|
|
57
24
|
AggregateTypeCount: () => AggregateTypeCount,
|
|
58
25
|
AggregateTypeDistinct: () => AggregateTypeDistinct,
|
|
59
26
|
AggregateTypeMax: () => AggregateTypeMax,
|
|
60
27
|
AggregateTypeMin: () => AggregateTypeMin,
|
|
61
28
|
AggregateTypeSum: () => AggregateTypeSum,
|
|
62
|
-
AnalyticsChurn: () => AnalyticsChurn,
|
|
63
|
-
AnalyticsRevenue: () => AnalyticsRevenue,
|
|
64
|
-
AnalyticsUsage: () => AnalyticsUsage,
|
|
65
|
-
BillingEventsRecord: () => BillingEventsRecord,
|
|
66
|
-
BillingGetInvoice: () => BillingGetInvoice,
|
|
67
|
-
BillingGetUsageReport: () => BillingGetUsageReport,
|
|
68
|
-
BillingHealthCheck: () => BillingHealthCheck,
|
|
69
|
-
BillingInvoiceCreate: () => BillingInvoiceCreate,
|
|
70
|
-
BillingInvoiceGet: () => BillingInvoiceGet,
|
|
71
|
-
BillingInvoiceProcess: () => BillingInvoiceProcess,
|
|
72
|
-
BillingOrgProvision: () => BillingOrgProvision,
|
|
73
|
-
BillingPeriodClose: () => BillingPeriodClose,
|
|
74
|
-
BillingPeriodCreate: () => BillingPeriodCreate,
|
|
75
|
-
BillingPeriodProcess: () => BillingPeriodProcess,
|
|
76
|
-
BillingProcessBillingPeriod: () => BillingProcessBillingPeriod,
|
|
77
|
-
BillingRecordEvent: () => BillingRecordEvent,
|
|
78
|
-
BillingRulesCreate: () => BillingRulesCreate,
|
|
79
|
-
BillingRulesDelete: () => BillingRulesDelete,
|
|
80
|
-
BillingRulesGet: () => BillingRulesGet,
|
|
81
|
-
BillingRulesUpdate: () => BillingRulesUpdate,
|
|
82
|
-
BillingSubjectPrefix: () => BillingSubjectPrefix,
|
|
83
|
-
BillingUsageCostBreakdown: () => BillingUsageCostBreakdown,
|
|
84
|
-
BillingUsageCurrent: () => BillingUsageCurrent,
|
|
85
|
-
BillingUsageHistory: () => BillingUsageHistory,
|
|
86
|
-
BillingUsageReport: () => BillingUsageReport,
|
|
87
|
-
BillingUsageTopCenters: () => BillingUsageTopCenters,
|
|
88
29
|
ChartTypeBar: () => ChartTypeBar,
|
|
89
30
|
ChartTypeDoughnut: () => ChartTypeDoughnut,
|
|
90
31
|
ChartTypeLine: () => ChartTypeLine,
|
|
91
32
|
ChartTypeMetic: () => ChartTypeMetic,
|
|
92
33
|
ChartTypePie: () => ChartTypePie,
|
|
93
|
-
CreditsBalance: () => CreditsBalance,
|
|
94
|
-
CreditsConsume: () => CreditsConsume,
|
|
95
|
-
CreditsPurchase: () => CreditsPurchase,
|
|
96
|
-
CustomerCreate: () => CustomerCreate,
|
|
97
|
-
CustomerGet: () => CustomerGet,
|
|
98
|
-
CustomerUpdate: () => CustomerUpdate,
|
|
99
34
|
DataTypeArray: () => DataTypeArray,
|
|
100
35
|
DataTypeBoolean: () => DataTypeBoolean,
|
|
101
36
|
DataTypeDate: () => DataTypeDate,
|
|
@@ -106,97 +41,21 @@ __export(models_exports, {
|
|
|
106
41
|
DataTypeJSON: () => DataTypeJSON,
|
|
107
42
|
DataTypeObjectList: () => DataTypeObjectList,
|
|
108
43
|
DataTypeString: () => DataTypeString,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
InviteStatusPending: () => InviteStatusPending,
|
|
112
|
-
InviteStatusRevoked: () => InviteStatusRevoked,
|
|
113
|
-
InviteStatuses: () => InviteStatuses,
|
|
114
|
-
OnboardingStatusCompleted: () => OnboardingStatusCompleted,
|
|
115
|
-
OnboardingStatusInProgress: () => OnboardingStatusInProgress,
|
|
116
|
-
OnboardingStatusLegacy: () => OnboardingStatusLegacy,
|
|
117
|
-
OnboardingStatusPending: () => OnboardingStatusPending,
|
|
118
|
-
OnboardingStatusSkipped: () => OnboardingStatusSkipped,
|
|
119
|
-
OnboardingStatuses: () => OnboardingStatuses,
|
|
120
|
-
OrgSizeEnterprise: () => OrgSizeEnterprise,
|
|
121
|
-
OrgSizeLarge: () => OrgSizeLarge,
|
|
122
|
-
OrgSizeMedium: () => OrgSizeMedium,
|
|
123
|
-
OrgSizeSmall: () => OrgSizeSmall,
|
|
124
|
-
OrgSizeSolo: () => OrgSizeSolo,
|
|
125
|
-
OrgSizes: () => OrgSizes,
|
|
126
|
-
OrgStatusActive: () => OrgStatusActive,
|
|
127
|
-
OrgStatusSuspended: () => OrgStatusSuspended,
|
|
128
|
-
OrgStatuses: () => OrgStatuses,
|
|
129
|
-
OrgSubscriptionStatusActive: () => OrgSubscriptionStatusActive,
|
|
130
|
-
OrgSubscriptionStatusCancelled: () => OrgSubscriptionStatusCancelled,
|
|
131
|
-
OrgSubscriptionStatusPastDue: () => OrgSubscriptionStatusPastDue,
|
|
132
|
-
OrgSubscriptionStatusTrialing: () => OrgSubscriptionStatusTrialing,
|
|
133
|
-
OrgSubscriptionStatusUnpaid: () => OrgSubscriptionStatusUnpaid,
|
|
134
|
-
OrgSubscriptionStatuses: () => OrgSubscriptionStatuses,
|
|
135
|
-
OrgTypeEnterprise: () => OrgTypeEnterprise,
|
|
136
|
-
OrgTypeSelfServe: () => OrgTypeSelfServe,
|
|
137
|
-
OrgTypes: () => OrgTypes,
|
|
138
|
-
PaymentLinkCreate: () => PaymentLinkCreate,
|
|
139
|
-
PaymentLinkList: () => PaymentLinkList,
|
|
140
|
-
PlansGet: () => PlansGet,
|
|
141
|
-
PlansGetAll: () => PlansGetAll,
|
|
142
|
-
PortalSessionCreate: () => PortalSessionCreate,
|
|
143
|
-
ProductNameDocBrain: () => ProductNameDocBrain,
|
|
44
|
+
ProductNameAafya: () => ProductNameAafya,
|
|
45
|
+
ProductNameCRM: () => ProductNameCRM,
|
|
144
46
|
ProductNameDoneProjects: () => ProductNameDoneProjects,
|
|
145
|
-
|
|
146
|
-
|
|
47
|
+
ProductNameEloquent: () => ProductNameEloquent,
|
|
48
|
+
ProductNameFahim: () => ProductNameFahim,
|
|
49
|
+
ProductNameInvoiceBrain: () => ProductNameInvoiceBrain,
|
|
147
50
|
ProductNameLegal: () => ProductNameLegal,
|
|
148
|
-
|
|
149
|
-
ProductNameQuickMind: () => ProductNameQuickMind,
|
|
150
|
-
ProductNameRealEstate: () => ProductNameRealEstate,
|
|
51
|
+
ProductNameSanad: () => ProductNameSanad,
|
|
151
52
|
ProductNameShopAssist: () => ProductNameShopAssist,
|
|
53
|
+
ProductNameZomi: () => ProductNameZomi,
|
|
152
54
|
ProductNames: () => ProductNames,
|
|
153
|
-
ProvisioningStatusCompleted: () => ProvisioningStatusCompleted,
|
|
154
|
-
ProvisioningStatusFailed: () => ProvisioningStatusFailed,
|
|
155
|
-
ProvisioningStatusPending: () => ProvisioningStatusPending,
|
|
156
|
-
ProvisioningStatusRunning: () => ProvisioningStatusRunning,
|
|
157
|
-
ProvisioningStatuses: () => ProvisioningStatuses,
|
|
158
|
-
RulesCreateBillingRule: () => RulesCreateBillingRule,
|
|
159
|
-
RulesDeleteBillingRule: () => RulesDeleteBillingRule,
|
|
160
|
-
RulesGetBillingRules: () => RulesGetBillingRules,
|
|
161
|
-
RulesUpdateBillingRule: () => RulesUpdateBillingRule,
|
|
162
|
-
SubscriptionCancel: () => SubscriptionCancel,
|
|
163
|
-
SubscriptionCheckout: () => SubscriptionCheckout,
|
|
164
|
-
SubscriptionCreate: () => SubscriptionCreate,
|
|
165
|
-
SubscriptionGet: () => SubscriptionGet,
|
|
166
|
-
SubscriptionList: () => SubscriptionList,
|
|
167
|
-
SubscriptionPlatformCustom: () => SubscriptionPlatformCustom,
|
|
168
|
-
SubscriptionPlatformStripe: () => SubscriptionPlatformStripe,
|
|
169
|
-
SubscriptionUpdate: () => SubscriptionUpdate,
|
|
170
|
-
SystemAppAdmin: () => SystemAppAdmin,
|
|
171
|
-
SystemAppAnalytics: () => SystemAppAnalytics,
|
|
172
|
-
SystemAppCRM: () => SystemAppCRM,
|
|
173
|
-
SystemAppDocumentProcessor: () => SystemAppDocumentProcessor,
|
|
174
|
-
SystemAppHelpdesk: () => SystemAppHelpdesk,
|
|
175
|
-
SystemAppKnowledgeGraph: () => SystemAppKnowledgeGraph,
|
|
176
|
-
SystemAppMarketing: () => SystemAppMarketing,
|
|
177
|
-
SystemAppWorkflow: () => SystemAppWorkflow,
|
|
178
|
-
SystemApps: () => SystemApps,
|
|
179
|
-
ThemeOptions: () => ThemeOptions,
|
|
180
55
|
UpdateUserStatusSubject: () => UpdateUserStatusSubject,
|
|
181
|
-
UsageAlertThreshold: () => UsageAlertThreshold,
|
|
182
|
-
UsageGetCostBreakdown: () => UsageGetCostBreakdown,
|
|
183
|
-
UsageGetCurrentUsage: () => UsageGetCurrentUsage,
|
|
184
|
-
UsageGetTopCostCenters: () => UsageGetTopCostCenters,
|
|
185
|
-
UsageGetUsageHistory: () => UsageGetUsageHistory,
|
|
186
|
-
UserSourceAPI: () => UserSourceAPI,
|
|
187
|
-
UserSourceInvite: () => UserSourceInvite,
|
|
188
|
-
UserSourceSSO: () => UserSourceSSO,
|
|
189
|
-
UserSourceSignup: () => UserSourceSignup,
|
|
190
|
-
UserSources: () => UserSources,
|
|
191
56
|
VariableScopeEdge: () => VariableScopeEdge,
|
|
192
57
|
VariableScopeGlobal: () => VariableScopeGlobal,
|
|
193
58
|
VariableScopeNode: () => VariableScopeNode,
|
|
194
|
-
WebhookInvoiceFailed: () => WebhookInvoiceFailed,
|
|
195
|
-
WebhookInvoicePaid: () => WebhookInvoicePaid,
|
|
196
|
-
WebhookPaymentSucceeded: () => WebhookPaymentSucceeded,
|
|
197
|
-
WebhookSubscriptionCanceled: () => WebhookSubscriptionCanceled,
|
|
198
|
-
WebhookSubscriptionCreated: () => WebhookSubscriptionCreated,
|
|
199
|
-
WebhookSubscriptionUpdated: () => WebhookSubscriptionUpdated,
|
|
200
59
|
WidgetTypeAccounts: () => WidgetTypeAccounts,
|
|
201
60
|
WidgetTypeActivities: () => WidgetTypeActivities,
|
|
202
61
|
WidgetTypeCalendar: () => WidgetTypeCalendar,
|
|
@@ -213,25 +72,26 @@ __export(models_exports, {
|
|
|
213
72
|
module.exports = __toCommonJS(models_exports);
|
|
214
73
|
|
|
215
74
|
// models/types.ts
|
|
75
|
+
var ProductNameEloquent = "eloquent";
|
|
216
76
|
var ProductNameShopAssist = "shop-assist";
|
|
217
|
-
var ProductNamePublicSector = "public-sector";
|
|
218
|
-
var ProductNameHub = "hub";
|
|
219
|
-
var ProductNameFinance = "finance";
|
|
220
77
|
var ProductNameLegal = "legal";
|
|
221
|
-
var ProductNameRealEstate = "real-estate";
|
|
222
|
-
var ProductNameQuickMind = "quick-mind";
|
|
223
|
-
var ProductNameDocBrain = "doc-brain";
|
|
224
78
|
var ProductNameDoneProjects = "done-projects";
|
|
79
|
+
var ProductNameAafya = "aafya";
|
|
80
|
+
var ProductNameFahim = "fahim";
|
|
81
|
+
var ProductNameSanad = "sanad";
|
|
82
|
+
var ProductNameInvoiceBrain = "invoice-brain";
|
|
83
|
+
var ProductNameZomi = "zomi";
|
|
84
|
+
var ProductNameCRM = "crm";
|
|
225
85
|
var ProductNames = {
|
|
226
86
|
"shop-assist": { value: "shop-assist", label: "Shop Assist" },
|
|
227
|
-
"public-sector": { value: "public-sector", label: "Public Sector" },
|
|
228
|
-
"hub": { value: "hub", label: "Hub" },
|
|
229
|
-
"finance": { value: "finance", label: "Finance" },
|
|
230
87
|
"legal": { value: "legal", label: "Legal" },
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
88
|
+
"done-projects": { value: "done-projects", label: "Done Projects" },
|
|
89
|
+
"aafya": { value: "aafya", label: "Aafya" },
|
|
90
|
+
"fahim": { value: "fahim", label: "Fahim" },
|
|
91
|
+
"sanad": { value: "sanad", label: "Sanad" },
|
|
92
|
+
"invoice-brain": { value: "invoice-brain", label: "Invoice Brain" },
|
|
93
|
+
"zomi": { value: "zomi", label: "Zomi" },
|
|
94
|
+
"crm": { value: "crm", label: "CRM" }
|
|
235
95
|
};
|
|
236
96
|
var DataTypeString = "string";
|
|
237
97
|
var DataTypeInt = "int";
|
|
@@ -274,282 +134,19 @@ var AggregateTypeAverage = "Average";
|
|
|
274
134
|
var AggregateTypeMin = "Min";
|
|
275
135
|
var AggregateTypeMax = "Max";
|
|
276
136
|
var AggregateTypeDistinct = "Distinct";
|
|
277
|
-
|
|
278
|
-
// models/admin-models.ts
|
|
279
|
-
var OrgStatusActive = "active";
|
|
280
|
-
var OrgStatusSuspended = "suspended";
|
|
281
|
-
var OrgStatuses = {
|
|
282
|
-
active: { value: "active", label: "Active" },
|
|
283
|
-
suspended: { value: "suspended", label: "Suspended" }
|
|
284
|
-
};
|
|
285
|
-
var OrgTypeSelfServe = "self-serve";
|
|
286
|
-
var OrgTypeEnterprise = "enterprise";
|
|
287
|
-
var OrgTypes = {
|
|
288
|
-
"self-serve": { value: "self-serve", label: "Self-Serve" },
|
|
289
|
-
enterprise: { value: "enterprise", label: "Enterprise" }
|
|
290
|
-
};
|
|
291
|
-
var OrgSizeSolo = "solo";
|
|
292
|
-
var OrgSizeSmall = "small";
|
|
293
|
-
var OrgSizeMedium = "medium";
|
|
294
|
-
var OrgSizeLarge = "large";
|
|
295
|
-
var OrgSizeEnterprise = "enterprise";
|
|
296
|
-
var OrgSizes = {
|
|
297
|
-
solo: { value: "solo", label: "Just me" },
|
|
298
|
-
small: { value: "small", label: "2-10" },
|
|
299
|
-
medium: { value: "medium", label: "11-50" },
|
|
300
|
-
large: { value: "large", label: "51-200" },
|
|
301
|
-
enterprise: { value: "enterprise", label: "200+" }
|
|
302
|
-
};
|
|
303
|
-
var OnboardingStatusPending = "pending";
|
|
304
|
-
var OnboardingStatusInProgress = "in_progress";
|
|
305
|
-
var OnboardingStatusCompleted = "completed";
|
|
306
|
-
var OnboardingStatusSkipped = "skipped";
|
|
307
|
-
var OnboardingStatusLegacy = "legacy";
|
|
308
|
-
var OnboardingStatuses = {
|
|
309
|
-
pending: { value: "pending", label: "Pending" },
|
|
310
|
-
in_progress: { value: "in_progress", label: "In Progress" },
|
|
311
|
-
completed: { value: "completed", label: "Completed" },
|
|
312
|
-
skipped: { value: "skipped", label: "Skipped" },
|
|
313
|
-
legacy: { value: "legacy", label: "Legacy" }
|
|
314
|
-
};
|
|
315
|
-
var ProvisioningStatusPending = "pending";
|
|
316
|
-
var ProvisioningStatusRunning = "running";
|
|
317
|
-
var ProvisioningStatusCompleted = "completed";
|
|
318
|
-
var ProvisioningStatusFailed = "failed";
|
|
319
|
-
var ProvisioningStatuses = {
|
|
320
|
-
pending: { value: "pending", label: "Pending" },
|
|
321
|
-
running: { value: "running", label: "Running" },
|
|
322
|
-
completed: { value: "completed", label: "Completed" },
|
|
323
|
-
failed: { value: "failed", label: "Failed" }
|
|
324
|
-
};
|
|
325
|
-
var OrgSubscriptionStatusTrialing = "trialing";
|
|
326
|
-
var OrgSubscriptionStatusActive = "active";
|
|
327
|
-
var OrgSubscriptionStatusPastDue = "past_due";
|
|
328
|
-
var OrgSubscriptionStatusCancelled = "cancelled";
|
|
329
|
-
var OrgSubscriptionStatusUnpaid = "unpaid";
|
|
330
|
-
var OrgSubscriptionStatuses = {
|
|
331
|
-
trialing: { value: "trialing", label: "Trialing" },
|
|
332
|
-
active: { value: "active", label: "Active" },
|
|
333
|
-
past_due: { value: "past_due", label: "Past Due" },
|
|
334
|
-
cancelled: { value: "cancelled", label: "Cancelled" },
|
|
335
|
-
unpaid: { value: "unpaid", label: "Unpaid" }
|
|
336
|
-
};
|
|
337
|
-
var ThemeOptions = {
|
|
338
|
-
system: { value: "system", label: "System" },
|
|
339
|
-
light: { value: "light", label: "Light" },
|
|
340
|
-
dark: { value: "dark", label: "Dark" }
|
|
341
|
-
};
|
|
342
|
-
var UserSourceSignup = "signup";
|
|
343
|
-
var UserSourceInvite = "invite";
|
|
344
|
-
var UserSourceSSO = "sso";
|
|
345
|
-
var UserSourceAPI = "api";
|
|
346
|
-
var UserSources = {
|
|
347
|
-
signup: { value: "signup", label: "Signup" },
|
|
348
|
-
invite: { value: "invite", label: "Invite" },
|
|
349
|
-
sso: { value: "sso", label: "SSO" },
|
|
350
|
-
api: { value: "api", label: "API" }
|
|
351
|
-
};
|
|
352
|
-
var InviteStatusPending = "pending";
|
|
353
|
-
var InviteStatusAccepted = "accepted";
|
|
354
|
-
var InviteStatusExpired = "expired";
|
|
355
|
-
var InviteStatusRevoked = "revoked";
|
|
356
|
-
var InviteStatuses = {
|
|
357
|
-
pending: { value: "pending", label: "Pending" },
|
|
358
|
-
accepted: { value: "accepted", label: "Accepted" },
|
|
359
|
-
expired: { value: "expired", label: "Expired" },
|
|
360
|
-
revoked: { value: "revoked", label: "Revoked" }
|
|
361
|
-
};
|
|
362
|
-
var SubscriptionPlatformStripe = "stripe";
|
|
363
|
-
var SubscriptionPlatformCustom = "custom";
|
|
364
|
-
var SystemAppAdmin = "admin";
|
|
365
|
-
var SystemAppCRM = "crm";
|
|
366
|
-
var SystemAppHelpdesk = "helpdesk";
|
|
367
|
-
var SystemAppMarketing = "marketing";
|
|
368
|
-
var SystemAppWorkflow = "workflow";
|
|
369
|
-
var SystemAppAnalytics = "analytics";
|
|
370
|
-
var SystemAppKnowledgeGraph = "knowledge-graph";
|
|
371
|
-
var SystemAppDocumentProcessor = "document-processor";
|
|
372
|
-
var SystemApps = {
|
|
373
|
-
admin: { value: "admin", label: "Admin" },
|
|
374
|
-
crm: { value: "crm", label: "CRM" },
|
|
375
|
-
helpdesk: { value: "helpdesk", label: "Helpdesk" },
|
|
376
|
-
marketing: { value: "marketing", label: "Marketing" },
|
|
377
|
-
workflow: { value: "workflow", label: "Workflow" },
|
|
378
|
-
analytics: { value: "analytics", label: "Analytics" },
|
|
379
|
-
"knowledge-graph": { value: "knowledge-graph", label: "Knowledge Graph" },
|
|
380
|
-
"document-processor": { value: "document-processor", label: "Document Processor" }
|
|
381
|
-
};
|
|
382
|
-
var AdminOrgCreate = "admin.orgs.create";
|
|
383
|
-
var AdminOrgList = "admin.orgs.list";
|
|
384
|
-
var AdminOrgListByMetadata = "admin.orgs.listByMetadata";
|
|
385
|
-
var AdminOrgGet = "admin.orgs.get";
|
|
386
|
-
var AdminOrgGetInfo = "admin.orgs.getInfo";
|
|
387
|
-
var AdminOrgGetByDomain = "admin.orgs.getByDomain";
|
|
388
|
-
var AdminOrgUpdate = "admin.orgs.update";
|
|
389
|
-
var AdminOrgDelete = "admin.orgs.delete";
|
|
390
|
-
var AdminOrgCreated = "system.admin.org.created";
|
|
391
|
-
var AdminOrgRolesGet = "admin.orgRoles.get";
|
|
392
|
-
var AdminOrgRolesCreate = "admin.orgRoles.create";
|
|
393
|
-
var AdminOrgRolesUpdate = "admin.orgRoles.update";
|
|
394
|
-
var AdminOrgRolesDelete = "admin.orgRoles.delete";
|
|
395
|
-
var AdminUsersGet = "admin.users.get";
|
|
396
|
-
var AdminUsersGetForOrg = "admin.users.getUsersForOrg";
|
|
397
|
-
var AdminUsersGetOne = "admin.users.getOne";
|
|
398
|
-
var AdminUsersGetOneByEmail = "admin.users.getOneByEmail";
|
|
399
|
-
var AdminUsersCreate = "admin.users.create";
|
|
400
|
-
var AdminUsersUpdate = "admin.users.update";
|
|
401
|
-
var AdminUsersDelete = "admin.users.delete";
|
|
402
|
-
var AdminUsersUpdateSettings = "admin.users.updateSettings";
|
|
403
|
-
var AdminUsersGetSettings = "admin.users.getSettings";
|
|
404
|
-
var AdminTeamsCreate = "admin.teams.create";
|
|
405
|
-
var AdminTeamsGetOne = "admin.teams.getOne";
|
|
406
|
-
var AdminTeamsGetForOrg = "admin.teams.getTeamsForOrg";
|
|
407
|
-
var AdminTeamsUpdateOnboarding = "admin.teams.updateOnboardingData";
|
|
408
|
-
|
|
409
|
-
// models/billing-models.ts
|
|
410
|
-
var BillingRecordEvent = "billing.events.record";
|
|
411
|
-
var BillingGetUsageReport = "billing.usage.report";
|
|
412
|
-
var BillingGetInvoice = "billing.invoice.get";
|
|
413
|
-
var BillingProcessBillingPeriod = "billing.period.process";
|
|
414
|
-
var UsageGetCurrentUsage = "billing.usage.current";
|
|
415
|
-
var UsageGetUsageHistory = "billing.usage.history";
|
|
416
|
-
var UsageGetCostBreakdown = "billing.usage.breakdown";
|
|
417
|
-
var UsageGetTopCostCenters = "billing.usage.top_centers";
|
|
418
|
-
var RulesGetBillingRules = "billing.rules.get";
|
|
419
|
-
var RulesCreateBillingRule = "billing.rules.create";
|
|
420
|
-
var RulesUpdateBillingRule = "billing.rules.update";
|
|
421
|
-
var RulesDeleteBillingRule = "billing.rules.delete";
|
|
422
|
-
var SubscriptionCreate = "billing.subscription.create";
|
|
423
|
-
var SubscriptionGet = "billing.subscription.get";
|
|
424
|
-
var SubscriptionUpdate = "billing.subscription.update";
|
|
425
|
-
var SubscriptionCancel = "billing.subscription.cancel";
|
|
426
|
-
var SubscriptionList = "billing.subscription.list";
|
|
427
|
-
var SubscriptionCheckout = "billing.subscription.checkout";
|
|
428
|
-
var PaymentLinkCreate = "billing.payment-link.create";
|
|
429
|
-
var PaymentLinkList = "billing.payment-link.list";
|
|
430
|
-
var PortalSessionCreate = "billing.portal.create";
|
|
431
|
-
var CustomerCreate = "billing.customer.create";
|
|
432
|
-
var CustomerGet = "billing.customer.get";
|
|
433
|
-
var CustomerUpdate = "billing.customer.update";
|
|
434
|
-
var CreditsBalance = "billing.credits.balance";
|
|
435
|
-
var CreditsPurchase = "billing.credits.purchase";
|
|
436
|
-
var CreditsConsume = "billing.credits.consume";
|
|
437
|
-
var PlansGet = "billing.plans.get";
|
|
438
|
-
var PlansGetAll = "billing.plans.list";
|
|
439
|
-
var UsageAlertThreshold = "billing.usage.alert";
|
|
440
|
-
var WebhookSubscriptionCreated = "billing.webhook.subscription.created";
|
|
441
|
-
var WebhookSubscriptionUpdated = "billing.webhook.subscription.updated";
|
|
442
|
-
var WebhookSubscriptionCanceled = "billing.webhook.subscription.canceled";
|
|
443
|
-
var WebhookInvoicePaid = "billing.webhook.invoice.paid";
|
|
444
|
-
var WebhookInvoiceFailed = "billing.webhook.invoice.failed";
|
|
445
|
-
var WebhookPaymentSucceeded = "billing.webhook.payment.succeeded";
|
|
446
|
-
var AffiliateCreate = "billing.affiliate.create";
|
|
447
|
-
var AffiliateGet = "billing.affiliate.get";
|
|
448
|
-
var AffiliateList = "billing.affiliate.list";
|
|
449
|
-
var AffiliateUpdate = "billing.affiliate.update";
|
|
450
|
-
var AffiliateOnboard = "billing.affiliate.onboard";
|
|
451
|
-
var AffiliateCommissions = "billing.affiliate.commissions";
|
|
452
|
-
var AffiliateAnalytics = "billing.affiliate.analytics";
|
|
453
|
-
var AnalyticsRevenue = "billing.analytics.revenue";
|
|
454
|
-
var AnalyticsUsage = "billing.analytics.usage";
|
|
455
|
-
var AnalyticsChurn = "billing.analytics.churn";
|
|
456
|
-
var BillingSubjectPrefix = "billing";
|
|
457
|
-
var BillingEventsRecord = "billing.events.record";
|
|
458
|
-
var BillingUsageReport = "billing.usage.report";
|
|
459
|
-
var BillingUsageCurrent = "billing.usage.current";
|
|
460
|
-
var BillingUsageHistory = "billing.usage.history";
|
|
461
|
-
var BillingUsageCostBreakdown = "billing.usage.breakdown";
|
|
462
|
-
var BillingUsageTopCenters = "billing.usage.top_centers";
|
|
463
|
-
var BillingInvoiceGet = "billing.invoice.get";
|
|
464
|
-
var BillingInvoiceCreate = "billing.invoice.create";
|
|
465
|
-
var BillingInvoiceProcess = "billing.invoice.process";
|
|
466
|
-
var BillingPeriodCreate = "billing.period.create";
|
|
467
|
-
var BillingPeriodClose = "billing.period.close";
|
|
468
|
-
var BillingPeriodProcess = "billing.period.process";
|
|
469
|
-
var BillingRulesGet = "billing.rules.get";
|
|
470
|
-
var BillingRulesCreate = "billing.rules.create";
|
|
471
|
-
var BillingRulesUpdate = "billing.rules.update";
|
|
472
|
-
var BillingRulesDelete = "billing.rules.delete";
|
|
473
|
-
var BillingOrgProvision = "billing.org.provision";
|
|
474
|
-
var BillingHealthCheck = "billing.health.check";
|
|
475
137
|
// Annotate the CommonJS export names for ESM import in node:
|
|
476
138
|
0 && (module.exports = {
|
|
477
|
-
AdminOrgCreate,
|
|
478
|
-
AdminOrgCreated,
|
|
479
|
-
AdminOrgDelete,
|
|
480
|
-
AdminOrgGet,
|
|
481
|
-
AdminOrgGetByDomain,
|
|
482
|
-
AdminOrgGetInfo,
|
|
483
|
-
AdminOrgList,
|
|
484
|
-
AdminOrgListByMetadata,
|
|
485
|
-
AdminOrgRolesCreate,
|
|
486
|
-
AdminOrgRolesDelete,
|
|
487
|
-
AdminOrgRolesGet,
|
|
488
|
-
AdminOrgRolesUpdate,
|
|
489
|
-
AdminOrgUpdate,
|
|
490
|
-
AdminTeamsCreate,
|
|
491
|
-
AdminTeamsGetForOrg,
|
|
492
|
-
AdminTeamsGetOne,
|
|
493
|
-
AdminTeamsUpdateOnboarding,
|
|
494
|
-
AdminUsersCreate,
|
|
495
|
-
AdminUsersDelete,
|
|
496
|
-
AdminUsersGet,
|
|
497
|
-
AdminUsersGetForOrg,
|
|
498
|
-
AdminUsersGetOne,
|
|
499
|
-
AdminUsersGetOneByEmail,
|
|
500
|
-
AdminUsersGetSettings,
|
|
501
|
-
AdminUsersUpdate,
|
|
502
|
-
AdminUsersUpdateSettings,
|
|
503
|
-
AffiliateAnalytics,
|
|
504
|
-
AffiliateCommissions,
|
|
505
|
-
AffiliateCreate,
|
|
506
|
-
AffiliateGet,
|
|
507
|
-
AffiliateList,
|
|
508
|
-
AffiliateOnboard,
|
|
509
|
-
AffiliateUpdate,
|
|
510
139
|
AggregateTypeAverage,
|
|
511
140
|
AggregateTypeCount,
|
|
512
141
|
AggregateTypeDistinct,
|
|
513
142
|
AggregateTypeMax,
|
|
514
143
|
AggregateTypeMin,
|
|
515
144
|
AggregateTypeSum,
|
|
516
|
-
AnalyticsChurn,
|
|
517
|
-
AnalyticsRevenue,
|
|
518
|
-
AnalyticsUsage,
|
|
519
|
-
BillingEventsRecord,
|
|
520
|
-
BillingGetInvoice,
|
|
521
|
-
BillingGetUsageReport,
|
|
522
|
-
BillingHealthCheck,
|
|
523
|
-
BillingInvoiceCreate,
|
|
524
|
-
BillingInvoiceGet,
|
|
525
|
-
BillingInvoiceProcess,
|
|
526
|
-
BillingOrgProvision,
|
|
527
|
-
BillingPeriodClose,
|
|
528
|
-
BillingPeriodCreate,
|
|
529
|
-
BillingPeriodProcess,
|
|
530
|
-
BillingProcessBillingPeriod,
|
|
531
|
-
BillingRecordEvent,
|
|
532
|
-
BillingRulesCreate,
|
|
533
|
-
BillingRulesDelete,
|
|
534
|
-
BillingRulesGet,
|
|
535
|
-
BillingRulesUpdate,
|
|
536
|
-
BillingSubjectPrefix,
|
|
537
|
-
BillingUsageCostBreakdown,
|
|
538
|
-
BillingUsageCurrent,
|
|
539
|
-
BillingUsageHistory,
|
|
540
|
-
BillingUsageReport,
|
|
541
|
-
BillingUsageTopCenters,
|
|
542
145
|
ChartTypeBar,
|
|
543
146
|
ChartTypeDoughnut,
|
|
544
147
|
ChartTypeLine,
|
|
545
148
|
ChartTypeMetic,
|
|
546
149
|
ChartTypePie,
|
|
547
|
-
CreditsBalance,
|
|
548
|
-
CreditsConsume,
|
|
549
|
-
CreditsPurchase,
|
|
550
|
-
CustomerCreate,
|
|
551
|
-
CustomerGet,
|
|
552
|
-
CustomerUpdate,
|
|
553
150
|
DataTypeArray,
|
|
554
151
|
DataTypeBoolean,
|
|
555
152
|
DataTypeDate,
|
|
@@ -560,97 +157,21 @@ var BillingHealthCheck = "billing.health.check";
|
|
|
560
157
|
DataTypeJSON,
|
|
561
158
|
DataTypeObjectList,
|
|
562
159
|
DataTypeString,
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
InviteStatusPending,
|
|
566
|
-
InviteStatusRevoked,
|
|
567
|
-
InviteStatuses,
|
|
568
|
-
OnboardingStatusCompleted,
|
|
569
|
-
OnboardingStatusInProgress,
|
|
570
|
-
OnboardingStatusLegacy,
|
|
571
|
-
OnboardingStatusPending,
|
|
572
|
-
OnboardingStatusSkipped,
|
|
573
|
-
OnboardingStatuses,
|
|
574
|
-
OrgSizeEnterprise,
|
|
575
|
-
OrgSizeLarge,
|
|
576
|
-
OrgSizeMedium,
|
|
577
|
-
OrgSizeSmall,
|
|
578
|
-
OrgSizeSolo,
|
|
579
|
-
OrgSizes,
|
|
580
|
-
OrgStatusActive,
|
|
581
|
-
OrgStatusSuspended,
|
|
582
|
-
OrgStatuses,
|
|
583
|
-
OrgSubscriptionStatusActive,
|
|
584
|
-
OrgSubscriptionStatusCancelled,
|
|
585
|
-
OrgSubscriptionStatusPastDue,
|
|
586
|
-
OrgSubscriptionStatusTrialing,
|
|
587
|
-
OrgSubscriptionStatusUnpaid,
|
|
588
|
-
OrgSubscriptionStatuses,
|
|
589
|
-
OrgTypeEnterprise,
|
|
590
|
-
OrgTypeSelfServe,
|
|
591
|
-
OrgTypes,
|
|
592
|
-
PaymentLinkCreate,
|
|
593
|
-
PaymentLinkList,
|
|
594
|
-
PlansGet,
|
|
595
|
-
PlansGetAll,
|
|
596
|
-
PortalSessionCreate,
|
|
597
|
-
ProductNameDocBrain,
|
|
160
|
+
ProductNameAafya,
|
|
161
|
+
ProductNameCRM,
|
|
598
162
|
ProductNameDoneProjects,
|
|
599
|
-
|
|
600
|
-
|
|
163
|
+
ProductNameEloquent,
|
|
164
|
+
ProductNameFahim,
|
|
165
|
+
ProductNameInvoiceBrain,
|
|
601
166
|
ProductNameLegal,
|
|
602
|
-
|
|
603
|
-
ProductNameQuickMind,
|
|
604
|
-
ProductNameRealEstate,
|
|
167
|
+
ProductNameSanad,
|
|
605
168
|
ProductNameShopAssist,
|
|
169
|
+
ProductNameZomi,
|
|
606
170
|
ProductNames,
|
|
607
|
-
ProvisioningStatusCompleted,
|
|
608
|
-
ProvisioningStatusFailed,
|
|
609
|
-
ProvisioningStatusPending,
|
|
610
|
-
ProvisioningStatusRunning,
|
|
611
|
-
ProvisioningStatuses,
|
|
612
|
-
RulesCreateBillingRule,
|
|
613
|
-
RulesDeleteBillingRule,
|
|
614
|
-
RulesGetBillingRules,
|
|
615
|
-
RulesUpdateBillingRule,
|
|
616
|
-
SubscriptionCancel,
|
|
617
|
-
SubscriptionCheckout,
|
|
618
|
-
SubscriptionCreate,
|
|
619
|
-
SubscriptionGet,
|
|
620
|
-
SubscriptionList,
|
|
621
|
-
SubscriptionPlatformCustom,
|
|
622
|
-
SubscriptionPlatformStripe,
|
|
623
|
-
SubscriptionUpdate,
|
|
624
|
-
SystemAppAdmin,
|
|
625
|
-
SystemAppAnalytics,
|
|
626
|
-
SystemAppCRM,
|
|
627
|
-
SystemAppDocumentProcessor,
|
|
628
|
-
SystemAppHelpdesk,
|
|
629
|
-
SystemAppKnowledgeGraph,
|
|
630
|
-
SystemAppMarketing,
|
|
631
|
-
SystemAppWorkflow,
|
|
632
|
-
SystemApps,
|
|
633
|
-
ThemeOptions,
|
|
634
171
|
UpdateUserStatusSubject,
|
|
635
|
-
UsageAlertThreshold,
|
|
636
|
-
UsageGetCostBreakdown,
|
|
637
|
-
UsageGetCurrentUsage,
|
|
638
|
-
UsageGetTopCostCenters,
|
|
639
|
-
UsageGetUsageHistory,
|
|
640
|
-
UserSourceAPI,
|
|
641
|
-
UserSourceInvite,
|
|
642
|
-
UserSourceSSO,
|
|
643
|
-
UserSourceSignup,
|
|
644
|
-
UserSources,
|
|
645
172
|
VariableScopeEdge,
|
|
646
173
|
VariableScopeGlobal,
|
|
647
174
|
VariableScopeNode,
|
|
648
|
-
WebhookInvoiceFailed,
|
|
649
|
-
WebhookInvoicePaid,
|
|
650
|
-
WebhookPaymentSucceeded,
|
|
651
|
-
WebhookSubscriptionCanceled,
|
|
652
|
-
WebhookSubscriptionCreated,
|
|
653
|
-
WebhookSubscriptionUpdated,
|
|
654
175
|
WidgetTypeAccounts,
|
|
655
176
|
WidgetTypeActivities,
|
|
656
177
|
WidgetTypeCalendar,
|