payment-skill 1.0.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.
Files changed (110) hide show
  1. package/LICENSE +62 -0
  2. package/README.md +545 -0
  3. package/SKILL.md +99 -0
  4. package/SUPPORT.md +153 -0
  5. package/bin/payment-skill.js +2 -0
  6. package/dashboard.html +669 -0
  7. package/dist/api/bunq.d.ts +35 -0
  8. package/dist/api/bunq.d.ts.map +1 -0
  9. package/dist/api/bunq.js +164 -0
  10. package/dist/api/bunq.js.map +1 -0
  11. package/dist/api/wise.d.ts +32 -0
  12. package/dist/api/wise.d.ts.map +1 -0
  13. package/dist/api/wise.js +155 -0
  14. package/dist/api/wise.js.map +1 -0
  15. package/dist/cli.d.ts +8 -0
  16. package/dist/cli.d.ts.map +1 -0
  17. package/dist/cli.js +69 -0
  18. package/dist/cli.js.map +1 -0
  19. package/dist/commands/bunq.d.ts +8 -0
  20. package/dist/commands/bunq.d.ts.map +1 -0
  21. package/dist/commands/bunq.js +193 -0
  22. package/dist/commands/bunq.js.map +1 -0
  23. package/dist/commands/config.d.ts +8 -0
  24. package/dist/commands/config.d.ts.map +1 -0
  25. package/dist/commands/config.js +70 -0
  26. package/dist/commands/config.js.map +1 -0
  27. package/dist/commands/emergency.d.ts +8 -0
  28. package/dist/commands/emergency.d.ts.map +1 -0
  29. package/dist/commands/emergency.js +85 -0
  30. package/dist/commands/emergency.js.map +1 -0
  31. package/dist/commands/limits.d.ts +6 -0
  32. package/dist/commands/limits.d.ts.map +1 -0
  33. package/dist/commands/limits.js +125 -0
  34. package/dist/commands/limits.js.map +1 -0
  35. package/dist/commands/merchant.d.ts +6 -0
  36. package/dist/commands/merchant.d.ts.map +1 -0
  37. package/dist/commands/merchant.js +41 -0
  38. package/dist/commands/merchant.js.map +1 -0
  39. package/dist/commands/pay.d.ts +10 -0
  40. package/dist/commands/pay.d.ts.map +1 -0
  41. package/dist/commands/pay.js +112 -0
  42. package/dist/commands/pay.js.map +1 -0
  43. package/dist/commands/provider.d.ts +6 -0
  44. package/dist/commands/provider.d.ts.map +1 -0
  45. package/dist/commands/provider.js +74 -0
  46. package/dist/commands/provider.js.map +1 -0
  47. package/dist/commands/server.d.ts +8 -0
  48. package/dist/commands/server.d.ts.map +1 -0
  49. package/dist/commands/server.js +92 -0
  50. package/dist/commands/server.js.map +1 -0
  51. package/dist/commands/template.d.ts +8 -0
  52. package/dist/commands/template.d.ts.map +1 -0
  53. package/dist/commands/template.js +161 -0
  54. package/dist/commands/template.js.map +1 -0
  55. package/dist/commands/transaction.d.ts +6 -0
  56. package/dist/commands/transaction.d.ts.map +1 -0
  57. package/dist/commands/transaction.js +72 -0
  58. package/dist/commands/transaction.js.map +1 -0
  59. package/dist/commands/wise.d.ts +8 -0
  60. package/dist/commands/wise.d.ts.map +1 -0
  61. package/dist/commands/wise.js +240 -0
  62. package/dist/commands/wise.js.map +1 -0
  63. package/dist/core/config.d.ts +40 -0
  64. package/dist/core/config.d.ts.map +1 -0
  65. package/dist/core/config.js +201 -0
  66. package/dist/core/config.js.map +1 -0
  67. package/dist/core/template-engine.d.ts +27 -0
  68. package/dist/core/template-engine.d.ts.map +1 -0
  69. package/dist/core/template-engine.js +410 -0
  70. package/dist/core/template-engine.js.map +1 -0
  71. package/dist/core/transaction.d.ts +31 -0
  72. package/dist/core/transaction.d.ts.map +1 -0
  73. package/dist/core/transaction.js +214 -0
  74. package/dist/core/transaction.js.map +1 -0
  75. package/dist/index.d.ts +12 -0
  76. package/dist/index.d.ts.map +1 -0
  77. package/dist/index.js +36 -0
  78. package/dist/index.js.map +1 -0
  79. package/dist/server/server.d.ts +14 -0
  80. package/dist/server/server.d.ts.map +1 -0
  81. package/dist/server/server.js +120 -0
  82. package/dist/server/server.js.map +1 -0
  83. package/dist/types/index.d.ts +141 -0
  84. package/dist/types/index.d.ts.map +1 -0
  85. package/dist/types/index.js +8 -0
  86. package/dist/types/index.js.map +1 -0
  87. package/logo.png +0 -0
  88. package/package.json +78 -0
  89. package/src/api/bunq.ts +257 -0
  90. package/src/api/wise.ts +204 -0
  91. package/src/cli.ts +67 -0
  92. package/src/commands/bunq.ts +223 -0
  93. package/src/commands/config.ts +72 -0
  94. package/src/commands/emergency.ts +94 -0
  95. package/src/commands/limits.ts +126 -0
  96. package/src/commands/merchant.ts +39 -0
  97. package/src/commands/pay.ts +109 -0
  98. package/src/commands/provider.ts +75 -0
  99. package/src/commands/server.ts +59 -0
  100. package/src/commands/template.ts +172 -0
  101. package/src/commands/transaction.ts +66 -0
  102. package/src/commands/wise.ts +279 -0
  103. package/src/core/config.ts +202 -0
  104. package/src/core/template-engine.ts +454 -0
  105. package/src/core/transaction.ts +228 -0
  106. package/src/index.ts +14 -0
  107. package/src/server/server.ts +131 -0
  108. package/src/types/index.ts +178 -0
  109. package/tsconfig.json +23 -0
  110. package/verified-merchants.json +63 -0
