moneybirdjs 1.0.6 → 1.0.7
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/types/lib.d.ts +10 -10
- package/dist/types/lib_salesInvoice.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/lib.d.ts
CHANGED
|
@@ -66,21 +66,21 @@ export interface TaxRateSearchOptions {
|
|
|
66
66
|
updated_after?: Date;
|
|
67
67
|
}
|
|
68
68
|
export interface AddPaymentOptions {
|
|
69
|
-
"
|
|
70
|
-
"payment_date": string;
|
|
69
|
+
"payment_date": Date;
|
|
71
70
|
/** Both a decimal and a string ‘10,95’ are accepted. Should be a number -1,000,000,000 <= n <= 1,000,000,000. */
|
|
72
71
|
"price": number;
|
|
73
72
|
/** Amount paid expressed in the base currency. Required for foreign currencies. Should be a number -1,000,000,000 <= n <= 1,000,000,000. */
|
|
74
|
-
"price_base
|
|
73
|
+
"price_base"?: number;
|
|
74
|
+
"transaction_identifier"?: string;
|
|
75
|
+
"manual_payment_action"?: "private_payment" | "payment_without_proof" | "cash_payment" | "rounding_error" | "bank_transfer" | "balance_settlement" | "invoices_settlement";
|
|
76
|
+
/** Should be a valid ledger account id. */
|
|
77
|
+
"ledger_account_id"?: string;
|
|
78
|
+
/** Should be a valid invoice id. */
|
|
79
|
+
"invoice_id"?: string;
|
|
75
80
|
/** Should be a valid financial account id. */
|
|
76
|
-
"financial_account_id
|
|
81
|
+
"financial_account_id"?: string;
|
|
77
82
|
/** Should be a valid financial mutation id. */
|
|
78
|
-
"financial_mutation_id
|
|
79
|
-
"transaction_identifier?": string;
|
|
80
|
-
/** Can be private_payment, payment_without_proof, cash_payment, rounding_error, bank_transfer, balance_settlement or invoices_settlement. */
|
|
81
|
-
"manual_payment_action?": string;
|
|
82
|
-
/** Should be a valid ledger account id. */
|
|
83
|
-
"ledger_account_id?": string;
|
|
83
|
+
"financial_mutation_id"?: string;
|
|
84
84
|
}
|
|
85
85
|
export interface AddLedgerAccountOptions {
|
|
86
86
|
/** Should be unique for this combination of administration and account type. */
|
|
@@ -62,7 +62,7 @@ export interface SendSalesInvoiceOptions {
|
|
|
62
62
|
}
|
|
63
63
|
export interface UpdateSalesInvoiceOptions {
|
|
64
64
|
/** Should be a valid contact id. */
|
|
65
|
-
contact_id
|
|
65
|
+
contact_id?: string;
|
|
66
66
|
/** Should be a valid contact person id. */
|
|
67
67
|
contact_person_id?: string;
|
|
68
68
|
update_contact?: boolean;
|
package/package.json
CHANGED