@verma-consulting/common-library 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1122,6 +1122,510 @@ interface QueryFilterInterface {
1122
1122
  statisticId?: string;
1123
1123
  }
1124
1124
 
1125
+ declare enum LandingPath {
1126
+ login = "login",
1127
+ signup = "signup",
1128
+ resetpassword = "resetpassword",
1129
+ confirmuser = "confirmuser"
1130
+ }
1131
+ declare enum LandingView {
1132
+ email = "email",
1133
+ password = "password",
1134
+ organization = "organization",
1135
+ federated = "federated",
1136
+ signup = "signup"
1137
+ }
1138
+ declare enum productType {
1139
+ service = "service",
1140
+ good = "good"
1141
+ }
1142
+ declare enum userRole {
1143
+ Employee = "Employee",
1144
+ Client = "Client",
1145
+ Vendor = "Vendor",
1146
+ Admin = "Admin",
1147
+ Staff = "Staff"
1148
+ }
1149
+ declare enum PermissionType {
1150
+ Visible = "Visible",
1151
+ Manage = "Manage",
1152
+ NotVisible = "Not Visible"
1153
+ }
1154
+ declare enum userSource {
1155
+ cognito = "cognito",
1156
+ google = "google",
1157
+ microsoft = "microsoft",
1158
+ slack = "slack"
1159
+ }
1160
+ declare enum userStatus {
1161
+ Pending = "Pending",
1162
+ Invited = "Invited",
1163
+ Active = "Active",
1164
+ Inactive = "Inactive"
1165
+ }
1166
+ declare enum subscriptionCancellationReason {
1167
+ CustomerService = "customer_service",
1168
+ LowQuality = "low_quality",
1169
+ MissingFeatures = "missing_features",
1170
+ SwitchedService = "switched_service",
1171
+ TooComplex = "too_complex",
1172
+ TooExpensive = "too_expensive",
1173
+ Unused = "unused",
1174
+ Other = "other"
1175
+ }
1176
+ declare enum paymentCancellationReason {
1177
+ abandoned = "abandoned",
1178
+ automatic = "automatic",
1179
+ duplicate = "duplicate",
1180
+ failed_invoice = "failed_invoice",
1181
+ fraudulent = "fraudulent",
1182
+ requested_by_customer = "requested_by_customer",
1183
+ void_invoice = "void_invoice"
1184
+ }
1185
+ declare enum captureMethod {
1186
+ automatic = "automatic",
1187
+ automatic_async = "automatic_async",
1188
+ manual = "manual"
1189
+ }
1190
+ declare enum paymentStatus {
1191
+ canceled = "canceled",
1192
+ processing = "processing",
1193
+ requiresAction = "requires_action",
1194
+ requiresCapture = "requires_capture",
1195
+ requiresConfirmation = "requires_confirmation",
1196
+ requiresPaymentMethod = "requires_payment_method",
1197
+ succeeded = "succeeded"
1198
+ }
1199
+ declare enum OrganizationFeatures {
1200
+ clients = "clients",
1201
+ tasks = "tasks",
1202
+ inventories = "inventories",
1203
+ invoices = "invoices",
1204
+ leads = "leads",
1205
+ deals = "deals",
1206
+ contacts = "contacts",
1207
+ engagements = "engagements",
1208
+ campaigns = "campaigns",
1209
+ products = "products",
1210
+ subscriptions = "subscriptions",
1211
+ payments = "payments",
1212
+ dataPools = "dataPools",
1213
+ lists = "lists",
1214
+ reports = "reports"
1215
+ }
1216
+ declare enum DeviceNotification {
1217
+ doNOtNotify = "Do Not Notify",
1218
+ security = "Security Updates",
1219
+ all = "All Important Updates"
1220
+ }
1221
+ declare enum clientType {
1222
+ Analyst = "Analyst",
1223
+ Bank = "Bank",
1224
+ Broker = "Broker",
1225
+ Competitor = "Competitor",
1226
+ Customer = "Customer",
1227
+ Company = "Company",
1228
+ Distributor = "Distributor",
1229
+ Individual = "Individual",
1230
+ Integrator = "Integrator",
1231
+ Investor = "Investor",
1232
+ Landlord = "Landlord",
1233
+ Partner = "Partner",
1234
+ Press = "Press",
1235
+ Prospect = "Prospect",
1236
+ Tenant = "Tenant",
1237
+ Supplier = "Supplier",
1238
+ Vendor = "Vendor",
1239
+ Other = "Other"
1240
+ }
1241
+ declare enum taxExempt {
1242
+ exempt = "exempt",
1243
+ none = "none",
1244
+ reverse = "reverse"
1245
+ }
1246
+ declare enum automaticTaxStatus {
1247
+ complete = "complete",
1248
+ failed = "failed",
1249
+ requires_location_inputs = "requires_location_inputs"
1250
+ }
1251
+ declare enum billingReason {
1252
+ manual = "manual",
1253
+ subscription = "subscription",
1254
+ subscription_create = "subscription_create",
1255
+ subscription_cycle = "subscription_cycle",
1256
+ subscription_threshold = "subscription_threshold",
1257
+ subscription_update = "subscription_update",
1258
+ upcoming = "upcoming"
1259
+ }
1260
+ declare enum accountType {
1261
+ account = "account",
1262
+ self = "self"
1263
+ }
1264
+ declare enum DealType {
1265
+ Existing = "Existing",
1266
+ New = "New",
1267
+ Other = "Other"
1268
+ }
1269
+ declare enum SourceType {
1270
+ Advertisement = "Advertisement",
1271
+ ColdCall = "ColdCall",
1272
+ EmployeeReferral = "EmployeeReferral",
1273
+ ExternalReferral = "ExternalReferral",
1274
+ OnlineStore = "OnlineStore",
1275
+ Partner = "Partner",
1276
+ PublicRelation = "PublicRelation",
1277
+ Seminar = "Seminar",
1278
+ TradeShow = "TradeShow",
1279
+ WedResearch = "WedResearch",
1280
+ Chat = "Chat",
1281
+ Other = "Other"
1282
+ }
1283
+ declare enum LeadType {
1284
+ AttemtpedToContact = "AttemtpedToContact",
1285
+ ContactInFuture = "ContactInFuture",
1286
+ Contacted = "Contacted",
1287
+ NotContacted = "NotContacted",
1288
+ AwaitingResponse = "AwaitingResponse",
1289
+ PreQualified = "PreQualified",
1290
+ NotQualified = "NotQualified",
1291
+ LostLead = "LostLead",
1292
+ Other = "Other"
1293
+ }
1294
+ declare enum CampaignType {
1295
+ Email = "Email",
1296
+ Conference = "Conference",
1297
+ Webinar = "Webinar",
1298
+ TradeShow = "TradeShow",
1299
+ PublicRelations = "PublicRelations",
1300
+ Partners = "Partners",
1301
+ ReferrelProgram = "ReferrelProgram",
1302
+ Advertisement = "Advertisement",
1303
+ SocialMedia = "SocialMedia",
1304
+ BannerAds = "BannerAds",
1305
+ DirectMail = "DirectMail",
1306
+ Telemarketing = "Telemarketing",
1307
+ Others = "Others"
1308
+ }
1309
+ declare enum customerType {
1310
+ Paid = "Paid",
1311
+ Subscribed = "Subscribed",
1312
+ Priority = "Priority",
1313
+ Trial = "Trial",
1314
+ Inactive = "Inactive",
1315
+ Paused = "Paused"
1316
+ }
1317
+ declare enum Priority {
1318
+ High = "High",
1319
+ Medium = "Medium",
1320
+ Low = "Low"
1321
+ }
1322
+ declare enum FeatureType {
1323
+ ContentAccess = "Content Access",
1324
+ RelationsAccess = "Relations Access",
1325
+ FinancialsAccess = "Financials Access",
1326
+ DataPoolsManage = "Manage Data Pools",
1327
+ SchemaManage = "Manage Schemas",
1328
+ StatisticsManage = "Manage Statistics",
1329
+ ListsAccess = "Lists Access",
1330
+ ReportsAccess = "Reports Access",
1331
+ UsageManage = "Export/Import Pools",
1332
+ DownloadContent = "Download Content",
1333
+ IntegrationsAccess = "Integrations Access"
1334
+ }
1335
+ declare enum UsageType {
1336
+ Export = "Export",
1337
+ Import = "Import"
1338
+ }
1339
+ declare enum ModelType {
1340
+ clients = "clients",
1341
+ tasks = "tasks",
1342
+ inventories = "inventories",
1343
+ invoices = "invoices",
1344
+ leads = "leads",
1345
+ deals = "deals",
1346
+ contacts = "contacts",
1347
+ engagements = "engagements",
1348
+ campaigns = "campaigns",
1349
+ products = "products",
1350
+ subscriptions = "subscriptions",
1351
+ payments = "payments"
1352
+ }
1353
+ declare enum CategoryType {
1354
+ content = "content",
1355
+ relations = "relations",
1356
+ financials = "financials"
1357
+ }
1358
+ declare enum FilterType {
1359
+ defaultView = "defaultView",
1360
+ defaultSort = "defaultSort",
1361
+ defaultOrder = "defaultOrder",
1362
+ statisticSort = "statisticSort",
1363
+ statisticsOrder = "statisticsOrder",
1364
+ defaultRowsPerPage = "defaultRowsPerPage",
1365
+ statisticRowsPerPage = "statisticRowsPerPage",
1366
+ tableHeaders = "tableHeaders",
1367
+ kanbanStatusField = "kanbanStatusField"
1368
+ }
1369
+ declare enum organizationFilterType {
1370
+ reports = "reports",
1371
+ lists = "lists",
1372
+ integrations = "integrations"
1373
+ }
1374
+ declare enum UserSettingType {
1375
+ theme = "theme"
1376
+ }
1377
+ declare enum FormFieldType {
1378
+ TextField = "TextField",
1379
+ SingleSelect = "SingleSelect",
1380
+ MultiSelect = "MultiSelect",
1381
+ Number = "Number",
1382
+ Date = "Date",
1383
+ Switch = "Switch",
1384
+ Checkbox = "Checkbox",
1385
+ Time = "Time",
1386
+ Currency = "Currency",
1387
+ Percentage = "Percentage",
1388
+ Color = "Color",
1389
+ PhoneNumber = "PhoneNumber",
1390
+ Link = "Link",
1391
+ Password = "Password"
1392
+ }
1393
+ declare enum FormFieldOrder {
1394
+ asc = "asc",
1395
+ desc = "desc"
1396
+ }
1397
+ declare enum status {
1398
+ Planning = "Planning",
1399
+ Ready = "Ready",
1400
+ Active = "Active",
1401
+ Blocked = "Blocked",
1402
+ Done = "Done",
1403
+ Failed = "Failed"
1404
+ }
1405
+ declare enum ContentType {
1406
+ Grid = "Grid",
1407
+ Table = "Table",
1408
+ Kanban = "Kanban"
1409
+ }
1410
+ declare enum CalculationType {
1411
+ EqualsTo = "EqualsTo",
1412
+ Contains = "Contains",
1413
+ GreaterThan = "GreaterThan",
1414
+ LessThan = "LessThan",
1415
+ Empty = "Empty",
1416
+ NotEquals = "Not Equals"
1417
+ }
1418
+ declare enum operationType {
1419
+ Count = "Count",
1420
+ Sum = "Sum",
1421
+ Mean = "Mean",
1422
+ Median = "Median",
1423
+ Maximum = "Maximum",
1424
+ Minimum = "Minimum"
1425
+ }
1426
+ declare enum FrequencyType {
1427
+ Daily = "Daily",
1428
+ Monthly = "Monthly",
1429
+ Quarterly = "Quarterly",
1430
+ Annually = "Annually"
1431
+ }
1432
+ declare enum action {
1433
+ create = "create",
1434
+ update = "update",
1435
+ delete = "delete",
1436
+ undo = "undo"
1437
+ }
1438
+ declare enum ChartType {
1439
+ line = "line",
1440
+ bar = "bar",
1441
+ scatter = "scatter",
1442
+ pie = "pie"
1443
+ }
1444
+ declare enum Gender {
1445
+ Male = "Male",
1446
+ Female = "Female",
1447
+ Others = "Others"
1448
+ }
1449
+ declare enum AppMode {
1450
+ light = "light",
1451
+ dark = "dark"
1452
+ }
1453
+ declare enum PlatformLanguage {
1454
+ Arabic = "Arabic",
1455
+ English = "English",
1456
+ French = "French",
1457
+ German = "German",
1458
+ Spanish = "Spanish"
1459
+ }
1460
+ declare enum collectionMethod {
1461
+ charge_automatically = "charge_automatically",
1462
+ send_invoice = "send_invoice"
1463
+ }
1464
+ declare enum missingPaymentMethod {
1465
+ cancel = "cancel",
1466
+ create_invoice = "create_invoice",
1467
+ pause = "pause"
1468
+ }
1469
+ declare enum commentRole {
1470
+ user = "user",
1471
+ assistant = "assistant"
1472
+ }
1473
+ declare enum chatType {
1474
+ chat_gpt = "chat_gpt",
1475
+ deepseek = "deepseek",
1476
+ claude = "claude"
1477
+ }
1478
+ declare enum integrationType {
1479
+ stripe = "stripe",
1480
+ google_workspace = "google_workspace",
1481
+ microsoft_teams = "microsoft_teams",
1482
+ microsoft_365 = "microsoft_365",
1483
+ slack = "slack",
1484
+ fixer_io = "fixer_io",
1485
+ chat_gpt = "chat_gpt",
1486
+ deepseek = "deepseek",
1487
+ claude = "claude",
1488
+ shippo = "shippo",
1489
+ shopify = "shopify",
1490
+ dealio = "dealio"
1491
+ }
1492
+ declare enum currency {
1493
+ usd = "usd",
1494
+ aed = "aed",
1495
+ afn = "afn",
1496
+ all = "all",
1497
+ amd = "amd",
1498
+ ang = "ang",
1499
+ aoa = "aoa",
1500
+ ars = "ars",
1501
+ aud = "aud",
1502
+ awg = "awg",
1503
+ azn = "azn",
1504
+ bam = "bam",
1505
+ bbd = "bbd",
1506
+ bdt = "bdt",
1507
+ bgn = "bgn",
1508
+ bif = "bif",
1509
+ bmd = "bmd",
1510
+ bnd = "bnd",
1511
+ bob = "bob",
1512
+ brl = "brl",
1513
+ bsd = "bsd",
1514
+ bwp = "bwp",
1515
+ byn = "byn",
1516
+ bzd = "bzd",
1517
+ cad = "cad",
1518
+ cdf = "cdf",
1519
+ chf = "chf",
1520
+ clp = "clp",
1521
+ cny = "cny",
1522
+ cop = "cop",
1523
+ crc = "crc",
1524
+ cve = "cve",
1525
+ czk = "czk",
1526
+ djf = "djf",
1527
+ dkk = "dkk",
1528
+ dop = "dop",
1529
+ dzd = "dzd",
1530
+ egp = "egp",
1531
+ etb = "etb",
1532
+ eur = "eur",
1533
+ fjd = "fjd",
1534
+ fkp = "fkp",
1535
+ gbp = "gbp",
1536
+ gel = "gel",
1537
+ gip = "gip",
1538
+ gmd = "gmd",
1539
+ gnf = "gnf",
1540
+ gtq = "gtq",
1541
+ gyd = "gyd",
1542
+ hkd = "hkd",
1543
+ hnl = "hnl",
1544
+ htg = "htg",
1545
+ huf = "huf",
1546
+ idr = "idr",
1547
+ ils = "ils",
1548
+ inr = "inr",
1549
+ isk = "isk",
1550
+ jmd = "jmd",
1551
+ jpy = "jpy",
1552
+ kes = "kes",
1553
+ kgs = "kgs",
1554
+ khr = "khr",
1555
+ kmf = "kmf",
1556
+ krw = "krw",
1557
+ kyd = "kyd",
1558
+ kzt = "kzt",
1559
+ lak = "lak",
1560
+ lbp = "lbp",
1561
+ lkr = "lkr",
1562
+ lrd = "lrd",
1563
+ lsl = "lsl",
1564
+ mad = "mad",
1565
+ mdl = "mdl",
1566
+ mga = "mga",
1567
+ mkd = "mkd",
1568
+ mmk = "mmk",
1569
+ mnt = "mnt",
1570
+ mop = "mop",
1571
+ mur = "mur",
1572
+ mvr = "mvr",
1573
+ mwk = "mwk",
1574
+ mxn = "mxn",
1575
+ myr = "myr",
1576
+ mzn = "mzn",
1577
+ nad = "nad",
1578
+ ngn = "ngn",
1579
+ nio = "nio",
1580
+ nok = "nok",
1581
+ npr = "npr",
1582
+ nzd = "nzd",
1583
+ pab = "pab",
1584
+ pen = "pen",
1585
+ pgk = "pgk",
1586
+ php = "php",
1587
+ pkr = "pkr",
1588
+ pln = "pln",
1589
+ pyg = "pyg",
1590
+ qar = "qar",
1591
+ ron = "ron",
1592
+ rsd = "rsd",
1593
+ rub = "rub",
1594
+ rwf = "rwf",
1595
+ sar = "sar",
1596
+ sbd = "sbd",
1597
+ scr = "scr",
1598
+ sek = "sek",
1599
+ sgd = "sgd",
1600
+ shp = "shp",
1601
+ sle = "sle",
1602
+ sos = "sos",
1603
+ srd = "srd",
1604
+ std = "std",
1605
+ szl = "szl",
1606
+ thb = "thb",
1607
+ tjs = "tjs",
1608
+ top = "top",
1609
+ try = "try",
1610
+ ttd = "ttd",
1611
+ twd = "twd",
1612
+ tzs = "tzs",
1613
+ uah = "uah",
1614
+ ugx = "ugx",
1615
+ uyu = "uyu",
1616
+ uzs = "uzs",
1617
+ vnd = "vnd",
1618
+ vuv = "vuv",
1619
+ wst = "wst",
1620
+ xaf = "xaf",
1621
+ xcd = "xcd",
1622
+ xof = "xof",
1623
+ xpf = "xpf",
1624
+ yer = "yer",
1625
+ zar = "zar",
1626
+ zmw = "zmw"
1627
+ }
1628
+
1125
1629
  declare const constants: {
1126
1630
  APP_LANGUAGES: {
1127
1631
  English: string;
@@ -1965,4 +2469,4 @@ declare const defaults: {
1965
2469
  };
1966
2470
  };
1967
2471
 
1968
- export { type ActivityInterface, type AddressInterface, type AnalyticsQueryInterface, type AutomaticTaxInterface, type CampaignInterface, type CancellationDetailsInterface, type CardInterface, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, type CurrentRateInterface, type DealInterface, type EmailInterface, type EngagementInterface, type FileInterface, type FilterInterface, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LeadInterface, type ListInterface, type MarketingFeatureInterface, type ModelInterface, type Notation, type NotificationInterface, type OperationInterface, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, type PoolInterface, type PriceInterface, type PriceRecurringInterface, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, type UserInterface, type WaitlistInterface, camelCaseToWords, capitalizeSentence, constants, defaults, formatPhoneNumber, getRandomArbitrary, grabAge, isNumber, largeNumberLabel, normalizeKey, openInNewTab, prettifyString, snakeToPretty, validEmail };
2472
+ export { type ActivityInterface, type AddressInterface, type AnalyticsQueryInterface, AppMode, type AutomaticTaxInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type EmailInterface, type EngagementInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaults, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentCancellationReason, paymentStatus, prettifyString, productType, snakeToPretty, status, subscriptionCancellationReason, taxExempt, userRole, userSource, userStatus, validEmail };