evo360-types 1.3.209 → 1.3.212
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/dist/apps/evo-finops/zod-schemas.d.ts +251 -0
- package/dist/apps/evo-finops/zod-schemas.js +48 -2
- package/dist/apps/evo-finops/zod-schemas.ts +48 -0
- package/dist/types/evo-finops/common/taker.d.ts +16 -0
- package/dist/types/evo-finops/common/taker.ts +20 -0
- package/dist/types/evo-finops/dic/index.d.ts +1 -0
- package/dist/types/evo-finops/dic/index.js +1 -0
- package/dist/types/evo-finops/dic/index.ts +1 -0
- package/dist/types/evo-finops/dic/service.d.ts +34 -0
- package/dist/types/evo-finops/dic/service.js +2 -0
- package/dist/types/evo-finops/dic/service.ts +44 -0
- package/dist/types/evo-finops/fb_collections.d.ts +4 -0
- package/dist/types/evo-finops/fb_collections.js +5 -1
- package/dist/types/evo-finops/fb_collections.ts +4 -0
- package/package.json +1 -1
|
@@ -9759,6 +9759,233 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
|
|
|
9759
9759
|
details?: unknown;
|
|
9760
9760
|
}>>;
|
|
9761
9761
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9762
|
+
export declare const zCustomerServiceTaxInfoSchema: z.ZodObject<{
|
|
9763
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9764
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9765
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9766
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9767
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9768
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9769
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9770
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9771
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9772
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9773
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9774
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9775
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9776
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9777
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9778
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9779
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9780
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9781
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9782
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9783
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9784
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9785
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9786
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9787
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9788
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9789
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9790
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9791
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9792
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9793
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9794
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9795
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9796
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9797
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9798
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9799
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9800
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9801
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
9802
|
+
export declare const zServiceSchema: z.ZodObject<{
|
|
9803
|
+
id: z.ZodString;
|
|
9804
|
+
ref: z.ZodAny;
|
|
9805
|
+
tenant: z.ZodString;
|
|
9806
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
9807
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9808
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9809
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9810
|
+
} & {
|
|
9811
|
+
municipalServiceCode: z.ZodString;
|
|
9812
|
+
name: z.ZodString;
|
|
9813
|
+
municipalServiceDescription: z.ZodOptional<z.ZodString>;
|
|
9814
|
+
defaultProduct: z.ZodOptional<z.ZodBoolean>;
|
|
9815
|
+
issTax: z.ZodOptional<z.ZodNumber>;
|
|
9816
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9817
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9818
|
+
municipalServiceExternalId: z.ZodOptional<z.ZodString>;
|
|
9819
|
+
easyTaxInvoiceServiceId: z.ZodOptional<z.ZodString>;
|
|
9820
|
+
customerServiceTaxInfo: z.ZodOptional<z.ZodObject<{
|
|
9821
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9822
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9823
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9824
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9825
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9826
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9827
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9828
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9829
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9830
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9831
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9832
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9833
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9834
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9835
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9836
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9837
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9838
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9839
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9840
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9841
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9842
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9843
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9844
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9845
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9846
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9847
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9848
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9849
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9850
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9851
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9852
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9853
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9854
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9855
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9856
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9857
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9858
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9859
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
9860
|
+
customerCity: z.ZodOptional<z.ZodString>;
|
|
9861
|
+
customerState: z.ZodOptional<z.ZodString>;
|
|
9862
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
9863
|
+
shouldUpdateTaxInfoOnInvoices: z.ZodOptional<z.ZodBoolean>;
|
|
9864
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9865
|
+
id: z.ZodString;
|
|
9866
|
+
ref: z.ZodAny;
|
|
9867
|
+
tenant: z.ZodString;
|
|
9868
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
9869
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9870
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9871
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9872
|
+
} & {
|
|
9873
|
+
municipalServiceCode: z.ZodString;
|
|
9874
|
+
name: z.ZodString;
|
|
9875
|
+
municipalServiceDescription: z.ZodOptional<z.ZodString>;
|
|
9876
|
+
defaultProduct: z.ZodOptional<z.ZodBoolean>;
|
|
9877
|
+
issTax: z.ZodOptional<z.ZodNumber>;
|
|
9878
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9879
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9880
|
+
municipalServiceExternalId: z.ZodOptional<z.ZodString>;
|
|
9881
|
+
easyTaxInvoiceServiceId: z.ZodOptional<z.ZodString>;
|
|
9882
|
+
customerServiceTaxInfo: z.ZodOptional<z.ZodObject<{
|
|
9883
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9884
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9885
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9886
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9887
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9888
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9889
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9890
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9891
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9892
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9893
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9894
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9895
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9896
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9897
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9898
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9899
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9900
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9901
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9902
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9903
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9904
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9905
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9906
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9907
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9908
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9909
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9910
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9911
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9912
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9913
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9914
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9915
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9916
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9917
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9918
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9919
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9920
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9921
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
9922
|
+
customerCity: z.ZodOptional<z.ZodString>;
|
|
9923
|
+
customerState: z.ZodOptional<z.ZodString>;
|
|
9924
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
9925
|
+
shouldUpdateTaxInfoOnInvoices: z.ZodOptional<z.ZodBoolean>;
|
|
9926
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9927
|
+
id: z.ZodString;
|
|
9928
|
+
ref: z.ZodAny;
|
|
9929
|
+
tenant: z.ZodString;
|
|
9930
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
9931
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9932
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9933
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9934
|
+
} & {
|
|
9935
|
+
municipalServiceCode: z.ZodString;
|
|
9936
|
+
name: z.ZodString;
|
|
9937
|
+
municipalServiceDescription: z.ZodOptional<z.ZodString>;
|
|
9938
|
+
defaultProduct: z.ZodOptional<z.ZodBoolean>;
|
|
9939
|
+
issTax: z.ZodOptional<z.ZodNumber>;
|
|
9940
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9941
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9942
|
+
municipalServiceExternalId: z.ZodOptional<z.ZodString>;
|
|
9943
|
+
easyTaxInvoiceServiceId: z.ZodOptional<z.ZodString>;
|
|
9944
|
+
customerServiceTaxInfo: z.ZodOptional<z.ZodObject<{
|
|
9945
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9946
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9947
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9948
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9949
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9950
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9951
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9952
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9953
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9954
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9955
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9956
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9957
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9958
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9959
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9960
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9961
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9962
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9963
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9964
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9965
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9966
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9967
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9968
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9969
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9970
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9971
|
+
pisCofinsRetentionType: z.ZodOptional<z.ZodString>;
|
|
9972
|
+
pisCofinsTaxStatus: z.ZodOptional<z.ZodString>;
|
|
9973
|
+
pisPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9974
|
+
cofinsPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9975
|
+
csllPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9976
|
+
inssPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9977
|
+
irPercentage: z.ZodOptional<z.ZodNumber>;
|
|
9978
|
+
federalServiceTaxCode: z.ZodOptional<z.ZodString>;
|
|
9979
|
+
nbsCode: z.ZodOptional<z.ZodString>;
|
|
9980
|
+
taxSituation: z.ZodOptional<z.ZodString>;
|
|
9981
|
+
taxClassification: z.ZodOptional<z.ZodString>;
|
|
9982
|
+
operationIndicator: z.ZodOptional<z.ZodString>;
|
|
9983
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
9984
|
+
customerCity: z.ZodOptional<z.ZodString>;
|
|
9985
|
+
customerState: z.ZodOptional<z.ZodString>;
|
|
9986
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
9987
|
+
shouldUpdateTaxInfoOnInvoices: z.ZodOptional<z.ZodBoolean>;
|
|
9988
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
9762
9989
|
export declare const zInvoiceTakerTypeSchema: z.ZodEnum<["PF", "PJ", "unknown"]>;
|
|
9763
9990
|
export declare const zTakerAddressSchema: z.ZodObject<{
|
|
9764
9991
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
@@ -9841,6 +10068,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9841
10068
|
state: z.ZodOptional<z.ZodString>;
|
|
9842
10069
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9843
10070
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10071
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10072
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10073
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10074
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9844
10075
|
}, "strip", z.ZodTypeAny, {
|
|
9845
10076
|
name: string;
|
|
9846
10077
|
type: "PJ" | "PF" | "unknown";
|
|
@@ -9857,6 +10088,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9857
10088
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9858
10089
|
phone?: string | undefined;
|
|
9859
10090
|
cpfCnpj?: string | undefined;
|
|
10091
|
+
company?: string | undefined;
|
|
10092
|
+
municipal_inscription?: string | undefined;
|
|
10093
|
+
state_inscription?: string | undefined;
|
|
10094
|
+
observations?: string | undefined;
|
|
9860
10095
|
}, {
|
|
9861
10096
|
name: string;
|
|
9862
10097
|
type: "PJ" | "PF" | "unknown";
|
|
@@ -9873,6 +10108,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9873
10108
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9874
10109
|
phone?: string | undefined;
|
|
9875
10110
|
cpfCnpj?: string | undefined;
|
|
10111
|
+
company?: string | undefined;
|
|
10112
|
+
municipal_inscription?: string | undefined;
|
|
10113
|
+
state_inscription?: string | undefined;
|
|
10114
|
+
observations?: string | undefined;
|
|
9876
10115
|
}>;
|
|
9877
10116
|
export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
9878
10117
|
id: z.ZodString;
|
|
@@ -9916,6 +10155,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
9916
10155
|
state: z.ZodOptional<z.ZodString>;
|
|
9917
10156
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9918
10157
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10158
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10159
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10160
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10161
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9919
10162
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
9920
10163
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
9921
10164
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -9980,6 +10223,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
9980
10223
|
state: z.ZodOptional<z.ZodString>;
|
|
9981
10224
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9982
10225
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10226
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10227
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10228
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10229
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9983
10230
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
9984
10231
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
9985
10232
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -10044,6 +10291,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
10044
10291
|
state: z.ZodOptional<z.ZodString>;
|
|
10045
10292
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
10046
10293
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10294
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10295
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10296
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10297
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
10047
10298
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
10048
10299
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
10049
10300
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.zServiceInvoiceSchema = void 0;
|
|
3
|
+
exports.zProviderInvoiceErrorSchema = exports.zProviderInvoiceIdentifiersSchema = exports.zProviderInvoiceLinksSchema = exports.zServiceTaxInfoSchema = exports.zServiceLineItemSchema = exports.zServiceInvoiceStateSchema = exports.zProviderServiceInvoiceStatusSchema = exports.zInvoiceSourceRefSchema = exports.zInvoiceSourceTypeSchema = exports.zInvoiceTakerRefSchema = exports.zInvoiceTakerSnapshotSchema = exports.zInvoiceTakerSnapshotAddressSchema = exports.zTakerDocumentSchema = exports.zTakerTaxProfileSchema = exports.zTakerProviderRefsSchema = exports.zTakerAddressSchema = exports.zInvoiceTakerTypeSchema = exports.zServiceSchema = exports.zCustomerServiceTaxInfoSchema = exports.zIssuerTaxProfileSchema = exports.zIssuerNfseConfigSchema = exports.zIssuerMunicipalCredentialsRefSchema = exports.zIssuerTaxRegimeSchema = exports.zIssuerCompanyIdentitySchema = exports.zIssuerCompanyAddressSchema = exports.zTaxProfileSyncStateSchema = exports.zAsaasProviderSchema = exports.zAsaasProviderAsaasBlockSchema = exports.zAsaasProviderCapabilitiesSchema = exports.zAsaasPaymentsCapabilitiesSchema = exports.zAsaasNfseCapabilitiesSchema = exports.zAsaasEnvAuthConfigSchema = exports.zAsaasSubaccountInputSchema = exports.zAsaasAccountScopeSchema = exports.zAsaasWebhookConfigSchema = exports.zRetryPolicySchema = exports.zAsaasWebhookEventSchema = exports.zAsaasAccountScopeModeSchema = exports.zProviderRemoteRefsSchema = exports.zProviderFiscalInfoPayloadSchema = exports.zProviderCredentialsInputSchema = exports.zProviderCredentialsSecretRefsSchema = exports.zProviderMunicipalOptionsSnapshotSchema = exports.zProviderOptionItemSchema = exports.zProviderMunicipalAuthTypeSchema = exports.zFinopsProviderBaseSchema = exports.zProviderStatusSchema = exports.zFinopsActionSchema = exports.zFinopsProviderTypeSchema = exports.zProviderEnvSchema = void 0;
|
|
4
|
+
exports.zServiceInvoiceSchema = exports.zProviderPayloadSnapshotSchema = exports.zProviderTraceSchema = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const zod_schemas_1 = require("../shared/zod-schemas");
|
|
7
7
|
// ---- Provider enums and base ----
|
|
@@ -332,6 +332,44 @@ exports.zIssuerTaxProfileSchema = zod_schemas_1.zFireDocSchema
|
|
|
332
332
|
.optional(),
|
|
333
333
|
})
|
|
334
334
|
.passthrough();
|
|
335
|
+
// ---- Service ----
|
|
336
|
+
exports.zCustomerServiceTaxInfoSchema = zod_1.z
|
|
337
|
+
.object({
|
|
338
|
+
pisCofinsRetentionType: zod_1.z.string().optional(),
|
|
339
|
+
pisCofinsTaxStatus: zod_1.z.string().optional(),
|
|
340
|
+
pisPercentage: zod_1.z.number().min(0).max(100).optional(),
|
|
341
|
+
cofinsPercentage: zod_1.z.number().min(0).max(100).optional(),
|
|
342
|
+
csllPercentage: zod_1.z.number().min(0).max(100).optional(),
|
|
343
|
+
inssPercentage: zod_1.z.number().min(0).max(100).optional(),
|
|
344
|
+
irPercentage: zod_1.z.number().min(0).max(100).optional(),
|
|
345
|
+
federalServiceTaxCode: zod_1.z.string().optional(),
|
|
346
|
+
nbsCode: zod_1.z.string().optional(),
|
|
347
|
+
taxSituation: zod_1.z.string().optional(), // CST - Código de Situação Tributária
|
|
348
|
+
taxClassification: zod_1.z.string().optional(), // cClassTrib - Classificação tributária
|
|
349
|
+
operationIndicator: zod_1.z.string().optional(), // Indicador da operação
|
|
350
|
+
})
|
|
351
|
+
.passthrough();
|
|
352
|
+
exports.zServiceSchema = zod_schemas_1.zFireDocSchema
|
|
353
|
+
.extend({
|
|
354
|
+
municipalServiceCode: zod_1.z
|
|
355
|
+
.string()
|
|
356
|
+
.min(1)
|
|
357
|
+
.regex(/^\d{2}\.\d{2}\.\d{2}$/, "Código municipal deve estar no formato XX.XX.XX (ex: 01.01.01)"),
|
|
358
|
+
name: zod_1.z.string().min(1),
|
|
359
|
+
municipalServiceDescription: zod_1.z.string().optional(),
|
|
360
|
+
defaultProduct: zod_1.z.boolean().optional(),
|
|
361
|
+
issTax: zod_1.z.number().min(0).max(100).optional(),
|
|
362
|
+
federalServiceTaxCode: zod_1.z.string().optional(),
|
|
363
|
+
nbsCode: zod_1.z.string().optional(),
|
|
364
|
+
municipalServiceExternalId: zod_1.z.string().optional(),
|
|
365
|
+
easyTaxInvoiceServiceId: zod_1.z.string().optional(),
|
|
366
|
+
customerServiceTaxInfo: exports.zCustomerServiceTaxInfoSchema.optional(),
|
|
367
|
+
customerCity: zod_1.z.string().optional(),
|
|
368
|
+
customerState: zod_1.z.string().optional(),
|
|
369
|
+
customerId: zod_1.z.string().optional(),
|
|
370
|
+
shouldUpdateTaxInfoOnInvoices: zod_1.z.boolean().optional(),
|
|
371
|
+
})
|
|
372
|
+
.passthrough();
|
|
335
373
|
// ---- Taker ----
|
|
336
374
|
exports.zInvoiceTakerTypeSchema = zod_1.z.enum(["PF", "PJ", "unknown"]);
|
|
337
375
|
exports.zTakerAddressSchema = zod_1.z
|
|
@@ -362,6 +400,10 @@ exports.zTakerTaxProfileSchema = zod_1.z.object({
|
|
|
362
400
|
email: zod_1.z.string().optional(),
|
|
363
401
|
phone: zod_1.z.string().optional(),
|
|
364
402
|
address: exports.zTakerAddressSchema.optional(),
|
|
403
|
+
company: zod_1.z.string().optional(),
|
|
404
|
+
municipal_inscription: zod_1.z.string().optional(),
|
|
405
|
+
state_inscription: zod_1.z.string().optional(),
|
|
406
|
+
observations: zod_1.z.string().optional(),
|
|
365
407
|
});
|
|
366
408
|
exports.zTakerDocumentSchema = zod_schemas_1.zFireDocSchema
|
|
367
409
|
.extend({
|
|
@@ -371,6 +413,10 @@ exports.zTakerDocumentSchema = zod_schemas_1.zFireDocSchema
|
|
|
371
413
|
email: zod_1.z.string().optional(),
|
|
372
414
|
phone: zod_1.z.string().optional(),
|
|
373
415
|
address: exports.zTakerAddressSchema.optional(),
|
|
416
|
+
company: zod_1.z.string().optional(),
|
|
417
|
+
municipal_inscription: zod_1.z.string().optional(),
|
|
418
|
+
state_inscription: zod_1.z.string().optional(),
|
|
419
|
+
observations: zod_1.z.string().optional(),
|
|
374
420
|
patient_id: zod_1.z.string().optional(),
|
|
375
421
|
lead_id: zod_1.z.string().optional(),
|
|
376
422
|
chat_contact_id: zod_1.z.string().optional(),
|
|
@@ -359,6 +359,46 @@ export const zIssuerTaxProfileSchema = zFireDocSchema
|
|
|
359
359
|
})
|
|
360
360
|
.passthrough();
|
|
361
361
|
|
|
362
|
+
// ---- Service ----
|
|
363
|
+
export const zCustomerServiceTaxInfoSchema = z
|
|
364
|
+
.object({
|
|
365
|
+
pisCofinsRetentionType: z.string().optional(),
|
|
366
|
+
pisCofinsTaxStatus: z.string().optional(),
|
|
367
|
+
pisPercentage: z.number().min(0).max(100).optional(),
|
|
368
|
+
cofinsPercentage: z.number().min(0).max(100).optional(),
|
|
369
|
+
csllPercentage: z.number().min(0).max(100).optional(),
|
|
370
|
+
inssPercentage: z.number().min(0).max(100).optional(),
|
|
371
|
+
irPercentage: z.number().min(0).max(100).optional(),
|
|
372
|
+
federalServiceTaxCode: z.string().optional(),
|
|
373
|
+
nbsCode: z.string().optional(),
|
|
374
|
+
taxSituation: z.string().optional(), // CST - Código de Situação Tributária
|
|
375
|
+
taxClassification: z.string().optional(), // cClassTrib - Classificação tributária
|
|
376
|
+
operationIndicator: z.string().optional(), // Indicador da operação
|
|
377
|
+
})
|
|
378
|
+
.passthrough();
|
|
379
|
+
|
|
380
|
+
export const zServiceSchema = zFireDocSchema
|
|
381
|
+
.extend({
|
|
382
|
+
municipalServiceCode: z
|
|
383
|
+
.string()
|
|
384
|
+
.min(1)
|
|
385
|
+
.regex(/^\d{2}\.\d{2}\.\d{2}$/, "Código municipal deve estar no formato XX.XX.XX (ex: 01.01.01)"),
|
|
386
|
+
name: z.string().min(1),
|
|
387
|
+
municipalServiceDescription: z.string().optional(),
|
|
388
|
+
defaultProduct: z.boolean().optional(),
|
|
389
|
+
issTax: z.number().min(0).max(100).optional(),
|
|
390
|
+
federalServiceTaxCode: z.string().optional(),
|
|
391
|
+
nbsCode: z.string().optional(),
|
|
392
|
+
municipalServiceExternalId: z.string().optional(),
|
|
393
|
+
easyTaxInvoiceServiceId: z.string().optional(),
|
|
394
|
+
customerServiceTaxInfo: zCustomerServiceTaxInfoSchema.optional(),
|
|
395
|
+
customerCity: z.string().optional(),
|
|
396
|
+
customerState: z.string().optional(),
|
|
397
|
+
customerId: z.string().optional(),
|
|
398
|
+
shouldUpdateTaxInfoOnInvoices: z.boolean().optional(),
|
|
399
|
+
})
|
|
400
|
+
.passthrough();
|
|
401
|
+
|
|
362
402
|
// ---- Taker ----
|
|
363
403
|
export const zInvoiceTakerTypeSchema = z.enum(["PF", "PJ", "unknown"]);
|
|
364
404
|
|
|
@@ -392,6 +432,10 @@ export const zTakerTaxProfileSchema = z.object({
|
|
|
392
432
|
email: z.string().optional(),
|
|
393
433
|
phone: z.string().optional(),
|
|
394
434
|
address: zTakerAddressSchema.optional(),
|
|
435
|
+
company: z.string().optional(),
|
|
436
|
+
municipal_inscription: z.string().optional(),
|
|
437
|
+
state_inscription: z.string().optional(),
|
|
438
|
+
observations: z.string().optional(),
|
|
395
439
|
});
|
|
396
440
|
|
|
397
441
|
export const zTakerDocumentSchema = zFireDocSchema
|
|
@@ -402,6 +446,10 @@ export const zTakerDocumentSchema = zFireDocSchema
|
|
|
402
446
|
email: z.string().optional(),
|
|
403
447
|
phone: z.string().optional(),
|
|
404
448
|
address: zTakerAddressSchema.optional(),
|
|
449
|
+
company: z.string().optional(),
|
|
450
|
+
municipal_inscription: z.string().optional(),
|
|
451
|
+
state_inscription: z.string().optional(),
|
|
452
|
+
observations: z.string().optional(),
|
|
405
453
|
patient_id: z.string().optional(),
|
|
406
454
|
lead_id: z.string().optional(),
|
|
407
455
|
chat_contact_id: z.string().optional(),
|
|
@@ -18,6 +18,14 @@ export interface TakerTaxProfile {
|
|
|
18
18
|
email?: string;
|
|
19
19
|
phone?: string;
|
|
20
20
|
address?: Address;
|
|
21
|
+
/** PJ only: razão social (company legal name). */
|
|
22
|
+
company?: string;
|
|
23
|
+
/** PJ only: inscrição municipal (IM). */
|
|
24
|
+
municipal_inscription?: string;
|
|
25
|
+
/** PJ only: inscrição estadual (IE). */
|
|
26
|
+
state_inscription?: string;
|
|
27
|
+
/** Free-text observations. */
|
|
28
|
+
observations?: string;
|
|
21
29
|
}
|
|
22
30
|
/** Provider-specific references for a taker (e.g. Asaas customer id). */
|
|
23
31
|
export interface TakerProviderRefs {
|
|
@@ -38,6 +46,14 @@ export interface ITakerDocument extends IFireDoc {
|
|
|
38
46
|
email?: string;
|
|
39
47
|
phone?: string;
|
|
40
48
|
address?: Address;
|
|
49
|
+
/** PJ only: razão social (company legal name). */
|
|
50
|
+
company?: string;
|
|
51
|
+
/** PJ only: inscrição municipal (IM). */
|
|
52
|
+
municipal_inscription?: string;
|
|
53
|
+
/** PJ only: inscrição estadual (IE). */
|
|
54
|
+
state_inscription?: string;
|
|
55
|
+
/** Free-text observations. */
|
|
56
|
+
observations?: string;
|
|
41
57
|
/** Internal refs (evo-med patient, evo-crm lead, etc.) */
|
|
42
58
|
patient_id?: string;
|
|
43
59
|
lead_id?: string;
|
|
@@ -25,6 +25,16 @@ export interface TakerTaxProfile {
|
|
|
25
25
|
phone?: string;
|
|
26
26
|
|
|
27
27
|
address?: Address;
|
|
28
|
+
|
|
29
|
+
/** PJ only: razão social (company legal name). */
|
|
30
|
+
company?: string;
|
|
31
|
+
/** PJ only: inscrição municipal (IM). */
|
|
32
|
+
municipal_inscription?: string;
|
|
33
|
+
/** PJ only: inscrição estadual (IE). */
|
|
34
|
+
state_inscription?: string;
|
|
35
|
+
|
|
36
|
+
/** Free-text observations. */
|
|
37
|
+
observations?: string;
|
|
28
38
|
}
|
|
29
39
|
|
|
30
40
|
/** Provider-specific references for a taker (e.g. Asaas customer id). */
|
|
@@ -51,6 +61,16 @@ export interface ITakerDocument extends IFireDoc {
|
|
|
51
61
|
phone?: string;
|
|
52
62
|
address?: Address;
|
|
53
63
|
|
|
64
|
+
/** PJ only: razão social (company legal name). */
|
|
65
|
+
company?: string;
|
|
66
|
+
/** PJ only: inscrição municipal (IM). */
|
|
67
|
+
municipal_inscription?: string;
|
|
68
|
+
/** PJ only: inscrição estadual (IE). */
|
|
69
|
+
state_inscription?: string;
|
|
70
|
+
|
|
71
|
+
/** Free-text observations. */
|
|
72
|
+
observations?: string;
|
|
73
|
+
|
|
54
74
|
/** Internal refs (evo-med patient, evo-crm lead, etc.) */
|
|
55
75
|
patient_id?: string;
|
|
56
76
|
lead_id?: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IFireDoc } from "../../shared";
|
|
2
|
+
import { FirestoreDocumentReference } from "../../shared";
|
|
3
|
+
export interface ICustomerServiceTaxInfo {
|
|
4
|
+
pisCofinsRetentionType?: string;
|
|
5
|
+
pisCofinsTaxStatus?: string;
|
|
6
|
+
pisPercentage?: number;
|
|
7
|
+
cofinsPercentage?: number;
|
|
8
|
+
csllPercentage?: number;
|
|
9
|
+
inssPercentage?: number;
|
|
10
|
+
irPercentage?: number;
|
|
11
|
+
federalServiceTaxCode?: string;
|
|
12
|
+
nbsCode?: string;
|
|
13
|
+
taxSituation?: string;
|
|
14
|
+
taxClassification?: string;
|
|
15
|
+
operationIndicator?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IService extends IFireDoc {
|
|
18
|
+
municipalServiceCode: string;
|
|
19
|
+
name: string;
|
|
20
|
+
municipalServiceDescription?: string;
|
|
21
|
+
defaultProduct?: boolean;
|
|
22
|
+
issTax?: number;
|
|
23
|
+
federalServiceTaxCode?: string;
|
|
24
|
+
nbsCode?: string;
|
|
25
|
+
municipalServiceExternalId?: string;
|
|
26
|
+
easyTaxInvoiceServiceId?: string;
|
|
27
|
+
customerServiceTaxInfo?: ICustomerServiceTaxInfo;
|
|
28
|
+
customerCity?: string;
|
|
29
|
+
customerState?: string;
|
|
30
|
+
customerId?: string;
|
|
31
|
+
customerRef?: FirestoreDocumentReference;
|
|
32
|
+
shouldUpdateTaxInfoOnInvoices?: boolean;
|
|
33
|
+
[key: string]: unknown;
|
|
34
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IFireDoc } from "../../shared";
|
|
2
|
+
import { FirestoreDocumentReference } from "../../shared";
|
|
3
|
+
|
|
4
|
+
export interface ICustomerServiceTaxInfo {
|
|
5
|
+
pisCofinsRetentionType?: string;
|
|
6
|
+
pisCofinsTaxStatus?: string;
|
|
7
|
+
pisPercentage?: number;
|
|
8
|
+
cofinsPercentage?: number;
|
|
9
|
+
csllPercentage?: number;
|
|
10
|
+
inssPercentage?: number;
|
|
11
|
+
irPercentage?: number;
|
|
12
|
+
federalServiceTaxCode?: string;
|
|
13
|
+
nbsCode?: string;
|
|
14
|
+
taxSituation?: string; // CST - Código de Situação Tributária
|
|
15
|
+
taxClassification?: string; // cClassTrib - Classificação tributária
|
|
16
|
+
operationIndicator?: string; // Indicador da operação
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface IService extends IFireDoc {
|
|
20
|
+
// Campos principais
|
|
21
|
+
municipalServiceCode: string; // Código de serviço municipal (8 dígitos formatados, ex: "01.01.01")
|
|
22
|
+
name: string; // Nome/descrição do serviço
|
|
23
|
+
municipalServiceDescription?: string; // Descrição detalhada do serviço
|
|
24
|
+
defaultProduct?: boolean; // Serviço padrão (a ser adicionado por padrão na emissão de notas)
|
|
25
|
+
issTax?: number; // Alíquota ISS (percentual)
|
|
26
|
+
|
|
27
|
+
// Campos opcionais de códigos
|
|
28
|
+
federalServiceTaxCode?: string; // Código de tributação nacional
|
|
29
|
+
nbsCode?: string; // Código NBS (Nomenclatura Brasileira de Serviços)
|
|
30
|
+
municipalServiceExternalId?: string; // ID externo do serviço municipal
|
|
31
|
+
easyTaxInvoiceServiceId?: string; // ID do serviço no EasyTax
|
|
32
|
+
|
|
33
|
+
// Informações de tributação do cliente
|
|
34
|
+
customerServiceTaxInfo?: ICustomerServiceTaxInfo;
|
|
35
|
+
|
|
36
|
+
// Campos de contexto
|
|
37
|
+
customerCity?: string; // Cidade do cliente
|
|
38
|
+
customerState?: string; // Estado do cliente
|
|
39
|
+
customerId?: string; // ID do cliente (referência)
|
|
40
|
+
customerRef?: FirestoreDocumentReference; // Referência ao documento do cliente
|
|
41
|
+
shouldUpdateTaxInfoOnInvoices?: boolean; // Flag para atualizar informações fiscais nas notas
|
|
42
|
+
|
|
43
|
+
[key: string]: unknown; // index signature para extensibilidade
|
|
44
|
+
}
|
|
@@ -5,5 +5,9 @@ export declare const FINOPS_PROVIDERS_COLLECTION = "providers";
|
|
|
5
5
|
export declare const FINOPS_DICS_ISSUERS_ID = "issuers";
|
|
6
6
|
/** Collection of issuer tax profiles under dics/issuers */
|
|
7
7
|
export declare const FINOPS_ISSUER_PROFILES_COLLECTION = "profiles";
|
|
8
|
+
/** Doc id under dics (path: dics/services/{id}) */
|
|
9
|
+
export declare const FINOPS_DICS_SERVICES_ID = "services";
|
|
10
|
+
/** Collection of services under dics/services */
|
|
11
|
+
export declare const FINOPS_SERVICES_COLLECTION = "services";
|
|
8
12
|
export declare const FINOPS_TAKERS_COLLECTION = "takers";
|
|
9
13
|
export declare const FINOPS_INVOICES_COLLECTION = "invoices";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FINOPS_INVOICES_COLLECTION = exports.FINOPS_TAKERS_COLLECTION = exports.FINOPS_ISSUER_PROFILES_COLLECTION = exports.FINOPS_DICS_ISSUERS_ID = exports.FINOPS_PROVIDERS_COLLECTION = exports.FINOPS_DICS_COLLECTION = exports.EVO_FINOPS_APP = void 0;
|
|
3
|
+
exports.FINOPS_INVOICES_COLLECTION = exports.FINOPS_TAKERS_COLLECTION = exports.FINOPS_SERVICES_COLLECTION = exports.FINOPS_DICS_SERVICES_ID = exports.FINOPS_ISSUER_PROFILES_COLLECTION = exports.FINOPS_DICS_ISSUERS_ID = exports.FINOPS_PROVIDERS_COLLECTION = exports.FINOPS_DICS_COLLECTION = exports.EVO_FINOPS_APP = void 0;
|
|
4
4
|
// evo-finops app identifier for Firestore paths
|
|
5
5
|
exports.EVO_FINOPS_APP = "evo-finops";
|
|
6
6
|
// Collection names for evo-finops
|
|
@@ -10,5 +10,9 @@ exports.FINOPS_PROVIDERS_COLLECTION = "providers";
|
|
|
10
10
|
exports.FINOPS_DICS_ISSUERS_ID = "issuers";
|
|
11
11
|
/** Collection of issuer tax profiles under dics/issuers */
|
|
12
12
|
exports.FINOPS_ISSUER_PROFILES_COLLECTION = "profiles";
|
|
13
|
+
/** Doc id under dics (path: dics/services/{id}) */
|
|
14
|
+
exports.FINOPS_DICS_SERVICES_ID = "services";
|
|
15
|
+
/** Collection of services under dics/services */
|
|
16
|
+
exports.FINOPS_SERVICES_COLLECTION = "services";
|
|
13
17
|
exports.FINOPS_TAKERS_COLLECTION = "takers";
|
|
14
18
|
exports.FINOPS_INVOICES_COLLECTION = "invoices";
|
|
@@ -8,6 +8,10 @@ export const FINOPS_PROVIDERS_COLLECTION = "providers";
|
|
|
8
8
|
export const FINOPS_DICS_ISSUERS_ID = "issuers";
|
|
9
9
|
/** Collection of issuer tax profiles under dics/issuers */
|
|
10
10
|
export const FINOPS_ISSUER_PROFILES_COLLECTION = "profiles";
|
|
11
|
+
/** Doc id under dics (path: dics/services/{id}) */
|
|
12
|
+
export const FINOPS_DICS_SERVICES_ID = "services";
|
|
13
|
+
/** Collection of services under dics/services */
|
|
14
|
+
export const FINOPS_SERVICES_COLLECTION = "services";
|
|
11
15
|
export const FINOPS_TAKERS_COLLECTION = "takers";
|
|
12
16
|
export const FINOPS_INVOICES_COLLECTION = "invoices";
|
|
13
17
|
|