@zauru-sdk/types 2.0.164 → 2.0.171

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;
@@ -514,8 +517,10 @@ export type CaseGraphQL = {
514
517
  seller_id: number;
515
518
  closer_id: number;
516
519
  client_id: number;
520
+ agency_id: number;
517
521
  case_supplies: CaseSupplyGraphQL[];
518
522
  case_invoices: CaseInvoiceGraphQL[];
523
+ taggings: TaggingGraphQL[];
519
524
  };
520
525
  export type OauthProfile = {
521
526
  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.171",
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": "a669ce28bf81bc0f56d9d5e634892f22d9d3717c"
25
25
  }