@zauru-sdk/services 2.0.195 → 2.0.197
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Session } from "@remix-run/node";
|
|
2
|
-
import { AxiosUtilsResponse, BasketSchema,
|
|
2
|
+
import { AxiosUtilsResponse, BasketSchema, DataTablesFilterBody, HTMLPurchasesListSchema, NewPurchaseOrderResponse, PurchaseOrderDetailsGraphQL, PurchaseOrderGraphQL, PurchasesListResponseSchema, TaggingGraphQL, UpdatePurchaseOrderBody } from "@zauru-sdk/types";
|
|
3
3
|
/**
|
|
4
4
|
* markAsReceivePurchaseOrder
|
|
5
5
|
* Esta función sólo se utiliza cuando se van a marcar como recibida toda la órden de compra, se recibe todo lo que se envío
|
|
@@ -20,6 +20,7 @@ export declare const markAsReceivePurchaseOrder: (headers: any, body: Partial<Pu
|
|
|
20
20
|
export type CreateNewPurchaseOrderType = Partial<Omit<PurchaseOrderGraphQL, "taggings" | "purchase_order_details">> & {
|
|
21
21
|
purchase_order_details?: Partial<PurchaseOrderDetailsGraphQL>[];
|
|
22
22
|
taggings?: Partial<TaggingGraphQL>[];
|
|
23
|
+
force_preauthorized?: boolean;
|
|
23
24
|
};
|
|
24
25
|
export declare const createNewPurchaseOrder: (headers: any, body: CreateNewPurchaseOrderType) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL>>;
|
|
25
26
|
/**
|
|
@@ -28,7 +29,7 @@ export declare const createNewPurchaseOrder: (headers: any, body: CreateNewPurch
|
|
|
28
29
|
* @param body
|
|
29
30
|
* @returns
|
|
30
31
|
*/
|
|
31
|
-
export declare const createNewAuthorizedPurchaseOrder: (headers: any, body:
|
|
32
|
+
export declare const createNewAuthorizedPurchaseOrder: (headers: any, body: CreateNewPurchaseOrderType, withReceive?: boolean) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL>>;
|
|
32
33
|
/**
|
|
33
34
|
* authorizePurchaseOrder
|
|
34
35
|
* @param headers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.197",
|
|
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.0.
|
|
28
|
+
"@zauru-sdk/common": "^2.0.197",
|
|
29
29
|
"@zauru-sdk/config": "^2.0.100",
|
|
30
30
|
"@zauru-sdk/graphql": "^2.0.195",
|
|
31
|
-
"@zauru-sdk/types": "^2.0.
|
|
31
|
+
"@zauru-sdk/types": "^2.0.197",
|
|
32
32
|
"axios": "^1.6.7",
|
|
33
33
|
"chalk": "5.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "7956011aa4bc12fedb326930e16d6a3aebf4cd5f"
|
|
36
36
|
}
|