erpnext-queue-client 1.34.7 → 1.34.8

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.
@@ -410,8 +410,8 @@ export declare class ERPNextServicecase {
410
410
  url: string;
411
411
  }[];
412
412
  internal_reasons: {
413
- title_de: string;
414
- title_en: string;
413
+ title_de: string | null;
414
+ title_en: string | null;
415
415
  }[];
416
416
  item: string;
417
417
  return_quantity: number;
@@ -385,14 +385,14 @@ export declare const ReturnItemExtended: z.ZodObject<{
385
385
  is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
386
386
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
387
387
  internal_reasons: z.ZodArray<z.ZodObject<{
388
- title_de: z.ZodString;
389
- title_en: z.ZodString;
388
+ title_de: z.ZodNullable<z.ZodString>;
389
+ title_en: z.ZodNullable<z.ZodString>;
390
390
  }, "strip", z.ZodTypeAny, {
391
- title_de: string;
392
- title_en: string;
391
+ title_de: string | null;
392
+ title_en: string | null;
393
393
  }, {
394
- title_de: string;
395
- title_en: string;
394
+ title_de: string | null;
395
+ title_en: string | null;
396
396
  }>, "many">;
397
397
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
398
  }, "strip", z.ZodTypeAny, {
@@ -407,8 +407,8 @@ export declare const ReturnItemExtended: z.ZodObject<{
407
407
  url: string;
408
408
  }[];
409
409
  internal_reasons: {
410
- title_de: string;
411
- title_en: string;
410
+ title_de: string | null;
411
+ title_en: string | null;
412
412
  }[];
413
413
  item: string;
414
414
  return_quantity: number;
@@ -437,8 +437,8 @@ export declare const ReturnItemExtended: z.ZodObject<{
437
437
  url: string;
438
438
  }[];
439
439
  internal_reasons: {
440
- title_de: string;
441
- title_en: string;
440
+ title_de: string | null;
441
+ title_en: string | null;
442
442
  }[];
443
443
  item: string;
444
444
  return_quantity: number;
@@ -1048,14 +1048,14 @@ export declare const ServicecaseExtended: z.ZodObject<{
1048
1048
  is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
1049
1049
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1050
1050
  internal_reasons: z.ZodArray<z.ZodObject<{
1051
- title_de: z.ZodString;
1052
- title_en: z.ZodString;
1051
+ title_de: z.ZodNullable<z.ZodString>;
1052
+ title_en: z.ZodNullable<z.ZodString>;
1053
1053
  }, "strip", z.ZodTypeAny, {
1054
- title_de: string;
1055
- title_en: string;
1054
+ title_de: string | null;
1055
+ title_en: string | null;
1056
1056
  }, {
1057
- title_de: string;
1058
- title_en: string;
1057
+ title_de: string | null;
1058
+ title_en: string | null;
1059
1059
  }>, "many">;
1060
1060
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1061
1061
  }, "strip", z.ZodTypeAny, {
@@ -1070,8 +1070,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
1070
1070
  url: string;
1071
1071
  }[];
1072
1072
  internal_reasons: {
1073
- title_de: string;
1074
- title_en: string;
1073
+ title_de: string | null;
1074
+ title_en: string | null;
1075
1075
  }[];
1076
1076
  item: string;
1077
1077
  return_quantity: number;
@@ -1100,8 +1100,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
1100
1100
  url: string;
1101
1101
  }[];
1102
1102
  internal_reasons: {
1103
- title_de: string;
1104
- title_en: string;
1103
+ title_de: string | null;
1104
+ title_en: string | null;
1105
1105
  }[];
1106
1106
  item: string;
1107
1107
  return_quantity: number;
@@ -1191,8 +1191,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
1191
1191
  url: string;
1192
1192
  }[];
1193
1193
  internal_reasons: {
1194
- title_de: string;
1195
- title_en: string;
1194
+ title_de: string | null;
1195
+ title_en: string | null;
1196
1196
  }[];