package/SUPPORT.md ADDED
@@ -0,0 +1,153 @@
1
+ # Support for Payment-Skill
2
+
3
+ ## Community Support (Free)
4
+
5
+ ### GitHub Issues
6
+ **URL:** https://github.com/kraskoruk/payment-skill/issues
7
+
8
+ Use GitHub Issues for:
9
+ - Bug reports
10
+ - Feature requests
11
+ - Questions about usage
12
+ - Documentation improvements
13
+ - General discussion
14
+
15
+ **How to create an issue:**
16
+ 1. Go to https://github.com/kraskoruk/payment-skill/issues
17
+ 2. Click "New Issue"
18
+ 3. Choose the appropriate template (Bug Report, Feature Request, Question)
19
+ 4. Fill in the details
20
+ 5. Submit
21
+
22
+ **Response time:** Community-driven, no guarantees
23
+
24
+ ### GitHub Discussions
25
+ **URL:** https://github.com/kraskoruk/payment-skill/discussions
26
+
27
+ Use Discussions for:
28
+ - Q&A
29
+ - Ideas and proposals
30
+ - Show and tell
31
+ - General community chat
32
+
33
+ ## Documentation
34
+
35
+ ### Wiki (Community-Maintained)
36
+ **URL:** https://github.com/kraskoruk/payment-skill/wiki
37
+
38
+ The wiki is currently **empty** and **community-maintained**. This means:
39
+ - Anyone with a GitHub account can contribute
40
+ - Users add documentation based on their experience
41
+ - Not officially maintained by the creators
42
+ - Quality and accuracy vary
43
+
44
+ **How to contribute to the wiki:**
45
+ 1. Go to https://github.com/kraskoruk/payment-skill/wiki
46
+ 2. Click "New Page" or edit existing pages
47
+ 3. Add your knowledge and examples
48
+ 4. Save
49
+
50
+ ### README (Official)
51
+ The main README.md in the repository contains:
52
+ - Installation instructions
53
+ - Basic usage examples
54
+ - CLI command reference
55
+ - Configuration options
56
+
57
+ This is the **official documentation** maintained with the code.
58
+
59
+ ## Why Are Support Links Empty?
60
+
61
+ ### GitHub Issues
62
+ The issues page is **functional** but may appear empty because:
63
+ - No issues have been reported yet (new project)
64
+ - Issues are resolved and closed
65
+ - It's a community resource that fills over time
66
+
67
+ **You can be the first!** If you have a question or problem, create an issue.
68
+
69
+ ### Wiki
70
+ The wiki is **intentionally empty** to encourage community contribution:
71
+ - Open-source projects often rely on community docs
72
+ - Users add content based on real-world usage
73
+ - Prevents outdated official documentation
74
+ - Allows for diverse use cases and examples
75
+
76
+ **How it works:**
77
+ 1. Users try the software
78
+ 2. They figure things out
79
+ 3. They document their findings in the wiki
80
+ 4. Knowledge accumulates over time
81
+
82
+ ## Getting Help
83
+
84
+ ### Before Asking
85
+ 1. Read the README.md thoroughly
86
+ 2. Check existing GitHub Issues (open and closed)
87
+ 3. Search the wiki (if content exists)
88
+ 4. Try the `--help` flag on CLI commands
89
+
90
+ ### When Creating an Issue
91
+ Include:
92
+ - What you were trying to do
93
+ - What you expected to happen
94
+ - What actually happened
95
+ - Error messages (if any)
96
+ - Your configuration (without API keys!)
97
+ - Steps to reproduce
98
+
99
+ ### Example:
100
+ ```
101
+ Title: Error when creating Wise transfer
102
+
103
+ Description:
104
+ I'm trying to create a transfer using the wise_standard_transfer template.
105
+
106
+ Command used:
107
+ payment-skill pay --template wise_standard_transfer --amount 100 --currency EUR
108
+
109
+ Expected: Transfer to be created
110
+ Actual: Error "Profile ID required"
111
+
112
+ Config:
113
+ - OS: macOS 14
114
+ - Node version: 20.x
115
+ - Payment-skill version: 1.0.0
116
+ ```
117
+
118
+ ## Commercial Support
119
+
120
+ There is **no official commercial support** for payment-skill.
121
+
122
+ If you need guaranteed support, consider:
123
+ - Hiring a developer familiar with the project
124
+ - Using official APIs directly with vendor support
125
+ - Commercial payment processing solutions
126
+
127
+ ## Security Issues
128
+
129
+ **DO NOT** create public issues for security vulnerabilities.
130
+
131
+ Instead:
132
+ 1. Check if the issue is already known
133
+ 2. Contact the maintainer privately (if contact info available)
134
+ 3. Or create a general "Security concern" issue without details
135
+ 4. Wait for maintainer to contact you
136
+
137
+ ## Contributing to Support
138
+
139
+ You can help by:
140
+ 1. Answering questions in GitHub Issues
141
+ 2. Adding to the wiki
142
+ 3. Improving the README
143
+ 4. Creating tutorials or blog posts
144
+ 5. Sharing your use cases
145
+
146
+ ## Disclaimer
147
+
148
+ Remember: **Payment-skill is provided as-is without warranties.**
149
+
150
+ See LICENSE file for full disclaimer.
151
+
152
+ Use at your own risk. The community can help, but ultimately you are
153
+ responsible for your financial transactions.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ require('../dist/cli.js');