@zauru-sdk/types 2.0.164 → 2.0.170

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.
@@ -101,7 +101,7 @@ export type TaggingGraphQL = {
101
101
  id: number;
102
102
  tag_id: number;
103
103
  taggeable_id: number;
104
- taggeable_type: string;
104
+ taggeable_type: "Case" | "CreditNote" | "PurchaseOrder" | "Discharge" | "Payee" | "Charge" | "Item" | "Bundle";
105
105
  };
106
106
  export type PurchaseOrderGraphQL = {
107
107
  id: number;
@@ -493,6 +493,9 @@ export type CaseSupplyGraphQL = {
493
493
  id: number;
494
494
  quantity: number;
495
495
  item_id: number;
496
+ unit_price: number;
497
+ reference: string;
498
+ _destroy?: boolean;
496
499
  };
497
500
  export type CaseGraphQL = {
498
501
  id: number;
@@ -516,6 +519,7 @@ export type CaseGraphQL = {
516
519
  client_id: number;
517
520
  case_supplies: CaseSupplyGraphQL[];
518
521
  case_invoices: CaseInvoiceGraphQL[];
522
+ taggings: TaggingGraphQL[];
519
523
  };
520
524
  export type OauthProfile = {
521
525
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "2.0.164",
3
+ "version": "2.0.170",
4
4
  "description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -21,5 +21,5 @@
21
21
  "devDependencies": {
22
22
  "typescript": "^5.1.6"
23
23
  },
24
- "gitHead": "44804384967c4f4a6315c49550b464b79b55a06a"
24
+ "gitHead": "864ff8a1835aacaa8f7487bb2cfa6f38e6ba3367"
25
25
  }