@zauru-sdk/types 2.0.162 → 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;
@@ -150,6 +150,17 @@ export type TagGraphQL = {
150
150
  name: string;
151
151
  description: string;
152
152
  };
153
+ export type SerialGraphQL = {
154
+ id: number;
155
+ id_number: string;
156
+ name: string;
157
+ description: string;
158
+ item_id: number;
159
+ entity_id: number;
160
+ agency_id: number;
161
+ agency_future_id: number;
162
+ created_at: string;
163
+ };
153
164
  export type DocumentAutomaticNumberGraphQL = {
154
165
  id: number;
155
166
  active: boolean;
@@ -482,6 +493,9 @@ export type CaseSupplyGraphQL = {
482
493
  id: number;
483
494
  quantity: number;
484
495
  item_id: number;
496
+ unit_price: number;
497
+ reference: string;
498
+ _destroy?: boolean;
485
499
  };
486
500
  export type CaseGraphQL = {
487
501
  id: number;
@@ -505,6 +519,7 @@ export type CaseGraphQL = {
505
519
  client_id: number;
506
520
  case_supplies: CaseSupplyGraphQL[];
507
521
  case_invoices: CaseInvoiceGraphQL[];
522
+ taggings: TaggingGraphQL[];
508
523
  };
509
524
  export type OauthProfile = {
510
525
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "2.0.162",
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": "1217c8b95d203981331c96793db293f3a022cc51"
24
+ "gitHead": "864ff8a1835aacaa8f7487bb2cfa6f38e6ba3367"
25
25
  }