@zauru-sdk/types 1.0.82 → 1.0.83
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 +16 -0
- package/package.json +2 -2
package/dist/GraphQL.types.d.ts
CHANGED
|
@@ -410,6 +410,21 @@ export type AllowedPaymentTermGraphQL = {
|
|
|
410
410
|
payee_category_id: number;
|
|
411
411
|
payment_term_id: number;
|
|
412
412
|
};
|
|
413
|
+
export type DiscountGraphQL = {
|
|
414
|
+
id: number;
|
|
415
|
+
active: boolean;
|
|
416
|
+
name: string;
|
|
417
|
+
percent: number;
|
|
418
|
+
amount: number;
|
|
419
|
+
};
|
|
420
|
+
export type AllowedDiscountGraphQL = {
|
|
421
|
+
id: number;
|
|
422
|
+
discount_id: number;
|
|
423
|
+
discount: DiscountGraphQL;
|
|
424
|
+
payment_term_id: number;
|
|
425
|
+
item_id: number;
|
|
426
|
+
bundle_id: number;
|
|
427
|
+
};
|
|
413
428
|
export type TaggingPaymentGraphQL = {
|
|
414
429
|
id: number;
|
|
415
430
|
payment_id: number;
|
|
@@ -443,6 +458,7 @@ export type PaymentTermGraphQL = {
|
|
|
443
458
|
account_from_id: number;
|
|
444
459
|
account_to_id: number;
|
|
445
460
|
allowed_payment_terms: AllowedPaymentTermGraphQL[];
|
|
461
|
+
allowed_discounts: AllowedDiscountGraphQL[];
|
|
446
462
|
};
|
|
447
463
|
export type PaymentMethodGraphQL = {
|
|
448
464
|
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.83",
|
|
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": "ee7c5a89327913cc2cb8755e215014e236e8799d"
|
|
26
26
|
}
|