@zauru-sdk/types 2.30.0 → 2.32.2

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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "2.30.0",
3
+ "version": "2.32.2",
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": "73d9ecf717ad322270ad686ccc9574925935a687"
24
+ "gitHead": "a576adb455249b281fd063c8ff911a87ce60ae0b"
25
25
  }