evo360-types 1.3.306 → 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 +60 -9
- package/dist/apps/evo-finops/zod-schemas.js +2 -0
- package/dist/apps/evo-finops/zod-schemas.ts +2 -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/payment-links/index.d.ts +4 -1
- package/dist/types/evo-finops/payment-links/index.ts +5 -1
- 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
|
@@ -10853,6 +10853,23 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
10853
10853
|
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
10854
10854
|
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
10855
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">>;
|
|
10856
10873
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10857
10874
|
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10858
10875
|
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
@@ -11021,6 +11038,23 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
11021
11038
|
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
11022
11039
|
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11023
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">>;
|
|
11024
11058
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11025
11059
|
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11026
11060
|
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
@@ -11189,6 +11223,23 @@ export declare const zPaymentLinkSchema: z.ZodObject<{
|
|
|
11189
11223
|
last_payment_status: z.ZodOptional<z.ZodString>;
|
|
11190
11224
|
last_payment_confirmed_at: z.ZodOptional<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
11191
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">>;
|
|
11192
11243
|
raw: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11193
11244
|
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11194
11245
|
direction: z.ZodEnum<["request", "response", "webhook"]>;
|
|
@@ -11373,17 +11424,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11373
11424
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11374
11425
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11375
11426
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11376
|
-
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"]>;
|
|
11377
11428
|
id: z.ZodString;
|
|
11378
11429
|
label: z.ZodOptional<z.ZodString>;
|
|
11379
11430
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11380
11431
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11381
|
-
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"]>;
|
|
11382
11433
|
id: z.ZodString;
|
|
11383
11434
|
label: z.ZodOptional<z.ZodString>;
|
|
11384
11435
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11385
11436
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11386
|
-
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"]>;
|
|
11387
11438
|
id: z.ZodString;
|
|
11388
11439
|
label: z.ZodOptional<z.ZodString>;
|
|
11389
11440
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -11792,17 +11843,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
11792
11843
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11793
11844
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11794
11845
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11795
|
-
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"]>;
|
|
11796
11847
|
id: z.ZodString;
|
|
11797
11848
|
label: z.ZodOptional<z.ZodString>;
|
|
11798
11849
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11799
11850
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11800
|
-
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"]>;
|
|
11801
11852
|
id: z.ZodString;
|
|
11802
11853
|
label: z.ZodOptional<z.ZodString>;
|
|
11803
11854
|
ref: z.ZodOptional<z.ZodAny>;
|
|
11804
11855
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
11805
|
-
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"]>;
|
|
11806
11857
|
id: z.ZodString;
|
|
11807
11858
|
label: z.ZodOptional<z.ZodString>;
|
|
11808
11859
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -12211,17 +12262,17 @@ export declare const zServiceInvoiceSchema: z.ZodObject<{
|
|
|
12211
12262
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12212
12263
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
12213
12264
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12214
|
-
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"]>;
|
|
12215
12266
|
id: z.ZodString;
|
|
12216
12267
|
label: z.ZodOptional<z.ZodString>;
|
|
12217
12268
|
ref: z.ZodOptional<z.ZodAny>;
|
|
12218
12269
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12219
|
-
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"]>;
|
|
12220
12271
|
id: z.ZodString;
|
|
12221
12272
|
label: z.ZodOptional<z.ZodString>;
|
|
12222
12273
|
ref: z.ZodOptional<z.ZodAny>;
|
|
12223
12274
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
12224
|
-
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"]>;
|
|
12225
12276
|
id: z.ZodString;
|
|
12226
12277
|
label: z.ZodOptional<z.ZodString>;
|
|
12227
12278
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -603,6 +603,8 @@ exports.zPaymentLinkSchema = zod_schemas_1.zFireDocSchema
|
|
|
603
603
|
last_payment_status: zod_1.z.string().optional(),
|
|
604
604
|
last_payment_confirmed_at: zod_schemas_1.zFirestoreDateSchema.optional(),
|
|
605
605
|
last_payment_received_at: zod_schemas_1.zFirestoreDateSchema.optional(),
|
|
606
|
+
externalLinks: zod_1.z.array(zod_schemas_2.zExternalLinkSchema).optional(),
|
|
607
|
+
externalLinkKeys: zod_1.z.array(zod_1.z.string()).optional(),
|
|
606
608
|
raw: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
607
609
|
snapshots: zod_1.z
|
|
608
610
|
.array(zod_1.z.object({
|
|
@@ -658,6 +658,8 @@ export const zPaymentLinkSchema = zFireDocSchema
|
|
|
658
658
|
last_payment_status: z.string().optional(),
|
|
659
659
|
last_payment_confirmed_at: zFirestoreDateSchema.optional(),
|
|
660
660
|
last_payment_received_at: zFirestoreDateSchema.optional(),
|
|
661
|
+
externalLinks: z.array(zExternalLinkSchema).optional(),
|
|
662
|
+
externalLinkKeys: z.array(z.string()).optional(),
|
|
661
663
|
raw: z.record(z.unknown()).optional(),
|
|
662
664
|
snapshots: z
|
|
663
665
|
.array(
|
|
@@ -178,17 +178,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
178
178
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
179
179
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
180
180
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
181
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
181
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
182
182
|
id: z.ZodString;
|
|
183
183
|
label: z.ZodOptional<z.ZodString>;
|
|
184
184
|
ref: z.ZodOptional<z.ZodAny>;
|
|
185
185
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
186
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
186
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
187
187
|
id: z.ZodString;
|
|
188
188
|
label: z.ZodOptional<z.ZodString>;
|
|
189
189
|
ref: z.ZodOptional<z.ZodAny>;
|
|
190
190
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
191
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
191
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
192
192
|
id: z.ZodString;
|
|
193
193
|
label: z.ZodOptional<z.ZodString>;
|
|
194
194
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -294,17 +294,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
294
294
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
295
295
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
296
296
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
297
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
297
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
298
298
|
id: z.ZodString;
|
|
299
299
|
label: z.ZodOptional<z.ZodString>;
|
|
300
300
|
ref: z.ZodOptional<z.ZodAny>;
|
|
301
301
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
302
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
302
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
303
303
|
id: z.ZodString;
|
|
304
304
|
label: z.ZodOptional<z.ZodString>;
|
|
305
305
|
ref: z.ZodOptional<z.ZodAny>;
|
|
306
306
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
307
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
307
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
308
308
|
id: z.ZodString;
|
|
309
309
|
label: z.ZodOptional<z.ZodString>;
|
|
310
310
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -410,17 +410,17 @@ export declare const zNotificationMessageSchema: z.ZodObject<{
|
|
|
410
410
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
411
411
|
date_bucket: z.ZodOptional<z.ZodString>;
|
|
412
412
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
413
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
413
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
414
414
|
id: z.ZodString;
|
|
415
415
|
label: z.ZodOptional<z.ZodString>;
|
|
416
416
|
ref: z.ZodOptional<z.ZodAny>;
|
|
417
417
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
418
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
418
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
419
419
|
id: z.ZodString;
|
|
420
420
|
label: z.ZodOptional<z.ZodString>;
|
|
421
421
|
ref: z.ZodOptional<z.ZodAny>;
|
|
422
422
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
423
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
423
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
424
424
|
id: z.ZodString;
|
|
425
425
|
label: z.ZodOptional<z.ZodString>;
|
|
426
426
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -679,17 +679,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
679
679
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
680
680
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
681
681
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
682
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
682
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
683
683
|
id: z.ZodString;
|
|
684
684
|
label: z.ZodOptional<z.ZodString>;
|
|
685
685
|
ref: z.ZodOptional<z.ZodAny>;
|
|
686
686
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
687
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
687
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
688
688
|
id: z.ZodString;
|
|
689
689
|
label: z.ZodOptional<z.ZodString>;
|
|
690
690
|
ref: z.ZodOptional<z.ZodAny>;
|
|
691
691
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
692
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
692
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
693
693
|
id: z.ZodString;
|
|
694
694
|
label: z.ZodOptional<z.ZodString>;
|
|
695
695
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -761,17 +761,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
761
761
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
762
762
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
763
763
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
764
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
764
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
765
765
|
id: z.ZodString;
|
|
766
766
|
label: z.ZodOptional<z.ZodString>;
|
|
767
767
|
ref: z.ZodOptional<z.ZodAny>;
|
|
768
768
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
769
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
769
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
770
770
|
id: z.ZodString;
|
|
771
771
|
label: z.ZodOptional<z.ZodString>;
|
|
772
772
|
ref: z.ZodOptional<z.ZodAny>;
|
|
773
773
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
774
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
774
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
775
775
|
id: z.ZodString;
|
|
776
776
|
label: z.ZodOptional<z.ZodString>;
|
|
777
777
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -843,17 +843,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
843
843
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
844
844
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
845
845
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
846
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
846
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
847
847
|
id: z.ZodString;
|
|
848
848
|
label: z.ZodOptional<z.ZodString>;
|
|
849
849
|
ref: z.ZodOptional<z.ZodAny>;
|
|
850
850
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
851
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
851
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
852
852
|
id: z.ZodString;
|
|
853
853
|
label: z.ZodOptional<z.ZodString>;
|
|
854
854
|
ref: z.ZodOptional<z.ZodAny>;
|
|
855
855
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
856
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
856
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
857
857
|
id: z.ZodString;
|
|
858
858
|
label: z.ZodOptional<z.ZodString>;
|
|
859
859
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -925,17 +925,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
925
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
926
926
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
927
927
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
928
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
928
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
929
929
|
id: z.ZodString;
|
|
930
930
|
label: z.ZodOptional<z.ZodString>;
|
|
931
931
|
ref: z.ZodOptional<z.ZodAny>;
|
|
932
932
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
933
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
933
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
934
934
|
id: z.ZodString;
|
|
935
935
|
label: z.ZodOptional<z.ZodString>;
|
|
936
936
|
ref: z.ZodOptional<z.ZodAny>;
|
|
937
937
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
938
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
938
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
939
939
|
id: z.ZodString;
|
|
940
940
|
label: z.ZodOptional<z.ZodString>;
|
|
941
941
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1007,17 +1007,17 @@ export declare const zDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1007
1007
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1008
1008
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1009
1009
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1010
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1010
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1011
1011
|
id: z.ZodString;
|
|
1012
1012
|
label: z.ZodOptional<z.ZodString>;
|
|
1013
1013
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1014
1014
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1015
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1015
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1016
1016
|
id: z.ZodString;
|
|
1017
1017
|
label: z.ZodOptional<z.ZodString>;
|
|
1018
1018
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1019
1019
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1020
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1020
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1021
1021
|
id: z.ZodString;
|
|
1022
1022
|
label: z.ZodOptional<z.ZodString>;
|
|
1023
1023
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1088,17 +1088,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1088
1088
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1089
1089
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1090
1090
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1091
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1091
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1092
1092
|
id: z.ZodString;
|
|
1093
1093
|
label: z.ZodOptional<z.ZodString>;
|
|
1094
1094
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1095
1095
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1096
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1096
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1097
1097
|
id: z.ZodString;
|
|
1098
1098
|
label: z.ZodOptional<z.ZodString>;
|
|
1099
1099
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1100
1100
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1101
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1101
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1102
1102
|
id: z.ZodString;
|
|
1103
1103
|
label: z.ZodOptional<z.ZodString>;
|
|
1104
1104
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1168,17 +1168,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1168
1168
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1169
1169
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1170
1170
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1171
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1171
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1172
1172
|
id: z.ZodString;
|
|
1173
1173
|
label: z.ZodOptional<z.ZodString>;
|
|
1174
1174
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1175
1175
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1176
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1176
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1177
1177
|
id: z.ZodString;
|
|
1178
1178
|
label: z.ZodOptional<z.ZodString>;
|
|
1179
1179
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1180
1180
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1181
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1181
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1182
1182
|
id: z.ZodString;
|
|
1183
1183
|
label: z.ZodOptional<z.ZodString>;
|
|
1184
1184
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1248,17 +1248,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1248
1248
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1249
1249
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1250
1250
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1251
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1251
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1252
1252
|
id: z.ZodString;
|
|
1253
1253
|
label: z.ZodOptional<z.ZodString>;
|
|
1254
1254
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1255
1255
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1256
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1256
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1257
1257
|
id: z.ZodString;
|
|
1258
1258
|
label: z.ZodOptional<z.ZodString>;
|
|
1259
1259
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1260
1260
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1261
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1261
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1262
1262
|
id: z.ZodString;
|
|
1263
1263
|
label: z.ZodOptional<z.ZodString>;
|
|
1264
1264
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1328,17 +1328,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1328
1328
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1329
1329
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1330
1330
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1331
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1331
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1332
1332
|
id: z.ZodString;
|
|
1333
1333
|
label: z.ZodOptional<z.ZodString>;
|
|
1334
1334
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1335
1335
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1336
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1336
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1337
1337
|
id: z.ZodString;
|
|
1338
1338
|
label: z.ZodOptional<z.ZodString>;
|
|
1339
1339
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1340
1340
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1341
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1341
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1342
1342
|
id: z.ZodString;
|
|
1343
1343
|
label: z.ZodOptional<z.ZodString>;
|
|
1344
1344
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1408,17 +1408,17 @@ export declare const zNexusDirectSendPayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1408
1408
|
dedup_key: z.ZodOptional<z.ZodString>;
|
|
1409
1409
|
dedup_group_key: z.ZodOptional<z.ZodString>;
|
|
1410
1410
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1411
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1411
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1412
1412
|
id: z.ZodString;
|
|
1413
1413
|
label: z.ZodOptional<z.ZodString>;
|
|
1414
1414
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1415
1415
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1416
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1416
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1417
1417
|
id: z.ZodString;
|
|
1418
1418
|
label: z.ZodOptional<z.ZodString>;
|
|
1419
1419
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1420
1420
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1421
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1421
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1422
1422
|
id: z.ZodString;
|
|
1423
1423
|
label: z.ZodOptional<z.ZodString>;
|
|
1424
1424
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -8,37 +8,37 @@ export declare const zTaskAutoHandlerSchema: z.ZodEnum<["notifications", "ai_age
|
|
|
8
8
|
export declare const zTaskRetryStrategySchema: z.ZodEnum<["fixed", "exponential"]>;
|
|
9
9
|
export declare const zTaskDedupScopeSchema: z.ZodEnum<["per_recipient", "per_recipient_and_object", "custom"]>;
|
|
10
10
|
export declare const zTaskDedupWindowSchema: z.ZodEnum<["same_day", "n_hours", "custom"]>;
|
|
11
|
-
export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
12
|
-
export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
11
|
+
export declare const zExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
12
|
+
export declare const zTaskExternalObjectTypeSchema: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
13
13
|
export declare const zTaskExecutionStatusSchema: z.ZodEnum<["success", "error", "retry"]>;
|
|
14
14
|
export declare const zExternalLinkSchema: z.ZodObject<{
|
|
15
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
15
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
label: z.ZodOptional<z.ZodString>;
|
|
18
18
|
ref: z.ZodOptional<z.ZodAny>;
|
|
19
19
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
20
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
label: z.ZodOptional<z.ZodString>;
|
|
23
23
|
ref: z.ZodOptional<z.ZodAny>;
|
|
24
24
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
25
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
25
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
label: z.ZodOptional<z.ZodString>;
|
|
28
28
|
ref: z.ZodOptional<z.ZodAny>;
|
|
29
29
|
}, z.ZodTypeAny, "passthrough">>;
|
|
30
30
|
export declare const zTaskExternalLinkSchema: z.ZodObject<{
|
|
31
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
31
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
32
32
|
id: z.ZodString;
|
|
33
33
|
label: z.ZodOptional<z.ZodString>;
|
|
34
34
|
ref: z.ZodOptional<z.ZodAny>;
|
|
35
35
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
36
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
36
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
37
37
|
id: z.ZodString;
|
|
38
38
|
label: z.ZodOptional<z.ZodString>;
|
|
39
39
|
ref: z.ZodOptional<z.ZodAny>;
|
|
40
40
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
41
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
41
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
42
42
|
id: z.ZodString;
|
|
43
43
|
label: z.ZodOptional<z.ZodString>;
|
|
44
44
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -469,17 +469,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
469
469
|
category?: string | null | undefined;
|
|
470
470
|
}>, "many">>>;
|
|
471
471
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
472
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
473
473
|
id: z.ZodString;
|
|
474
474
|
label: z.ZodOptional<z.ZodString>;
|
|
475
475
|
ref: z.ZodOptional<z.ZodAny>;
|
|
476
476
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
477
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
477
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
478
478
|
id: z.ZodString;
|
|
479
479
|
label: z.ZodOptional<z.ZodString>;
|
|
480
480
|
ref: z.ZodOptional<z.ZodAny>;
|
|
481
481
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
482
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
482
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
483
483
|
id: z.ZodString;
|
|
484
484
|
label: z.ZodOptional<z.ZodString>;
|
|
485
485
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -891,17 +891,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
891
891
|
category?: string | null | undefined;
|
|
892
892
|
}>, "many">>>;
|
|
893
893
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
894
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
894
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
895
895
|
id: z.ZodString;
|
|
896
896
|
label: z.ZodOptional<z.ZodString>;
|
|
897
897
|
ref: z.ZodOptional<z.ZodAny>;
|
|
898
898
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
899
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
899
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
900
900
|
id: z.ZodString;
|
|
901
901
|
label: z.ZodOptional<z.ZodString>;
|
|
902
902
|
ref: z.ZodOptional<z.ZodAny>;
|
|
903
903
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
904
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
904
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
905
905
|
id: z.ZodString;
|
|
906
906
|
label: z.ZodOptional<z.ZodString>;
|
|
907
907
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1313,17 +1313,17 @@ export declare const zTaskSchema: z.ZodObject<{
|
|
|
1313
1313
|
category?: string | null | undefined;
|
|
1314
1314
|
}>, "many">>>;
|
|
1315
1315
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1316
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1316
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1317
1317
|
id: z.ZodString;
|
|
1318
1318
|
label: z.ZodOptional<z.ZodString>;
|
|
1319
1319
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1320
1320
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1321
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1321
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1322
1322
|
id: z.ZodString;
|
|
1323
1323
|
label: z.ZodOptional<z.ZodString>;
|
|
1324
1324
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1325
1325
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1326
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact"]>;
|
|
1326
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1327
1327
|
id: z.ZodString;
|
|
1328
1328
|
label: z.ZodOptional<z.ZodString>;
|
|
1329
1329
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -41,6 +41,9 @@ exports.zExternalObjectTypeSchema = zod_1.z.enum([
|
|
|
41
41
|
"med_professional",
|
|
42
42
|
"med_appointment",
|
|
43
43
|
"chat_contact",
|
|
44
|
+
"nex_billing",
|
|
45
|
+
"nex_contract",
|
|
46
|
+
"nex_customer",
|
|
44
47
|
]);
|
|
45
48
|
// Backward compatibility alias
|
|
46
49
|
exports.zTaskExternalObjectTypeSchema = exports.zExternalObjectTypeSchema;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IFireDoc } from "../../shared";
|
|
1
|
+
import type { IFireDoc, IExternalLink } from "../../shared";
|
|
2
2
|
import type { IInvoiceTakerRef } from "../invoices";
|
|
3
3
|
/** Asaas `billingType` for payment links */
|
|
4
4
|
export declare enum AsaasPaymentLinkBillingTypeEnum {
|
|
@@ -66,6 +66,9 @@ export interface IPaymentLink extends IFireDoc {
|
|
|
66
66
|
checkout_url?: string;
|
|
67
67
|
callback?: IAsaasPaymentLinkCallbackSnapshot;
|
|
68
68
|
is_address_required?: boolean;
|
|
69
|
+
/** Cross-module references (e.g. nex_billing), same pattern as service invoices. */
|
|
70
|
+
externalLinks?: IExternalLink[];
|
|
71
|
+
externalLinkKeys?: string[];
|
|
69
72
|
/** Last payment activity from webhook (optional). */
|
|
70
73
|
last_payment_webhook_event?: string;
|
|
71
74
|
last_payment_id?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Nexus / FinOps — Payment links (Asaas) persisted in Firestore
|
|
2
2
|
|
|
3
|
-
import type { IFireDoc } from "../../shared";
|
|
3
|
+
import type { IFireDoc, IExternalLink } from "../../shared";
|
|
4
4
|
import type { IInvoiceTakerRef } from "../invoices";
|
|
5
5
|
|
|
6
6
|
/** Asaas `billingType` for payment links */
|
|
@@ -81,6 +81,10 @@ export interface IPaymentLink extends IFireDoc {
|
|
|
81
81
|
callback?: IAsaasPaymentLinkCallbackSnapshot;
|
|
82
82
|
is_address_required?: boolean;
|
|
83
83
|
|
|
84
|
+
/** Cross-module references (e.g. nex_billing), same pattern as service invoices. */
|
|
85
|
+
externalLinks?: IExternalLink[];
|
|
86
|
+
externalLinkKeys?: string[];
|
|
87
|
+
|
|
84
88
|
/** Last payment activity from webhook (optional). */
|
|
85
89
|
last_payment_webhook_event?: string;
|
|
86
90
|
last_payment_id?: string;
|
|
@@ -133,6 +133,7 @@ export interface INotificationChannelRef {
|
|
|
133
133
|
type: NotificationChannelType;
|
|
134
134
|
channel_id: string; // reference to channel config in CHAT module
|
|
135
135
|
sender_id?: string; // optional (e.g., whatsapp business number, email sender id)
|
|
136
|
+
provider_name?: string; // e.g., 'chatbee', 'hub-waba', 'smtp' — used to select provider implementation
|
|
136
137
|
[key: string]: unknown;
|
|
137
138
|
}
|
|
138
139
|
|
|
@@ -5,6 +5,10 @@ export declare const ExternalObjectTypeEnum: {
|
|
|
5
5
|
readonly MedProfessional: "med_professional";
|
|
6
6
|
readonly MedAppointment: "med_appointment";
|
|
7
7
|
readonly ChatContact: "chat_contact";
|
|
8
|
+
/** Nexus FinOps billing document */
|
|
9
|
+
readonly NexBilling: "nex_billing";
|
|
10
|
+
readonly NexContract: "nex_contract";
|
|
11
|
+
readonly NexCustomer: "nex_customer";
|
|
8
12
|
};
|
|
9
13
|
export type ExternalObjectType = (typeof ExternalObjectTypeEnum)[keyof typeof ExternalObjectTypeEnum];
|
|
10
14
|
export interface IExternalLink {
|
|
@@ -9,4 +9,8 @@ exports.ExternalObjectTypeEnum = {
|
|
|
9
9
|
MedProfessional: "med_professional",
|
|
10
10
|
MedAppointment: "med_appointment",
|
|
11
11
|
ChatContact: "chat_contact",
|
|
12
|
+
/** Nexus FinOps billing document */
|
|
13
|
+
NexBilling: "nex_billing",
|
|
14
|
+
NexContract: "nex_contract",
|
|
15
|
+
NexCustomer: "nex_customer",
|
|
12
16
|
};
|
|
@@ -9,6 +9,10 @@ export const ExternalObjectTypeEnum = {
|
|
|
9
9
|
MedProfessional: "med_professional",
|
|
10
10
|
MedAppointment: "med_appointment",
|
|
11
11
|
ChatContact: "chat_contact",
|
|
12
|
+
/** Nexus FinOps billing document */
|
|
13
|
+
NexBilling: "nex_billing",
|
|
14
|
+
NexContract: "nex_contract",
|
|
15
|
+
NexCustomer: "nex_customer",
|
|
12
16
|
} as const;
|
|
13
17
|
|
|
14
18
|
export type ExternalObjectType =
|