mintly-lib 2.7.0-preview → 2.8.0-preview
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.
- package/build/clients/auth-client.d.ts.map +1 -1
- package/build/clients/auth-client.js +2 -10
- package/build/clients/auth-client.js.map +1 -1
- package/build/clients/financial-account-client.d.ts +14 -3
- package/build/clients/financial-account-client.d.ts.map +1 -1
- package/build/clients/financial-account-client.js +22 -4
- package/build/clients/financial-account-client.js.map +1 -1
- package/build/clients/financial-category-client.d.ts +13 -3
- package/build/clients/financial-category-client.d.ts.map +1 -1
- package/build/clients/financial-category-client.js +22 -5
- package/build/clients/financial-category-client.js.map +1 -1
- package/build/clients/financial-movement-client.d.ts +6 -6
- package/build/clients/financial-movement-client.d.ts.map +1 -1
- package/build/clients/financial-movement-client.js +11 -10
- package/build/clients/financial-movement-client.js.map +1 -1
- package/build/core/client/api-error.d.ts +11 -0
- package/build/core/client/api-error.d.ts.map +1 -0
- package/build/core/client/api-error.js +18 -0
- package/build/core/client/api-error.js.map +1 -0
- package/build/core/client/base-client.d.ts +19 -1
- package/build/core/client/base-client.d.ts.map +1 -1
- package/build/core/client/create-connection.d.ts +13 -0
- package/build/core/client/create-connection.d.ts.map +1 -0
- package/build/core/client/create-connection.js +39 -0
- package/build/core/client/create-connection.js.map +1 -0
- package/build/core/client/http-base-client.d.ts +9 -1
- package/build/core/client/http-base-client.d.ts.map +1 -1
- package/build/core/client/http-base-client.js +10 -10
- package/build/core/client/http-base-client.js.map +1 -1
- package/build/core/client/request-config.d.ts +2 -2
- package/build/core/client/request-config.js +2 -2
- package/build/core/data/financial/financial-account-schema.d.ts +0 -293
- package/build/core/data/financial/financial-account-schema.d.ts.map +1 -1
- package/build/core/data/financial/financial-account-schema.js +20 -27
- package/build/core/data/financial/financial-account-schema.js.map +1 -1
- package/build/core/data/financial/financial-movement-schema.d.ts +23 -0
- package/build/core/data/financial/financial-movement-schema.d.ts.map +1 -1
- package/build/core/data/financial/financial-movement-schema.js +20 -4
- package/build/core/data/financial/financial-movement-schema.js.map +1 -1
- package/build/core/data/financial/index.d.ts +1 -1
- package/build/core/data/financial/index.d.ts.map +1 -1
- package/build/core/data/financial/index.js +2 -1
- package/build/core/data/financial/index.js.map +1 -1
- package/build/core/data/request/headers.d.ts +8 -6
- package/build/core/data/request/headers.d.ts.map +1 -1
- package/build/core/index.d.ts +4 -0
- package/build/core/index.d.ts.map +1 -1
- package/build/core/index.js +7 -1
- package/build/core/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -677,19 +677,16 @@ export declare const financialAccountSchema: import("@ascendance-hub/sapphire-co
|
|
|
677
677
|
export declare const financialAccountUpdateSchema: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
678
678
|
name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
679
679
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
|
|
680
|
-
type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType | undefined, FinancialAccountType | undefined>;
|
|
681
680
|
feePercent: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
682
681
|
settlementDays: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
683
682
|
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
684
683
|
name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
685
684
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
|
|
686
|
-
type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType | undefined, FinancialAccountType | undefined>;
|
|
687
685
|
feePercent: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
688
686
|
settlementDays: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
689
687
|
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
690
688
|
name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
691
689
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
|
|
692
|
-
type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType | undefined, FinancialAccountType | undefined>;
|
|
693
690
|
feePercent: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
694
691
|
settlementDays: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
695
692
|
}>>;
|
|
@@ -697,35 +694,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
697
694
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
698
695
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
699
696
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
700
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
701
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
702
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
703
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
704
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
705
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
706
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
707
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
708
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
709
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
710
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
711
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
712
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
713
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
714
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
715
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
716
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
717
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
718
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
719
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
720
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
721
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
722
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
723
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
724
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
725
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
726
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
727
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
728
|
-
}>[] | undefined>;
|
|
729
697
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
730
698
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
731
699
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -750,35 +718,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
750
718
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
751
719
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
752
720
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
753
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
754
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
755
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
756
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
757
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
758
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
759
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
760
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
761
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
762
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
763
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
764
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
765
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
766
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
767
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
768
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
769
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
770
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
771
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
772
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
773
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
774
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
775
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
776
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
777
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
778
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
779
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
780
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
781
|
-
}>[] | undefined>;
|
|
782
721
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
783
722
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
784
723
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -803,35 +742,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
803
742
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
804
743
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
805
744
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
806
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
807
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
808
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
809
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
810
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
811
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
812
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
813
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
814
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
815
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
816
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
817
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
818
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
819
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
820
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
821
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
822
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
823
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
824
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
825
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
826
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
827
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
828
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
829
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
830
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
831
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
832
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
833
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
834
|
-
}>[] | undefined>;
|
|
835
745
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
836
746
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
837
747
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -856,35 +766,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
856
766
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
857
767
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
858
768
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
859
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
860
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
861
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
862
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
863
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
864
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
865
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
866
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
867
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
868
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
869
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
870
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
871
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
872
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
873
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
874
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
875
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
876
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
877
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
878
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
879
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
880
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
881
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
882
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
883
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
884
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
885
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
886
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
887
|
-
}>[] | undefined>;
|
|
888
769
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
889
770
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
890
771
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -907,35 +788,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
907
788
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
908
789
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
909
790
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
910
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
911
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
912
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
913
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
914
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
915
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
916
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
917
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
918
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
919
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
920
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
921
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
922
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
923
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
924
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
925
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
926
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
927
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
928
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
929
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
930
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
931
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
932
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
933
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
934
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
935
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
936
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
937
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
938
|
-
}>[] | undefined>;
|
|
939
791
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
940
792
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
941
793
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -958,35 +810,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
958
810
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
959
811
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
960
812
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
961
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
962
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
963
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
964
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
965
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
966
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
967
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
968
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
969
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
970
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
971
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
972
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
973
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
974
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
975
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
976
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
977
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
978
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
979
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
980
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
981
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
982
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
983
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
984
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
985
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
986
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
987
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
988
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
989
|
-
}>[] | undefined>;
|
|
990
813
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
991
814
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
992
815
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -1009,35 +832,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
1009
832
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1010
833
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
1011
834
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1012
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
1013
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1014
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1015
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1016
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1017
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1018
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1019
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1020
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1021
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1022
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1023
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1024
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1025
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1026
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1027
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1028
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1029
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1030
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1031
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1032
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1033
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1034
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1035
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1036
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1037
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1038
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1039
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1040
|
-
}>[] | undefined>;
|
|
1041
835
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1042
836
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1043
837
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -1062,35 +856,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
1062
856
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1063
857
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
1064
858
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1065
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
1066
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1067
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1068
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1069
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1070
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1071
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1072
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1073
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1074
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1075
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1076
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1077
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1078
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1079
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1080
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1081
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1082
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1083
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1084
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1085
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1086
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1087
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1088
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1089
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1090
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1091
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1092
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1093
|
-
}>[] | undefined>;
|
|
1094
859
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1095
860
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1096
861
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -1113,35 +878,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
1113
878
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1114
879
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
1115
880
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1116
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
1117
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1118
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1119
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1120
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1121
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1122
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1123
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1124
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1125
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1126
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1127
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1128
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1129
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1130
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1131
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1132
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1133
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1134
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1135
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1136
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1137
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1138
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1139
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1140
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1141
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1142
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1143
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1144
|
-
}>[] | undefined>;
|
|
1145
881
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1146
882
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1147
883
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -1166,35 +902,6 @@ export declare const financialAccountInsertSchema: import("@ascendance-hub/sapph
|
|
|
1166
902
|
name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1167
903
|
status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
|
|
1168
904
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1169
|
-
isDefault: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
|
|
1170
|
-
availableBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1171
|
-
predictedBalance: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
|
|
1172
|
-
history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1173
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1174
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1175
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1176
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1177
|
-
}, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1178
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1179
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1180
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1181
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1182
|
-
}>, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1183
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1184
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1185
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1186
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1187
|
-
}>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
|
|
1188
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1189
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1190
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1191
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1192
|
-
}>[] | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
|
|
1193
|
-
at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1194
|
-
by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1195
|
-
action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
1196
|
-
detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
|
|
1197
|
-
}>[] | undefined>;
|
|
1198
905
|
audit: import("@ascendance-hub/sapphire-core").ObjectField<{
|
|
1199
906
|
createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
1200
907
|
updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"financial-account-schema.d.ts","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-account-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAK/C,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgB5B,CAAA;AAuBF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGjC,CAAA;
|
|
1
|
+
{"version":3,"file":"financial-account-schema.d.ts","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-account-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAK/C,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgB5B,CAAA;AAuBF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGjC,CAAA;AAgBF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;GAK7B,CAAA;AA+BZ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGvC,CAAA"}
|
|
@@ -32,7 +32,7 @@ exports.baseAccountSchema = s.object({
|
|
|
32
32
|
// O .extend() sobrescreve a base adicionando essas regras estritas
|
|
33
33
|
const platformAccountSchema = exports.baseAccountSchema.extend({
|
|
34
34
|
type: s.type().literal(FinancialAccountType.Platform), // Força a ser 'platform'
|
|
35
|
-
feePercent: s.number().
|
|
35
|
+
feePercent: s.number().min(0).max(100), // Obrigatório — taxa fracionária (ex.: 12.5%), 0..100
|
|
36
36
|
settlementDays: s.number().int().min(0), // Obrigatório
|
|
37
37
|
});
|
|
38
38
|
// 3. AS OUTRAS CONTAS (Proíbem as taxas)
|
|
@@ -53,48 +53,41 @@ exports.financialAccountSchema = s.type().union([
|
|
|
53
53
|
]);
|
|
54
54
|
// 5. SCHEMA DE EDIÇÃO PARCIAL (PATCH / update)
|
|
55
55
|
// Por que um schema separado em vez de reaproveitar o de cima:
|
|
56
|
-
// - O de criação é uma UNIÃO discriminada; união não tem .partial() no Sapphire
|
|
57
|
-
// e num PATCH o `type` pode nem vir, então a regra cruzada (platform exige
|
|
58
|
-
// fee/prazo) não é verificável aqui — ela continua valendo só na criação.
|
|
56
|
+
// - O de criação é uma UNIÃO discriminada; união não tem .partial() no Sapphire.
|
|
59
57
|
// - Aqui usamos um OBJETO achatado + .partial(): todo campo vira opcional, mas
|
|
60
|
-
// o que for enviado é validado (ex.: feePercent
|
|
61
|
-
// -
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
58
|
+
// o que for enviado é validado (ex.: feePercent 0..100).
|
|
59
|
+
// - `type` NÃO está aqui de propósito (P5): o tipo da conta é IMUTÁVEL. Trocá-lo
|
|
60
|
+
// permitiria criar uma conta `platform` sem taxa/prazo (estado que a criação
|
|
61
|
+
// proíbe) e reescreveria o significado do histórico de movimentos, já que
|
|
62
|
+
// defaultStatus/computeSnapshot decidem tudo pelo `type`. Errou o tipo? Inative
|
|
63
|
+
// a conta e crie outra.
|
|
64
|
+
// - A coerência platform ⇔ taxa/prazo num PATCH depende do tipo ARMAZENADO, que o
|
|
65
|
+
// schema não conhece: é validada no lado da API (account-rules.ts).
|
|
66
|
+
// - restaurantId, isDefault, saldos, history e audit ficam de fora: o objeto é
|
|
67
|
+
// estrito, então enviá-los num PATCH é rejeitado.
|
|
65
68
|
exports.financialAccountUpdateSchema = s.object({
|
|
66
69
|
name: s.string(),
|
|
67
70
|
status: s.type().enum(status_1.RecordStatus),
|
|
68
|
-
|
|
69
|
-
feePercent: s.number().int().min(0),
|
|
71
|
+
feePercent: s.number().min(0).max(100),
|
|
70
72
|
settlementDays: s.number().int().min(0),
|
|
71
73
|
}).partial();
|
|
72
74
|
// 6. SCHEMA DE INSERT (POST /financial-accounts)
|
|
73
75
|
// Como o de criação, é uma UNIÃO discriminada por `type` (platform exige
|
|
74
|
-
// fee/prazo; os outros proíbem).
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
76
|
+
// fee/prazo; os outros proíbem). Os campos que o servidor COMPUTA/FORÇA ficam
|
|
77
|
+
// FORA do schema (objeto estrito → enviá-los é rejeitado): isDefault (sempre
|
|
78
|
+
// false no insert; padrão é via SetDefault), availableBalance/predictedBalance
|
|
79
|
+
// (sempre 0; saldo só vem de movimentação) e history — assim o client não pode
|
|
80
|
+
// injetá-los (A3). audit e restaurantId seguem opcionais: são preenchidos pelo
|
|
81
|
+
// servidor (audit resolve o VALIDATION_ERROR; restaurantId vem do RequestContext).
|
|
80
82
|
const baseAccountInsertSchema = s.object({
|
|
81
83
|
name: s.string(),
|
|
82
84
|
status: s.type().enum(status_1.RecordStatus),
|
|
83
85
|
restaurantId: s.string().optional(),
|
|
84
|
-
isDefault: s.boolean().optional(),
|
|
85
|
-
availableBalance: s.number().optional(),
|
|
86
|
-
predictedBalance: s.number().optional(),
|
|
87
|
-
history: s.array(s.object({
|
|
88
|
-
at: s.date().coerce(),
|
|
89
|
-
by: s.string(),
|
|
90
|
-
action: s.string(),
|
|
91
|
-
detail: s.string().optional(),
|
|
92
|
-
})).optional(),
|
|
93
86
|
audit: audit_1.auditSchema.optional(),
|
|
94
87
|
});
|
|
95
88
|
const platformAccountInsertSchema = baseAccountInsertSchema.extend({
|
|
96
89
|
type: s.type().literal(FinancialAccountType.Platform),
|
|
97
|
-
feePercent: s.number().
|
|
90
|
+
feePercent: s.number().min(0).max(100),
|
|
98
91
|
settlementDays: s.number().int().min(0),
|
|
99
92
|
});
|
|
100
93
|
const standardAccountInsertSchema = baseAccountInsertSchema.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"financial-account-schema.js","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-account-schema.ts"],"names":[],"mappings":";;;AAAA,iEAAwD;AACxD,6CAA+C;AAC/C,2CAA6C;AAE7C,MAAM,CAAC,GAAG,IAAI,wBAAQ,EAAE,CAAA;AAExB,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,qCAAa,CAAA;IACb,qCAAa,CAAA;IACb,uDAA+B,CAAA;IAC/B,6CAAqB,CAAA;AACvB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAEY,QAAA,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,qBAAY,CAAC;IACnC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE;QACrB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC,CACH,CAAC,OAAO,CAAC,EAAE,CAAC;IACb,KAAK,EAAE,mBAAW;CACnB,CAAC,CAAA;AACF,wBAAwB;AACxB,mEAAmE;AACnE,mEAAmE;AACnE,MAAM,qBAAqB,GAAG,yBAAiB,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,EAAE,yBAAyB;IAChF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"financial-account-schema.js","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-account-schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -32,6 +32,19 @@ export declare enum MovementOrigin {
|
|
|
32
32
|
Manual = "manual",
|
|
33
33
|
Sefaz = "sefaz"
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Origem do status atual do movimento (P1 — liquidação automática).
|
|
37
|
+
* - `auto`: status definido pelo sistema (registro ou settler por data).
|
|
38
|
+
* - `manual`: um humano mexeu no status (PATCH /:id/status). Trava permanente:
|
|
39
|
+
* o settler NUNCA mais reavalia esse movimento — quem tem a palavra final é o dono.
|
|
40
|
+
*
|
|
41
|
+
* Campo AUSENTE é lido como `auto` (docs anteriores a este campo). É isso que faz
|
|
42
|
+
* o backlog de pendentes vencidos liquidar na primeira rodada do settler.
|
|
43
|
+
*/
|
|
44
|
+
export declare enum MovementStatusSource {
|
|
45
|
+
Auto = "auto",
|
|
46
|
+
Manual = "manual"
|
|
47
|
+
}
|
|
35
48
|
export declare enum CounterpartyKind {
|
|
36
49
|
Client = "client",
|
|
37
50
|
Supplier = "supplier"
|
|
@@ -40,6 +53,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
40
53
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
41
54
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
42
55
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
56
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
43
57
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
44
58
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
45
59
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -138,6 +152,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
138
152
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
139
153
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
140
154
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
155
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
141
156
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
142
157
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
143
158
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -236,6 +251,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
236
251
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
237
252
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
238
253
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
254
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
239
255
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
240
256
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
241
257
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -334,6 +350,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
334
350
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
335
351
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
336
352
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
353
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
337
354
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
338
355
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
339
356
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -432,6 +449,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
432
449
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
433
450
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
434
451
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
452
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
435
453
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
436
454
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
437
455
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -530,6 +548,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
530
548
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
531
549
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
532
550
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
551
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
533
552
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
534
553
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
535
554
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -628,6 +647,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
628
647
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
629
648
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
630
649
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
650
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
631
651
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
632
652
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
633
653
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -726,6 +746,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
726
746
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
727
747
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
728
748
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
749
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
729
750
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
730
751
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
731
752
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -824,6 +845,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
824
845
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
825
846
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
826
847
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
848
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
827
849
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
828
850
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
829
851
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|
|
@@ -922,6 +944,7 @@ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-c
|
|
|
922
944
|
restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
923
945
|
title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
|
|
924
946
|
status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
|
|
947
|
+
statusSource: import("@ascendance-hub/sapphire-core").EnumField<MovementStatusSource, MovementStatusSource | undefined, MovementStatusSource | undefined>;
|
|
925
948
|
date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
|
|
926
949
|
grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
|
|
927
950
|
feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
|