@mikemo-coposit/am-accounting-shared 0.0.12 → 0.0.13

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 (43) hide show
  1. package/dist/cjs/index.js +67 -50
  2. package/dist/cjs/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -24
  3. package/dist/cjs/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +8 -8
  4. package/dist/cjs/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +24 -24
  5. package/dist/cjs/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +8 -8
  6. package/dist/cjs/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +156 -156
  7. package/dist/cjs/schemas/payout/payout.rest.schema.d.ts +448 -448
  8. package/dist/cjs/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +36 -36
  9. package/dist/cjs/schemas/property/property.rest.schema.d.ts +16 -16
  10. package/dist/cjs/schemas/report/index.d.ts +2 -0
  11. package/dist/cjs/schemas/report/index.d.ts.map +1 -1
  12. package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts +34 -0
  13. package/dist/cjs/schemas/report/project-ledger.rest.schema.d.ts.map +1 -0
  14. package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts +30 -0
  15. package/dist/cjs/schemas/report/unknown-receipt-ledger.schema.d.ts.map +1 -0
  16. package/dist/cjs/utils/mask-string.util.d.ts +9 -0
  17. package/dist/cjs/utils/mask-string.util.d.ts.map +1 -1
  18. package/dist/cjs/utils/payment-credential-generate.util.d.ts +21 -0
  19. package/dist/cjs/utils/payment-credential-generate.util.d.ts.map +1 -1
  20. package/dist/cjs/utils/property.util.d.ts +13 -1
  21. package/dist/cjs/utils/property.util.d.ts.map +1 -1
  22. package/dist/esm/index.mjs +42 -31
  23. package/dist/esm/schemas/cma-account-period/cma-account-period-closing-summary.rest.schema.d.ts +24 -24
  24. package/dist/esm/schemas/cma-reconciled-transaction/cma-reconciled-transaction.rest.schema.d.ts +8 -8
  25. package/dist/esm/schemas/mta-account-period/mta-account-period-closing-summary.rest.schema.d.ts +24 -24
  26. package/dist/esm/schemas/mta-reconciled-transaction/mta-reconciled-transaction.rest.schema.d.ts +8 -8
  27. package/dist/esm/schemas/payout/mta-to-cma-payout/provision-data.mta-to-cma-payout.rest.schema.d.ts +156 -156
  28. package/dist/esm/schemas/payout/payout.rest.schema.d.ts +448 -448
  29. package/dist/esm/schemas/payout-transaction/payout-transaction.rest.entity.d.ts +36 -36
  30. package/dist/esm/schemas/property/property.rest.schema.d.ts +16 -16
  31. package/dist/esm/schemas/report/index.d.ts +2 -0
  32. package/dist/esm/schemas/report/index.d.ts.map +1 -1
  33. package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts +34 -0
  34. package/dist/esm/schemas/report/project-ledger.rest.schema.d.ts.map +1 -0
  35. package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts +30 -0
  36. package/dist/esm/schemas/report/unknown-receipt-ledger.schema.d.ts.map +1 -0
  37. package/dist/esm/utils/mask-string.util.d.ts +9 -0
  38. package/dist/esm/utils/mask-string.util.d.ts.map +1 -1
  39. package/dist/esm/utils/payment-credential-generate.util.d.ts +21 -0
  40. package/dist/esm/utils/payment-credential-generate.util.d.ts.map +1 -1
  41. package/dist/esm/utils/property.util.d.ts +13 -1
  42. package/dist/esm/utils/property.util.d.ts.map +1 -1
  43. package/package.json +1 -1
@@ -318,7 +318,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
318
318
  firstName?: string | null | undefined;
319
319
  lastName?: string | null | undefined;
320
320
  } | null | undefined;
321
- } & any) | null | undefined;
321
+ } & /*elided*/ any) | null | undefined;
322
322
  subsequentTransactions?: ({
323
323
  status: "clearing" | "cleared" | "reconciled";
324
324
  id: string;
@@ -411,7 +411,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
411
411
  firstName?: string | null | undefined;
412
412
  lastName?: string | null | undefined;
413
413
  } | null | undefined;
414
- } & any)[] | null | undefined;
414
+ } & /*elided*/ any)[] | null | undefined;
415
415
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
416
416
  isReceipt?: boolean | null | undefined;
417
417
  isPayment?: boolean | null | undefined;
