@zauru-sdk/types 1.0.82 → 1.0.84
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/GraphQL.types.d.ts +17 -0
- package/package.json +2 -2
package/dist/GraphQL.types.d.ts
CHANGED
|
@@ -286,6 +286,7 @@ export type InvoiceGraphQL = {
|
|
|
286
286
|
zid: number;
|
|
287
287
|
id_number: string;
|
|
288
288
|
order_number: string;
|
|
289
|
+
discount_id: number;
|
|
289
290
|
invoice_number: string;
|
|
290
291
|
reference: string;
|
|
291
292
|
date: string;
|
|
@@ -410,6 +411,21 @@ export type AllowedPaymentTermGraphQL = {
|
|
|
410
411
|
payee_category_id: number;
|
|
411
412
|
payment_term_id: number;
|
|
412
413
|
};
|
|
414
|
+
export type DiscountGraphQL = {
|
|
415
|
+
id: number;
|
|
416
|
+
active: boolean;
|
|
417
|
+
name: string;
|
|
418
|
+
percent: number;
|
|
419
|
+
amount: number;
|
|
420
|
+
};
|
|
421
|
+
export type AllowedDiscountGraphQL = {
|
|
422
|
+
id: number;
|
|
423
|
+
discount_id: number;
|
|
424
|
+
discount: DiscountGraphQL;
|
|
425
|
+
payment_term_id: number;
|
|
426
|
+
item_id: number;
|
|
427
|
+
bundle_id: number;
|
|
428
|
+
};
|
|
413
429
|
export type TaggingPaymentGraphQL = {
|
|
414
430
|
id: number;
|
|
415
431
|
payment_id: number;
|
|
@@ -443,6 +459,7 @@ export type PaymentTermGraphQL = {
|
|
|
443
459
|
account_from_id: number;
|
|
444
460
|
account_to_id: number;
|
|
445
461
|
allowed_payment_terms: AllowedPaymentTermGraphQL[];
|
|
462
|
+
allowed_discounts: AllowedDiscountGraphQL[];
|
|
446
463
|
};
|
|
447
464
|
export type PaymentMethodGraphQL = {
|
|
448
465
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.84",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "6ea5623e3b278024fb443662acb7e65fbc251926"
|
|
26
26
|
}
|