@zauru-sdk/services 2.0.89 → 2.0.90

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.
@@ -23,12 +23,6 @@ export const markAsReceivePurchaseOrder = (headers, body) => {
23
23
  return true;
24
24
  });
25
25
  };
26
- /**
27
- * createNewPurchaseOrder
28
- * @param headers
29
- * @param body
30
- * @returns
31
- */
32
26
  export const createNewPurchaseOrder = (headers, body) => {
33
27
  return handlePossibleAxiosErrors(async () => {
34
28
  let sendBody = {
@@ -17,10 +17,11 @@ export declare const markAsReceivePurchaseOrder: (headers: any, body: Partial<Pu
17
17
  * @param body
18
18
  * @returns
19
19
  */
20
- export declare const createNewPurchaseOrder: (headers: any, body: Partial<PurchaseOrderGraphQL> & {
20
+ export type CreateNewPurchaseOrderType = Partial<Omit<PurchaseOrderGraphQL, "taggings" | "purchase_order_details">> & {
21
21
  purchase_order_details?: Partial<PurchaseOrderDetailsGraphQL>[];
22
22
  taggings?: Partial<TaggingGraphQL>[];
23
- }) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL>>;
23
+ };
24
+ export declare const createNewPurchaseOrder: (headers: any, body: CreateNewPurchaseOrderType) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL>>;
24
25
  /**
25
26
  *
26
27
  * @param headers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.89",
3
+ "version": "2.0.90",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -31,5 +31,5 @@
31
31
  "axios": "^1.6.7",
32
32
  "chalk": "5.3.0"
33
33
  },
34
- "gitHead": "1ecbbcbbae1e5cfa2de448676a606c913fbd6a6a"
34
+ "gitHead": "e593ac90762548e21ae673fff50cac06ed194519"
35
35
  }