@@ -608,7 +608,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
608
608
  firstName?: string | null | undefined;
609
609
  lastName?: string | null | undefined;
610
610
  } | null | undefined;
611
- } & any) | null | undefined;
611
+ } & /*elided*/ any) | null | undefined;
612
612
  subsequentTransactions?: ({
613
613
  status: string;
614
614
  id: string;
@@ -701,7 +701,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
701
701
  firstName?: string | null | undefined;
702
702
  lastName?: string | null | undefined;
703
703
  } | null | undefined;
704
- } & any)[] | null | undefined;
704
+ } & /*elided*/ any)[] | null | undefined;
705
705
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
706
706
  }>, "many">>>>;
707
707
  unreconciledAmountCents: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, number, number | bigint>, z.ZodNumber>;
@@ -891,7 +891,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
891
891
  firstName?: string | null | undefined;
892
892
  lastName?: string | null | undefined;
893
893
  } | null | undefined;
894
- } & any) | null | undefined;
894
+ } & /*elided*/ any) | null | undefined;
895
895
  subsequentTransactions?: ({
896
896
  status: "clearing" | "cleared" | "reconciled";
897
897
  id: string;
@@ -984,7 +984,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
984
984
  firstName?: string | null | undefined;
985
985
  lastName?: string | null | undefined;
986
986
  } | null | undefined;
987
- } & any)[] | null | undefined;
987
+ } & /*elided*/ any)[] | null | undefined;
988
988
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
989
989
  isReceipt?: boolean | null | undefined;
990
990
  isPayment?: boolean | null | undefined;
@@ -1181,7 +1181,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1181
1181
  firstName?: string | null | undefined;
1182
1182
  lastName?: string | null | undefined;
1183
1183
  } | null | undefined;
1184
- } & any) | null | undefined;
1184
+ } & /*elided*/ any) | null | undefined;
1185
1185
  subsequentTransactions?: ({
1186
1186
  status: string;
1187
1187
  id: string;
@@ -1274,7 +1274,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1274
1274
  firstName?: string | null | undefined;
1275
1275
  lastName?: string | null | undefined;
1276
1276
  } | null | undefined;
1277
- } & any)[] | null | undefined;
1277
+ } & /*elided*/ any)[] | null | undefined;
1278
1278
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1279
1279
  }>, "many">>>>;
1280
1280
  }, "strip", z.ZodTypeAny, {
@@ -1466,7 +1466,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1466
1466
  firstName?: string | null | undefined;
1467
1467
  lastName?: string | null | undefined;
1468
1468
  } | null | undefined;
1469
- } & any) | null | undefined;
1469
+ } & /*elided*/ any) | null | undefined;
1470
1470
  subsequentTransactions?: ({
1471
1471
  status: "clearing" | "cleared" | "reconciled";
1472
1472
  id: string;
@@ -1559,7 +1559,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1559
1559
  firstName?: string | null | undefined;
1560
1560
  lastName?: string | null | undefined;
1561
1561
  } | null | undefined;
1562
- } & any)[] | null | undefined;
1562
+ } & /*elided*/ any)[] | null | undefined;
1563
1563
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1564
1564
  isReceipt?: boolean | null | undefined;
1565
1565
  isPayment?: boolean | null | undefined;
@@ -1757,7 +1757,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1757
1757
  firstName?: string | null | undefined;
1758
1758
  lastName?: string | null | undefined;
1759
1759
  } | null | undefined;
1760
- } & any) | null | undefined;
1760
+ } & /*elided*/ any) | null | undefined;
1761
1761
  subsequentTransactions?: ({
1762
1762
  status: "clearing" | "cleared" | "reconciled";
1763
1763
  id: string;
@@ -1850,7 +1850,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
1850
1850
  firstName?: string | null | undefined;
1851
1851
  lastName?: string | null | undefined;
1852
1852
  } | null | undefined;
1853
- } & any)[] | null | undefined;
1853
+ } & /*elided*/ any)[] | null | undefined;
1854
1854
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
1855
1855
  isReceipt?: boolean | null | undefined;
1856
1856
  isPayment?: boolean | null | undefined;
@@ -2051,7 +2051,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2051
2051
  firstName?: string | null | undefined;
2052
2052
  lastName?: string | null | undefined;
2053
2053
  } | null | undefined;
