kassza 0.1.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.
- package/LICENSE +21 -0
- package/README.md +150 -0
- package/agents/README.md +59 -0
- package/agents/api.md +206 -0
- package/agents/pitfalls.md +52 -0
- package/agents/recipes.md +217 -0
- package/agents/skills/kassza/SKILL.md +29 -0
- package/assets/logo-wordmark.svg +25 -0
- package/assets/logo.svg +19 -0
- package/dist/binary-B89HM03_.cjs +63 -0
- package/dist/binary-D0M9U2MD.js +34 -0
- package/dist/client-B9kbKKBf.d.cts +748 -0
- package/dist/client-zv4enyq7.d.ts +748 -0
- package/dist/cookie-stores/index.cjs +153 -0
- package/dist/cookie-stores/index.d.cts +63 -0
- package/dist/cookie-stores/index.d.ts +63 -0
- package/dist/cookie-stores/index.js +144 -0
- package/dist/create-BZd6CUO7.cjs +1160 -0
- package/dist/create-DDZaNlOz.js +939 -0
- package/dist/dates-D2XebOIg.js +34 -0
- package/dist/dates-DtHzwNU6.d.cts +7 -0
- package/dist/dates-DtHzwNU6.d.ts +7 -0
- package/dist/dates-PPxH0n5H.cjs +57 -0
- package/dist/errors-B0QJhUW1.cjs +302 -0
- package/dist/errors-DapdV5DK.js +273 -0
- package/dist/index-CYAGCdKJ.d.cts +56 -0
- package/dist/index-CYAGCdKJ.d.ts +56 -0
- package/dist/index.cjs +1406 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1394 -0
- package/dist/ipn/index.cjs +108 -0
- package/dist/ipn/index.d.cts +32 -0
- package/dist/ipn/index.d.ts +32 -0
- package/dist/ipn/index.js +101 -0
- package/dist/money/index.cjs +15 -0
- package/dist/money/index.d.cts +2 -0
- package/dist/money/index.d.ts +2 -0
- package/dist/money/index.js +2 -0
- package/dist/money-C9j7nBNP.js +258 -0
- package/dist/money-DkiGukAw.cjs +335 -0
- package/dist/session-CRGOuz-R.cjs +100 -0
- package/dist/session-Dm_45x8K.d.cts +11 -0
- package/dist/session-Dm_45x8K.d.ts +11 -0
- package/dist/session-OJMLGufT.js +77 -0
- package/dist/shared-CrxlxI8n.cjs +207 -0
- package/dist/shared-D6DLa4b7.js +100 -0
- package/dist/storage/fs.cjs +88 -0
- package/dist/storage/fs.d.cts +13 -0
- package/dist/storage/fs.d.ts +13 -0
- package/dist/storage/fs.js +87 -0
- package/dist/storage/index.cjs +643 -0
- package/dist/storage/index.d.cts +288 -0
- package/dist/storage/index.d.ts +288 -0
- package/dist/storage/index.js +619 -0
- package/dist/testing/index.cjs +409 -0
- package/dist/testing/index.d.cts +35 -0
- package/dist/testing/index.d.ts +35 -0
- package/dist/testing/index.js +407 -0
- package/dist/types-DVRgwcqg.d.cts +26 -0
- package/dist/types-DVRgwcqg.d.ts +26 -0
- package/dist/validators/index.cjs +296 -0
- package/dist/validators/index.d.cts +51 -0
- package/dist/validators/index.d.ts +51 -0
- package/dist/validators/index.js +278 -0
- package/llms.txt +16 -0
- package/package.json +151 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as memoryCookieStore, t as CookieStore } from "./session-Dm_45x8K.cjs";
|
|
2
|
+
import { $ as InvoiceItemInput, A as PaymentEntry, B as InvoiceDetailsTotals, C as ReverseReceiptInput, Ct as SzamlazzError, D as ProformaReference, Dt as AgentAction, E as ReversedInvoice, Et as AGENT_ACTIONS, F as InvoiceDetailsBuyer, G as CourierService, H as InvoiceReference, I as InvoiceDetailsHeader, J as CreatedInvoiceItem, K as CreateInvoiceInput, L as InvoiceDetailsItem, M as RegisteredPayment, N as GetInvoiceOptions, O as InvoicePdf, Ot as MAX_INVOICE_ATTACHMENTS, P as InvoiceDetails, Q as InvoiceDefaults, R as InvoiceDetailsPayment, S as ReceiptVatRate, St as AgentErrorCodeInfo, T as ReverseInvoiceInput, Tt as isSzamlazzError, U as BuyerLedger, V as InvoiceDocumentType, W as CorrectiveInvoiceInput, X as FinalInvoiceInput, Y as Currency, Z as InvoiceBuyer, _ as ReceiptPayment, _t as AgentResponseEvent, a as ReceiptsApi, at as InvoiceType, b as ReceiptTotals, bt as SzamlazzOptions, c as TaxpayerInfo, ct as PickPackPointWaybill, d as CreateReceiptInput, dt as TaxpayerType, et as InvoiceLanguage, f as GetReceiptInput, ft as TransOFlexWaybill, g as ReceiptItemInput, gt as AgentRequestEvent, h as ReceiptItem, ht as AgentErrorEvent, i as KasszaOptions, it as InvoiceTemplate, j as RegisterPaymentInput, k as ClearPaymentsInput, kt as SZAMLAZZ_AGENT_URL, l as TaxpayerTaxNumber, lt as SprinterWaybill, m as ReceiptDefaults, mt as AgentAttachment, n as Kassza, nt as InvoicePreview, o as TaxpayerApi, ot as ItemLedger, p as Receipt, pt as Waybill, q as CreatedInvoice, r as KasszaDefaults, rt as InvoiceSeller, s as createKassza, st as MplWaybill, t as InvoicesApi, tt as InvoicePostalAddress, u as TaxpayerAddress, ut as StandardInvoiceInput, v as ReceiptPaymentInput, vt as RequestOptions, w as SendReceiptInput, wt as SzamlazzErrorCategory, x as ReceiptType, xt as AGENT_ERROR_CODES, y as ReceiptPdfTemplate, yt as SzamlazzHooks, z as InvoiceDetailsSeller } from "./client-B9kbKKBf.cjs";
|
|
3
|
+
import { i as todayInBudapest, n as addBudapestDays, r as toBudapestDate, t as DateInput } from "./dates-DtHzwNU6.cjs";
|
|
4
|
+
import { _ as VatRate, o as ItemAmounts, s as ItemPriceInput } from "./index-CYAGCdKJ.cjs";
|
|
5
|
+
//#region src/core/binary.d.ts
|
|
6
|
+
export declare function bytesToBase64(bytes: Uint8Array): string;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AGENT_ACTIONS, AGENT_ERROR_CODES, type AgentAction, type AgentAttachment, type AgentErrorCodeInfo, type AgentErrorEvent, type AgentRequestEvent, type AgentResponseEvent, type BuyerLedger, type ClearPaymentsInput, type CookieStore, type CorrectiveInvoiceInput, type CourierService, type CreateInvoiceInput, type CreateReceiptInput, type CreatedInvoice, type CreatedInvoiceItem, type Currency, type DateInput, type FinalInvoiceInput, type GetInvoiceOptions, type GetReceiptInput, type InvoiceBuyer, type InvoiceDefaults, type InvoiceDetails, type InvoiceDetailsBuyer, type InvoiceDetailsHeader, type InvoiceDetailsItem, type InvoiceDetailsPayment, type InvoiceDetailsSeller, type InvoiceDetailsTotals, type InvoiceDocumentType, type InvoiceItemInput, type InvoiceLanguage, type InvoicePdf, type InvoicePostalAddress, type InvoicePreview, type InvoiceReference, type InvoiceSeller, type InvoiceTemplate, type InvoiceType, type InvoicesApi, type ItemAmounts, type ItemLedger, type ItemPriceInput, type Kassza, type KasszaDefaults, type KasszaOptions, MAX_INVOICE_ATTACHMENTS, type MplWaybill, type PaymentEntry, type PickPackPointWaybill, type ProformaReference, type Receipt, type ReceiptDefaults, type ReceiptItem, type ReceiptItemInput, type ReceiptPayment, type ReceiptPaymentInput, type ReceiptPdfTemplate, type ReceiptTotals, type ReceiptType, type ReceiptVatRate, type ReceiptsApi, type RegisterPaymentInput, type RegisteredPayment, type RequestOptions, type ReverseInvoiceInput, type ReverseReceiptInput, type ReversedInvoice, SZAMLAZZ_AGENT_URL, type SendReceiptInput, type SprinterWaybill, type StandardInvoiceInput, SzamlazzError, type SzamlazzErrorCategory, type SzamlazzHooks, type SzamlazzOptions, type TaxpayerAddress, type TaxpayerApi, type TaxpayerInfo, type TaxpayerTaxNumber, type TaxpayerType, type TransOFlexWaybill, type VatRate, type Waybill, addBudapestDays, createKassza, isSzamlazzError, memoryCookieStore, toBudapestDate, todayInBudapest };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { r as memoryCookieStore, t as CookieStore } from "./session-Dm_45x8K.js";
|
|
2
|
+
import { $ as InvoiceItemInput, A as PaymentEntry, B as InvoiceDetailsTotals, C as ReverseReceiptInput, Ct as SzamlazzError, D as ProformaReference, Dt as AgentAction, E as ReversedInvoice, Et as AGENT_ACTIONS, F as InvoiceDetailsBuyer, G as CourierService, H as InvoiceReference, I as InvoiceDetailsHeader, J as CreatedInvoiceItem, K as CreateInvoiceInput, L as InvoiceDetailsItem, M as RegisteredPayment, N as GetInvoiceOptions, O as InvoicePdf, Ot as MAX_INVOICE_ATTACHMENTS, P as InvoiceDetails, Q as InvoiceDefaults, R as InvoiceDetailsPayment, S as ReceiptVatRate, St as AgentErrorCodeInfo, T as ReverseInvoiceInput, Tt as isSzamlazzError, U as BuyerLedger, V as InvoiceDocumentType, W as CorrectiveInvoiceInput, X as FinalInvoiceInput, Y as Currency, Z as InvoiceBuyer, _ as ReceiptPayment, _t as AgentResponseEvent, a as ReceiptsApi, at as InvoiceType, b as ReceiptTotals, bt as SzamlazzOptions, c as TaxpayerInfo, ct as PickPackPointWaybill, d as CreateReceiptInput, dt as TaxpayerType, et as InvoiceLanguage, f as GetReceiptInput, ft as TransOFlexWaybill, g as ReceiptItemInput, gt as AgentRequestEvent, h as ReceiptItem, ht as AgentErrorEvent, i as KasszaOptions, it as InvoiceTemplate, j as RegisterPaymentInput, k as ClearPaymentsInput, kt as SZAMLAZZ_AGENT_URL, l as TaxpayerTaxNumber, lt as SprinterWaybill, m as ReceiptDefaults, mt as AgentAttachment, n as Kassza, nt as InvoicePreview, o as TaxpayerApi, ot as ItemLedger, p as Receipt, pt as Waybill, q as CreatedInvoice, r as KasszaDefaults, rt as InvoiceSeller, s as createKassza, st as MplWaybill, t as InvoicesApi, tt as InvoicePostalAddress, u as TaxpayerAddress, ut as StandardInvoiceInput, v as ReceiptPaymentInput, vt as RequestOptions, w as SendReceiptInput, wt as SzamlazzErrorCategory, x as ReceiptType, xt as AGENT_ERROR_CODES, y as ReceiptPdfTemplate, yt as SzamlazzHooks, z as InvoiceDetailsSeller } from "./client-zv4enyq7.js";
|
|
3
|
+
import { i as todayInBudapest, n as addBudapestDays, r as toBudapestDate, t as DateInput } from "./dates-DtHzwNU6.js";
|
|
4
|
+
import { _ as VatRate, o as ItemAmounts, s as ItemPriceInput } from "./index-CYAGCdKJ.js";
|
|
5
|
+
//#region src/core/binary.d.ts
|
|
6
|
+
export declare function bytesToBase64(bytes: Uint8Array): string;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { AGENT_ACTIONS, AGENT_ERROR_CODES, type AgentAction, type AgentAttachment, type AgentErrorCodeInfo, type AgentErrorEvent, type AgentRequestEvent, type AgentResponseEvent, type BuyerLedger, type ClearPaymentsInput, type CookieStore, type CorrectiveInvoiceInput, type CourierService, type CreateInvoiceInput, type CreateReceiptInput, type CreatedInvoice, type CreatedInvoiceItem, type Currency, type DateInput, type FinalInvoiceInput, type GetInvoiceOptions, type GetReceiptInput, type InvoiceBuyer, type InvoiceDefaults, type InvoiceDetails, type InvoiceDetailsBuyer, type InvoiceDetailsHeader, type InvoiceDetailsItem, type InvoiceDetailsPayment, type InvoiceDetailsSeller, type InvoiceDetailsTotals, type InvoiceDocumentType, type InvoiceItemInput, type InvoiceLanguage, type InvoicePdf, type InvoicePostalAddress, type InvoicePreview, type InvoiceReference, type InvoiceSeller, type InvoiceTemplate, type InvoiceType, type InvoicesApi, type ItemAmounts, type ItemLedger, type ItemPriceInput, type Kassza, type KasszaDefaults, type KasszaOptions, MAX_INVOICE_ATTACHMENTS, type MplWaybill, type PaymentEntry, type PickPackPointWaybill, type ProformaReference, type Receipt, type ReceiptDefaults, type ReceiptItem, type ReceiptItemInput, type ReceiptPayment, type ReceiptPaymentInput, type ReceiptPdfTemplate, type ReceiptTotals, type ReceiptType, type ReceiptVatRate, type ReceiptsApi, type RegisterPaymentInput, type RegisteredPayment, type RequestOptions, type ReverseInvoiceInput, type ReverseReceiptInput, type ReversedInvoice, SZAMLAZZ_AGENT_URL, type SendReceiptInput, type SprinterWaybill, type StandardInvoiceInput, SzamlazzError, type SzamlazzErrorCategory, type SzamlazzHooks, type SzamlazzOptions, type TaxpayerAddress, type TaxpayerApi, type TaxpayerInfo, type TaxpayerTaxNumber, type TaxpayerType, type TransOFlexWaybill, type VatRate, type Waybill, addBudapestDays, createKassza, isSzamlazzError, memoryCookieStore, toBudapestDate, todayInBudapest };
|