@hasna/microservices 0.0.3 → 0.0.5
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/bin/index.js +63 -0
- package/bin/mcp.js +63 -0
- package/dist/index.js +63 -0
- package/microservices/microservice-ads/package.json +27 -0
- package/microservices/microservice-ads/src/cli/index.ts +605 -0
- package/microservices/microservice-ads/src/db/campaigns.ts +797 -0
- package/microservices/microservice-ads/src/db/database.ts +93 -0
- package/microservices/microservice-ads/src/db/migrations.ts +60 -0
- package/microservices/microservice-ads/src/index.ts +39 -0
- package/microservices/microservice-ads/src/mcp/index.ts +480 -0
- package/microservices/microservice-contracts/package.json +27 -0
- package/microservices/microservice-contracts/src/cli/index.ts +770 -0
- package/microservices/microservice-contracts/src/db/contracts.ts +925 -0
- package/microservices/microservice-contracts/src/db/database.ts +93 -0
- package/microservices/microservice-contracts/src/db/migrations.ts +141 -0
- package/microservices/microservice-contracts/src/index.ts +43 -0
- package/microservices/microservice-contracts/src/mcp/index.ts +617 -0
- package/microservices/microservice-domains/package.json +27 -0
- package/microservices/microservice-domains/src/cli/index.ts +691 -0
- package/microservices/microservice-domains/src/db/database.ts +93 -0
- package/microservices/microservice-domains/src/db/domains.ts +1164 -0
- package/microservices/microservice-domains/src/db/migrations.ts +60 -0
- package/microservices/microservice-domains/src/index.ts +65 -0
- package/microservices/microservice-domains/src/mcp/index.ts +536 -0
- package/microservices/microservice-hiring/package.json +27 -0
- package/microservices/microservice-hiring/src/cli/index.ts +741 -0
- package/microservices/microservice-hiring/src/db/database.ts +93 -0
- package/microservices/microservice-hiring/src/db/hiring.ts +1085 -0
- package/microservices/microservice-hiring/src/db/migrations.ts +89 -0
- package/microservices/microservice-hiring/src/index.ts +80 -0
- package/microservices/microservice-hiring/src/lib/scoring.ts +206 -0
- package/microservices/microservice-hiring/src/mcp/index.ts +709 -0
- package/microservices/microservice-payments/package.json +27 -0
- package/microservices/microservice-payments/src/cli/index.ts +609 -0
- package/microservices/microservice-payments/src/db/database.ts +93 -0
- package/microservices/microservice-payments/src/db/migrations.ts +81 -0
- package/microservices/microservice-payments/src/db/payments.ts +1204 -0
- package/microservices/microservice-payments/src/index.ts +51 -0
- package/microservices/microservice-payments/src/mcp/index.ts +683 -0
- package/microservices/microservice-payroll/package.json +27 -0
- package/microservices/microservice-payroll/src/cli/index.ts +643 -0
- package/microservices/microservice-payroll/src/db/database.ts +93 -0
- package/microservices/microservice-payroll/src/db/migrations.ts +95 -0
- package/microservices/microservice-payroll/src/db/payroll.ts +1377 -0
- package/microservices/microservice-payroll/src/index.ts +48 -0
- package/microservices/microservice-payroll/src/mcp/index.ts +666 -0
- package/microservices/microservice-shipping/package.json +27 -0
- package/microservices/microservice-shipping/src/cli/index.ts +606 -0
- package/microservices/microservice-shipping/src/db/database.ts +93 -0
- package/microservices/microservice-shipping/src/db/migrations.ts +69 -0
- package/microservices/microservice-shipping/src/db/shipping.ts +1093 -0
- package/microservices/microservice-shipping/src/index.ts +53 -0
- package/microservices/microservice-shipping/src/mcp/index.ts +533 -0
- package/microservices/microservice-social/package.json +27 -0
- package/microservices/microservice-social/src/cli/index.ts +689 -0
- package/microservices/microservice-social/src/db/database.ts +93 -0
- package/microservices/microservice-social/src/db/migrations.ts +88 -0
- package/microservices/microservice-social/src/db/social.ts +1046 -0
- package/microservices/microservice-social/src/index.ts +46 -0
- package/microservices/microservice-social/src/mcp/index.ts +655 -0
- package/microservices/microservice-subscriptions/package.json +27 -0
- package/microservices/microservice-subscriptions/src/cli/index.ts +715 -0
- package/microservices/microservice-subscriptions/src/db/database.ts +93 -0
- package/microservices/microservice-subscriptions/src/db/migrations.ts +125 -0
- package/microservices/microservice-subscriptions/src/db/subscriptions.ts +1256 -0
- package/microservices/microservice-subscriptions/src/index.ts +41 -0
- package/microservices/microservice-subscriptions/src/mcp/index.ts +631 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -3985,6 +3985,27 @@ var MICROSERVICES = [
|
|
|
3985
3985
|
category: "Finance",
|
|
3986
3986
|
tags: ["expenses", "receipts", "reimbursement", "budget"]
|
|
3987
3987
|
},
|
|
3988
|
+
{
|
|
3989
|
+
name: "ads",
|
|
3990
|
+
displayName: "Ads",
|
|
3991
|
+
description: "Ad campaign management across Google, Meta, LinkedIn, and TikTok with budgets, metrics, and ROAS tracking",
|
|
3992
|
+
category: "Finance",
|
|
3993
|
+
tags: ["ads", "campaigns", "advertising", "google-ads", "meta-ads", "linkedin-ads", "tiktok-ads", "roas", "marketing"]
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
name: "subscriptions",
|
|
3997
|
+
displayName: "Subscriptions",
|
|
3998
|
+
description: "Subscription and recurring billing management with plans, subscribers, MRR/ARR analytics, churn tracking, and billing events",
|
|
3999
|
+
category: "Finance",
|
|
4000
|
+
tags: ["subscriptions", "recurring-billing", "saas", "mrr", "arr", "churn", "plans", "billing"]
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
name: "payments",
|
|
4004
|
+
displayName: "Payments",
|
|
4005
|
+
description: "Payment processing and tracking with charges, refunds, disputes, payouts, and revenue reporting across providers",
|
|
4006
|
+
category: "Finance",
|
|
4007
|
+
tags: ["payments", "charges", "refunds", "disputes", "payouts", "revenue", "stripe", "reconciliation"]
|
|
4008
|
+
},
|
|
3988
4009
|
{
|
|
3989
4010
|
name: "contacts",
|
|
3990
4011
|
displayName: "Contacts",
|
|
@@ -3999,6 +4020,13 @@ var MICROSERVICES = [
|
|
|
3999
4020
|
category: "CRM",
|
|
4000
4021
|
tags: ["sales", "pipeline", "deals", "leads", "crm"]
|
|
4001
4022
|
},
|
|
4023
|
+
{
|
|
4024
|
+
name: "social",
|
|
4025
|
+
displayName: "Social",
|
|
4026
|
+
description: "Social media management with accounts, posts, templates, scheduling, and engagement analytics",
|
|
4027
|
+
category: "CRM",
|
|
4028
|
+
tags: ["social-media", "posts", "scheduling", "engagement", "analytics", "x", "linkedin", "instagram"]
|
|
4029
|
+
},
|
|
4002
4030
|
{
|
|
4003
4031
|
name: "inventory",
|
|
4004
4032
|
displayName: "Inventory",
|
|
@@ -4006,6 +4034,27 @@ var MICROSERVICES = [
|
|
|
4006
4034
|
category: "Operations",
|
|
4007
4035
|
tags: ["inventory", "stock", "products", "warehouse"]
|
|
4008
4036
|
},
|
|
4037
|
+
{
|
|
4038
|
+
name: "contracts",
|
|
4039
|
+
displayName: "Contracts",
|
|
4040
|
+
description: "Manage contracts and agreements with clauses, reminders, and renewal tracking",
|
|
4041
|
+
category: "Operations",
|
|
4042
|
+
tags: ["contracts", "agreements", "nda", "clauses", "renewals", "legal"]
|
|
4043
|
+
},
|
|
4044
|
+
{
|
|
4045
|
+
name: "shipping",
|
|
4046
|
+
displayName: "Shipping",
|
|
4047
|
+
description: "Order management, shipment tracking, carrier costs, and returns processing",
|
|
4048
|
+
category: "Operations",
|
|
4049
|
+
tags: ["shipping", "orders", "tracking", "carriers", "returns", "delivery", "logistics"]
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
name: "domains",
|
|
4053
|
+
displayName: "Domains",
|
|
4054
|
+
description: "Domain portfolio and DNS management with registrar tracking, SSL monitoring, expiry alerts, and DNS record management",
|
|
4055
|
+
category: "Operations",
|
|
4056
|
+
tags: ["domains", "dns", "ssl", "registrar", "nameservers", "whois", "certificates"]
|
|
4057
|
+
},
|
|
4009
4058
|
{
|
|
4010
4059
|
name: "notes",
|
|
4011
4060
|
displayName: "Notes",
|
|
@@ -4034,6 +4083,20 @@ var MICROSERVICES = [
|
|
|
4034
4083
|
category: "HR",
|
|
4035
4084
|
tags: ["time-tracking", "timesheets", "projects", "hours"]
|
|
4036
4085
|
},
|
|
4086
|
+
{
|
|
4087
|
+
name: "hiring",
|
|
4088
|
+
displayName: "Hiring",
|
|
4089
|
+
description: "Applicant tracking and recruitment with jobs, applicants, interviews, and pipeline management",
|
|
4090
|
+
category: "HR",
|
|
4091
|
+
tags: ["hiring", "recruitment", "applicants", "interviews", "ats", "jobs", "pipeline"]
|
|
4092
|
+
},
|
|
4093
|
+
{
|
|
4094
|
+
name: "payroll",
|
|
4095
|
+
displayName: "Payroll",
|
|
4096
|
+
description: "Payroll management with employees, pay periods, pay stubs, deductions, and tax reporting",
|
|
4097
|
+
category: "HR",
|
|
4098
|
+
tags: ["payroll", "salary", "wages", "deductions", "tax", "employees", "pay-stubs"]
|
|
4099
|
+
},
|
|
4037
4100
|
{
|
|
4038
4101
|
name: "transcriber",
|
|
4039
4102
|
displayName: "Transcriber",
|
package/bin/mcp.js
CHANGED
|
@@ -19486,6 +19486,27 @@ var MICROSERVICES = [
|
|
|
19486
19486
|
category: "Finance",
|
|
19487
19487
|
tags: ["expenses", "receipts", "reimbursement", "budget"]
|
|
19488
19488
|
},
|
|
19489
|
+
{
|
|
19490
|
+
name: "ads",
|
|
19491
|
+
displayName: "Ads",
|
|
19492
|
+
description: "Ad campaign management across Google, Meta, LinkedIn, and TikTok with budgets, metrics, and ROAS tracking",
|
|
19493
|
+
category: "Finance",
|
|
19494
|
+
tags: ["ads", "campaigns", "advertising", "google-ads", "meta-ads", "linkedin-ads", "tiktok-ads", "roas", "marketing"]
|
|
19495
|
+
},
|
|
19496
|
+
{
|
|
19497
|
+
name: "subscriptions",
|
|
19498
|
+
displayName: "Subscriptions",
|
|
19499
|
+
description: "Subscription and recurring billing management with plans, subscribers, MRR/ARR analytics, churn tracking, and billing events",
|
|
19500
|
+
category: "Finance",
|
|
19501
|
+
tags: ["subscriptions", "recurring-billing", "saas", "mrr", "arr", "churn", "plans", "billing"]
|
|
19502
|
+
},
|
|
19503
|
+
{
|
|
19504
|
+
name: "payments",
|
|
19505
|
+
displayName: "Payments",
|
|
19506
|
+
description: "Payment processing and tracking with charges, refunds, disputes, payouts, and revenue reporting across providers",
|
|
19507
|
+
category: "Finance",
|
|
19508
|
+
tags: ["payments", "charges", "refunds", "disputes", "payouts", "revenue", "stripe", "reconciliation"]
|
|
19509
|
+
},
|
|
19489
19510
|
{
|
|
19490
19511
|
name: "contacts",
|
|
19491
19512
|
displayName: "Contacts",
|
|
@@ -19500,6 +19521,13 @@ var MICROSERVICES = [
|
|
|
19500
19521
|
category: "CRM",
|
|
19501
19522
|
tags: ["sales", "pipeline", "deals", "leads", "crm"]
|
|
19502
19523
|
},
|
|
19524
|
+
{
|
|
19525
|
+
name: "social",
|
|
19526
|
+
displayName: "Social",
|
|
19527
|
+
description: "Social media management with accounts, posts, templates, scheduling, and engagement analytics",
|
|
19528
|
+
category: "CRM",
|
|
19529
|
+
tags: ["social-media", "posts", "scheduling", "engagement", "analytics", "x", "linkedin", "instagram"]
|
|
19530
|
+
},
|
|
19503
19531
|
{
|
|
19504
19532
|
name: "inventory",
|
|
19505
19533
|
displayName: "Inventory",
|
|
@@ -19507,6 +19535,27 @@ var MICROSERVICES = [
|
|
|
19507
19535
|
category: "Operations",
|
|
19508
19536
|
tags: ["inventory", "stock", "products", "warehouse"]
|
|
19509
19537
|
},
|
|
19538
|
+
{
|
|
19539
|
+
name: "contracts",
|
|
19540
|
+
displayName: "Contracts",
|
|
19541
|
+
description: "Manage contracts and agreements with clauses, reminders, and renewal tracking",
|
|
19542
|
+
category: "Operations",
|
|
19543
|
+
tags: ["contracts", "agreements", "nda", "clauses", "renewals", "legal"]
|
|
19544
|
+
},
|
|
19545
|
+
{
|
|
19546
|
+
name: "shipping",
|
|
19547
|
+
displayName: "Shipping",
|
|
19548
|
+
description: "Order management, shipment tracking, carrier costs, and returns processing",
|
|
19549
|
+
category: "Operations",
|
|
19550
|
+
tags: ["shipping", "orders", "tracking", "carriers", "returns", "delivery", "logistics"]
|
|
19551
|
+
},
|
|
19552
|
+
{
|
|
19553
|
+
name: "domains",
|
|
19554
|
+
displayName: "Domains",
|
|
19555
|
+
description: "Domain portfolio and DNS management with registrar tracking, SSL monitoring, expiry alerts, and DNS record management",
|
|
19556
|
+
category: "Operations",
|
|
19557
|
+
tags: ["domains", "dns", "ssl", "registrar", "nameservers", "whois", "certificates"]
|
|
19558
|
+
},
|
|
19510
19559
|
{
|
|
19511
19560
|
name: "notes",
|
|
19512
19561
|
displayName: "Notes",
|
|
@@ -19535,6 +19584,20 @@ var MICROSERVICES = [
|
|
|
19535
19584
|
category: "HR",
|
|
19536
19585
|
tags: ["time-tracking", "timesheets", "projects", "hours"]
|
|
19537
19586
|
},
|
|
19587
|
+
{
|
|
19588
|
+
name: "hiring",
|
|
19589
|
+
displayName: "Hiring",
|
|
19590
|
+
description: "Applicant tracking and recruitment with jobs, applicants, interviews, and pipeline management",
|
|
19591
|
+
category: "HR",
|
|
19592
|
+
tags: ["hiring", "recruitment", "applicants", "interviews", "ats", "jobs", "pipeline"]
|
|
19593
|
+
},
|
|
19594
|
+
{
|
|
19595
|
+
name: "payroll",
|
|
19596
|
+
displayName: "Payroll",
|
|
19597
|
+
description: "Payroll management with employees, pay periods, pay stubs, deductions, and tax reporting",
|
|
19598
|
+
category: "HR",
|
|
19599
|
+
tags: ["payroll", "salary", "wages", "deductions", "tax", "employees", "pay-stubs"]
|
|
19600
|
+
},
|
|
19538
19601
|
{
|
|
19539
19602
|
name: "transcriber",
|
|
19540
19603
|
displayName: "Transcriber",
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,27 @@ var MICROSERVICES = [
|
|
|
30
30
|
category: "Finance",
|
|
31
31
|
tags: ["expenses", "receipts", "reimbursement", "budget"]
|
|
32
32
|
},
|
|
33
|
+
{
|
|
34
|
+
name: "ads",
|
|
35
|
+
displayName: "Ads",
|
|
36
|
+
description: "Ad campaign management across Google, Meta, LinkedIn, and TikTok with budgets, metrics, and ROAS tracking",
|
|
37
|
+
category: "Finance",
|
|
38
|
+
tags: ["ads", "campaigns", "advertising", "google-ads", "meta-ads", "linkedin-ads", "tiktok-ads", "roas", "marketing"]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "subscriptions",
|
|
42
|
+
displayName: "Subscriptions",
|
|
43
|
+
description: "Subscription and recurring billing management with plans, subscribers, MRR/ARR analytics, churn tracking, and billing events",
|
|
44
|
+
category: "Finance",
|
|
45
|
+
tags: ["subscriptions", "recurring-billing", "saas", "mrr", "arr", "churn", "plans", "billing"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "payments",
|
|
49
|
+
displayName: "Payments",
|
|
50
|
+
description: "Payment processing and tracking with charges, refunds, disputes, payouts, and revenue reporting across providers",
|
|
51
|
+
category: "Finance",
|
|
52
|
+
tags: ["payments", "charges", "refunds", "disputes", "payouts", "revenue", "stripe", "reconciliation"]
|
|
53
|
+
},
|
|
33
54
|
{
|
|
34
55
|
name: "contacts",
|
|
35
56
|
displayName: "Contacts",
|
|
@@ -44,6 +65,13 @@ var MICROSERVICES = [
|
|
|
44
65
|
category: "CRM",
|
|
45
66
|
tags: ["sales", "pipeline", "deals", "leads", "crm"]
|
|
46
67
|
},
|
|
68
|
+
{
|
|
69
|
+
name: "social",
|
|
70
|
+
displayName: "Social",
|
|
71
|
+
description: "Social media management with accounts, posts, templates, scheduling, and engagement analytics",
|
|
72
|
+
category: "CRM",
|
|
73
|
+
tags: ["social-media", "posts", "scheduling", "engagement", "analytics", "x", "linkedin", "instagram"]
|
|
74
|
+
},
|
|
47
75
|
{
|
|
48
76
|
name: "inventory",
|
|
49
77
|
displayName: "Inventory",
|
|
@@ -51,6 +79,27 @@ var MICROSERVICES = [
|
|
|
51
79
|
category: "Operations",
|
|
52
80
|
tags: ["inventory", "stock", "products", "warehouse"]
|
|
53
81
|
},
|
|
82
|
+
{
|
|
83
|
+
name: "contracts",
|
|
84
|
+
displayName: "Contracts",
|
|
85
|
+
description: "Manage contracts and agreements with clauses, reminders, and renewal tracking",
|
|
86
|
+
category: "Operations",
|
|
87
|
+
tags: ["contracts", "agreements", "nda", "clauses", "renewals", "legal"]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "shipping",
|
|
91
|
+
displayName: "Shipping",
|
|
92
|
+
description: "Order management, shipment tracking, carrier costs, and returns processing",
|
|
93
|
+
category: "Operations",
|
|
94
|
+
tags: ["shipping", "orders", "tracking", "carriers", "returns", "delivery", "logistics"]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "domains",
|
|
98
|
+
displayName: "Domains",
|
|
99
|
+
description: "Domain portfolio and DNS management with registrar tracking, SSL monitoring, expiry alerts, and DNS record management",
|
|
100
|
+
category: "Operations",
|
|
101
|
+
tags: ["domains", "dns", "ssl", "registrar", "nameservers", "whois", "certificates"]
|
|
102
|
+
},
|
|
54
103
|
{
|
|
55
104
|
name: "notes",
|
|
56
105
|
displayName: "Notes",
|
|
@@ -79,6 +128,20 @@ var MICROSERVICES = [
|
|
|
79
128
|
category: "HR",
|
|
80
129
|
tags: ["time-tracking", "timesheets", "projects", "hours"]
|
|
81
130
|
},
|
|
131
|
+
{
|
|
132
|
+
name: "hiring",
|
|
133
|
+
displayName: "Hiring",
|
|
134
|
+
description: "Applicant tracking and recruitment with jobs, applicants, interviews, and pipeline management",
|
|
135
|
+
category: "HR",
|
|
136
|
+
tags: ["hiring", "recruitment", "applicants", "interviews", "ats", "jobs", "pipeline"]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "payroll",
|
|
140
|
+
displayName: "Payroll",
|
|
141
|
+
description: "Payroll management with employees, pay periods, pay stubs, deductions, and tax reporting",
|
|
142
|
+
category: "HR",
|
|
143
|
+
tags: ["payroll", "salary", "wages", "deductions", "tax", "employees", "pay-stubs"]
|
|
144
|
+
},
|
|
82
145
|
{
|
|
83
146
|
name: "transcriber",
|
|
84
147
|
displayName: "Transcriber",
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hasna/microservice-ads",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Ad campaign management microservice with SQLite — manage campaigns, ad groups, and ads across platforms",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"microservice-ads": "./src/cli/index.ts",
|
|
8
|
+
"microservice-ads-mcp": "./src/mcp/index.ts"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./src/index.ts"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"dev": "bun run ./src/cli/index.ts",
|
|
15
|
+
"test": "bun test"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
19
|
+
"commander": "^12.1.0",
|
|
20
|
+
"zod": "^3.24.0"
|
|
21
|
+
},
|
|
22
|
+
"license": "Apache-2.0",
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"registry": "https://registry.npmjs.org",
|
|
25
|
+
"access": "public"
|
|
26
|
+
}
|
|
27
|
+
}
|