2054
- } & any) | null | undefined;
2054
+ } & /*elided*/ any) | null | undefined;
2055
2055
  subsequentTransactions?: ({
2056
2056
  status: string;
2057
2057
  id: string;
@@ -2144,7 +2144,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2144
2144
  firstName?: string | null | undefined;
2145
2145
  lastName?: string | null | undefined;
2146
2146
  } | null | undefined;
2147
- } & any)[] | null | undefined;
2147
+ } & /*elided*/ any)[] | null | undefined;
2148
2148
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
2149
2149
  })[] | null | undefined;
2150
2150
  unreconciledTransactions?: ({
@@ -2333,7 +2333,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2333
2333
  firstName?: string | null | undefined;
2334
2334
  lastName?: string | null | undefined;
2335
2335
  } | null | undefined;
2336
- } & any) | null | undefined;
2336
+ } & /*elided*/ any) | null | undefined;
2337
2337
  subsequentTransactions?: ({
2338
2338
  status: string;
2339
2339
  id: string;
@@ -2426,7 +2426,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2426
2426
  firstName?: string | null | undefined;
2427
2427
  lastName?: string | null | undefined;
2428
2428
  } | null | undefined;
2429
- } & any)[] | null | undefined;
2429
+ } & /*elided*/ any)[] | null | undefined;
2430
2430
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
2431
2431
  })[] | null | undefined;
2432
2432
  }>;
@@ -2641,7 +2641,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2641
2641
  firstName?: string | null | undefined;
2642
2642
  lastName?: string | null | undefined;
2643
2643
  } | null | undefined;
2644
- } & any) | null | undefined;
2644
+ } & /*elided*/ any) | null | undefined;
2645
2645
  subsequentTransactions?: ({
2646
2646
  status: "clearing" | "cleared" | "reconciled";
2647
2647
  id: string;
@@ -2734,7 +2734,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2734
2734
  firstName?: string | null | undefined;
2735
2735
  lastName?: string | null | undefined;
2736
2736
  } | null | undefined;
2737
- } & any)[] | null | undefined;
2737
+ } & /*elided*/ any)[] | null | undefined;
2738
2738
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
2739
2739
  isReceipt?: boolean | null | undefined;
2740
2740
  isPayment?: boolean | null | undefined;
@@ -2932,7 +2932,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
2932
2932
  firstName?: string | null | undefined;
2933
2933
  lastName?: string | null | undefined;
2934
2934
  } | null | undefined;
2935
- } & any) | null | undefined;
2935
+ } & /*elided*/ any) | null | undefined;
2936
2936
  subsequentTransactions?: ({
2937
2937
  status: "clearing" | "cleared" | "reconciled";
2938
2938
  id: string;
@@ -3025,7 +3025,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
3025
3025
  firstName?: string | null | undefined;
3026
3026
  lastName?: string | null | undefined;
3027
3027
  } | null | undefined;
3028
- } & any)[] | null | undefined;
3028
+ } & /*elided*/ any)[] | null | undefined;
3029
3029
  reconciledTransactions?: z.output<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
3030
3030
  isReceipt?: boolean | null | undefined;
3031
3031
  isPayment?: boolean | null | undefined;
@@ -3272,7 +3272,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
3272
3272
  firstName?: string | null | undefined;
3273
3273
  lastName?: string | null | undefined;
3274
3274
  } | null | undefined;
3275
- } & any) | null | undefined;
3275
+ } & /*elided*/ any) | null | undefined;
3276
3276
  subsequentTransactions?: ({
3277
3277
  status: string;
3278
3278
  id: string;
@@ -3365,7 +3365,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
3365
3365
  firstName?: string | null | undefined;
3366
3366
  lastName?: string | null | undefined;
3367
3367
  } | null | undefined;
3368
- } & any)[] | null | undefined;
3368
+ } & /*elided*/ any)[] | null | undefined;
3369
3369
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
3370
3370
  })[] | null | undefined;
