@mikemo-coposit/am-accounting-shared 1.2.0 → 1.2.2

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.
Files changed (25) hide show
  1. package/dist/cjs/constants/common/package-version.constant.d.ts +1 -1
  2. package/dist/cjs/index.cjs +189 -64
  3. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts +56 -0
  4. package/dist/cjs/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
  5. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +56 -0
  6. package/dist/cjs/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  7. package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -0
  8. package/dist/cjs/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
  9. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts +28 -0
  10. package/dist/cjs/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  11. package/dist/cjs/schemas/report/buyer-ledger.rest.schema.d.ts +62 -0
  12. package/dist/cjs/schemas/report/buyer-ledger.rest.schema.d.ts.map +1 -1
  13. package/dist/esm/constants/common/package-version.constant.d.ts +1 -1
  14. package/dist/esm/index.js +136 -76
  15. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts +56 -0
  16. package/dist/esm/schemas/cma/cma-search.rest.schemal.d.ts.map +1 -1
  17. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts +56 -0
  18. package/dist/esm/schemas/cma-transaction/cma-transaction-search.rest.schema.d.ts.map +1 -1
  19. package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts +28 -0
  20. package/dist/esm/schemas/mta-transaction/mta-transaction-search.rest.schema.d.ts.map +1 -1
  21. package/dist/esm/schemas/property/property-search.rest.schema.d.ts +28 -0
  22. package/dist/esm/schemas/property/property-search.rest.schema.d.ts.map +1 -1
  23. package/dist/esm/schemas/report/buyer-ledger.rest.schema.d.ts +62 -0
  24. package/dist/esm/schemas/report/buyer-ledger.rest.schema.d.ts.map +1 -1
  25. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"cma-transaction-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/cma-transaction/cma-transaction-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8BR,CAAC;AAEvC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
1
+ {"version":3,"file":"cma-transaction-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/cma-transaction/cma-transaction-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8BR,CAAC;AAEvC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -425,6 +425,34 @@ export declare const mtaTransactionSearchRestReqSchema: z.ZodIntersection<z.ZodO
425
425
  endsWith: z.ZodOptional<z.ZodString>;
426
426
  }, z.core.$strict>>]>>;
427
427
  }, z.core.$strict>>, z.ZodString]>>;
428
+ accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
429
+ equals: z.ZodOptional<z.ZodString>;
430
+ in: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
+ notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
432
+ lt: z.ZodOptional<z.ZodString>;
433
+ lte: z.ZodOptional<z.ZodString>;
434
+ gt: z.ZodOptional<z.ZodString>;
435
+ gte: z.ZodOptional<z.ZodString>;
436
+ contains: z.ZodOptional<z.ZodString>;
437
+ startsWith: z.ZodOptional<z.ZodString>;
438
+ endsWith: z.ZodOptional<z.ZodString>;
439
+ mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
440
+ readonly DEFAULT: "default";
441
+ readonly INSENSITIVE: "insensitive";
442
+ }>>>>;
443
+ not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
444
+ equals: z.ZodOptional<z.ZodString>;
445
+ in: z.ZodOptional<z.ZodArray<z.ZodString>>;
446
+ notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
447
+ lt: z.ZodOptional<z.ZodString>;
448
+ lte: z.ZodOptional<z.ZodString>;
449
+ gt: z.ZodOptional<z.ZodString>;
450
+ gte: z.ZodOptional<z.ZodString>;
451
+ contains: z.ZodOptional<z.ZodString>;
452
+ startsWith: z.ZodOptional<z.ZodString>;
453
+ endsWith: z.ZodOptional<z.ZodString>;
454
+ }, z.core.$strict>>]>>;
455
+ }, z.core.$strict>>, z.ZodString]>>;
428
456
  country: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
429
457
  equals: z.ZodOptional<z.ZodString>;
430
458
  in: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"mta-transaction-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/mta-transaction/mta-transaction-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
