zata-vsdc-sdk 1.1.1 → 1.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/README.md +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,8 @@ const client = new ZataClient({
|
|
|
43
43
|
token: process.env.ZATA_TOKEN,
|
|
44
44
|
companyId: 1,
|
|
45
45
|
branchId: 1,
|
|
46
|
-
baseUrl: "https://api.zata.rw", // default
|
|
46
|
+
baseUrl: "https://api.zata.rw", // default (direct)
|
|
47
|
+
// baseUrl: "https://proxy.zata.rw", // optional gateway/proxy base
|
|
47
48
|
timeout: 30000, // default
|
|
48
49
|
});
|
|
49
50
|
|
|
@@ -277,6 +278,13 @@ npm run build
|
|
|
277
278
|
npm test
|
|
278
279
|
```
|
|
279
280
|
|
|
281
|
+
## API docs & base URLs
|
|
282
|
+
|
|
283
|
+
- Taxes docs: [https://docs.zata.rw](https://docs.zata.rw)
|
|
284
|
+
- Unified gateway docs: [https://proxy.zata.rw/api/v1/docs](https://proxy.zata.rw/api/v1/docs)
|
|
285
|
+
- Direct taxes base URL: `https://api.zata.rw`
|
|
286
|
+
- Gateway base URL (taxes under `/api/v1/*`): `https://proxy.zata.rw`
|
|
287
|
+
|
|
280
288
|
## Links
|
|
281
289
|
|
|
282
290
|
- API docs: [https://docs.zata.rw](https://docs.zata.rw)
|