erpnext-queue-client 2.6.6 → 2.7.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.
@@ -155,6 +155,7 @@ export declare class ERPNextShipment extends ERPNextDoctypeSubmittableResourceRe
155
155
  custom_return_shipping_provider?: string | null | undefined;
156
156
  tracking_status_info?: string | null | undefined;
157
157
  tracking_url?: string | null | undefined;
158
+ custom_dispatch_run?: string | null | undefined;
158
159
  custom_delivery_country?: string | null | undefined;
159
160
  custom_is_export?: number | null | undefined;
160
161
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
@@ -243,6 +243,7 @@ export declare const Shipment: z.ZodObject<{
243
243
  tracking_status_info: z.ZodNullable<z.ZodOptional<z.ZodString>>;
244
244
  tracking_status: z.ZodString;
245
245
  tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
246
+ custom_dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
246
247
  value_of_goods: z.ZodNumber;
247
248
  custom_delivery_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
249
  custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -306,6 +307,7 @@ export declare const Shipment: z.ZodObject<{
306
307
  custom_return_shipping_provider?: string | null | undefined;
307
308
  tracking_status_info?: string | null | undefined;
308
309
  tracking_url?: string | null | undefined;
310
+ custom_dispatch_run?: string | null | undefined;
309
311
  custom_delivery_country?: string | null | undefined;
310
312
  custom_is_export?: number | null | undefined;
311
313
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
@@ -368,6 +370,7 @@ export declare const Shipment: z.ZodObject<{
368
370
  custom_return_shipping_provider?: string | null | undefined;
369
371
  tracking_status_info?: string | null | undefined;
370
372
  tracking_url?: string | null | undefined;
373
+ custom_dispatch_run?: string | null | undefined;
371
374
  custom_delivery_country?: string | null | undefined;
372
375
  custom_is_export?: number | null | undefined;
373
376
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
@@ -537,6 +540,7 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
537
540
  tracking_status_info: z.ZodNullable<z.ZodOptional<z.ZodString>>;
538
541
  tracking_status: z.ZodString;
539
542
  tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
543
+ custom_dispatch_run: z.ZodNullable<z.ZodOptional<z.ZodString>>;
540
544
  value_of_goods: z.ZodNumber;
541
545
  custom_delivery_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
546
  custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -129,6 +129,7 @@ exports.Shipment = zod_1.z
129
129
  tracking_status_info: zod_1.z.string().optional().nullable(),
130
130
  tracking_status: zod_1.z.string(),
131
131
  tracking_url: zod_1.z.string().optional().nullable(),
132
+ custom_dispatch_run: zod_1.z.string().optional().nullable(),
132
133
  value_of_goods: zod_1.z.number(),
133
134
  custom_delivery_country: zod_1.z.string().nullish(),
134
135
  custom_is_export: zod_1.z.number().optional().nullable(),
package/package.json CHANGED
@@ -7,12 +7,9 @@
7
7
  "main": "dist/index.js",
8
8
  "scripts": {
9
9
  "dev": "tsc -w",
10
- "op:env": "op item get --fields notesPlain 'ERPNext Queue client .env' | sed -e 's/^\"//' -e 's/\"$//' | tee .env > /dev/null",
11
- "op:env-development": "op item get --fields notesPlain 'ERPNext Queue client .env.development' | sed -e 's/^\"//' -e 's/\"$//' | tee .env.development > /dev/null",
12
- "op": "op signin --account ehrenkind.1password.com && run-p op:*",
13
10
  "ci": "yarn test && yarn lint && yarn typecheck",
14
- "test": "dotenv -c test vitest",
15
- "test-on-staging": "dotenv -c development vitest",
11
+ "test": "APP_ENV=testing varlock run -- vitest",
12
+ "test-on-staging": "APP_ENV=dev varlock run -- vitest",
16
13
  "build": "tsc",
17
14
  "release": "npm run build && npm publish"
18
15
  },
@@ -25,8 +22,6 @@
25
22
  "dependencies": {
26
23
  "@temporalio/client": "^1.11.3",
27
24
  "crypto-js": "^4.2.0",
28
- "dotenv": "^16.4.7",
29
- "dotenv-cli": "^8.0.0",
30
25
  "lodash": "^4.17.21",
31
26
  "nanoid": "^3.3.7",
32
27
  "pako": "^2.1.0",
@@ -34,8 +29,13 @@
34
29
  "winston": "^3.15.0",
35
30
  "zod": "3.25.76"
36
31
  },
37
- "version": "2.6.6",
32
+ "version": "2.7.0",
33
+ "engines": {
34
+ "node": ">=22"
35
+ },
38
36
  "devDependencies": {
37
+ "@varlock/1password-plugin": "^0.3.3",
38
+ "varlock": "^0.7.3",
39
39
  "@types/crypto-js": "^4.2.2",
40
40
  "@types/lodash": "^4.17.13",
41
41
  "@types/pako": "^2.0.3",