@be-pttmj/app-api 0.0.3 → 0.0.4

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 (2) hide show
  1. package/dist/index.d.ts +307 -487
  2. package/package.json +2 -1
package/dist/index.d.ts CHANGED
@@ -604,7 +604,7 @@ type DecorateCreateRouterOptions<TRouterOptions extends CreateRouterOptions> = {
604
604
  * @internal
605
605
  */
606
606
  //#endregion
607
- //#region ../../node_modules/.bun/@prisma+client@6.19.0+467040141d559361/node_modules/@prisma/client/runtime/library.d.ts
607
+ //#region ../../node_modules/.bun/@prisma+client@6.19.1/node_modules/@prisma/client/runtime/library.d.ts
608
608
  /**
609
609
  * An interface that exposes some basic information about the
610
610
  * adapter like its name and provider type.
@@ -702,13 +702,13 @@ declare type ConnectionInfo = {
702
702
  supportsRelationJoins: boolean;
703
703
  };
704
704
  declare type Count<O$1> = { [K in keyof O$1]: Count<number> } & {};
705
- declare function Decimal$1(n: Decimal$1.Value): Decimal$1;
706
- declare namespace Decimal$1 {
707
- export type Constructor = typeof Decimal$1;
708
- export type Instance = Decimal$1;
705
+ declare function Decimal(n: Decimal.Value): Decimal;
706
+ declare namespace Decimal {
707
+ export type Constructor = typeof Decimal;
708
+ export type Instance = Decimal;
709
709
  export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
710
710
  export type Modulo = Rounding | 9;
711
- export type Value = string | number | Decimal$1;
711
+ export type Value = string | number | Decimal;
712
712
 
713
713
  // http://mikemcl.github.io/decimal.js/#constructor-properties
714
714
  export interface Config {
@@ -723,53 +723,53 @@ declare namespace Decimal$1 {
723
723
  defaults?: boolean;
724
724
  }
725
725
  }
726
- declare class Decimal$1 {
726
+ declare class Decimal {
727
727
  readonly d: number[];
728
728
  readonly e: number;
729
729
  readonly s: number;
730
- constructor(n: Decimal$1.Value);
731
- absoluteValue(): Decimal$1;
732
- abs(): Decimal$1;
733
- ceil(): Decimal$1;
734
- clampedTo(min: Decimal$1.Value, max: Decimal$1.Value): Decimal$1;
735
- clamp(min: Decimal$1.Value, max: Decimal$1.Value): Decimal$1;
736
- comparedTo(n: Decimal$1.Value): number;
737
- cmp(n: Decimal$1.Value): number;
738
- cosine(): Decimal$1;
739
- cos(): Decimal$1;
740
- cubeRoot(): Decimal$1;
741
- cbrt(): Decimal$1;
730
+ constructor(n: Decimal.Value);
731
+ absoluteValue(): Decimal;
732
+ abs(): Decimal;
733
+ ceil(): Decimal;
734
+ clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;
735
+ clamp(min: Decimal.Value, max: Decimal.Value): Decimal;
736
+ comparedTo(n: Decimal.Value): number;
737
+ cmp(n: Decimal.Value): number;
738
+ cosine(): Decimal;
739
+ cos(): Decimal;
740
+ cubeRoot(): Decimal;
741
+ cbrt(): Decimal;
742
742
  decimalPlaces(): number;
743
743
  dp(): number;
744
- dividedBy(n: Decimal$1.Value): Decimal$1;
745
- div(n: Decimal$1.Value): Decimal$1;
746
- dividedToIntegerBy(n: Decimal$1.Value): Decimal$1;
747
- divToInt(n: Decimal$1.Value): Decimal$1;
748
- equals(n: Decimal$1.Value): boolean;
749
- eq(n: Decimal$1.Value): boolean;
750
- floor(): Decimal$1;
751
- greaterThan(n: Decimal$1.Value): boolean;
752
- gt(n: Decimal$1.Value): boolean;
753
- greaterThanOrEqualTo(n: Decimal$1.Value): boolean;
754
- gte(n: Decimal$1.Value): boolean;
755
- hyperbolicCosine(): Decimal$1;
756
- cosh(): Decimal$1;
757
- hyperbolicSine(): Decimal$1;
758
- sinh(): Decimal$1;
759
- hyperbolicTangent(): Decimal$1;
760
- tanh(): Decimal$1;
761
- inverseCosine(): Decimal$1;
762
- acos(): Decimal$1;
763
- inverseHyperbolicCosine(): Decimal$1;
764
- acosh(): Decimal$1;
765
- inverseHyperbolicSine(): Decimal$1;
766
- asinh(): Decimal$1;
767
- inverseHyperbolicTangent(): Decimal$1;
768
- atanh(): Decimal$1;
769
- inverseSine(): Decimal$1;
770
- asin(): Decimal$1;
771
- inverseTangent(): Decimal$1;
772
- atan(): Decimal$1;
744
+ dividedBy(n: Decimal.Value): Decimal;
745
+ div(n: Decimal.Value): Decimal;
746
+ dividedToIntegerBy(n: Decimal.Value): Decimal;
747
+ divToInt(n: Decimal.Value): Decimal;
748
+ equals(n: Decimal.Value): boolean;
749
+ eq(n: Decimal.Value): boolean;
750
+ floor(): Decimal;
751
+ greaterThan(n: Decimal.Value): boolean;
752
+ gt(n: Decimal.Value): boolean;
753
+ greaterThanOrEqualTo(n: Decimal.Value): boolean;
754
+ gte(n: Decimal.Value): boolean;
755
+ hyperbolicCosine(): Decimal;
756
+ cosh(): Decimal;
757
+ hyperbolicSine(): Decimal;
758
+ sinh(): Decimal;
759
+ hyperbolicTangent(): Decimal;
760
+ tanh(): Decimal;
761
+ inverseCosine(): Decimal;
762
+ acos(): Decimal;
763
+ inverseHyperbolicCosine(): Decimal;
764
+ acosh(): Decimal;
765
+ inverseHyperbolicSine(): Decimal;
766
+ asinh(): Decimal;
767
+ inverseHyperbolicTangent(): Decimal;
768
+ atanh(): Decimal;
769
+ inverseSine(): Decimal;
770
+ asin(): Decimal;
771
+ inverseTangent(): Decimal;
772
+ atan(): Decimal;
773
773
  isFinite(): boolean;
774
774
  isInteger(): boolean;
775
775
  isInt(): boolean;
@@ -779,120 +779,120 @@ declare class Decimal$1 {
779
779
  isPositive(): boolean;
780
780
  isPos(): boolean;
781
781
  isZero(): boolean;
782
- lessThan(n: Decimal$1.Value): boolean;
783
- lt(n: Decimal$1.Value): boolean;
784
- lessThanOrEqualTo(n: Decimal$1.Value): boolean;
785
- lte(n: Decimal$1.Value): boolean;
786
- logarithm(n?: Decimal$1.Value): Decimal$1;
787
- log(n?: Decimal$1.Value): Decimal$1;
788
- minus(n: Decimal$1.Value): Decimal$1;
789
- sub(n: Decimal$1.Value): Decimal$1;
790
- modulo(n: Decimal$1.Value): Decimal$1;
791
- mod(n: Decimal$1.Value): Decimal$1;
792
- naturalExponential(): Decimal$1;
793
- exp(): Decimal$1;
794
- naturalLogarithm(): Decimal$1;
795
- ln(): Decimal$1;
796
- negated(): Decimal$1;
797
- neg(): Decimal$1;
798
- plus(n: Decimal$1.Value): Decimal$1;
799
- add(n: Decimal$1.Value): Decimal$1;
782
+ lessThan(n: Decimal.Value): boolean;
783
+ lt(n: Decimal.Value): boolean;
784
+ lessThanOrEqualTo(n: Decimal.Value): boolean;
785
+ lte(n: Decimal.Value): boolean;
786
+ logarithm(n?: Decimal.Value): Decimal;
787
+ log(n?: Decimal.Value): Decimal;
788
+ minus(n: Decimal.Value): Decimal;
789
+ sub(n: Decimal.Value): Decimal;
790
+ modulo(n: Decimal.Value): Decimal;
791
+ mod(n: Decimal.Value): Decimal;
792
+ naturalExponential(): Decimal;
793
+ exp(): Decimal;
794
+ naturalLogarithm(): Decimal;
795
+ ln(): Decimal;
796
+ negated(): Decimal;
797
+ neg(): Decimal;
798
+ plus(n: Decimal.Value): Decimal;
799
+ add(n: Decimal.Value): Decimal;
800
800
  precision(includeZeros?: boolean): number;
801
801
  sd(includeZeros?: boolean): number;
802
- round(): Decimal$1;
803
- sine(): Decimal$1;
804
- sin(): Decimal$1;
805
- squareRoot(): Decimal$1;
806
- sqrt(): Decimal$1;
807
- tangent(): Decimal$1;
808
- tan(): Decimal$1;
809
- times(n: Decimal$1.Value): Decimal$1;
810
- mul(n: Decimal$1.Value): Decimal$1;
802
+ round(): Decimal;
803
+ sine(): Decimal;
804
+ sin(): Decimal;
805
+ squareRoot(): Decimal;
806
+ sqrt(): Decimal;
807
+ tangent(): Decimal;
808
+ tan(): Decimal;
809
+ times(n: Decimal.Value): Decimal;
810
+ mul(n: Decimal.Value): Decimal;
811
811
  toBinary(significantDigits?: number): string;
812
- toBinary(significantDigits: number, rounding: Decimal$1.Rounding): string;
813
- toDecimalPlaces(decimalPlaces?: number): Decimal$1;
814
- toDecimalPlaces(decimalPlaces: number, rounding: Decimal$1.Rounding): Decimal$1;
815
- toDP(decimalPlaces?: number): Decimal$1;
816
- toDP(decimalPlaces: number, rounding: Decimal$1.Rounding): Decimal$1;
812
+ toBinary(significantDigits: number, rounding: Decimal.Rounding): string;
813
+ toDecimalPlaces(decimalPlaces?: number): Decimal;
814
+ toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
815
+ toDP(decimalPlaces?: number): Decimal;
816
+ toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
817
817
  toExponential(decimalPlaces?: number): string;
818
- toExponential(decimalPlaces: number, rounding: Decimal$1.Rounding): string;
818
+ toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;
819
819
  toFixed(decimalPlaces?: number): string;
820
- toFixed(decimalPlaces: number, rounding: Decimal$1.Rounding): string;
821
- toFraction(max_denominator?: Decimal$1.Value): Decimal$1[];
820
+ toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;
821
+ toFraction(max_denominator?: Decimal.Value): Decimal[];
822
822
  toHexadecimal(significantDigits?: number): string;
823
- toHexadecimal(significantDigits: number, rounding: Decimal$1.Rounding): string;
823
+ toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;
824
824
  toHex(significantDigits?: number): string;
825
- toHex(significantDigits: number, rounding?: Decimal$1.Rounding): string;
825
+ toHex(significantDigits: number, rounding?: Decimal.Rounding): string;
826
826
  toJSON(): string;
827
- toNearest(n: Decimal$1.Value, rounding?: Decimal$1.Rounding): Decimal$1;
827
+ toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;
828
828
  toNumber(): number;
829
829
  toOctal(significantDigits?: number): string;
830
- toOctal(significantDigits: number, rounding: Decimal$1.Rounding): string;
831
- toPower(n: Decimal$1.Value): Decimal$1;
832
- pow(n: Decimal$1.Value): Decimal$1;
830
+ toOctal(significantDigits: number, rounding: Decimal.Rounding): string;
831
+ toPower(n: Decimal.Value): Decimal;
832
+ pow(n: Decimal.Value): Decimal;
833
833
  toPrecision(significantDigits?: number): string;
834
- toPrecision(significantDigits: number, rounding: Decimal$1.Rounding): string;
835
- toSignificantDigits(significantDigits?: number): Decimal$1;
836
- toSignificantDigits(significantDigits: number, rounding: Decimal$1.Rounding): Decimal$1;
837
- toSD(significantDigits?: number): Decimal$1;
838
- toSD(significantDigits: number, rounding: Decimal$1.Rounding): Decimal$1;
834
+ toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;
835
+ toSignificantDigits(significantDigits?: number): Decimal;
836
+ toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;
837
+ toSD(significantDigits?: number): Decimal;
838
+ toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;
839
839
  toString(): string;
840
- truncated(): Decimal$1;
841
- trunc(): Decimal$1;
840
+ truncated(): Decimal;
841
+ trunc(): Decimal;
842
842
  valueOf(): string;
843
- static abs(n: Decimal$1.Value): Decimal$1;
844
- static acos(n: Decimal$1.Value): Decimal$1;
845
- static acosh(n: Decimal$1.Value): Decimal$1;
846
- static add(x: Decimal$1.Value, y: Decimal$1.Value): Decimal$1;
847
- static asin(n: Decimal$1.Value): Decimal$1;
848
- static asinh(n: Decimal$1.Value): Decimal$1;
849
- static atan(n: Decimal$1.Value): Decimal$1;
850
- static atanh(n: Decimal$1.Value): Decimal$1;
851
- static atan2(y: Decimal$1.Value, x: Decimal$1.Value): Decimal$1;
852
- static cbrt(n: Decimal$1.Value): Decimal$1;
853
- static ceil(n: Decimal$1.Value): Decimal$1;
854
- static clamp(n: Decimal$1.Value, min: Decimal$1.Value, max: Decimal$1.Value): Decimal$1;
855
- static clone(object?: Decimal$1.Config): Decimal$1.Constructor;
856
- static config(object: Decimal$1.Config): Decimal$1.Constructor;
857
- static cos(n: Decimal$1.Value): Decimal$1;
858
- static cosh(n: Decimal$1.Value): Decimal$1;
859
- static div(x: Decimal$1.Value, y: Decimal$1.Value): Decimal$1;
860
- static exp(n: Decimal$1.Value): Decimal$1;
861
- static floor(n: Decimal$1.Value): Decimal$1;
862
- static hypot(...n: Decimal$1.Value[]): Decimal$1;
863
- static isDecimal(object: any): object is Decimal$1;
864
- static ln(n: Decimal$1.Value): Decimal$1;
865
- static log(n: Decimal$1.Value, base?: Decimal$1.Value): Decimal$1;
866
- static log2(n: Decimal$1.Value): Decimal$1;
867
- static log10(n: Decimal$1.Value): Decimal$1;
868
- static max(...n: Decimal$1.Value[]): Decimal$1;
869
- static min(...n: Decimal$1.Value[]): Decimal$1;
870
- static mod(x: Decimal$1.Value, y: Decimal$1.Value): Decimal$1;
871
- static mul(x: Decimal$1.Value, y: Decimal$1.Value): Decimal$1;
872
- static noConflict(): Decimal$1.Constructor; // Browser only
873
- static pow(base: Decimal$1.Value, exponent: Decimal$1.Value): Decimal$1;
874
- static random(significantDigits?: number): Decimal$1;
875
- static round(n: Decimal$1.Value): Decimal$1;
876
- static set(object: Decimal$1.Config): Decimal$1.Constructor;
877
- static sign(n: Decimal$1.Value): number;
878
- static sin(n: Decimal$1.Value): Decimal$1;
879
- static sinh(n: Decimal$1.Value): Decimal$1;
880
- static sqrt(n: Decimal$1.Value): Decimal$1;
881
- static sub(x: Decimal$1.Value, y: Decimal$1.Value): Decimal$1;
882
- static sum(...n: Decimal$1.Value[]): Decimal$1;
883
- static tan(n: Decimal$1.Value): Decimal$1;
884
- static tanh(n: Decimal$1.Value): Decimal$1;
885
- static trunc(n: Decimal$1.Value): Decimal$1;
886
- static readonly default?: Decimal$1.Constructor;
887
- static readonly Decimal?: Decimal$1.Constructor;
843
+ static abs(n: Decimal.Value): Decimal;
844
+ static acos(n: Decimal.Value): Decimal;
845
+ static acosh(n: Decimal.Value): Decimal;
846
+ static add(x: Decimal.Value, y: Decimal.Value): Decimal;
847
+ static asin(n: Decimal.Value): Decimal;
848
+ static asinh(n: Decimal.Value): Decimal;
849
+ static atan(n: Decimal.Value): Decimal;
850
+ static atanh(n: Decimal.Value): Decimal;
851
+ static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;
852
+ static cbrt(n: Decimal.Value): Decimal;
853
+ static ceil(n: Decimal.Value): Decimal;
854
+ static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;
855
+ static clone(object?: Decimal.Config): Decimal.Constructor;
856
+ static config(object: Decimal.Config): Decimal.Constructor;
857
+ static cos(n: Decimal.Value): Decimal;
858
+ static cosh(n: Decimal.Value): Decimal;
859
+ static div(x: Decimal.Value, y: Decimal.Value): Decimal;
860
+ static exp(n: Decimal.Value): Decimal;
861
+ static floor(n: Decimal.Value): Decimal;
862
+ static hypot(...n: Decimal.Value[]): Decimal;
863
+ static isDecimal(object: any): object is Decimal;
864
+ static ln(n: Decimal.Value): Decimal;
865
+ static log(n: Decimal.Value, base?: Decimal.Value): Decimal;
866
+ static log2(n: Decimal.Value): Decimal;
867
+ static log10(n: Decimal.Value): Decimal;
868
+ static max(...n: Decimal.Value[]): Decimal;
869
+ static min(...n: Decimal.Value[]): Decimal;
870
+ static mod(x: Decimal.Value, y: Decimal.Value): Decimal;
871
+ static mul(x: Decimal.Value, y: Decimal.Value): Decimal;
872
+ static noConflict(): Decimal.Constructor; // Browser only
873
+ static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;
874
+ static random(significantDigits?: number): Decimal;
875
+ static round(n: Decimal.Value): Decimal;
876
+ static set(object: Decimal.Config): Decimal.Constructor;
877
+ static sign(n: Decimal.Value): number;
878
+ static sin(n: Decimal.Value): Decimal;
879
+ static sinh(n: Decimal.Value): Decimal;
880
+ static sqrt(n: Decimal.Value): Decimal;
881
+ static sub(x: Decimal.Value, y: Decimal.Value): Decimal;
882
+ static sum(...n: Decimal.Value[]): Decimal;
883
+ static tan(n: Decimal.Value): Decimal;
884
+ static tanh(n: Decimal.Value): Decimal;
885
+ static trunc(n: Decimal.Value): Decimal;
886
+ static readonly default?: Decimal.Constructor;
887
+ static readonly Decimal?: Decimal.Constructor;
888
888
  static readonly precision: number;
889
- static readonly rounding: Decimal$1.Rounding;
889
+ static readonly rounding: Decimal.Rounding;
890
890
  static readonly toExpNeg: number;
891
891
  static readonly toExpPos: number;
892
892
  static readonly minE: number;
893
893
  static readonly maxE: number;
894
894
  static readonly crypto: boolean;
895
- static readonly modulo: Decimal$1.Modulo;
895
+ static readonly modulo: Decimal.Modulo;
896
896
  static readonly ROUND_UP: 0;
897
897
  static readonly ROUND_DOWN: 1;
898
898
  static readonly ROUND_CEIL: 2;
@@ -1481,8 +1481,8 @@ type BillingsAvgAggregateOutputType = {
1481
1481
  id_total_amount_unit: number | null;
1482
1482
  id_currency: number | null;
1483
1483
  id_driver: number | null;
1484
- total_amount: Decimal$1 | null;
1485
- unit_price: Decimal$1 | null;
1484
+ total_amount: Decimal | null;
1485
+ unit_price: Decimal | null;
1486
1486
  };
1487
1487
  type BillingsSumAggregateOutputType = {
1488
1488
  id: bigint | null;
@@ -1491,8 +1491,8 @@ type BillingsSumAggregateOutputType = {
1491
1491
  id_total_amount_unit: bigint | null;
1492
1492
  id_currency: bigint | null;
1493
1493
  id_driver: bigint | null;
1494
- total_amount: Decimal$1 | null;
1495
- unit_price: Decimal$1 | null;
1494
+ total_amount: Decimal | null;
1495
+ unit_price: Decimal | null;
1496
1496
  };
1497
1497
  type BillingsMinAggregateOutputType = {
1498
1498
  id: bigint | null;
@@ -1505,8 +1505,8 @@ type BillingsMinAggregateOutputType = {
1505
1505
  billing_number: string | null;
1506
1506
  po_number: string | null;
1507
1507
  remarks: string | null;
1508
- total_amount: Decimal$1 | null;
1509
- unit_price: Decimal$1 | null;
1508
+ total_amount: Decimal | null;
1509
+ unit_price: Decimal | null;
1510
1510
  is_active: boolean | null;
1511
1511
  billing_date: Date | null;
1512
1512
  billing_by: string | null;
@@ -1528,8 +1528,8 @@ type BillingsMaxAggregateOutputType = {
1528
1528
  billing_number: string | null;
1529
1529
  po_number: string | null;
1530
1530
  remarks: string | null;
1531
- total_amount: Decimal$1 | null;
1532
- unit_price: Decimal$1 | null;
1531
+ total_amount: Decimal | null;
1532
+ unit_price: Decimal | null;
1533
1533
  is_active: boolean | null;
1534
1534
  billing_date: Date | null;
1535
1535
  billing_by: string | null;
@@ -1739,8 +1739,8 @@ type BillingsGroupByOutputType = {
1739
1739
  billing_number: string | null;
1740
1740
  po_number: string | null;
1741
1741
  remarks: string | null;
1742
- total_amount: Decimal$1 | null;
1743
- unit_price: Decimal$1 | null;
1742
+ total_amount: Decimal | null;
1743
+ unit_price: Decimal | null;
1744
1744
  is_active: boolean | null;
1745
1745
  billing_date: Date | null;
1746
1746
  billing_by: string | null;
@@ -1771,8 +1771,8 @@ type billingsWhereInput = {
1771
1771
  billing_number?: StringNullableFilter<"billings"> | string | null;
1772
1772
  po_number?: StringNullableFilter<"billings"> | string | null;
1773
1773
  remarks?: StringNullableFilter<"billings"> | string | null;
1774
- total_amount?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1775
- unit_price?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1774
+ total_amount?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1775
+ unit_price?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1776
1776
  is_active?: BoolNullableFilter<"billings"> | boolean | null;
1777
1777
  billing_date?: DateTimeNullableFilter<"billings"> | Date | string | null;
1778
1778
  billing_by?: StringNullableFilter<"billings"> | string | null;
@@ -1832,8 +1832,8 @@ type billingsWhereUniqueInput = AtLeast<{
1832
1832
  billing_number?: StringNullableFilter<"billings"> | string | null;
1833
1833
  po_number?: StringNullableFilter<"billings"> | string | null;
1834
1834
  remarks?: StringNullableFilter<"billings"> | string | null;
1835
- total_amount?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1836
- unit_price?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1835
+ total_amount?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1836
+ unit_price?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1837
1837
  is_active?: BoolNullableFilter<"billings"> | boolean | null;
1838
1838
  billing_date?: DateTimeNullableFilter<"billings"> | Date | string | null;
1839
1839
  billing_by?: StringNullableFilter<"billings"> | string | null;
@@ -1892,8 +1892,8 @@ type billingsScalarWhereWithAggregatesInput = {
1892
1892
  billing_number?: StringNullableWithAggregatesFilter<"billings"> | string | null;
1893
1893
  po_number?: StringNullableWithAggregatesFilter<"billings"> | string | null;
1894
1894
  remarks?: StringNullableWithAggregatesFilter<"billings"> | string | null;
1895
- total_amount?: DecimalNullableWithAggregatesFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1896
- unit_price?: DecimalNullableWithAggregatesFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
1895
+ total_amount?: DecimalNullableWithAggregatesFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1896
+ unit_price?: DecimalNullableWithAggregatesFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
1897
1897
  is_active?: BoolNullableWithAggregatesFilter<"billings"> | boolean | null;
1898
1898
  billing_date?: DateTimeNullableWithAggregatesFilter<"billings"> | Date | string | null;
1899
1899
  billing_by?: StringNullableWithAggregatesFilter<"billings"> | string | null;
@@ -1910,8 +1910,8 @@ type billingsCreateInput = {
1910
1910
  billing_number?: string | null;
1911
1911
  po_number?: string | null;
1912
1912
  remarks?: string | null;
1913
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
1914
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
1913
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
1914
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
1915
1915
  is_active?: boolean | null;
1916
1916
  billing_date?: Date | string | null;
1917
1917
  billing_by?: string | null;
@@ -1939,8 +1939,8 @@ type billingsUncheckedCreateInput = {
1939
1939
  billing_number?: string | null;
1940
1940
  po_number?: string | null;
1941
1941
  remarks?: string | null;
1942
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
1943
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
1942
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
1943
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
1944
1944
  is_active?: boolean | null;
1945
1945
  billing_date?: Date | string | null;
1946
1946
  billing_by?: string | null;
@@ -1958,8 +1958,8 @@ type billingsUpdateInput = {
1958
1958
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
1959
1959
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
1960
1960
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
1961
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
1962
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
1961
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
1962
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
1963
1963
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
1964
1964
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1965
1965
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1987,8 +1987,8 @@ type billingsUncheckedUpdateInput = {
1987
1987
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
1988
1988
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
1989
1989
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
1990
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
1991
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
1990
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
1991
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
1992
1992
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
1993
1993
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1994
1994
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2011,8 +2011,8 @@ type billingsCreateManyInput = {
2011
2011
  billing_number?: string | null;
2012
2012
  po_number?: string | null;
2013
2013
  remarks?: string | null;
2014
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2015
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2014
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2015
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2016
2016
  is_active?: boolean | null;
2017
2017
  billing_date?: Date | string | null;
2018
2018
  billing_by?: string | null;
@@ -2029,8 +2029,8 @@ type billingsUpdateManyMutationInput = {
2029
2029
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2030
2030
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2031
2031
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2032
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2033
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2032
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2033
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2034
2034
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2035
2035
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2036
2036
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2052,8 +2052,8 @@ type billingsUncheckedUpdateManyInput = {
2052
2052
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2053
2053
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2054
2054
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2055
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2056
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2055
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2056
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2057
2057
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2058
2058
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2059
2059
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2176,11 +2176,11 @@ type NullableStringFieldUpdateOperationsInput = {
2176
2176
  set?: string | null;
2177
2177
  };
2178
2178
  type NullableDecimalFieldUpdateOperationsInput = {
2179
- set?: Decimal$1 | DecimalJsLike | number | string | null;
2180
- increment?: Decimal$1 | DecimalJsLike | number | string;
2181
- decrement?: Decimal$1 | DecimalJsLike | number | string;
2182
- multiply?: Decimal$1 | DecimalJsLike | number | string;
2183
- divide?: Decimal$1 | DecimalJsLike | number | string;
2179
+ set?: Decimal | DecimalJsLike | number | string | null;
2180
+ increment?: Decimal | DecimalJsLike | number | string;
2181
+ decrement?: Decimal | DecimalJsLike | number | string;
2182
+ multiply?: Decimal | DecimalJsLike | number | string;
2183
+ divide?: Decimal | DecimalJsLike | number | string;
2184
2184
  };
2185
2185
  type NullableBoolFieldUpdateOperationsInput = {
2186
2186
  set?: boolean | null;
@@ -2405,8 +2405,8 @@ type billingsCreateWithoutBilling_logsInput = {
2405
2405
  billing_number?: string | null;
2406
2406
  po_number?: string | null;
2407
2407
  remarks?: string | null;
2408
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2409
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2408
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2409
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2410
2410
  is_active?: boolean | null;
2411
2411
  billing_date?: Date | string | null;
2412
2412
  billing_by?: string | null;
@@ -2433,8 +2433,8 @@ type billingsUncheckedCreateWithoutBilling_logsInput = {
2433
2433
  billing_number?: string | null;
2434
2434
  po_number?: string | null;
2435
2435
  remarks?: string | null;
2436
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2437
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2436
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2437
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2438
2438
  is_active?: boolean | null;
2439
2439
  billing_date?: Date | string | null;
2440
2440
  billing_by?: string | null;
@@ -2464,8 +2464,8 @@ type billingsUpdateWithoutBilling_logsInput = {
2464
2464
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2465
2465
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2466
2466
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2467
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2468
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2467
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2468
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2469
2469
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2470
2470
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2471
2471
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2492,8 +2492,8 @@ type billingsUncheckedUpdateWithoutBilling_logsInput = {
2492
2492
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2493
2493
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2494
2494
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2495
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2496
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2495
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2496
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2497
2497
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2498
2498
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2499
2499
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2510,8 +2510,8 @@ type billingsCreateWithoutDriverInput = {
2510
2510
  billing_number?: string | null;
2511
2511
  po_number?: string | null;
2512
2512
  remarks?: string | null;
2513
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2514
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2513
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2514
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2515
2515
  is_active?: boolean | null;
2516
2516
  billing_date?: Date | string | null;
2517
2517
  billing_by?: string | null;
@@ -2537,8 +2537,8 @@ type billingsUncheckedCreateWithoutDriverInput = {
2537
2537
  billing_number?: string | null;
2538
2538
  po_number?: string | null;
2539
2539
  remarks?: string | null;
2540
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2541
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2540
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2541
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2542
2542
  is_active?: boolean | null;
2543
2543
  billing_date?: Date | string | null;
2544
2544
  billing_by?: string | null;
@@ -2585,8 +2585,8 @@ type billingsScalarWhereInput = {
2585
2585
  billing_number?: StringNullableFilter<"billings"> | string | null;
2586
2586
  po_number?: StringNullableFilter<"billings"> | string | null;
2587
2587
  remarks?: StringNullableFilter<"billings"> | string | null;
2588
- total_amount?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
2589
- unit_price?: DecimalNullableFilter<"billings"> | Decimal$1 | DecimalJsLike | number | string | null;
2588
+ total_amount?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
2589
+ unit_price?: DecimalNullableFilter<"billings"> | Decimal | DecimalJsLike | number | string | null;
2590
2590
  is_active?: BoolNullableFilter<"billings"> | boolean | null;
2591
2591
  billing_date?: DateTimeNullableFilter<"billings"> | Date | string | null;
2592
2592
  billing_by?: StringNullableFilter<"billings"> | string | null;
@@ -2603,8 +2603,8 @@ type billingsCreateWithoutCustomerInput = {
2603
2603
  billing_number?: string | null;
2604
2604
  po_number?: string | null;
2605
2605
  remarks?: string | null;
2606
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2607
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2606
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2607
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2608
2608
  is_active?: boolean | null;
2609
2609
  billing_date?: Date | string | null;
2610
2610
  billing_by?: string | null;
@@ -2630,8 +2630,8 @@ type billingsUncheckedCreateWithoutCustomerInput = {
2630
2630
  billing_number?: string | null;
2631
2631
  po_number?: string | null;
2632
2632
  remarks?: string | null;
2633
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2634
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2633
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2634
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2635
2635
  is_active?: boolean | null;
2636
2636
  billing_date?: Date | string | null;
2637
2637
  billing_by?: string | null;
@@ -2670,8 +2670,8 @@ type billingsCreateWithoutFleetInput = {
2670
2670
  billing_number?: string | null;
2671
2671
  po_number?: string | null;
2672
2672
  remarks?: string | null;
2673
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2674
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2673
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2674
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2675
2675
  is_active?: boolean | null;
2676
2676
  billing_date?: Date | string | null;
2677
2677
  billing_by?: string | null;
@@ -2697,8 +2697,8 @@ type billingsUncheckedCreateWithoutFleetInput = {
2697
2697
  billing_number?: string | null;
2698
2698
  po_number?: string | null;
2699
2699
  remarks?: string | null;
2700
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2701
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2700
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2701
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2702
2702
  is_active?: boolean | null;
2703
2703
  billing_date?: Date | string | null;
2704
2704
  billing_by?: string | null;
@@ -2737,8 +2737,8 @@ type billingsCreateWithoutTotal_amount_unitInput = {
2737
2737
  billing_number?: string | null;
2738
2738
  po_number?: string | null;
2739
2739
  remarks?: string | null;
2740
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2741
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2740
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2741
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2742
2742
  is_active?: boolean | null;
2743
2743
  billing_date?: Date | string | null;
2744
2744
  billing_by?: string | null;
@@ -2764,8 +2764,8 @@ type billingsUncheckedCreateWithoutTotal_amount_unitInput = {
2764
2764
  billing_number?: string | null;
2765
2765
  po_number?: string | null;
2766
2766
  remarks?: string | null;
2767
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2768
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2767
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2768
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2769
2769
  is_active?: boolean | null;
2770
2770
  billing_date?: Date | string | null;
2771
2771
  billing_by?: string | null;
@@ -2804,8 +2804,8 @@ type billingsCreateWithoutCurrencyInput = {
2804
2804
  billing_number?: string | null;
2805
2805
  po_number?: string | null;
2806
2806
  remarks?: string | null;
2807
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2808
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2807
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2808
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2809
2809
  is_active?: boolean | null;
2810
2810
  billing_date?: Date | string | null;
2811
2811
  billing_by?: string | null;
@@ -2831,8 +2831,8 @@ type billingsUncheckedCreateWithoutCurrencyInput = {
2831
2831
  billing_number?: string | null;
2832
2832
  po_number?: string | null;
2833
2833
  remarks?: string | null;
2834
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2835
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2834
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2835
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2836
2836
  is_active?: boolean | null;
2837
2837
  billing_date?: Date | string | null;
2838
2838
  billing_by?: string | null;
@@ -2875,8 +2875,8 @@ type billingsCreateManyDriverInput = {
2875
2875
  billing_number?: string | null;
2876
2876
  po_number?: string | null;
2877
2877
  remarks?: string | null;
2878
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2879
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2878
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2879
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2880
2880
  is_active?: boolean | null;
2881
2881
  billing_date?: Date | string | null;
2882
2882
  billing_by?: string | null;
@@ -2893,8 +2893,8 @@ type billingsUpdateWithoutDriverInput = {
2893
2893
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2894
2894
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2895
2895
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2896
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2897
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2896
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2897
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2898
2898
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2899
2899
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2900
2900
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2920,8 +2920,8 @@ type billingsUncheckedUpdateWithoutDriverInput = {
2920
2920
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2921
2921
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2922
2922
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2923
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2924
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2923
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2924
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2925
2925
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2926
2926
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2927
2927
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2943,8 +2943,8 @@ type billingsUncheckedUpdateManyWithoutDriverInput = {
2943
2943
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2944
2944
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2945
2945
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2946
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2947
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2946
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2947
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2948
2948
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2949
2949
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2950
2950
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -2965,8 +2965,8 @@ type billingsCreateManyCustomerInput = {
2965
2965
  billing_number?: string | null;
2966
2966
  po_number?: string | null;
2967
2967
  remarks?: string | null;
2968
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
2969
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
2968
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
2969
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
2970
2970
  is_active?: boolean | null;
2971
2971
  billing_date?: Date | string | null;
2972
2972
  billing_by?: string | null;
@@ -2983,8 +2983,8 @@ type billingsUpdateWithoutCustomerInput = {
2983
2983
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
2984
2984
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
2985
2985
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
2986
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2987
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
2986
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2987
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
2988
2988
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
2989
2989
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2990
2990
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3010,8 +3010,8 @@ type billingsUncheckedUpdateWithoutCustomerInput = {
3010
3010
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3011
3011
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3012
3012
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3013
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3014
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3013
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3014
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3015
3015
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3016
3016
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3017
3017
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3033,8 +3033,8 @@ type billingsUncheckedUpdateManyWithoutCustomerInput = {
3033
3033
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3034
3034
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3035
3035
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3036
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3037
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3036
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3037
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3038
3038
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3039
3039
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3040
3040
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3055,8 +3055,8 @@ type billingsCreateManyFleetInput = {
3055
3055
  billing_number?: string | null;
3056
3056
  po_number?: string | null;
3057
3057
  remarks?: string | null;
3058
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
3059
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
3058
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
3059
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
3060
3060
  is_active?: boolean | null;
3061
3061
  billing_date?: Date | string | null;
3062
3062
  billing_by?: string | null;
@@ -3073,8 +3073,8 @@ type billingsUpdateWithoutFleetInput = {
3073
3073
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3074
3074
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3075
3075
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3076
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3077
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3076
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3077
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3078
3078
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3079
3079
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3080
3080
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3100,8 +3100,8 @@ type billingsUncheckedUpdateWithoutFleetInput = {
3100
3100
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3101
3101
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3102
3102
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3103
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3104
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3103
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3104
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3105
3105
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3106
3106
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3107
3107
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3123,8 +3123,8 @@ type billingsUncheckedUpdateManyWithoutFleetInput = {
3123
3123
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3124
3124
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3125
3125
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3126
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3127
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3126
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3127
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3128
3128
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3129
3129
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3130
3130
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3145,8 +3145,8 @@ type billingsCreateManyTotal_amount_unitInput = {
3145
3145
  billing_number?: string | null;
3146
3146
  po_number?: string | null;
3147
3147
  remarks?: string | null;
3148
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
3149
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
3148
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
3149
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
3150
3150
  is_active?: boolean | null;
3151
3151
  billing_date?: Date | string | null;
3152
3152
  billing_by?: string | null;
@@ -3163,8 +3163,8 @@ type billingsUpdateWithoutTotal_amount_unitInput = {
3163
3163
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3164
3164
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3165
3165
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3166
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3167
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3166
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3167
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3168
3168
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3169
3169
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3170
3170
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3190,8 +3190,8 @@ type billingsUncheckedUpdateWithoutTotal_amount_unitInput = {
3190
3190
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3191
3191
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3192
3192
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3193
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3194
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3193
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3194
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3195
3195
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3196
3196
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3197
3197
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3213,8 +3213,8 @@ type billingsUncheckedUpdateManyWithoutTotal_amount_unitInput = {
3213
3213
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3214
3214
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3215
3215
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3216
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3217
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3216
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3217
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3218
3218
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3219
3219
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3220
3220
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3235,8 +3235,8 @@ type billingsCreateManyCurrencyInput = {
3235
3235
  billing_number?: string | null;
3236
3236
  po_number?: string | null;
3237
3237
  remarks?: string | null;
3238
- total_amount?: Decimal$1 | DecimalJsLike | number | string | null;
3239
- unit_price?: Decimal$1 | DecimalJsLike | number | string | null;
3238
+ total_amount?: Decimal | DecimalJsLike | number | string | null;
3239
+ unit_price?: Decimal | DecimalJsLike | number | string | null;
3240
3240
  is_active?: boolean | null;
3241
3241
  billing_date?: Date | string | null;
3242
3242
  billing_by?: string | null;
@@ -3253,8 +3253,8 @@ type billingsUpdateWithoutCurrencyInput = {
3253
3253
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3254
3254
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3255
3255
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3256
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3257
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3256
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3257
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3258
3258
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3259
3259
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3260
3260
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3280,8 +3280,8 @@ type billingsUncheckedUpdateWithoutCurrencyInput = {
3280
3280
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3281
3281
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3282
3282
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3283
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3284
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3283
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3284
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3285
3285
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3286
3286
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3287
3287
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3303,8 +3303,8 @@ type billingsUncheckedUpdateManyWithoutCurrencyInput = {
3303
3303
  billing_number?: NullableStringFieldUpdateOperationsInput | string | null;
3304
3304
  po_number?: NullableStringFieldUpdateOperationsInput | string | null;
3305
3305
  remarks?: NullableStringFieldUpdateOperationsInput | string | null;
3306
- total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3307
- unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal$1 | DecimalJsLike | number | string | null;
3306
+ total_amount?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3307
+ unit_price?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null;
3308
3308
  is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
3309
3309
  billing_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
3310
3310
  billing_by?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -3468,8 +3468,8 @@ type $billingsPayload<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.
3468
3468
  billing_number: string | null;
3469
3469
  po_number: string | null;
3470
3470
  remarks: string | null;
3471
- total_amount: Decimal$1 | null;
3472
- unit_price: Decimal$1 | null;
3471
+ total_amount: Decimal | null;
3472
+ unit_price: Decimal | null;
3473
3473
  is_active: boolean | null;
3474
3474
  billing_date: Date | null;
3475
3475
  billing_by: string | null;
@@ -28790,14 +28790,14 @@ type StringNullableFilter<$PrismaModel = never> = {
28790
28790
  not?: NestedStringNullableFilter<$PrismaModel> | string | null;
28791
28791
  };
28792
28792
  type DecimalNullableFilter<$PrismaModel = never> = {
28793
- equals?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28794
- in?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28795
- notIn?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28796
- lt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28797
- lte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28798
- gt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28799
- gte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28800
- not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal$1 | DecimalJsLike | number | string | null;
28793
+ equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28794
+ in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28795
+ notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28796
+ lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28797
+ lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28798
+ gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28799
+ gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28800
+ not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null;
28801
28801
  };
28802
28802
  type BoolNullableFilter<$PrismaModel = never> = {
28803
28803
  equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null;
@@ -28865,14 +28865,14 @@ type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
28865
28865
  _max?: NestedStringNullableFilter<$PrismaModel>;
28866
28866
  };
28867
28867
  type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
28868
- equals?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28869
- in?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28870
- notIn?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28871
- lt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28872
- lte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28873
- gt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28874
- gte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28875
- not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal$1 | DecimalJsLike | number | string | null;
28868
+ equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28869
+ in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28870
+ notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
28871
+ lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28872
+ lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28873
+ gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28874
+ gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
28875
+ not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null;
28876
28876
  _count?: NestedIntNullableFilter<$PrismaModel>;
28877
28877
  _avg?: NestedDecimalNullableFilter<$PrismaModel>;
28878
28878
  _sum?: NestedDecimalNullableFilter<$PrismaModel>;
@@ -28995,14 +28995,14 @@ type NestedStringNullableFilter<$PrismaModel = never> = {
28995
28995
  not?: NestedStringNullableFilter<$PrismaModel> | string | null;
28996
28996
  };
28997
28997
  type NestedDecimalNullableFilter<$PrismaModel = never> = {
28998
- equals?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28999
- in?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29000
- notIn?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29001
- lt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29002
- lte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29003
- gt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29004
- gte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29005
- not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal$1 | DecimalJsLike | number | string | null;
28998
+ equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
28999
+ in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29000
+ notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29001
+ lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29002
+ lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29003
+ gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29004
+ gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29005
+ not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null;
29006
29006
  };
29007
29007
  type NestedBoolNullableFilter<$PrismaModel = never> = {
29008
29008
  equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null;
@@ -29105,14 +29105,14 @@ type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
29105
29105
  _max?: NestedStringNullableFilter<$PrismaModel>;
29106
29106
  };
29107
29107
  type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
29108
- equals?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
29109
- in?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29110
- notIn?: Decimal$1[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29111
- lt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29112
- lte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29113
- gt?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29114
- gte?: Decimal$1 | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29115
- not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal$1 | DecimalJsLike | number | string | null;
29108
+ equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null;
29109
+ in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29110
+ notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null;
29111
+ lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29112
+ lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29113
+ gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29114
+ gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel>;
29115
+ not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null;
29116
29116
  _count?: NestedIntNullableFilter<$PrismaModel>;
29117
29117
  _avg?: NestedDecimalNullableFilter<$PrismaModel>;
29118
29118
  _sum?: NestedDecimalNullableFilter<$PrismaModel>;
@@ -31400,210 +31400,6 @@ type PrismaClient<LogOpts extends LogLevel = never, OmitOpts extends PrismaClien
31400
31400
  */
31401
31401
  type SimpleJson = Record<string, any> | any[] | string | number | boolean | null;
31402
31402
  //#endregion
31403
- //#region ../../node_modules/.bun/@prisma+client@6.19.0+1fb4c65d43e298b9/node_modules/@prisma/client/runtime/library.d.ts
31404
- declare function Decimal(n: Decimal.Value): Decimal;
31405
- declare namespace Decimal {
31406
- export type Constructor = typeof Decimal;
31407
- export type Instance = Decimal;
31408
- export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
31409
- export type Modulo = Rounding | 9;
31410
- export type Value = string | number | Decimal;
31411
-
31412
- // http://mikemcl.github.io/decimal.js/#constructor-properties
31413
- export interface Config {
31414
- precision?: number;
31415
- rounding?: Rounding;
31416
- toExpNeg?: number;
31417
- toExpPos?: number;
31418
- minE?: number;
31419
- maxE?: number;
31420
- crypto?: boolean;
31421
- modulo?: Modulo;
31422
- defaults?: boolean;
31423
- }
31424
- }
31425
- declare class Decimal {
31426
- readonly d: number[];
31427
- readonly e: number;
31428
- readonly s: number;
31429
- constructor(n: Decimal.Value);
31430
- absoluteValue(): Decimal;
31431
- abs(): Decimal;
31432
- ceil(): Decimal;
31433
- clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;
31434
- clamp(min: Decimal.Value, max: Decimal.Value): Decimal;
31435
- comparedTo(n: Decimal.Value): number;
31436
- cmp(n: Decimal.Value): number;
31437
- cosine(): Decimal;
31438
- cos(): Decimal;
31439
- cubeRoot(): Decimal;
31440
- cbrt(): Decimal;
31441
- decimalPlaces(): number;
31442
- dp(): number;
31443
- dividedBy(n: Decimal.Value): Decimal;
31444
- div(n: Decimal.Value): Decimal;
31445
- dividedToIntegerBy(n: Decimal.Value): Decimal;
31446
- divToInt(n: Decimal.Value): Decimal;
31447
- equals(n: Decimal.Value): boolean;
31448
- eq(n: Decimal.Value): boolean;
31449
- floor(): Decimal;
31450
- greaterThan(n: Decimal.Value): boolean;
31451
- gt(n: Decimal.Value): boolean;
31452
- greaterThanOrEqualTo(n: Decimal.Value): boolean;
31453
- gte(n: Decimal.Value): boolean;
31454
- hyperbolicCosine(): Decimal;
31455
- cosh(): Decimal;
31456
- hyperbolicSine(): Decimal;
31457
- sinh(): Decimal;
31458
- hyperbolicTangent(): Decimal;
31459
- tanh(): Decimal;
31460
- inverseCosine(): Decimal;
31461
- acos(): Decimal;
31462
- inverseHyperbolicCosine(): Decimal;
31463
- acosh(): Decimal;
31464
- inverseHyperbolicSine(): Decimal;
31465
- asinh(): Decimal;
31466
- inverseHyperbolicTangent(): Decimal;
31467
- atanh(): Decimal;
31468
- inverseSine(): Decimal;
31469
- asin(): Decimal;
31470
- inverseTangent(): Decimal;
31471
- atan(): Decimal;
31472
- isFinite(): boolean;
31473
- isInteger(): boolean;
31474
- isInt(): boolean;
31475
- isNaN(): boolean;
31476
- isNegative(): boolean;
31477
- isNeg(): boolean;
31478
- isPositive(): boolean;
31479
- isPos(): boolean;
31480
- isZero(): boolean;
31481
- lessThan(n: Decimal.Value): boolean;
31482
- lt(n: Decimal.Value): boolean;
31483
- lessThanOrEqualTo(n: Decimal.Value): boolean;
31484
- lte(n: Decimal.Value): boolean;
31485
- logarithm(n?: Decimal.Value): Decimal;
31486
- log(n?: Decimal.Value): Decimal;
31487
- minus(n: Decimal.Value): Decimal;
31488
- sub(n: Decimal.Value): Decimal;
31489
- modulo(n: Decimal.Value): Decimal;
31490
- mod(n: Decimal.Value): Decimal;
31491
- naturalExponential(): Decimal;
31492
- exp(): Decimal;
31493
- naturalLogarithm(): Decimal;
31494
- ln(): Decimal;
31495
- negated(): Decimal;
31496
- neg(): Decimal;
31497
- plus(n: Decimal.Value): Decimal;
31498
- add(n: Decimal.Value): Decimal;
31499
- precision(includeZeros?: boolean): number;
31500
- sd(includeZeros?: boolean): number;
31501
- round(): Decimal;
31502
- sine(): Decimal;
31503
- sin(): Decimal;
31504
- squareRoot(): Decimal;
31505
- sqrt(): Decimal;
31506
- tangent(): Decimal;
31507
- tan(): Decimal;
31508
- times(n: Decimal.Value): Decimal;
31509
- mul(n: Decimal.Value): Decimal;
31510
- toBinary(significantDigits?: number): string;
31511
- toBinary(significantDigits: number, rounding: Decimal.Rounding): string;
31512
- toDecimalPlaces(decimalPlaces?: number): Decimal;
31513
- toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
31514
- toDP(decimalPlaces?: number): Decimal;
31515
- toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
31516
- toExponential(decimalPlaces?: number): string;
31517
- toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;
31518
- toFixed(decimalPlaces?: number): string;
31519
- toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;
31520
- toFraction(max_denominator?: Decimal.Value): Decimal[];
31521
- toHexadecimal(significantDigits?: number): string;
31522
- toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;
31523
- toHex(significantDigits?: number): string;
31524
- toHex(significantDigits: number, rounding?: Decimal.Rounding): string;
31525
- toJSON(): string;
31526
- toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;
31527
- toNumber(): number;
31528
- toOctal(significantDigits?: number): string;
31529
- toOctal(significantDigits: number, rounding: Decimal.Rounding): string;
31530
- toPower(n: Decimal.Value): Decimal;
31531
- pow(n: Decimal.Value): Decimal;
31532
- toPrecision(significantDigits?: number): string;
31533
- toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;
31534
- toSignificantDigits(significantDigits?: number): Decimal;
31535
- toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;
31536
- toSD(significantDigits?: number): Decimal;
31537
- toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;
31538
- toString(): string;
31539
- truncated(): Decimal;
31540
- trunc(): Decimal;
31541
- valueOf(): string;
31542
- static abs(n: Decimal.Value): Decimal;
31543
- static acos(n: Decimal.Value): Decimal;
31544
- static acosh(n: Decimal.Value): Decimal;
31545
- static add(x: Decimal.Value, y: Decimal.Value): Decimal;
31546
- static asin(n: Decimal.Value): Decimal;
31547
- static asinh(n: Decimal.Value): Decimal;
31548
- static atan(n: Decimal.Value): Decimal;
31549
- static atanh(n: Decimal.Value): Decimal;
31550
- static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;
31551
- static cbrt(n: Decimal.Value): Decimal;
31552
- static ceil(n: Decimal.Value): Decimal;
31553
- static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;
31554
- static clone(object?: Decimal.Config): Decimal.Constructor;
31555
- static config(object: Decimal.Config): Decimal.Constructor;
31556
- static cos(n: Decimal.Value): Decimal;
31557
- static cosh(n: Decimal.Value): Decimal;
31558
- static div(x: Decimal.Value, y: Decimal.Value): Decimal;
31559
- static exp(n: Decimal.Value): Decimal;
31560
- static floor(n: Decimal.Value): Decimal;
31561
- static hypot(...n: Decimal.Value[]): Decimal;
31562
- static isDecimal(object: any): object is Decimal;
31563
- static ln(n: Decimal.Value): Decimal;
31564
- static log(n: Decimal.Value, base?: Decimal.Value): Decimal;
31565
- static log2(n: Decimal.Value): Decimal;
31566
- static log10(n: Decimal.Value): Decimal;
31567
- static max(...n: Decimal.Value[]): Decimal;
31568
- static min(...n: Decimal.Value[]): Decimal;
31569
- static mod(x: Decimal.Value, y: Decimal.Value): Decimal;
31570
- static mul(x: Decimal.Value, y: Decimal.Value): Decimal;
31571
- static noConflict(): Decimal.Constructor; // Browser only
31572
- static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;
31573
- static random(significantDigits?: number): Decimal;
31574
- static round(n: Decimal.Value): Decimal;
31575
- static set(object: Decimal.Config): Decimal.Constructor;
31576
- static sign(n: Decimal.Value): number;
31577
- static sin(n: Decimal.Value): Decimal;
31578
- static sinh(n: Decimal.Value): Decimal;
31579
- static sqrt(n: Decimal.Value): Decimal;
31580
- static sub(x: Decimal.Value, y: Decimal.Value): Decimal;
31581
- static sum(...n: Decimal.Value[]): Decimal;
31582
- static tan(n: Decimal.Value): Decimal;
31583
- static tanh(n: Decimal.Value): Decimal;
31584
- static trunc(n: Decimal.Value): Decimal;
31585
- static readonly default?: Decimal.Constructor;
31586
- static readonly Decimal?: Decimal.Constructor;
31587
- static readonly precision: number;
31588
- static readonly rounding: Decimal.Rounding;
31589
- static readonly toExpNeg: number;
31590
- static readonly toExpPos: number;
31591
- static readonly minE: number;
31592
- static readonly maxE: number;
31593
- static readonly crypto: boolean;
31594
- static readonly modulo: Decimal.Modulo;
31595
- static readonly ROUND_UP: 0;
31596
- static readonly ROUND_DOWN: 1;
31597
- static readonly ROUND_CEIL: 2;
31598
- static readonly ROUND_FLOOR: 3;
31599
- static readonly ROUND_HALF_UP: 4;
31600
- static readonly ROUND_HALF_DOWN: 5;
31601
- static readonly ROUND_HALF_EVEN: 6;
31602
- static readonly ROUND_HALF_CEIL: 7;
31603
- static readonly ROUND_HALF_FLOOR: 8;
31604
- static readonly EUCLID: 9;
31605
- }
31606
- //#endregion
31607
31403
  //#region src/routers/index.d.ts
31608
31404
  declare const appRouter: BuiltRouter<{
31609
31405
  ctx: Context;
@@ -33907,13 +33703,37 @@ interface UserJWTPayload extends JWTPayload {
33907
33703
  banReason?: string;
33908
33704
  banExpires?: string;
33909
33705
  currentActiveUserTenantId?: string;
33706
+ userTenantCurrentActive?: UserTenant;
33707
+ _count?: {
33708
+ userTenants?: number;
33709
+ };
33910
33710
  createdAt?: string;
33911
33711
  updatedAt?: string;
33912
33712
  }
33713
+ interface UserTenant {
33714
+ isActive?: boolean;
33715
+ name?: string;
33716
+ userTenantDatabase?: UserTenantDatabase;
33717
+ }
33718
+ interface UserTenantDatabase {
33719
+ isActive?: boolean;
33720
+ name?: string;
33721
+ host?: string;
33722
+ database?: string;
33723
+ username?: string;
33724
+ password?: string;
33725
+ port?: string;
33726
+ }
33913
33727
  type Context = {
33914
33728
  session?: UserJWTPayload | null;
33915
33729
  prisma?: PrismaClient;
33916
- jwtToken?: string | null;
33730
+ jwt_token?: string | null;
33731
+ sso_roles?: {
33732
+ is_admin?: boolean;
33733
+ is_admin_tenant?: boolean;
33734
+ is_admin_hr?: boolean;
33735
+ is_user?: boolean;
33736
+ };
33917
33737
  };
33918
33738
  //#endregion
33919
33739
  export { type AppRouter, type Context };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-pttmj/app-api",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -43,6 +43,7 @@
43
43
  "typescript": "^5.9.3"
44
44
  },
45
45
  "dependencies": {
46
+ "@be-pttmj/sso-trpc-api": "^0.0.2",
46
47
  "dayjs": "^1.11.19",
47
48
  "jose": "^6.1.2",
48
49
  "zod": "^4.1.13"