@techzunction/sdk 0.6.5 → 0.6.6
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.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +121 -102
- package/dist/index.d.ts +121 -102
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1723,6 +1723,9 @@ function createAdmin(root, c) {
|
|
|
1723
1723
|
},
|
|
1724
1724
|
update(id, data) {
|
|
1725
1725
|
return c.patch(`/support/${id}`, data);
|
|
1726
|
+
},
|
|
1727
|
+
reply(ticketId, data) {
|
|
1728
|
+
return c.post(`/support/${ticketId}/reply`, data);
|
|
1726
1729
|
}
|
|
1727
1730
|
},
|
|
1728
1731
|
// ─── Content (Admin) ─────────────────────────────────────────────
|
|
@@ -2174,6 +2177,12 @@ function createAdmin(root, c) {
|
|
|
2174
2177
|
markPaid(id) {
|
|
2175
2178
|
return c.patch(`/admin/finance/payouts/${id}`, { isPaid: true });
|
|
2176
2179
|
},
|
|
2180
|
+
createPayout(data) {
|
|
2181
|
+
return c.post("/admin/finance/payouts", data);
|
|
2182
|
+
},
|
|
2183
|
+
markPayoutPaid(id) {
|
|
2184
|
+
return c.patch(`/admin/finance/payouts/${id}`, { isPaid: true });
|
|
2185
|
+
},
|
|
2177
2186
|
exportReport(params) {
|
|
2178
2187
|
return c.post("/admin/reports/export", params);
|
|
2179
2188
|
}
|