3371
3371
  unreconciledTransactions?: ({
@@ -3554,7 +3554,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
3554
3554
  firstName?: string | null | undefined;
3555
3555
  lastName?: string | null | undefined;
3556
3556
  } | null | undefined;
3557
- } & any) | null | undefined;
3557
+ } & /*elided*/ any) | null | undefined;
3558
3558
  subsequentTransactions?: ({
3559
3559
  status: string;
3560
3560
  id: string;
@@ -3647,7 +3647,7 @@ export declare const mtaAccountPeriodClosingSummaryRestResSchema: z.ZodObject<{
3647
3647
  firstName?: string | null | undefined;
3648
3648
  lastName?: string | null | undefined;
3649
3649
  } | null | undefined;
3650
- } & any)[] | null | undefined;
3650
+ } & /*elided*/ any)[] | null | undefined;
3651
3651
  reconciledTransactions?: z.input<typeof import("..").mtaReconciledTransactionRestResSchema>[] | null | undefined;
3652
3652
  })[] | null | undefined;
3653
3653
  };
@@ -197,7 +197,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
197
197
  firstName?: string | null | undefined;
198
198
  lastName?: string | null | undefined;
199
199
  } | null | undefined;
200
- } & any) | null | undefined;
200
+ } & /*elided*/ any) | null | undefined;
201
201
  subsequentTransactions?: ({
202
202
  status: "clearing" | "cleared" | "reconciled";
203
203
  id: string;
@@ -290,7 +290,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
290
290
  firstName?: string | null | undefined;
291
291
  lastName?: string | null | undefined;
292
292
  } | null | undefined;
293
- } & any)[] | null | undefined;
293
+ } & /*elided*/ any)[] | null | undefined;
294
294
  reconciledTransactions?: z.output<typeof mtaReconciledTransactionRestResSchema>[] | null | undefined;
295
295
  isReceipt?: boolean | null | undefined;
296
296
  isPayment?: boolean | null | undefined;
@@ -487,7 +487,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
487
487
  firstName?: string | null | undefined;
488
488
  lastName?: string | null | undefined;
489
489
  } | null | undefined;
490
- } & any) | null | undefined;
490
+ } & /*elided*/ any) | null | undefined;
491
491
  subsequentTransactions?: ({
492
492
  status: string;
493
493
  id: string;
@@ -580,7 +580,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
580
580
  firstName?: string | null | undefined;
581
581
  lastName?: string | null | undefined;
582
582
  } | null | undefined;
583
- } & any)[] | null | undefined;
583
+ } & /*elided*/ any)[] | null | undefined;
584
584
  reconciledTransactions?: z.input<typeof mtaReconciledTransactionRestResSchema>[] | null | undefined;
585
585
  }>>>;
586
586
  accountPeriod: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -1460,7 +1460,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
1460
1460
  firstName?: string | null | undefined;
1461
1461
  lastName?: string | null | undefined;
1462
1462
  } | null | undefined;
1463
- } & any) | null | undefined;
1463
+ } & /*elided*/ any) | null | undefined;
1464
1464
  subsequentTransactions?: ({
1465
1465
  status: "clearing" | "cleared" | "reconciled";
1466
1466
  id: string;
@@ -1553,7 +1553,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
1553
1553
  firstName?: string | null | undefined;
1554
1554
  lastName?: string | null | undefined;
1555
1555
  } | null | undefined;
1556
- } & any)[] | null | undefined;
1556
+ } & /*elided*/ any)[] | null | undefined;
1557
1557
  reconciledTransactions?: z.output<typeof mtaReconciledTransactionRestResSchema>[] | null | undefined;
1558
1558
  isReceipt?: boolean | null | undefined;
1559
1559
  isPayment?: boolean | null | undefined;
@@ -1868,7 +1868,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
1868
1868
  firstName?: string | null | undefined;
1869
1869
  lastName?: string | null | undefined;
1870
1870
  } | null | undefined;
1871
- } & any) | null | undefined;
1871
+ } & /*elided*/ any) | null | undefined;
1872
1872
  subsequentTransactions?: ({
1873
1873
  status: string;
1874
1874
  id: string;
@@ -1961,7 +1961,7 @@ export declare const mtaReconciledTransactionRestResSchema: z.ZodObject<{
1961
1961
  firstName?: string | null | undefined;
1962
1962
  lastName?: string | null | undefined;
1963
1963
  } | null | undefined;
1964
- } & any)[] | null | undefined;
1964
+ } & /*elided*/ any)[] | null | undefined;
1965
1965
  reconciledTransactions?: z.input<typeof mtaReconciledTransactionRestResSchema>[] | null | undefined;
1966
1966
  }) | undefined;
1967
1967
  accountPeriod?: {