0.0.34 • Published 2 months ago
moysklad-ts v0.0.34
moysklad-ts
This library is in alpha stage and is not ready for production use.
moysklad-ts
is a fully-typed API wrapper for Moysklad.
Usage
Installation
npm
npm i moysklad-ts
pnpm
pnpm add moysklad-ts
Yarn
yarn add moysklad-ts
bun
bun add moysklad-ts
Deno
import { Moysklad } from "https://esm.sh/moysklad-ts";
Example
import { Moysklad, MoyskladApiError } from "moysklad-ts";
const moysklad = new Moysklad({
auth: {
token: "123"
}
});
try {
const { rows: bonusTransactions } = await moysklad.bonusTransaction.list({
expand: { bonusProgram: true }
});
} catch (error) {
if (error instanceof MoyskladApiError) {
console.error(error.message, error.code, error.moreInfo);
return;
}
console.error(error);
}
Documentation
The documentation is available here.
Документация на русском языке доступна здесь.
Contributing
Please read the contributing guidelines before submitting a pull request.
License
This project is licensed under the GPL-3.0 license.
Roadmap
Core features
- ✅ API Client
- ✅ One-level expand
- ✅ Nested expand
- ✅ Ordering
- ✅ Search
- ✅ Filtering
- ⭕ Named filters
- ⭕ Attributes
- ⭕ Positions
- ⭕ Async tasks
Endpoints
- ⭕ Metadata
- ⭕ Assortment
- ⭕ Bonus transaction
- ⭕ Bonus program
- ⭕ Currency
- ⭕ Webhook
- ⭕ Stock webhook
- ⭕ Processing plan folder
- ⭕ Product folder
- ⭕ Contract
- ⭕ UOM
- ⭕ Task
- ⭕ Sales channel
- ⭕ Cashier
- ⭕ Bundle
- ⭕ Counterparty
- ⭕ Variant
- ⭕ Company settings
- ⭕ User settings
- ⭕ Group
- ⭕ Subscription
- ⭕ Role
- ⭕ Custom entity
- ⭕ Project
- ⭕ Region
- ⭕ Consignment
- ⭕ Discount
- ⭕ Store
- ⭕ Employee
- ⭕ Named filter
- ⭕ Tax rate
- ⭕ Expense item
- ⭕ Country
- ⭕ Processing plan
- ⭕ Processing process
- ⭕ Price type
- ⭕ Product
- ⭕ Retail store
- ⭕ Service
- ⭕ Variant's characheristic
- ⭕ Embedded template
- ⭕ Organization
- ⭕ Processing stage
0.0.32
2 months ago
0.0.33
2 months ago
0.0.34
2 months ago
0.0.30
2 months ago
0.0.31
2 months ago
0.0.29
2 months ago
0.0.28
2 months ago
0.0.27
2 months ago
0.0.24
3 months ago
0.0.25
3 months ago
0.0.26
3 months ago
0.0.23
3 months ago
0.0.22
6 months ago
0.0.21
6 months ago
0.0.20
6 months ago
0.0.19
6 months ago
0.0.18
6 months ago
0.0.17
6 months ago
0.0.16
7 months ago
0.0.15
7 months ago
0.0.14
7 months ago
0.0.13
7 months ago
0.0.12
7 months ago
0.0.11
7 months ago
0.0.10
7 months ago
0.0.9
7 months ago
0.0.8
7 months ago
0.0.7
7 months ago
0.0.6
8 months ago
0.0.1
8 months ago