evo360-types 1.3.209 → 1.3.211
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.
|
@@ -9841,6 +9841,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9841
9841
|
state: z.ZodOptional<z.ZodString>;
|
|
9842
9842
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9843
9843
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9844
|
+
company: z.ZodOptional<z.ZodString>;
|
|
9845
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
9846
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
9847
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9844
9848
|
}, "strip", z.ZodTypeAny, {
|
|
9845
9849
|
name: string;
|
|
9846
9850
|
type: "PJ" | "PF" | "unknown";
|
|
@@ -9857,6 +9861,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9857
9861
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9858
9862
|
phone?: string | undefined;
|
|
9859
9863
|
cpfCnpj?: string | undefined;
|
|
9864
|
+
company?: string | undefined;
|
|
9865
|
+
municipal_inscription?: string | undefined;
|
|
9866
|
+
state_inscription?: string | undefined;
|
|
9867
|
+
observations?: string | undefined;
|
|
9860
9868
|
}, {
|
|
9861
9869
|
name: string;
|
|
9862
9870
|
type: "PJ" | "PF" | "unknown";
|
|
@@ -9873,6 +9881,10 @@ export declare const zTakerTaxProfileSchema: z.ZodObject<{
|
|
|
9873
9881
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9874
9882
|
phone?: string | undefined;
|
|
9875
9883
|
cpfCnpj?: string | undefined;
|
|
9884
|
+
company?: string | undefined;
|
|
9885
|
+
municipal_inscription?: string | undefined;
|
|
9886
|
+
state_inscription?: string | undefined;
|
|
9887
|
+
observations?: string | undefined;
|
|
9876
9888
|
}>;
|
|
9877
9889
|
export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
9878
9890
|
id: z.ZodString;
|
|
@@ -9916,6 +9928,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
9916
9928
|
state: z.ZodOptional<z.ZodString>;
|
|
9917
9929
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9918
9930
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9931
|
+
company: z.ZodOptional<z.ZodString>;
|
|
9932
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
9933
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
9934
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9919
9935
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
9920
9936
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
9921
9937
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -9980,6 +9996,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
9980
9996
|
state: z.ZodOptional<z.ZodString>;
|
|
9981
9997
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
9982
9998
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9999
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10000
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10001
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10002
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
9983
10003
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
9984
10004
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
9985
10005
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -10044,6 +10064,10 @@ export declare const zTakerDocumentSchema: z.ZodObject<{
|
|
|
10044
10064
|
state: z.ZodOptional<z.ZodString>;
|
|
10045
10065
|
country: z.ZodOptional<z.ZodLiteral<"BR">>;
|
|
10046
10066
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
10067
|
+
company: z.ZodOptional<z.ZodString>;
|
|
10068
|
+
municipal_inscription: z.ZodOptional<z.ZodString>;
|
|
10069
|
+
state_inscription: z.ZodOptional<z.ZodString>;
|
|
10070
|
+
observations: z.ZodOptional<z.ZodString>;
|
|
10047
10071
|
patient_id: z.ZodOptional<z.ZodString>;
|
|
10048
10072
|
lead_id: z.ZodOptional<z.ZodString>;
|
|
10049
10073
|
chat_contact_id: z.ZodOptional<z.ZodString>;
|
|
@@ -362,6 +362,10 @@ exports.zTakerTaxProfileSchema = zod_1.z.object({
|
|
|
362
362
|
email: zod_1.z.string().optional(),
|
|
363
363
|
phone: zod_1.z.string().optional(),
|
|
364
364
|
address: exports.zTakerAddressSchema.optional(),
|
|
365
|
+
company: zod_1.z.string().optional(),
|
|
366
|
+
municipal_inscription: zod_1.z.string().optional(),
|
|
367
|
+
state_inscription: zod_1.z.string().optional(),
|
|
368
|
+
observations: zod_1.z.string().optional(),
|
|
365
369
|
});
|
|
366
370
|
exports.zTakerDocumentSchema = zod_schemas_1.zFireDocSchema
|
|
367
371
|
.extend({
|
|
@@ -371,6 +375,10 @@ exports.zTakerDocumentSchema = zod_schemas_1.zFireDocSchema
|
|
|
371
375
|
email: zod_1.z.string().optional(),
|
|
372
376
|
phone: zod_1.z.string().optional(),
|
|
373
377
|
address: exports.zTakerAddressSchema.optional(),
|
|
378
|
+
company: zod_1.z.string().optional(),
|
|
379
|
+
municipal_inscription: zod_1.z.string().optional(),
|
|
380
|
+
state_inscription: zod_1.z.string().optional(),
|
|
381
|
+
observations: zod_1.z.string().optional(),
|
|
374
382
|
patient_id: zod_1.z.string().optional(),
|
|
375
383
|
lead_id: zod_1.z.string().optional(),
|
|
376
384
|
chat_contact_id: zod_1.z.string().optional(),
|
|
@@ -392,6 +392,10 @@ export const zTakerTaxProfileSchema = z.object({
|
|
|
392
392
|
email: z.string().optional(),
|
|
393
393
|
phone: z.string().optional(),
|
|
394
394
|
address: zTakerAddressSchema.optional(),
|
|
395
|
+
company: z.string().optional(),
|
|
396
|
+
municipal_inscription: z.string().optional(),
|
|
397
|
+
state_inscription: z.string().optional(),
|
|
398
|
+
observations: z.string().optional(),
|
|
395
399
|
});
|
|
396
400
|
|
|
397
401
|
export const zTakerDocumentSchema = zFireDocSchema
|
|
@@ -402,6 +406,10 @@ export const zTakerDocumentSchema = zFireDocSchema
|
|
|
402
406
|
email: z.string().optional(),
|
|
403
407
|
phone: z.string().optional(),
|
|
404
408
|
address: zTakerAddressSchema.optional(),
|
|
409
|
+
company: z.string().optional(),
|
|
410
|
+
municipal_inscription: z.string().optional(),
|
|
411
|
+
state_inscription: z.string().optional(),
|
|
412
|
+
observations: z.string().optional(),
|
|
405
413
|
patient_id: z.string().optional(),
|
|
406
414
|
lead_id: z.string().optional(),
|
|
407
415
|
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;
|