@zauru-sdk/types 2.32.0 → 2.32.3

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.
@@ -394,6 +394,30 @@ export type WebAppTableCreateBody = {
394
394
  rows_structure: string[];
395
395
  rows_type: string[];
396
396
  };
397
+ export type WebAppRowAssociationItem = {
398
+ id: number;
399
+ rowable_type: string;
400
+ rowable_id: number;
401
+ };
402
+ export type WebAppRowAssociateBody = {
403
+ temp_purchase_order_id?: number | string;
404
+ temp_invoice_id?: number | string;
405
+ temp_shipment_id?: number | string;
406
+ temp_employee_id?: number | string;
407
+ };
408
+ export type WebAppRowAssociateResponse = {
409
+ webapp_row_id: number;
410
+ associations: WebAppRowAssociationItem[];
411
+ newly_created: WebAppRowAssociationItem[];
412
+ };
413
+ export type WebAppRowDissociateBody = WebAppRowAssociateBody & {
414
+ all?: boolean;
415
+ };
416
+ export type WebAppRowDissociateResponse = {
417
+ webapp_row_id: number;
418
+ removed_count: number;
419
+ associations: WebAppRowAssociationItem[];
420
+ };
397
421
  export type GraphQLToken = {
398
422
  status: number;
399
423
  message: string;
@@ -641,6 +665,7 @@ export type Programacion = {
641
665
  fecha_cosecha_inicio: string;
642
666
  fecha_cosecha_fin: string;
643
667
  prestamo_maximo_pos_gtq: number;
668
+ purchase_orders: Partial<PurchaseOrderGraphQL>[];
644
669
  };
645
670
  export type RejectionWebAppTableObject = {
646
671
  webapp_table: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "2.32.0",
3
+ "version": "2.32.3",
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": "7d60e08b42f068fedf556d18689d850eada2b250"
24
+ "gitHead": "467ba54112ad8bb5e565faab1e01dff40227e191"
25
25
  }