@zauru-sdk/services 2.28.0 → 2.30.0

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.
@@ -141,7 +141,10 @@ export async function createInvoicePOS(headers, body, sujetaAImpuestos = true) {
141
141
  issued: true,
142
142
  pos: true,
143
143
  invoice_details_attributes: arrayToObject(body.invoice_details),
144
- tag_ids: ["", ...(body.tagging_invoices?.map((x) => x.tag_id) ?? [])],
144
+ tag_ids: [
145
+ "",
146
+ ...(body.tagging_invoices?.map((x) => `${x.tag_id}`) ?? []),
147
+ ],
145
148
  };
146
149
  if (sendBody.deleted_invoice_details)
147
150
  delete sendBody.deleted_invoice_details;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.28.0",
3
+ "version": "2.30.0",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -25,12 +25,12 @@
25
25
  "dependencies": {
26
26
  "@remix-run/node": "^2.8.1",
27
27
  "@upstash/redis": "^1.34.5",
28
- "@zauru-sdk/common": "^2.27.0",
28
+ "@zauru-sdk/common": "^2.30.0",
29
29
  "@zauru-sdk/config": "^2.23.1",
30
30
  "@zauru-sdk/graphql": "^2.26.3",
31
- "@zauru-sdk/types": "^2.27.0",
31
+ "@zauru-sdk/types": "^2.30.0",
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "8a5b7cb2b72f7caaf63957161528903a694ee78a"
35
+ "gitHead": "73d9ecf717ad322270ad686ccc9574925935a687"
36
36
  }