1
+ {"version":3,"file":"mta-transaction-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/mta-transaction/mta-transaction-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAsBR,CAAC;AAEvC,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -648,6 +648,34 @@ export declare const propertySearchRestReqSchema: z.ZodObject<{
648
648
  endsWith: z.ZodOptional<z.ZodString>;
649
649
  }, z.core.$strict>>]>>;
650
650
  }, z.core.$strict>>, z.ZodString]>>;
651
+ accountNumber: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
652
+ equals: z.ZodOptional<z.ZodString>;
653
+ in: z.ZodOptional<z.ZodArray<z.ZodString>>;
654
+ notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
655
+ lt: z.ZodOptional<z.ZodString>;
656
+ lte: z.ZodOptional<z.ZodString>;
657
+ gt: z.ZodOptional<z.ZodString>;
658
+ gte: z.ZodOptional<z.ZodString>;
659
+ contains: z.ZodOptional<z.ZodString>;
660
+ startsWith: z.ZodOptional<z.ZodString>;
661
+ endsWith: z.ZodOptional<z.ZodString>;
662
+ mode: z.ZodOptional<z.ZodPrefault<z.ZodLazy<z.ZodEnum<{
663
+ readonly DEFAULT: "default";
664
+ readonly INSENSITIVE: "insensitive";
665
+ }>>>>;
666
+ not: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
667
+ equals: z.ZodOptional<z.ZodString>;
668
+ in: z.ZodOptional<z.ZodArray<z.ZodString>>;
669
+ notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
670
+ lt: z.ZodOptional<z.ZodString>;
671
+ lte: z.ZodOptional<z.ZodString>;
672
+ gt: z.ZodOptional<z.ZodString>;
673
+ gte: z.ZodOptional<z.ZodString>;
674
+ contains: z.ZodOptional<z.ZodString>;
675
+ startsWith: z.ZodOptional<z.ZodString>;
676
+ endsWith: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strict>>]>>;
678
+ }, z.core.$strict>>, z.ZodString]>>;
651
679
  country: z.ZodOptional<z.ZodUnion<readonly [z.ZodLazy<z.ZodObject<{
652
680
  equals: z.ZodOptional<z.ZodString>;
653
681
  in: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"property-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/property/property-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;iBAStC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"property-search.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/property/property-search.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB1C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAStC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,5 +1,42 @@
1
1
  import { z } from "zod";
2
2
  import { ReportGroupType } from "../../constants/report/common/report-group-type.constant";
3
+ export declare const buyerLedgerRestReqBaseSchema: z.ZodIntersection<z.ZodObject<{
4
+ reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
5
+ endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
6
+ startDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
7
+ }, z.core.$strip>, z.ZodObject<{
8
+ propertyIds: z.ZodArray<z.ZodUUID>;
9
+ reportGroupType: z.ZodEnum<typeof ReportGroupType>;
10
+ showMta: z.ZodDefault<z.ZodBoolean>;
11
+ showCma: z.ZodDefault<z.ZodBoolean>;
12
+ mtaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13
+ ASSIGN_UNKNOWN_TO_CUSTOMER: string;
14
+ TRANSACTION_CANCEL: string;
15
+ TRUST_TO_CMA_PAYOUT: string;
16
+ TRUST_SETTLEMENT_PAYOUT: string;
17
+ REFUND_PAYOUT: string;
18
+ UNKNOWN_PAYOUT: string;
19
+ PAYOUT: string;
20
+ UNKNOWN: string;
21
+ HOLDING_DEPOSIT: string;
22
+ SIGNING_DEPOSIT: string;
23
+ WEEKLY_PAYMENT: string;
24
+ CMA_CLOSURE_DEPOSIT: string;
25
+ CMA_INTEREST: string;
26
+ }>>>;
27
+ cmaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
28
+ TRANSACTION_CANCEL: string;
29
+ CMA_SETTLEMENT_PAYOUT: string;
30
+ CMA_REFUND_PAYOUT: string;
31
+ CMA_BANK_FEE: string;
32
+ INTEREST: string;
33
+ RECEIPT: string;
34
+ }>>>;
35
+ }, z.core.$strip>>;
36
+ /**
37
+ * Full schema with cross-field validation — used by the frontend for
38
+ * safeParseAsync and by the backend validation pipe at runtime.
39
+ */
3
40
  export declare const buyerLedgerRestReqSchema: z.ZodIntersection<z.ZodObject<{
4
41
  reportDataRangeType: z.ZodEnum<typeof import("../..").ReportDataRangeType>;
5
42
  endDate: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodCustom<import("dayjs").Dayjs, import("dayjs").Dayjs>, z.ZodString, z.ZodDate, z.ZodISODateTime]>, z.ZodTransform<number | Date, string | import("dayjs").Dayjs | Date>>, z.ZodDate>>>, z.ZodDate>;