1197
1197
  item: string;
1198
1198
  return_quantity: number;
@@ -1254,8 +1254,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
1254
1254
  url: string;
1255
1255
  }[];
1256
1256
  internal_reasons: {
1257
- title_de: string;
1258
- title_en: string;
1257
+ title_de: string | null;
1258
+ title_en: string | null;
1259
1259
  }[];
1260
1260
  item: string;
1261
1261
  return_quantity: number;
@@ -1348,14 +1348,14 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1348
1348
  is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
1349
1349
  attachments_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1350
1350
  internal_reasons: z.ZodArray<z.ZodObject<{
1351
- title_de: z.ZodString;
1352
- title_en: z.ZodString;
1351
+ title_de: z.ZodNullable<z.ZodString>;
1352
+ title_en: z.ZodNullable<z.ZodString>;
1353
1353
  }, "strip", z.ZodTypeAny, {
1354
- title_de: string;
1355
- title_en: string;
1354
+ title_de: string | null;
1355
+ title_en: string | null;
1356
1356
  }, {
1357
- title_de: string;
1358
- title_en: string;
1357
+ title_de: string | null;
1358
+ title_en: string | null;
1359
1359
  }>, "many">;
1360
1360
  internal_reasons_collection_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1361
1361
  }, "strip", z.ZodTypeAny, {
@@ -1370,8 +1370,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1370
1370
  url: string;
1371
1371
  }[];
1372
1372
  internal_reasons: {
1373
- title_de: string;
1374
- title_en: string;
1373
+ title_de: string | null;
1374
+ title_en: string | null;
1375
1375
  }[];
1376
1376
  item: string;
1377
1377
  return_quantity: number;
@@ -1400,8 +1400,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1400
1400
  url: string;
1401
1401
  }[];
1402
1402
  internal_reasons: {
1403
- title_de: string;
1404
- title_en: string;
1403
+ title_de: string | null;
1404
+ title_en: string | null;
1405
1405
  }[];
1406
1406
  item: string;
1407
1407
  return_quantity: number;
@@ -1491,8 +1491,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1491
1491
  url: string;
1492
1492
  }[];
1493
1493
  internal_reasons: {
1494
- title_de: string;
1495
- title_en: string;
1494
+ title_de: string | null;
1495
+ title_en: string | null;
1496
1496
  }[];
1497
1497
  item: string;
1498
1498
  return_quantity: number;
@@ -1554,8 +1554,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1554
1554
  url: string;
1555
1555
  }[];
1556
1556
  internal_reasons: {
1557
- title_de: string;
1558
- title_en: string;
1557
+ title_de: string | null;
1558
+ title_en: string | null;
1559
1559
  }[];
1560
1560
  item: string;
1561
1561
  return_quantity: number;
@@ -115,7 +115,10 @@ exports.ReturnItemExtended = exports.ReturnItemBase.extend({
115
115
  attachments: zod_1.z.array(zod_1.z.object({ url: zod_1.z.string(), type: zod_1.z.enum(["image", "video"]) })),
116
116
  is_complaint: zod_1.z.number().transform(Boolean),
117
117
  attachments_collection_name: zod_1.z.string().optional().nullable(),
118
- internal_reasons: zod_1.z.array(zod_1.z.object({ title_de: zod_1.z.string(), title_en: zod_1.z.string() })),
118
+ internal_reasons: zod_1.z.array(zod_1.z.object({
119
+ title_de: zod_1.z.string().nullable(),
120
+ title_en: zod_1.z.string().nullable(),
121
+ })),
119
122
  internal_reasons_collection_name: zod_1.z.string().optional().nullable(),
120
123
  }).describe("ReturnItemExtended");
121
124
  // Shipping Info stored in separate child table with relation to return_item
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.25.76"
27
27
  },
28
- "version": "1.34.7",
28
+ "version": "1.34.8",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",