evo360-types 1.3.304 → 1.3.309
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 +569 -9
- package/dist/apps/evo-finops/zod-schemas.js +68 -1
- package/dist/apps/evo-finops/zod-schemas.ts +74 -0
- package/dist/apps/evo-notifications/zod-schemas.d.ts +39 -39
- package/dist/apps/evo-task/zod-schemas.d.ts +17 -17
- package/dist/apps/evo-task/zod-schemas.js +3 -0
- package/dist/apps/evo-task/zod-schemas.ts +3 -0
- package/dist/types/evo-finops/index.d.ts +1 -0
- package/dist/types/evo-finops/index.js +1 -0
- package/dist/types/evo-finops/index.ts +1 -0
- package/dist/types/evo-finops/payment-links/index.d.ts +85 -0
- package/dist/types/evo-finops/payment-links/index.js +38 -0
- package/dist/types/evo-finops/payment-links/index.ts +103 -0
- package/dist/types/evo-finops/providers/asaas/asaas_provider.d.ts +35 -1
- package/dist/types/evo-finops/providers/asaas/asaas_provider.js +33 -1
- package/dist/types/evo-finops/providers/asaas/asaas_provider.ts +42 -2
- package/dist/types/evo-notifications/index.d.ts +1 -0
- package/dist/types/evo-notifications/index.ts +1 -0
- package/dist/types/shared/external-links.d.ts +4 -0
- package/dist/types/shared/external-links.js +4 -0
- package/dist/types/shared/external-links.ts +4 -0
- package/package.json +1 -1
|
@@ -10695,6 +10695,566 @@ export declare const zProviderPayloadSnapshotSchema: z.ZodObject<{
|
|
|
10695
10695
|
endpoint?: string | undefined;
|
|
10696
10696
|
headers?: Record<string, string> | undefined;
|
|
10697
10697
|
}>;
|
|
10698
|
+
export declare const zAsaasPaymentLinkBillingTypeSchema: z.ZodEnum<["UNDEFINED", "BOLETO", "CREDIT_CARD", "PIX"]>;
|
|
10699
|
+
export declare const zAsaasPaymentLinkChargeTypeSchema: z.ZodEnum<["DETACHED", "RECURRENT", "INSTALLMENT"]>;
|
|
10700
|
+
export declare const zAsaasPaymentLinkSubscriptionCycleSchema: z.ZodEnum<["WEEKLY", "BIWEEKLY", "MONTHLY", "BIMONTHLY", "QUARTERLY", "SEMIANNUALLY", "YEARLY"]>;
|
|
10701
|
+
export declare const zPaymentLinkDocumentStateSchema: z.ZodEnum<["DRAFT", "ACTIVE", "INACTIVE", "DELETED"]>;
|
|
10702
|
+
export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
10703
|
+
id: z.ZodString;
|
|
10704
|
+
ref: z.ZodAny;
|
|
10705
|
+
tenant: z.ZodString;
|
|
10706
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
10707
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10708
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10709
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10710
|
+
} & {
|
|
10711
|
+
providerId: z.ZodString;
|
|
10712
|
+
provider_name: z.ZodOptional<z.ZodString>;
|
|
10713
|
+
provider_env: z.ZodOptional<z.ZodEnum<["Sandbox", "Production"]>>;
|
|
10714
|
+
provider_payment_link_id: z.ZodOptional<z.ZodString>;
|
|
10715
|
+
asaas_customer_id: z.ZodOptional<z.ZodString>;
|
|
10716
|
+
taker: z.ZodOptional<z.ZodObject<{
|
|
10717
|
+
lead_id: z.ZodOptional<z.ZodString>;
|
|
10718
|
+
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
10719
|
+
patient_id: z.ZodOptional<z.ZodString>;
|
|
10720
|
+
snapshot: z.ZodObject<{
|
|
10721
|
+
taker_type: z.ZodEnum<["PF", "PJ", "unknown"]>;
|
|
10722
|
+
name: z.ZodString;
|
|
10723
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10724
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
10725
|
+
cpf_cnpj: z.ZodOptional<z.ZodString>;
|
|
10726
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10727
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
10728
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10729
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10730
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10731
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10732
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10733
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10734
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10735
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10736
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10737
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10738
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10739
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10740
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10741
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10742
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10743
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10744
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10745
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10746
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10747
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10748
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10749
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10750
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10751
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10752
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10753
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10754
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10755
|
+
}, "strip", z.ZodTypeAny, {
|
|
10756
|
+
name: string;
|
|
10757
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10758
|
+
email?: string | undefined;
|
|
10759
|
+
address?: z.objectOutputType<{
|
|
10760
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10761
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10762
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10763
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10764
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10765
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10766
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10767
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10768
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10769
|
+
phone?: string | undefined;
|
|
10770
|
+
customerId?: string | undefined;
|
|
10771
|
+
cpf_cnpj?: string | undefined;
|
|
10772
|
+
}, {
|
|
10773
|
+
name: string;
|
|
10774
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10775
|
+
email?: string | undefined;
|
|
10776
|
+
address?: z.objectInputType<{
|
|
10777
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10778
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10779
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10780
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10781
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10782
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10783
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10784
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10785
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10786
|
+
phone?: string | undefined;
|
|
10787
|
+
customerId?: string | undefined;
|
|
10788
|
+
cpf_cnpj?: string | undefined;
|
|
10789
|
+
}>;
|
|
10790
|
+
}, "strip", z.ZodTypeAny, {
|
|
10791
|
+
snapshot: {
|
|
10792
|
+
name: string;
|
|
10793
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10794
|
+
email?: string | undefined;
|
|
10795
|
+
address?: z.objectOutputType<{
|
|
10796
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10797
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10798
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10799
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10800
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10801
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10802
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10803
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10804
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10805
|
+
phone?: string | undefined;
|
|
10806
|
+
customerId?: string | undefined;
|
|
10807
|
+
cpf_cnpj?: string | undefined;
|
|
10808
|
+
};
|
|
10809
|
+
lead_id?: string | undefined;
|
|
10810
|
+
chat_contact_id?: string | undefined;
|
|
10811
|
+
patient_id?: string | undefined;
|
|
10812
|
+
}, {
|
|
10813
|
+
snapshot: {
|
|
10814
|
+
name: string;
|
|
10815
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10816
|
+
email?: string | undefined;
|
|
10817
|
+
address?: z.objectInputType<{
|
|
10818
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10819
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10820
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10821
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10822
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10823
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10824
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10825
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10826
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10827
|
+
phone?: string | undefined;
|
|
10828
|
+
customerId?: string | undefined;
|
|
10829
|
+
cpf_cnpj?: string | undefined;
|
|
10830
|
+
};
|
|
10831
|
+
lead_id?: string | undefined;
|
|
10832
|
+
chat_contact_id?: string | undefined;
|
|
10833
|
+
patient_id?: string | undefined;
|
|
10834
|
+
}>>;
|
|
10835
|
+
state: z.ZodOptional<z.ZodEnum<["DRAFT", "ACTIVE", "INACTIVE", "DELETED"]>>;
|
|
10836
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10837
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10838
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
10839
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
10840
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
10841
|
+
billing_type: z.ZodOptional<z.ZodEnum<["UNDEFINED", "BOLETO", "CREDIT_CARD", "PIX"]>>;
|
|
10842
|
+
charge_type: z.ZodOptional<z.ZodEnum<["DETACHED", "RECURRENT", "INSTALLMENT"]>>;
|
|
10843
|
+
due_date_limit_days: z.ZodOptional<z.ZodNumber>;
|
|
10844
|
+
subscription_cycle: z.ZodOptional<z.ZodEnum<["WEEKLY", "BIWEEKLY", "MONTHLY", "BIMONTHLY", "QUARTERLY", "SEMIANNUALLY", "YEARLY"]>>;
|
|
10845
|
+
max_installment_count: z.ZodOptional<z.ZodNumber>;
|
|
10846
|
+
external_reference: z.ZodOptional<z.ZodString>;
|
|
10847
|
+
notification_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
10848
|
+
checkout_url: z.ZodOptional<z.ZodString>;
|
|
10849
|
+
callback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10850
|
+
is_address_required: z.ZodOptional<z.ZodBoolean>;
|
|
10851
|
+
last_payment_webhook_event: z.ZodOptional<z.ZodString>;
|
|
10852
|
+
last_payment_id: z.ZodOptional<z.ZodString>;
|
|
10853
|
+
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
10854
|
+
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
10855
|
+
last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
10856
|
+
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10857
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10858
|
+
id: z.ZodString;
|
|
10859
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10860
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
10861
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10862
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10863
|
+
id: z.ZodString;
|
|
10864
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10865
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
10866
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10867
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10868
|
+
id: z.ZodString;
|
|
10869
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10870
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
10871
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
10872
|
+
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10873
|
+
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10874
|
+
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10875
|
+
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
10876
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
10877
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
10878
|
+
}, "strip", z.ZodTypeAny, {
|
|
10879
|
+
at: Date;
|
|
10880
|
+
direction: "webhook" | "request" | "response";
|
|
10881
|
+
body?: unknown;
|
|
10882
|
+
}, {
|
|
10883
|
+
direction: "webhook" | "request" | "response";
|
|
10884
|
+
at?: unknown;
|
|
10885
|
+
body?: unknown;
|
|
10886
|
+
}>, "many">>;
|
|
10887
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10888
|
+
id: z.ZodString;
|
|
10889
|
+
ref: z.ZodAny;
|
|
10890
|
+
tenant: z.ZodString;
|
|
10891
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
10892
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10893
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10894
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10895
|
+
} & {
|
|
10896
|
+
providerId: z.ZodString;
|
|
10897
|
+
provider_name: z.ZodOptional<z.ZodString>;
|
|
10898
|
+
provider_env: z.ZodOptional<z.ZodEnum<["Sandbox", "Production"]>>;
|
|
10899
|
+
provider_payment_link_id: z.ZodOptional<z.ZodString>;
|
|
10900
|
+
asaas_customer_id: z.ZodOptional<z.ZodString>;
|
|
10901
|
+
taker: z.ZodOptional<z.ZodObject<{
|
|
10902
|
+
lead_id: z.ZodOptional<z.ZodString>;
|
|
10903
|
+
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
10904
|
+
patient_id: z.ZodOptional<z.ZodString>;
|
|
10905
|
+
snapshot: z.ZodObject<{
|
|
10906
|
+
taker_type: z.ZodEnum<["PF", "PJ", "unknown"]>;
|
|
10907
|
+
name: z.ZodString;
|
|
10908
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10909
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
10910
|
+
cpf_cnpj: z.ZodOptional<z.ZodString>;
|
|
10911
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
10912
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
10913
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10914
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10915
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10916
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10917
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10918
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10919
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10920
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10921
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10922
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10923
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10924
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10925
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10926
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10927
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10928
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10929
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10930
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10931
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10932
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10933
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10934
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10935
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10936
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10937
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10938
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10939
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
10940
|
+
}, "strip", z.ZodTypeAny, {
|
|
10941
|
+
name: string;
|
|
10942
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10943
|
+
email?: string | undefined;
|
|
10944
|
+
address?: z.objectOutputType<{
|
|
10945
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10946
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10947
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10948
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10949
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10950
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10951
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10952
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10953
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10954
|
+
phone?: string | undefined;
|
|
10955
|
+
customerId?: string | undefined;
|
|
10956
|
+
cpf_cnpj?: string | undefined;
|
|
10957
|
+
}, {
|
|
10958
|
+
name: string;
|
|
10959
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10960
|
+
email?: string | undefined;
|
|
10961
|
+
address?: z.objectInputType<{
|
|
10962
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10963
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10964
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10965
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10966
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10967
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10968
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10969
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10970
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10971
|
+
phone?: string | undefined;
|
|
10972
|
+
customerId?: string | undefined;
|
|
10973
|
+
cpf_cnpj?: string | undefined;
|
|
10974
|
+
}>;
|
|
10975
|
+
}, "strip", z.ZodTypeAny, {
|
|
10976
|
+
snapshot: {
|
|
10977
|
+
name: string;
|
|
10978
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
10979
|
+
email?: string | undefined;
|
|
10980
|
+
address?: z.objectOutputType<{
|
|
10981
|
+
street: z.ZodOptional<z.ZodString>;
|
|
10982
|
+
number: z.ZodOptional<z.ZodString>;
|
|
10983
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
10984
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
10985
|
+
city: z.ZodOptional<z.ZodString>;
|
|
10986
|
+
state: z.ZodOptional<z.ZodString>;
|
|
10987
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
10988
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10989
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10990
|
+
phone?: string | undefined;
|
|
10991
|
+
customerId?: string | undefined;
|
|
10992
|
+
cpf_cnpj?: string | undefined;
|
|
10993
|
+
};
|
|
10994
|
+
lead_id?: string | undefined;
|
|
10995
|
+
chat_contact_id?: string | undefined;
|
|
10996
|
+
patient_id?: string | undefined;
|
|
10997
|
+
}, {
|
|
10998
|
+
snapshot: {
|
|
10999
|
+
name: string;
|
|
11000
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
11001
|
+
email?: string | undefined;
|
|
11002
|
+
address?: z.objectInputType<{
|
|
11003
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11004
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11005
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11006
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11007
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11008
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11009
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11010
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11011
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11012
|
+
phone?: string | undefined;
|
|
11013
|
+
customerId?: string | undefined;
|
|
11014
|
+
cpf_cnpj?: string | undefined;
|
|
11015
|
+
};
|
|
11016
|
+
lead_id?: string | undefined;
|
|
11017
|
+
chat_contact_id?: string | undefined;
|
|
11018
|
+
patient_id?: string | undefined;
|
|
11019
|
+
}>>;
|
|
11020
|
+
state: z.ZodOptional<z.ZodEnum<["DRAFT", "ACTIVE", "INACTIVE", "DELETED"]>>;
|
|
11021
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11022
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11023
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
11024
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
11025
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
11026
|
+
billing_type: z.ZodOptional<z.ZodEnum<["UNDEFINED", "BOLETO", "CREDIT_CARD", "PIX"]>>;
|
|
11027
|
+
charge_type: z.ZodOptional<z.ZodEnum<["DETACHED", "RECURRENT", "INSTALLMENT"]>>;
|
|
11028
|
+
due_date_limit_days: z.ZodOptional<z.ZodNumber>;
|
|
11029
|
+
subscription_cycle: z.ZodOptional<z.ZodEnum<["WEEKLY", "BIWEEKLY", "MONTHLY", "BIMONTHLY", "QUARTERLY", "SEMIANNUALLY", "YEARLY"]>>;
|
|
11030
|
+
max_installment_count: z.ZodOptional<z.ZodNumber>;
|
|
11031
|
+
external_reference: z.ZodOptional<z.ZodString>;
|
|
11032
|
+
notification_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
11033
|
+
checkout_url: z.ZodOptional<z.ZodString>;
|
|
11034
|
+
callback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11035
|
+
is_address_required: z.ZodOptional<z.ZodBoolean>;
|
|
11036
|
+
last_payment_webhook_event: z.ZodOptional<z.ZodString>;
|
|
11037
|
+
last_payment_id: z.ZodOptional<z.ZodString>;
|
|
11038
|
+
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
11039
|
+
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11040
|
+
last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11041
|
+
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11042
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11043
|
+
id: z.ZodString;
|
|
11044
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11045
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11046
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11047
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11048
|
+
id: z.ZodString;
|
|
11049
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11050
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11051
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11052
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11053
|
+
id: z.ZodString;
|
|
11054
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11055
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11056
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11057
|
+
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11058
|
+
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11059
|
+
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11060
|
+
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
11061
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
11062
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
11063
|
+
}, "strip", z.ZodTypeAny, {
|
|
11064
|
+
at: Date;
|
|
11065
|
+
direction: "webhook" | "request" | "response";
|
|
11066
|
+
body?: unknown;
|
|
11067
|
+
}, {
|
|
11068
|
+
direction: "webhook" | "request" | "response";
|
|
11069
|
+
at?: unknown;
|
|
11070
|
+
body?: unknown;
|
|
11071
|
+
}>, "many">>;
|
|
11072
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11073
|
+
id: z.ZodString;
|
|
11074
|
+
ref: z.ZodAny;
|
|
11075
|
+
tenant: z.ZodString;
|
|
11076
|
+
model_ver: z.ZodDefault<z.ZodNumber>;
|
|
11077
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11078
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11079
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11080
|
+
} & {
|
|
11081
|
+
providerId: z.ZodString;
|
|
11082
|
+
provider_name: z.ZodOptional<z.ZodString>;
|
|
11083
|
+
provider_env: z.ZodOptional<z.ZodEnum<["Sandbox", "Production"]>>;
|
|
11084
|
+
provider_payment_link_id: z.ZodOptional<z.ZodString>;
|
|
11085
|
+
asaas_customer_id: z.ZodOptional<z.ZodString>;
|
|
11086
|
+
taker: z.ZodOptional<z.ZodObject<{
|
|
11087
|
+
lead_id: z.ZodOptional<z.ZodString>;
|
|
11088
|
+
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
11089
|
+
patient_id: z.ZodOptional<z.ZodString>;
|
|
11090
|
+
snapshot: z.ZodObject<{
|
|
11091
|
+
taker_type: z.ZodEnum<["PF", "PJ", "unknown"]>;
|
|
11092
|
+
name: z.ZodString;
|
|
11093
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11094
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
11095
|
+
cpf_cnpj: z.ZodOptional<z.ZodString>;
|
|
11096
|
+
customerId: z.ZodOptional<z.ZodString>;
|
|
11097
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
11098
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11099
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11100
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11101
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11102
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11103
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11104
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11105
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11106
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11107
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11108
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11109
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11110
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11111
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11112
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11113
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11114
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11115
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11116
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11117
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11118
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11119
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11120
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11121
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11122
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11123
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11124
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
11125
|
+
}, "strip", z.ZodTypeAny, {
|
|
11126
|
+
name: string;
|
|
11127
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
11128
|
+
email?: string | undefined;
|
|
11129
|
+
address?: z.objectOutputType<{
|
|
11130
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11131
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11132
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11133
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11134
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11135
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11136
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11137
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11138
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11139
|
+
phone?: string | undefined;
|
|
11140
|
+
customerId?: string | undefined;
|
|
11141
|
+
cpf_cnpj?: string | undefined;
|
|
11142
|
+
}, {
|
|
11143
|
+
name: string;
|
|
11144
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
11145
|
+
email?: string | undefined;
|
|
11146
|
+
address?: z.objectInputType<{
|
|
11147
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11148
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11149
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11150
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11151
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11152
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11153
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11154
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11155
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11156
|
+
phone?: string | undefined;
|
|
11157
|
+
customerId?: string | undefined;
|
|
11158
|
+
cpf_cnpj?: string | undefined;
|
|
11159
|
+
}>;
|
|
11160
|
+
}, "strip", z.ZodTypeAny, {
|
|
11161
|
+
snapshot: {
|
|
11162
|
+
name: string;
|
|
11163
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
11164
|
+
email?: string | undefined;
|
|
11165
|
+
address?: z.objectOutputType<{
|
|
11166
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11167
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11168
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11169
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11170
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11171
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11172
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11173
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11174
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11175
|
+
phone?: string | undefined;
|
|
11176
|
+
customerId?: string | undefined;
|
|
11177
|
+
cpf_cnpj?: string | undefined;
|
|
11178
|
+
};
|
|
11179
|
+
lead_id?: string | undefined;
|
|
11180
|
+
chat_contact_id?: string | undefined;
|
|
11181
|
+
patient_id?: string | undefined;
|
|
11182
|
+
}, {
|
|
11183
|
+
snapshot: {
|
|
11184
|
+
name: string;
|
|
11185
|
+
taker_type: "PJ" | "PF" | "unknown";
|
|
11186
|
+
email?: string | undefined;
|
|
11187
|
+
address?: z.objectInputType<{
|
|
11188
|
+
street: z.ZodOptional<z.ZodString>;
|
|
11189
|
+
number: z.ZodOptional<z.ZodString>;
|
|
11190
|
+
complement: z.ZodOptional<z.ZodString>;
|
|
11191
|
+
neighborhood: z.ZodOptional<z.ZodString>;
|
|
11192
|
+
city: z.ZodOptional<z.ZodString>;
|
|
11193
|
+
state: z.ZodOptional<z.ZodString>;
|
|
11194
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
11195
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11196
|
+
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
11197
|
+
phone?: string | undefined;
|
|
11198
|
+
customerId?: string | undefined;
|
|
11199
|
+
cpf_cnpj?: string | undefined;
|
|
11200
|
+
};
|
|
11201
|
+
lead_id?: string | undefined;
|
|
11202
|
+
chat_contact_id?: string | undefined;
|
|
11203
|
+
patient_id?: string | undefined;
|
|
11204
|
+
}>>;
|
|
11205
|
+
state: z.ZodOptional<z.ZodEnum<["DRAFT", "ACTIVE", "INACTIVE", "DELETED"]>>;
|
|
11206
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11207
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11208
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
11209
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
11210
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
11211
|
+
billing_type: z.ZodOptional<z.ZodEnum<["UNDEFINED", "BOLETO", "CREDIT_CARD", "PIX"]>>;
|
|
11212
|
+
charge_type: z.ZodOptional<z.ZodEnum<["DETACHED", "RECURRENT", "INSTALLMENT"]>>;
|
|
11213
|
+
due_date_limit_days: z.ZodOptional<z.ZodNumber>;
|
|
11214
|
+
subscription_cycle: z.ZodOptional<z.ZodEnum<["WEEKLY", "BIWEEKLY", "MONTHLY", "BIMONTHLY", "QUARTERLY", "SEMIANNUALLY", "YEARLY"]>>;
|
|
11215
|
+
max_installment_count: z.ZodOptional<z.ZodNumber>;
|
|
11216
|
+
external_reference: z.ZodOptional<z.ZodString>;
|
|
11217
|
+
notification_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
11218
|
+
checkout_url: z.ZodOptional<z.ZodString>;
|
|
11219
|
+
callback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11220
|
+
is_address_required: z.ZodOptional<z.ZodBoolean>;
|
|
11221
|
+
last_payment_webhook_event: z.ZodOptional<z.ZodString>;
|
|
11222
|
+
last_payment_id: z.ZodOptional<z.ZodString>;
|
|
11223
|
+
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
11224
|
+
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11225
|
+
last_payment_received_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11226
|
+
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11227
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11228
|
+
id: z.ZodString;
|
|
11229
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11230
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11231
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11232
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11233
|
+
id: z.ZodString;
|
|
11234
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11235
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11236
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11237
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11238
|
+
id: z.ZodString;
|
|
11239
|
+
label: z.ZodOptional<z.ZodString>;
|
|
11240
|
+
ref: z.ZodOptional<z.ZodAny>;
|
|
11241
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
11242
|
+
externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11243
|
+
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11244
|
+
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11245
|
+
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
11246
|
+
at: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
11247
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
11248
|
+
}, "strip", z.ZodTypeAny, {
|
|
11249
|
+
at: Date;
|
|
11250
|
+
direction: "webhook" | "request" | "response";
|
|
11251
|
+
body?: unknown;
|
|
11252
|
+
}, {
|
|
11253
|
+
direction: "webhook" | "request" | "response";
|
|
11254
|
+
at?: unknown;
|
|
11255
|
+
body?: unknown;
|
|
11256
|
+
}>, "many">>;
|
|
11257
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
10698
11258
|
export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
10699
11259
|
id: z.ZodString;
|
|
10700
11260
|
ref: z.ZodAny;
|
|
@@ -10864,17 +11424,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
10864
11424
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10865
11425
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10866
11426
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10867
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11427
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10868
11428
|
id: z.ZodString;
|
|
10869
11429
|
label: z.ZodOptional<z.ZodString>;
|
|
10870
11430
|
ref: z.ZodOptional<z.ZodAny>;
|
|
10871
11431
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
10872
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11432
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10873
11433
|
id: z.ZodString;
|
|
10874
11434
|
label: z.ZodOptional<z.ZodString>;
|
|
10875
11435
|
ref: z.ZodOptional<z.ZodAny>;
|
|
10876
11436
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
10877
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11437
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
10878
11438
|
id: z.ZodString;
|
|
10879
11439
|
label: z.ZodOptional<z.ZodString>;
|
|
10880
11440
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -11283,17 +11843,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11283
11843
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11284
11844
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11285
11845
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11286
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11846
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11287
11847
|
id: z.ZodString;
|
|
11288
11848
|
label: z.ZodOptional<z.ZodString>;
|
|
11289
11849
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11290
11850
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11291
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11851
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11292
11852
|
id: z.ZodString;
|
|
11293
11853
|
label: z.ZodOptional<z.ZodString>;
|
|
11294
11854
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11295
11855
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11296
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11856
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11297
11857
|
id: z.ZodString;
|
|
11298
11858
|
label: z.ZodOptional<z.ZodString>;
|
|
11299
11859
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -11702,17 +12262,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11702
12262
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11703
12263
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11704
12264
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11705
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
12265
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11706
12266
|
id: z.ZodString;
|
|
11707
12267
|
label: z.ZodOptional<z.ZodString>;
|
|
11708
12268
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11709
12269
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11710
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
12270
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11711
12271
|
id: z.ZodString;
|
|
11712
12272
|
label: z.ZodOptional<z.ZodString>;
|
|
11713
12273
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11714
12274
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11715
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
12275
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
11716
12276
|
id: z.ZodString;
|
|
11717
12277
|
label: z.ZodOptional<z.ZodString>;
|
|
11718
12278
|
ref: z.ZodOptional<z.ZodAny>;
|