@@ -7,6 +44,31 @@ export declare const buyerLedgerRestReqSchema: z.ZodIntersection<z.ZodObject<{
7
44
  }, z.core.$strip>, z.ZodObject<{
8
45
  propertyIds: z.ZodArray<z.ZodUUID>;
9
46
  reportGroupType: z.ZodEnum<typeof ReportGroupType>;
47
+ showMta: z.ZodDefault<z.ZodBoolean>;
48
+ showCma: z.ZodDefault<z.ZodBoolean>;
49
+ mtaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
50
+ ASSIGN_UNKNOWN_TO_CUSTOMER: string;
51
+ TRANSACTION_CANCEL: string;
52
+ TRUST_TO_CMA_PAYOUT: string;
53
+ TRUST_SETTLEMENT_PAYOUT: string;
54
+ REFUND_PAYOUT: string;
55
+ UNKNOWN_PAYOUT: string;
56
+ PAYOUT: string;
57
+ UNKNOWN: string;
58
+ HOLDING_DEPOSIT: string;
59
+ SIGNING_DEPOSIT: string;
60
+ WEEKLY_PAYMENT: string;
61
+ CMA_CLOSURE_DEPOSIT: string;
62
+ CMA_INTEREST: string;
63
+ }>>>;
64
+ cmaTransactionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
65
+ TRANSACTION_CANCEL: string;
66
+ CMA_SETTLEMENT_PAYOUT: string;
67
+ CMA_REFUND_PAYOUT: string;
68
+ CMA_BANK_FEE: string;
69
+ INTEREST: string;
70
+ RECEIPT: string;
71
+ }>>>;
10
72
  }, z.core.$strip>>;
11
73
  export type BuyerLedgerRestReq = z.input<typeof buyerLedgerRestReqSchema>;
12
74
  //# sourceMappingURL=buyer-ledger.rest.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buyer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/buyer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,wBAAwB;;;;;;;kBAKpC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"buyer-ledger.rest.schema.d.ts","sourceRoot":"","sources":["../../../../packages/schemas/report/buyer-ledger.rest.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAG3F,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASxC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikemo-coposit/am-accounting-shared",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "private": false,
5
5
  "description": "Shared packages for AM Accounting",
6
6
  "license": "ISC",
@@ -25,14 +25,14 @@
25
25
  "@commitlint/cli": "^20.1.0",
26
26
  "@commitlint/config-conventional": "20.0.0",
27
27
  "@release-it/conventional-changelog": "10.0.1",
28
- "@rslib/core": "^0.18.0",
28
+ "@rslib/core": "^0.21.0",
29
29
  "@types/node": "^22.17.1",
30
- "axios": "^1.13.6",
30
+ "axios": "^1.15.0",
31
31
  "class-transformer": "^0.5.1",
32
32
  "husky": "^9.1.7",
33
33
  "lint-staged": "^16.2.6",
34
- "oxfmt": "^0.41.0",
35
- "oxlint": "^1.55.0",
34
+ "oxfmt": "^0.44.0",
35
+ "oxlint": "^1.59.0",
36
36
  "release-it": "19.0.5",
37
37
  "release-it-pnpm": "^4.6.6",
38
38
  "rxjs": "^7.8.2",