salesforce-metadata-mcp 2.5.2 → 2.5.4
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/AGENTFORCE.md +65 -287
- package/CHANGELOG.md +68 -0
- package/README.md +19 -250
- package/TOOLS.md +103 -2034
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.d.ts +3833 -6
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +286 -241
- package/dist/schemas/index.js.map +1 -1
- package/dist/services/deployment.d.ts +4 -0
- package/dist/services/deployment.d.ts.map +1 -1
- package/dist/services/deployment.js +2 -124
- package/dist/services/deployment.js.map +1 -1
- package/dist/services/salesforce.d.ts +243 -1
- package/dist/services/salesforce.d.ts.map +1 -1
- package/dist/services/salesforce.js +1511 -857
- package/dist/services/salesforce.js.map +1 -1
- package/dist/tools/admin.d.ts +3 -0
- package/dist/tools/admin.d.ts.map +1 -0
- package/dist/tools/admin.js +3 -15
- package/dist/tools/admin.js.map +1 -0
- package/dist/tools/agentforce.js +43 -303
- package/dist/tools/apex.js +3 -154
- package/dist/tools/audit.d.ts +3 -0
- package/dist/tools/audit.d.ts.map +1 -0
- package/dist/tools/audit.js +2 -8
- package/dist/tools/audit.js.map +1 -0
- package/dist/tools/automation.js +2 -90
- package/dist/tools/data.d.ts +3 -0
- package/dist/tools/data.d.ts.map +1 -0
- package/dist/tools/data.js +1 -4
- package/dist/tools/data.js.map +1 -0
- package/dist/tools/deployment.js +5 -148
- package/dist/tools/deployment.js.map +1 -1
- package/dist/tools/einstein.d.ts +3 -0
- package/dist/tools/einstein.d.ts.map +1 -0
- package/dist/tools/einstein.js +2 -7
- package/dist/tools/einstein.js.map +1 -0
- package/dist/tools/experience.js +2 -105
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/integrations.js +2 -113
- package/dist/tools/monitoring.d.ts +3 -0
- package/dist/tools/monitoring.d.ts.map +1 -0
- package/dist/tools/monitoring.js +4 -12
- package/dist/tools/monitoring.js.map +1 -0
- package/dist/tools/objects.js +2 -129
- package/dist/tools/omnichannel.d.ts +3 -0
- package/dist/tools/omnichannel.d.ts.map +1 -0
- package/dist/tools/omnichannel.js +3 -28
- package/dist/tools/omnichannel.js.map +1 -0
- package/dist/tools/omnistudio.d.ts +3 -0
- package/dist/tools/omnistudio.d.ts.map +1 -0
- package/dist/tools/omnistudio.js +3 -37
- package/dist/tools/omnistudio.js.map +1 -0
- package/dist/tools/reports.d.ts +3 -0
- package/dist/tools/reports.d.ts.map +1 -0
- package/dist/tools/reports.js +3 -3
- package/dist/tools/reports.js.map +1 -0
- package/dist/tools/security.js +2 -82
- package/dist/tools/ui.js +2 -102
- package/package.json +3 -3
package/dist/schemas/index.d.ts
CHANGED
|
@@ -3355,6 +3355,7 @@ export declare const DeployMetadataSchema: z.ZodObject<{
|
|
|
3355
3355
|
runTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3356
3356
|
rollbackOnError: z.ZodDefault<z.ZodBoolean>;
|
|
3357
3357
|
waitMinutes: z.ZodDefault<z.ZodNumber>;
|
|
3358
|
+
testLevel: z.ZodOptional<z.ZodEnum<["NoTestRun", "RunSpecifiedTests", "RunLocalTests", "RunAllTestsInOrg"]>>;
|
|
3358
3359
|
}, "strict", z.ZodTypeAny, {
|
|
3359
3360
|
components: {
|
|
3360
3361
|
type: string;
|
|
@@ -3364,6 +3365,7 @@ export declare const DeployMetadataSchema: z.ZodObject<{
|
|
|
3364
3365
|
checkOnly: boolean;
|
|
3365
3366
|
rollbackOnError: boolean;
|
|
3366
3367
|
runTests?: string[] | undefined;
|
|
3368
|
+
testLevel?: "NoTestRun" | "RunSpecifiedTests" | "RunLocalTests" | "RunAllTestsInOrg" | undefined;
|
|
3367
3369
|
}, {
|
|
3368
3370
|
components: {
|
|
3369
3371
|
type: string;
|
|
@@ -3373,6 +3375,7 @@ export declare const DeployMetadataSchema: z.ZodObject<{
|
|
|
3373
3375
|
checkOnly?: boolean | undefined;
|
|
3374
3376
|
runTests?: string[] | undefined;
|
|
3375
3377
|
rollbackOnError?: boolean | undefined;
|
|
3378
|
+
testLevel?: "NoTestRun" | "RunSpecifiedTests" | "RunLocalTests" | "RunAllTestsInOrg" | undefined;
|
|
3376
3379
|
}>;
|
|
3377
3380
|
export declare const CheckDeployStatusSchema: z.ZodObject<{
|
|
3378
3381
|
deployId: z.ZodString;
|
|
@@ -3382,7 +3385,7 @@ export declare const CheckDeployStatusSchema: z.ZodObject<{
|
|
|
3382
3385
|
deployId: string;
|
|
3383
3386
|
}>;
|
|
3384
3387
|
export declare const RetrieveMetadataSchema: z.ZodObject<{
|
|
3385
|
-
components: z.ZodArray<z.ZodObject<{
|
|
3388
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3386
3389
|
type: z.ZodString;
|
|
3387
3390
|
name: z.ZodString;
|
|
3388
3391
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3391,16 +3394,3840 @@ export declare const RetrieveMetadataSchema: z.ZodObject<{
|
|
|
3391
3394
|
}, {
|
|
3392
3395
|
type: string;
|
|
3393
3396
|
name: string;
|
|
3394
|
-
}>, "many"
|
|
3397
|
+
}>, "many">>;
|
|
3398
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
3399
|
+
componentName: z.ZodOptional<z.ZodString>;
|
|
3400
|
+
packageXml: z.ZodOptional<z.ZodString>;
|
|
3395
3401
|
}, "strict", z.ZodTypeAny, {
|
|
3396
|
-
components
|
|
3402
|
+
components?: {
|
|
3397
3403
|
type: string;
|
|
3398
3404
|
name: string;
|
|
3399
|
-
}[];
|
|
3405
|
+
}[] | undefined;
|
|
3406
|
+
componentName?: string | undefined;
|
|
3407
|
+
metadataType?: string | undefined;
|
|
3408
|
+
packageXml?: string | undefined;
|
|
3400
3409
|
}, {
|
|
3401
|
-
components
|
|
3410
|
+
components?: {
|
|
3402
3411
|
type: string;
|
|
3403
3412
|
name: string;
|
|
3404
|
-
}[];
|
|
3413
|
+
}[] | undefined;
|
|
3414
|
+
componentName?: string | undefined;
|
|
3415
|
+
metadataType?: string | undefined;
|
|
3416
|
+
packageXml?: string | undefined;
|
|
3417
|
+
}>;
|
|
3418
|
+
export declare const UpdateCustomObjectSchema: z.ZodObject<{
|
|
3419
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
3420
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3421
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3422
|
+
pluralLabel: z.ZodOptional<z.ZodString>;
|
|
3423
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3424
|
+
enableHistory: z.ZodOptional<z.ZodBoolean>;
|
|
3425
|
+
enableReports: z.ZodOptional<z.ZodBoolean>;
|
|
3426
|
+
enableSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3427
|
+
enableActivities: z.ZodOptional<z.ZodBoolean>;
|
|
3428
|
+
}, "strict", z.ZodTypeAny, {
|
|
3429
|
+
fullName?: string | undefined;
|
|
3430
|
+
label?: string | undefined;
|
|
3431
|
+
description?: string | undefined;
|
|
3432
|
+
pluralLabel?: string | undefined;
|
|
3433
|
+
enableActivities?: boolean | undefined;
|
|
3434
|
+
enableHistory?: boolean | undefined;
|
|
3435
|
+
enableReports?: boolean | undefined;
|
|
3436
|
+
enableSearch?: boolean | undefined;
|
|
3437
|
+
objectApiName?: string | undefined;
|
|
3438
|
+
}, {
|
|
3439
|
+
fullName?: string | undefined;
|
|
3440
|
+
label?: string | undefined;
|
|
3441
|
+
description?: string | undefined;
|
|
3442
|
+
pluralLabel?: string | undefined;
|
|
3443
|
+
enableActivities?: boolean | undefined;
|
|
3444
|
+
enableHistory?: boolean | undefined;
|
|
3445
|
+
enableReports?: boolean | undefined;
|
|
3446
|
+
enableSearch?: boolean | undefined;
|
|
3447
|
+
objectApiName?: string | undefined;
|
|
3448
|
+
}>;
|
|
3449
|
+
export declare const UpdateCustomFieldSchema: z.ZodObject<{
|
|
3450
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
fieldApiName: z.ZodOptional<z.ZodString>;
|
|
3453
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3455
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3456
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3457
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3458
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
3459
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
3460
|
+
}, "strict", z.ZodTypeAny, {
|
|
3461
|
+
label?: string | undefined;
|
|
3462
|
+
description?: string | undefined;
|
|
3463
|
+
objectName?: string | undefined;
|
|
3464
|
+
fieldName?: string | undefined;
|
|
3465
|
+
required?: boolean | undefined;
|
|
3466
|
+
unique?: boolean | undefined;
|
|
3467
|
+
objectApiName?: string | undefined;
|
|
3468
|
+
defaultValue?: string | undefined;
|
|
3469
|
+
fieldApiName?: string | undefined;
|
|
3470
|
+
helpText?: string | undefined;
|
|
3471
|
+
}, {
|
|
3472
|
+
label?: string | undefined;
|
|
3473
|
+
description?: string | undefined;
|
|
3474
|
+
objectName?: string | undefined;
|
|
3475
|
+
fieldName?: string | undefined;
|
|
3476
|
+
required?: boolean | undefined;
|
|
3477
|
+
unique?: boolean | undefined;
|
|
3478
|
+
objectApiName?: string | undefined;
|
|
3479
|
+
defaultValue?: string | undefined;
|
|
3480
|
+
fieldApiName?: string | undefined;
|
|
3481
|
+
helpText?: string | undefined;
|
|
3482
|
+
}>;
|
|
3483
|
+
export declare const CreateRelationshipFieldSchema: z.ZodObject<{
|
|
3484
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3486
|
+
fieldName: z.ZodString;
|
|
3487
|
+
label: z.ZodString;
|
|
3488
|
+
relationshipType: z.ZodOptional<z.ZodEnum<["Lookup", "MasterDetail"]>>;
|
|
3489
|
+
relationType: z.ZodOptional<z.ZodEnum<["Lookup", "MasterDetail"]>>;
|
|
3490
|
+
relatedObject: z.ZodOptional<z.ZodString>;
|
|
3491
|
+
referenceTo: z.ZodOptional<z.ZodString>;
|
|
3492
|
+
relationshipName: z.ZodString;
|
|
3493
|
+
onDelete: z.ZodDefault<z.ZodEnum<["SetNull", "Restrict"]>>;
|
|
3494
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3495
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
}, "strict", z.ZodTypeAny, {
|
|
3497
|
+
label: string;
|
|
3498
|
+
fieldName: string;
|
|
3499
|
+
required: boolean;
|
|
3500
|
+
relationshipName: string;
|
|
3501
|
+
onDelete: "Restrict" | "SetNull";
|
|
3502
|
+
description?: string | undefined;
|
|
3503
|
+
objectName?: string | undefined;
|
|
3504
|
+
referenceTo?: string | undefined;
|
|
3505
|
+
objectApiName?: string | undefined;
|
|
3506
|
+
relationshipType?: "Lookup" | "MasterDetail" | undefined;
|
|
3507
|
+
relationType?: "Lookup" | "MasterDetail" | undefined;
|
|
3508
|
+
relatedObject?: string | undefined;
|
|
3509
|
+
}, {
|
|
3510
|
+
label: string;
|
|
3511
|
+
fieldName: string;
|
|
3512
|
+
relationshipName: string;
|
|
3513
|
+
description?: string | undefined;
|
|
3514
|
+
objectName?: string | undefined;
|
|
3515
|
+
required?: boolean | undefined;
|
|
3516
|
+
referenceTo?: string | undefined;
|
|
3517
|
+
objectApiName?: string | undefined;
|
|
3518
|
+
relationshipType?: "Lookup" | "MasterDetail" | undefined;
|
|
3519
|
+
relationType?: "Lookup" | "MasterDetail" | undefined;
|
|
3520
|
+
relatedObject?: string | undefined;
|
|
3521
|
+
onDelete?: "Restrict" | "SetNull" | undefined;
|
|
3522
|
+
}>;
|
|
3523
|
+
export declare const CreateFormulaFieldSchema: z.ZodObject<{
|
|
3524
|
+
objectApiName: z.ZodString;
|
|
3525
|
+
fieldName: z.ZodString;
|
|
3526
|
+
label: z.ZodString;
|
|
3527
|
+
returnType: z.ZodEnum<["Text", "Number", "Currency", "Date", "DateTime", "Checkbox", "Percent"]>;
|
|
3528
|
+
formula: z.ZodString;
|
|
3529
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3530
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3531
|
+
}, "strict", z.ZodTypeAny, {
|
|
3532
|
+
label: string;
|
|
3533
|
+
fieldName: string;
|
|
3534
|
+
objectApiName: string;
|
|
3535
|
+
formula: string;
|
|
3536
|
+
returnType: "Text" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime";
|
|
3537
|
+
description?: string | undefined;
|
|
3538
|
+
scale?: number | undefined;
|
|
3539
|
+
}, {
|
|
3540
|
+
label: string;
|
|
3541
|
+
fieldName: string;
|
|
3542
|
+
objectApiName: string;
|
|
3543
|
+
formula: string;
|
|
3544
|
+
returnType: "Text" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime";
|
|
3545
|
+
description?: string | undefined;
|
|
3546
|
+
scale?: number | undefined;
|
|
3547
|
+
}>;
|
|
3548
|
+
export declare const AssignPermissionSetSchema: z.ZodObject<{
|
|
3549
|
+
permissionSetName: z.ZodString;
|
|
3550
|
+
username: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
3552
|
+
}, "strict", z.ZodTypeAny, {
|
|
3553
|
+
permissionSetName: string;
|
|
3554
|
+
username?: string | undefined;
|
|
3555
|
+
userId?: string | undefined;
|
|
3556
|
+
}, {
|
|
3557
|
+
permissionSetName: string;
|
|
3558
|
+
username?: string | undefined;
|
|
3559
|
+
userId?: string | undefined;
|
|
3560
|
+
}>;
|
|
3561
|
+
export declare const CreatePermissionSetGroupSchema: z.ZodObject<{
|
|
3562
|
+
groupName: z.ZodString;
|
|
3563
|
+
label: z.ZodString;
|
|
3564
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3565
|
+
permissionSets: z.ZodArray<z.ZodString, "many">;
|
|
3566
|
+
}, "strict", z.ZodTypeAny, {
|
|
3567
|
+
label: string;
|
|
3568
|
+
groupName: string;
|
|
3569
|
+
permissionSets: string[];
|
|
3570
|
+
description?: string | undefined;
|
|
3571
|
+
}, {
|
|
3572
|
+
label: string;
|
|
3573
|
+
groupName: string;
|
|
3574
|
+
permissionSets: string[];
|
|
3575
|
+
description?: string | undefined;
|
|
3576
|
+
}>;
|
|
3577
|
+
export declare const UpdatePermissionSetSchema: z.ZodObject<{
|
|
3578
|
+
permissionSetName: z.ZodString;
|
|
3579
|
+
objectPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3580
|
+
object: z.ZodOptional<z.ZodString>;
|
|
3581
|
+
read: z.ZodDefault<z.ZodBoolean>;
|
|
3582
|
+
create: z.ZodDefault<z.ZodBoolean>;
|
|
3583
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
3584
|
+
delete: z.ZodDefault<z.ZodBoolean>;
|
|
3585
|
+
viewAll: z.ZodDefault<z.ZodBoolean>;
|
|
3586
|
+
modifyAll: z.ZodDefault<z.ZodBoolean>;
|
|
3587
|
+
}, "strip", z.ZodTypeAny, {
|
|
3588
|
+
read: boolean;
|
|
3589
|
+
create: boolean;
|
|
3590
|
+
edit: boolean;
|
|
3591
|
+
delete: boolean;
|
|
3592
|
+
viewAll: boolean;
|
|
3593
|
+
modifyAll: boolean;
|
|
3594
|
+
object?: string | undefined;
|
|
3595
|
+
}, {
|
|
3596
|
+
object?: string | undefined;
|
|
3597
|
+
read?: boolean | undefined;
|
|
3598
|
+
create?: boolean | undefined;
|
|
3599
|
+
edit?: boolean | undefined;
|
|
3600
|
+
delete?: boolean | undefined;
|
|
3601
|
+
viewAll?: boolean | undefined;
|
|
3602
|
+
modifyAll?: boolean | undefined;
|
|
3603
|
+
}>, "many">>;
|
|
3604
|
+
fieldPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3605
|
+
field: z.ZodString;
|
|
3606
|
+
readable: z.ZodDefault<z.ZodBoolean>;
|
|
3607
|
+
editable: z.ZodDefault<z.ZodBoolean>;
|
|
3608
|
+
}, "strip", z.ZodTypeAny, {
|
|
3609
|
+
field: string;
|
|
3610
|
+
editable: boolean;
|
|
3611
|
+
readable: boolean;
|
|
3612
|
+
}, {
|
|
3613
|
+
field: string;
|
|
3614
|
+
editable?: boolean | undefined;
|
|
3615
|
+
readable?: boolean | undefined;
|
|
3616
|
+
}>, "many">>;
|
|
3617
|
+
}, "strict", z.ZodTypeAny, {
|
|
3618
|
+
permissionSetName: string;
|
|
3619
|
+
objectPermissions?: {
|
|
3620
|
+
read: boolean;
|
|
3621
|
+
create: boolean;
|
|
3622
|
+
edit: boolean;
|
|
3623
|
+
delete: boolean;
|
|
3624
|
+
viewAll: boolean;
|
|
3625
|
+
modifyAll: boolean;
|
|
3626
|
+
object?: string | undefined;
|
|
3627
|
+
}[] | undefined;
|
|
3628
|
+
fieldPermissions?: {
|
|
3629
|
+
field: string;
|
|
3630
|
+
editable: boolean;
|
|
3631
|
+
readable: boolean;
|
|
3632
|
+
}[] | undefined;
|
|
3633
|
+
}, {
|
|
3634
|
+
permissionSetName: string;
|
|
3635
|
+
objectPermissions?: {
|
|
3636
|
+
object?: string | undefined;
|
|
3637
|
+
read?: boolean | undefined;
|
|
3638
|
+
create?: boolean | undefined;
|
|
3639
|
+
edit?: boolean | undefined;
|
|
3640
|
+
delete?: boolean | undefined;
|
|
3641
|
+
viewAll?: boolean | undefined;
|
|
3642
|
+
modifyAll?: boolean | undefined;
|
|
3643
|
+
}[] | undefined;
|
|
3644
|
+
fieldPermissions?: {
|
|
3645
|
+
field: string;
|
|
3646
|
+
editable?: boolean | undefined;
|
|
3647
|
+
readable?: boolean | undefined;
|
|
3648
|
+
}[] | undefined;
|
|
3649
|
+
}>;
|
|
3650
|
+
export declare const CreateMutingPermissionSetSchema: z.ZodObject<{
|
|
3651
|
+
mutingPermSetName: z.ZodOptional<z.ZodString>;
|
|
3652
|
+
permissionSetName: z.ZodOptional<z.ZodString>;
|
|
3653
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3654
|
+
label: z.ZodString;
|
|
3655
|
+
permissionSetGroup: z.ZodOptional<z.ZodString>;
|
|
3656
|
+
objectPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3657
|
+
object: z.ZodOptional<z.ZodString>;
|
|
3658
|
+
read: z.ZodDefault<z.ZodBoolean>;
|
|
3659
|
+
create: z.ZodDefault<z.ZodBoolean>;
|
|
3660
|
+
edit: z.ZodDefault<z.ZodBoolean>;
|
|
3661
|
+
delete: z.ZodDefault<z.ZodBoolean>;
|
|
3662
|
+
viewAll: z.ZodDefault<z.ZodBoolean>;
|
|
3663
|
+
modifyAll: z.ZodDefault<z.ZodBoolean>;
|
|
3664
|
+
}, "strip", z.ZodTypeAny, {
|
|
3665
|
+
read: boolean;
|
|
3666
|
+
create: boolean;
|
|
3667
|
+
edit: boolean;
|
|
3668
|
+
delete: boolean;
|
|
3669
|
+
viewAll: boolean;
|
|
3670
|
+
modifyAll: boolean;
|
|
3671
|
+
object?: string | undefined;
|
|
3672
|
+
}, {
|
|
3673
|
+
object?: string | undefined;
|
|
3674
|
+
read?: boolean | undefined;
|
|
3675
|
+
create?: boolean | undefined;
|
|
3676
|
+
edit?: boolean | undefined;
|
|
3677
|
+
delete?: boolean | undefined;
|
|
3678
|
+
viewAll?: boolean | undefined;
|
|
3679
|
+
modifyAll?: boolean | undefined;
|
|
3680
|
+
}>, "many">>;
|
|
3681
|
+
fieldPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3682
|
+
field: z.ZodString;
|
|
3683
|
+
readable: z.ZodDefault<z.ZodBoolean>;
|
|
3684
|
+
editable: z.ZodDefault<z.ZodBoolean>;
|
|
3685
|
+
}, "strip", z.ZodTypeAny, {
|
|
3686
|
+
field: string;
|
|
3687
|
+
editable: boolean;
|
|
3688
|
+
readable: boolean;
|
|
3689
|
+
}, {
|
|
3690
|
+
field: string;
|
|
3691
|
+
editable?: boolean | undefined;
|
|
3692
|
+
readable?: boolean | undefined;
|
|
3693
|
+
}>, "many">>;
|
|
3694
|
+
}, "strict", z.ZodTypeAny, {
|
|
3695
|
+
label: string;
|
|
3696
|
+
description?: string | undefined;
|
|
3697
|
+
objectPermissions?: {
|
|
3698
|
+
read: boolean;
|
|
3699
|
+
create: boolean;
|
|
3700
|
+
edit: boolean;
|
|
3701
|
+
delete: boolean;
|
|
3702
|
+
viewAll: boolean;
|
|
3703
|
+
modifyAll: boolean;
|
|
3704
|
+
object?: string | undefined;
|
|
3705
|
+
}[] | undefined;
|
|
3706
|
+
fieldPermissions?: {
|
|
3707
|
+
field: string;
|
|
3708
|
+
editable: boolean;
|
|
3709
|
+
readable: boolean;
|
|
3710
|
+
}[] | undefined;
|
|
3711
|
+
permissionSetName?: string | undefined;
|
|
3712
|
+
mutingPermSetName?: string | undefined;
|
|
3713
|
+
permissionSetGroup?: string | undefined;
|
|
3714
|
+
}, {
|
|
3715
|
+
label: string;
|
|
3716
|
+
description?: string | undefined;
|
|
3717
|
+
objectPermissions?: {
|
|
3718
|
+
object?: string | undefined;
|
|
3719
|
+
read?: boolean | undefined;
|
|
3720
|
+
create?: boolean | undefined;
|
|
3721
|
+
edit?: boolean | undefined;
|
|
3722
|
+
delete?: boolean | undefined;
|
|
3723
|
+
viewAll?: boolean | undefined;
|
|
3724
|
+
modifyAll?: boolean | undefined;
|
|
3725
|
+
}[] | undefined;
|
|
3726
|
+
fieldPermissions?: {
|
|
3727
|
+
field: string;
|
|
3728
|
+
editable?: boolean | undefined;
|
|
3729
|
+
readable?: boolean | undefined;
|
|
3730
|
+
}[] | undefined;
|
|
3731
|
+
permissionSetName?: string | undefined;
|
|
3732
|
+
mutingPermSetName?: string | undefined;
|
|
3733
|
+
permissionSetGroup?: string | undefined;
|
|
3734
|
+
}>;
|
|
3735
|
+
export declare const SetFieldLevelSecuritySchema: z.ZodObject<{
|
|
3736
|
+
fieldApiName: z.ZodOptional<z.ZodString>;
|
|
3737
|
+
permissionSetName: z.ZodOptional<z.ZodString>;
|
|
3738
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3740
|
+
field: z.ZodString;
|
|
3741
|
+
readable: z.ZodOptional<z.ZodBoolean>;
|
|
3742
|
+
editable: z.ZodOptional<z.ZodBoolean>;
|
|
3743
|
+
}, "strip", z.ZodTypeAny, {
|
|
3744
|
+
field: string;
|
|
3745
|
+
editable?: boolean | undefined;
|
|
3746
|
+
readable?: boolean | undefined;
|
|
3747
|
+
}, {
|
|
3748
|
+
field: string;
|
|
3749
|
+
editable?: boolean | undefined;
|
|
3750
|
+
readable?: boolean | undefined;
|
|
3751
|
+
}>, "many">>;
|
|
3752
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3753
|
+
permissionSets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3754
|
+
readable: z.ZodOptional<z.ZodBoolean>;
|
|
3755
|
+
editable: z.ZodOptional<z.ZodBoolean>;
|
|
3756
|
+
}, "strict", z.ZodTypeAny, {
|
|
3757
|
+
objectName?: string | undefined;
|
|
3758
|
+
fields?: {
|
|
3759
|
+
field: string;
|
|
3760
|
+
editable?: boolean | undefined;
|
|
3761
|
+
readable?: boolean | undefined;
|
|
3762
|
+
}[] | undefined;
|
|
3763
|
+
editable?: boolean | undefined;
|
|
3764
|
+
readable?: boolean | undefined;
|
|
3765
|
+
fieldApiName?: string | undefined;
|
|
3766
|
+
permissionSetName?: string | undefined;
|
|
3767
|
+
permissionSets?: string[] | undefined;
|
|
3768
|
+
profiles?: string[] | undefined;
|
|
3769
|
+
}, {
|
|
3770
|
+
objectName?: string | undefined;
|
|
3771
|
+
fields?: {
|
|
3772
|
+
field: string;
|
|
3773
|
+
editable?: boolean | undefined;
|
|
3774
|
+
readable?: boolean | undefined;
|
|
3775
|
+
}[] | undefined;
|
|
3776
|
+
editable?: boolean | undefined;
|
|
3777
|
+
readable?: boolean | undefined;
|
|
3778
|
+
fieldApiName?: string | undefined;
|
|
3779
|
+
permissionSetName?: string | undefined;
|
|
3780
|
+
permissionSets?: string[] | undefined;
|
|
3781
|
+
profiles?: string[] | undefined;
|
|
3782
|
+
}>;
|
|
3783
|
+
export declare const SetOrgWideDefaultsSchema: z.ZodObject<{
|
|
3784
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3786
|
+
defaultInternal: z.ZodOptional<z.ZodEnum<["Private", "PublicRead", "PublicReadWrite", "ControlledByParent"]>>;
|
|
3787
|
+
defaultAccess: z.ZodOptional<z.ZodString>;
|
|
3788
|
+
externalAccess: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
defaultExternal: z.ZodOptional<z.ZodEnum<["Private", "PublicRead", "PublicReadWrite", "ControlledByParent"]>>;
|
|
3790
|
+
}, "strict", z.ZodTypeAny, {
|
|
3791
|
+
objectName?: string | undefined;
|
|
3792
|
+
objectApiName?: string | undefined;
|
|
3793
|
+
defaultInternal?: "Private" | "ControlledByParent" | "PublicRead" | "PublicReadWrite" | undefined;
|
|
3794
|
+
defaultAccess?: string | undefined;
|
|
3795
|
+
externalAccess?: string | undefined;
|
|
3796
|
+
defaultExternal?: "Private" | "ControlledByParent" | "PublicRead" | "PublicReadWrite" | undefined;
|
|
3797
|
+
}, {
|
|
3798
|
+
objectName?: string | undefined;
|
|
3799
|
+
objectApiName?: string | undefined;
|
|
3800
|
+
defaultInternal?: "Private" | "ControlledByParent" | "PublicRead" | "PublicReadWrite" | undefined;
|
|
3801
|
+
defaultAccess?: string | undefined;
|
|
3802
|
+
externalAccess?: string | undefined;
|
|
3803
|
+
defaultExternal?: "Private" | "ControlledByParent" | "PublicRead" | "PublicReadWrite" | undefined;
|
|
3804
|
+
}>;
|
|
3805
|
+
export declare const CreateProfileSchema: z.ZodObject<{
|
|
3806
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
3807
|
+
newProfileName: z.ZodOptional<z.ZodString>;
|
|
3808
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3809
|
+
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
sourceProfileName: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3812
|
+
}, "strict", z.ZodTypeAny, {
|
|
3813
|
+
label?: string | undefined;
|
|
3814
|
+
description?: string | undefined;
|
|
3815
|
+
profileName?: string | undefined;
|
|
3816
|
+
newProfileName?: string | undefined;
|
|
3817
|
+
cloneFrom?: string | undefined;
|
|
3818
|
+
sourceProfileName?: string | undefined;
|
|
3819
|
+
}, {
|
|
3820
|
+
label?: string | undefined;
|
|
3821
|
+
description?: string | undefined;
|
|
3822
|
+
profileName?: string | undefined;
|
|
3823
|
+
newProfileName?: string | undefined;
|
|
3824
|
+
cloneFrom?: string | undefined;
|
|
3825
|
+
sourceProfileName?: string | undefined;
|
|
3826
|
+
}>;
|
|
3827
|
+
export declare const UpdateProfileSchema: z.ZodObject<{
|
|
3828
|
+
profileName: z.ZodString;
|
|
3829
|
+
objectPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3830
|
+
object: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
allowCreate: z.ZodDefault<z.ZodBoolean>;
|
|
3832
|
+
allowDelete: z.ZodDefault<z.ZodBoolean>;
|
|
3833
|
+
allowEdit: z.ZodDefault<z.ZodBoolean>;
|
|
3834
|
+
allowRead: z.ZodDefault<z.ZodBoolean>;
|
|
3835
|
+
viewAllRecords: z.ZodDefault<z.ZodBoolean>;
|
|
3836
|
+
modifyAllRecords: z.ZodDefault<z.ZodBoolean>;
|
|
3837
|
+
}, "strip", z.ZodTypeAny, {
|
|
3838
|
+
allowCreate: boolean;
|
|
3839
|
+
allowRead: boolean;
|
|
3840
|
+
allowEdit: boolean;
|
|
3841
|
+
allowDelete: boolean;
|
|
3842
|
+
viewAllRecords: boolean;
|
|
3843
|
+
modifyAllRecords: boolean;
|
|
3844
|
+
object?: string | undefined;
|
|
3845
|
+
}, {
|
|
3846
|
+
object?: string | undefined;
|
|
3847
|
+
allowCreate?: boolean | undefined;
|
|
3848
|
+
allowRead?: boolean | undefined;
|
|
3849
|
+
allowEdit?: boolean | undefined;
|
|
3850
|
+
allowDelete?: boolean | undefined;
|
|
3851
|
+
viewAllRecords?: boolean | undefined;
|
|
3852
|
+
modifyAllRecords?: boolean | undefined;
|
|
3853
|
+
}>, "many">>;
|
|
3854
|
+
fieldPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3855
|
+
field: z.ZodString;
|
|
3856
|
+
readable: z.ZodDefault<z.ZodBoolean>;
|
|
3857
|
+
editable: z.ZodDefault<z.ZodBoolean>;
|
|
3858
|
+
}, "strip", z.ZodTypeAny, {
|
|
3859
|
+
field: string;
|
|
3860
|
+
editable: boolean;
|
|
3861
|
+
readable: boolean;
|
|
3862
|
+
}, {
|
|
3863
|
+
field: string;
|
|
3864
|
+
editable?: boolean | undefined;
|
|
3865
|
+
readable?: boolean | undefined;
|
|
3866
|
+
}>, "many">>;
|
|
3867
|
+
tabVisibilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3868
|
+
tab: z.ZodString;
|
|
3869
|
+
visibility: z.ZodEnum<["DefaultOn", "DefaultOff", "Hidden"]>;
|
|
3870
|
+
}, "strip", z.ZodTypeAny, {
|
|
3871
|
+
visibility: "Hidden" | "DefaultOff" | "DefaultOn";
|
|
3872
|
+
tab: string;
|
|
3873
|
+
}, {
|
|
3874
|
+
visibility: "Hidden" | "DefaultOff" | "DefaultOn";
|
|
3875
|
+
tab: string;
|
|
3876
|
+
}>, "many">>;
|
|
3877
|
+
applicationVisibilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3878
|
+
application: z.ZodString;
|
|
3879
|
+
visible: z.ZodBoolean;
|
|
3880
|
+
default: z.ZodDefault<z.ZodBoolean>;
|
|
3881
|
+
}, "strip", z.ZodTypeAny, {
|
|
3882
|
+
default: boolean;
|
|
3883
|
+
application: string;
|
|
3884
|
+
visible: boolean;
|
|
3885
|
+
}, {
|
|
3886
|
+
application: string;
|
|
3887
|
+
visible: boolean;
|
|
3888
|
+
default?: boolean | undefined;
|
|
3889
|
+
}>, "many">>;
|
|
3890
|
+
}, "strict", z.ZodTypeAny, {
|
|
3891
|
+
profileName: string;
|
|
3892
|
+
objectPermissions?: {
|
|
3893
|
+
allowCreate: boolean;
|
|
3894
|
+
allowRead: boolean;
|
|
3895
|
+
allowEdit: boolean;
|
|
3896
|
+
allowDelete: boolean;
|
|
3897
|
+
viewAllRecords: boolean;
|
|
3898
|
+
modifyAllRecords: boolean;
|
|
3899
|
+
object?: string | undefined;
|
|
3900
|
+
}[] | undefined;
|
|
3901
|
+
fieldPermissions?: {
|
|
3902
|
+
field: string;
|
|
3903
|
+
editable: boolean;
|
|
3904
|
+
readable: boolean;
|
|
3905
|
+
}[] | undefined;
|
|
3906
|
+
tabVisibilities?: {
|
|
3907
|
+
visibility: "Hidden" | "DefaultOff" | "DefaultOn";
|
|
3908
|
+
tab: string;
|
|
3909
|
+
}[] | undefined;
|
|
3910
|
+
applicationVisibilities?: {
|
|
3911
|
+
default: boolean;
|
|
3912
|
+
application: string;
|
|
3913
|
+
visible: boolean;
|
|
3914
|
+
}[] | undefined;
|
|
3915
|
+
}, {
|
|
3916
|
+
profileName: string;
|
|
3917
|
+
objectPermissions?: {
|
|
3918
|
+
object?: string | undefined;
|
|
3919
|
+
allowCreate?: boolean | undefined;
|
|
3920
|
+
allowRead?: boolean | undefined;
|
|
3921
|
+
allowEdit?: boolean | undefined;
|
|
3922
|
+
allowDelete?: boolean | undefined;
|
|
3923
|
+
viewAllRecords?: boolean | undefined;
|
|
3924
|
+
modifyAllRecords?: boolean | undefined;
|
|
3925
|
+
}[] | undefined;
|
|
3926
|
+
fieldPermissions?: {
|
|
3927
|
+
field: string;
|
|
3928
|
+
editable?: boolean | undefined;
|
|
3929
|
+
readable?: boolean | undefined;
|
|
3930
|
+
}[] | undefined;
|
|
3931
|
+
tabVisibilities?: {
|
|
3932
|
+
visibility: "Hidden" | "DefaultOff" | "DefaultOn";
|
|
3933
|
+
tab: string;
|
|
3934
|
+
}[] | undefined;
|
|
3935
|
+
applicationVisibilities?: {
|
|
3936
|
+
application: string;
|
|
3937
|
+
visible: boolean;
|
|
3938
|
+
default?: boolean | undefined;
|
|
3939
|
+
}[] | undefined;
|
|
3940
|
+
}>;
|
|
3941
|
+
export declare const UpdatePageLayoutSchema: z.ZodObject<{
|
|
3942
|
+
layoutName: z.ZodString;
|
|
3943
|
+
fieldsToAdd: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
3944
|
+
field: string;
|
|
3945
|
+
}, string>, z.ZodObject<{
|
|
3946
|
+
field: z.ZodString;
|
|
3947
|
+
section: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
column: z.ZodDefault<z.ZodNumber>;
|
|
3949
|
+
}, "strip", z.ZodTypeAny, {
|
|
3950
|
+
field: string;
|
|
3951
|
+
column: number;
|
|
3952
|
+
section?: string | undefined;
|
|
3953
|
+
}, {
|
|
3954
|
+
field: string;
|
|
3955
|
+
section?: string | undefined;
|
|
3956
|
+
column?: number | undefined;
|
|
3957
|
+
}>]>, "many">>;
|
|
3958
|
+
fieldsToRemove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3959
|
+
relatedListsToAdd: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3960
|
+
relatedListsToRemove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3961
|
+
buttonsToAdd: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3962
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3963
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3964
|
+
}, "strict", z.ZodTypeAny, {
|
|
3965
|
+
layoutName: string;
|
|
3966
|
+
objectName?: string | undefined;
|
|
3967
|
+
sections?: any[] | undefined;
|
|
3968
|
+
fieldsToAdd?: ({
|
|
3969
|
+
field: string;
|
|
3970
|
+
} | {
|
|
3971
|
+
field: string;
|
|
3972
|
+
column: number;
|
|
3973
|
+
section?: string | undefined;
|
|
3974
|
+
})[] | undefined;
|
|
3975
|
+
fieldsToRemove?: string[] | undefined;
|
|
3976
|
+
relatedListsToAdd?: string[] | undefined;
|
|
3977
|
+
relatedListsToRemove?: string[] | undefined;
|
|
3978
|
+
buttonsToAdd?: string[] | undefined;
|
|
3979
|
+
}, {
|
|
3980
|
+
layoutName: string;
|
|
3981
|
+
objectName?: string | undefined;
|
|
3982
|
+
sections?: any[] | undefined;
|
|
3983
|
+
fieldsToAdd?: (string | {
|
|
3984
|
+
field: string;
|
|
3985
|
+
section?: string | undefined;
|
|
3986
|
+
column?: number | undefined;
|
|
3987
|
+
})[] | undefined;
|
|
3988
|
+
fieldsToRemove?: string[] | undefined;
|
|
3989
|
+
relatedListsToAdd?: string[] | undefined;
|
|
3990
|
+
relatedListsToRemove?: string[] | undefined;
|
|
3991
|
+
buttonsToAdd?: string[] | undefined;
|
|
3992
|
+
}>;
|
|
3993
|
+
export declare const AssignPageLayoutSchema: z.ZodObject<{
|
|
3994
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
layoutName: z.ZodString;
|
|
3997
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
3998
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3999
|
+
recordTypeName: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
}, "strict", z.ZodTypeAny, {
|
|
4001
|
+
layoutName: string;
|
|
4002
|
+
objectName?: string | undefined;
|
|
4003
|
+
objectApiName?: string | undefined;
|
|
4004
|
+
profiles?: string[] | undefined;
|
|
4005
|
+
profileName?: string | undefined;
|
|
4006
|
+
recordTypeName?: string | undefined;
|
|
4007
|
+
}, {
|
|
4008
|
+
layoutName: string;
|
|
4009
|
+
objectName?: string | undefined;
|
|
4010
|
+
objectApiName?: string | undefined;
|
|
4011
|
+
profiles?: string[] | undefined;
|
|
4012
|
+
profileName?: string | undefined;
|
|
4013
|
+
recordTypeName?: string | undefined;
|
|
4014
|
+
}>;
|
|
4015
|
+
export declare const CreateLightningRecordPageSchema: z.ZodObject<{
|
|
4016
|
+
pageName: z.ZodString;
|
|
4017
|
+
label: z.ZodString;
|
|
4018
|
+
objectApiName: z.ZodString;
|
|
4019
|
+
template: z.ZodDefault<z.ZodEnum<["HeaderAndRightSidebar", "HeaderAndThreeRegions", "MosaicTemplate", "FullWidth", "LeftSidebar"]>>;
|
|
4020
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4021
|
+
componentName: z.ZodString;
|
|
4022
|
+
region: z.ZodString;
|
|
4023
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4024
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4025
|
+
}, "strip", z.ZodTypeAny, {
|
|
4026
|
+
componentName: string;
|
|
4027
|
+
region: string;
|
|
4028
|
+
order?: number | undefined;
|
|
4029
|
+
properties?: Record<string, unknown> | undefined;
|
|
4030
|
+
}, {
|
|
4031
|
+
componentName: string;
|
|
4032
|
+
region: string;
|
|
4033
|
+
order?: number | undefined;
|
|
4034
|
+
properties?: Record<string, unknown> | undefined;
|
|
4035
|
+
}>, "many">>;
|
|
4036
|
+
}, "strict", z.ZodTypeAny, {
|
|
4037
|
+
label: string;
|
|
4038
|
+
objectApiName: string;
|
|
4039
|
+
template: "HeaderAndRightSidebar" | "HeaderAndThreeRegions" | "MosaicTemplate" | "FullWidth" | "LeftSidebar";
|
|
4040
|
+
pageName: string;
|
|
4041
|
+
components?: {
|
|
4042
|
+
componentName: string;
|
|
4043
|
+
region: string;
|
|
4044
|
+
order?: number | undefined;
|
|
4045
|
+
properties?: Record<string, unknown> | undefined;
|
|
4046
|
+
}[] | undefined;
|
|
4047
|
+
}, {
|
|
4048
|
+
label: string;
|
|
4049
|
+
objectApiName: string;
|
|
4050
|
+
pageName: string;
|
|
4051
|
+
template?: "HeaderAndRightSidebar" | "HeaderAndThreeRegions" | "MosaicTemplate" | "FullWidth" | "LeftSidebar" | undefined;
|
|
4052
|
+
components?: {
|
|
4053
|
+
componentName: string;
|
|
4054
|
+
region: string;
|
|
4055
|
+
order?: number | undefined;
|
|
4056
|
+
properties?: Record<string, unknown> | undefined;
|
|
4057
|
+
}[] | undefined;
|
|
4058
|
+
}>;
|
|
4059
|
+
export declare const CreateLightningHomePageSchema: z.ZodObject<{
|
|
4060
|
+
pageName: z.ZodString;
|
|
4061
|
+
label: z.ZodString;
|
|
4062
|
+
template: z.ZodDefault<z.ZodString>;
|
|
4063
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4064
|
+
componentName: z.ZodString;
|
|
4065
|
+
region: z.ZodString;
|
|
4066
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4067
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4068
|
+
}, "strip", z.ZodTypeAny, {
|
|
4069
|
+
componentName: string;
|
|
4070
|
+
region: string;
|
|
4071
|
+
order?: number | undefined;
|
|
4072
|
+
properties?: Record<string, unknown> | undefined;
|
|
4073
|
+
}, {
|
|
4074
|
+
componentName: string;
|
|
4075
|
+
region: string;
|
|
4076
|
+
order?: number | undefined;
|
|
4077
|
+
properties?: Record<string, unknown> | undefined;
|
|
4078
|
+
}>, "many">>;
|
|
4079
|
+
}, "strict", z.ZodTypeAny, {
|
|
4080
|
+
label: string;
|
|
4081
|
+
template: string;
|
|
4082
|
+
pageName: string;
|
|
4083
|
+
components?: {
|
|
4084
|
+
componentName: string;
|
|
4085
|
+
region: string;
|
|
4086
|
+
order?: number | undefined;
|
|
4087
|
+
properties?: Record<string, unknown> | undefined;
|
|
4088
|
+
}[] | undefined;
|
|
4089
|
+
}, {
|
|
4090
|
+
label: string;
|
|
4091
|
+
pageName: string;
|
|
4092
|
+
template?: string | undefined;
|
|
4093
|
+
components?: {
|
|
4094
|
+
componentName: string;
|
|
4095
|
+
region: string;
|
|
4096
|
+
order?: number | undefined;
|
|
4097
|
+
properties?: Record<string, unknown> | undefined;
|
|
4098
|
+
}[] | undefined;
|
|
4099
|
+
}>;
|
|
4100
|
+
export declare const UpdateLightningPageSchema: z.ZodObject<{
|
|
4101
|
+
pageApiName: z.ZodString;
|
|
4102
|
+
componentsToAdd: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4103
|
+
componentName: z.ZodString;
|
|
4104
|
+
region: z.ZodString;
|
|
4105
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4106
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
componentName: string;
|
|
4109
|
+
region: string;
|
|
4110
|
+
order?: number | undefined;
|
|
4111
|
+
properties?: Record<string, unknown> | undefined;
|
|
4112
|
+
}, {
|
|
4113
|
+
componentName: string;
|
|
4114
|
+
region: string;
|
|
4115
|
+
order?: number | undefined;
|
|
4116
|
+
properties?: Record<string, unknown> | undefined;
|
|
4117
|
+
}>, "many">>;
|
|
4118
|
+
componentsToRemove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4119
|
+
}, "strict", z.ZodTypeAny, {
|
|
4120
|
+
pageApiName: string;
|
|
4121
|
+
componentsToAdd?: {
|
|
4122
|
+
componentName: string;
|
|
4123
|
+
region: string;
|
|
4124
|
+
order?: number | undefined;
|
|
4125
|
+
properties?: Record<string, unknown> | undefined;
|
|
4126
|
+
}[] | undefined;
|
|
4127
|
+
componentsToRemove?: string[] | undefined;
|
|
4128
|
+
}, {
|
|
4129
|
+
pageApiName: string;
|
|
4130
|
+
componentsToAdd?: {
|
|
4131
|
+
componentName: string;
|
|
4132
|
+
region: string;
|
|
4133
|
+
order?: number | undefined;
|
|
4134
|
+
properties?: Record<string, unknown> | undefined;
|
|
4135
|
+
}[] | undefined;
|
|
4136
|
+
componentsToRemove?: string[] | undefined;
|
|
4137
|
+
}>;
|
|
4138
|
+
export declare const AssignLightningPageSchema: z.ZodObject<{
|
|
4139
|
+
pageApiName: z.ZodString;
|
|
4140
|
+
assignmentType: z.ZodEnum<["org", "app", "recordType"]>;
|
|
4141
|
+
appName: z.ZodOptional<z.ZodString>;
|
|
4142
|
+
recordTypeName: z.ZodOptional<z.ZodString>;
|
|
4143
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
4144
|
+
}, "strict", z.ZodTypeAny, {
|
|
4145
|
+
pageApiName: string;
|
|
4146
|
+
assignmentType: "org" | "app" | "recordType";
|
|
4147
|
+
objectApiName?: string | undefined;
|
|
4148
|
+
recordTypeName?: string | undefined;
|
|
4149
|
+
appName?: string | undefined;
|
|
4150
|
+
}, {
|
|
4151
|
+
pageApiName: string;
|
|
4152
|
+
assignmentType: "org" | "app" | "recordType";
|
|
4153
|
+
objectApiName?: string | undefined;
|
|
4154
|
+
recordTypeName?: string | undefined;
|
|
4155
|
+
appName?: string | undefined;
|
|
4156
|
+
}>;
|
|
4157
|
+
export declare const AssignCompactLayoutSchema: z.ZodObject<{
|
|
4158
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
4160
|
+
compactLayoutName: z.ZodString;
|
|
4161
|
+
recordTypeName: z.ZodOptional<z.ZodString>;
|
|
4162
|
+
}, "strict", z.ZodTypeAny, {
|
|
4163
|
+
compactLayoutName: string;
|
|
4164
|
+
objectName?: string | undefined;
|
|
4165
|
+
objectApiName?: string | undefined;
|
|
4166
|
+
recordTypeName?: string | undefined;
|
|
4167
|
+
}, {
|
|
4168
|
+
compactLayoutName: string;
|
|
4169
|
+
objectName?: string | undefined;
|
|
4170
|
+
objectApiName?: string | undefined;
|
|
4171
|
+
recordTypeName?: string | undefined;
|
|
4172
|
+
}>;
|
|
4173
|
+
export declare const ActivateFlowSchema: z.ZodObject<{
|
|
4174
|
+
flowApiName: z.ZodString;
|
|
4175
|
+
action: z.ZodDefault<z.ZodEnum<["activate", "deactivate"]>>;
|
|
4176
|
+
versionNumber: z.ZodOptional<z.ZodNumber>;
|
|
4177
|
+
}, "strict", z.ZodTypeAny, {
|
|
4178
|
+
flowApiName: string;
|
|
4179
|
+
action: "activate" | "deactivate";
|
|
4180
|
+
versionNumber?: number | undefined;
|
|
4181
|
+
}, {
|
|
4182
|
+
flowApiName: string;
|
|
4183
|
+
action?: "activate" | "deactivate" | undefined;
|
|
4184
|
+
versionNumber?: number | undefined;
|
|
4185
|
+
}>;
|
|
4186
|
+
export declare const CreateQuickActionSchema: z.ZodObject<{
|
|
4187
|
+
actionName: z.ZodString;
|
|
4188
|
+
label: z.ZodString;
|
|
4189
|
+
actionType: z.ZodEnum<["Create", "Update", "LogACall", "CustomVF", "LightningComponent"]>;
|
|
4190
|
+
targetObject: z.ZodOptional<z.ZodString>;
|
|
4191
|
+
targetFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4192
|
+
field: z.ZodString;
|
|
4193
|
+
value: z.ZodString;
|
|
4194
|
+
}, "strip", z.ZodTypeAny, {
|
|
4195
|
+
value: string;
|
|
4196
|
+
field: string;
|
|
4197
|
+
}, {
|
|
4198
|
+
value: string;
|
|
4199
|
+
field: string;
|
|
4200
|
+
}>, "many">>;
|
|
4201
|
+
standardLabel: z.ZodOptional<z.ZodEnum<["None", "New", "NewEvent", "NewTask", "LogACall", "SendEmail", "NewCase", "NewOpportunity", "NewContact", "NewLead", "NewNote", "NewAccount", "ScreenPop"]>>;
|
|
4202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4203
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
4205
|
+
}, "strict", z.ZodTypeAny, {
|
|
4206
|
+
label: string;
|
|
4207
|
+
actionName: string;
|
|
4208
|
+
actionType: "Create" | "Update" | "LogACall" | "CustomVF" | "LightningComponent";
|
|
4209
|
+
description?: string | undefined;
|
|
4210
|
+
objectName?: string | undefined;
|
|
4211
|
+
fields?: any[] | undefined;
|
|
4212
|
+
targetObject?: string | undefined;
|
|
4213
|
+
targetFields?: {
|
|
4214
|
+
value: string;
|
|
4215
|
+
field: string;
|
|
4216
|
+
}[] | undefined;
|
|
4217
|
+
standardLabel?: "None" | "LogACall" | "New" | "NewEvent" | "NewTask" | "SendEmail" | "NewCase" | "NewOpportunity" | "NewContact" | "NewLead" | "NewNote" | "NewAccount" | "ScreenPop" | undefined;
|
|
4218
|
+
}, {
|
|
4219
|
+
label: string;
|
|
4220
|
+
actionName: string;
|
|
4221
|
+
actionType: "Create" | "Update" | "LogACall" | "CustomVF" | "LightningComponent";
|
|
4222
|
+
description?: string | undefined;
|
|
4223
|
+
objectName?: string | undefined;
|
|
4224
|
+
fields?: any[] | undefined;
|
|
4225
|
+
targetObject?: string | undefined;
|
|
4226
|
+
targetFields?: {
|
|
4227
|
+
value: string;
|
|
4228
|
+
field: string;
|
|
4229
|
+
}[] | undefined;
|
|
4230
|
+
standardLabel?: "None" | "LogACall" | "New" | "NewEvent" | "NewTask" | "SendEmail" | "NewCase" | "NewOpportunity" | "NewContact" | "NewLead" | "NewNote" | "NewAccount" | "ScreenPop" | undefined;
|
|
4231
|
+
}>;
|
|
4232
|
+
export declare const UpdateApexClassSchema: z.ZodObject<{
|
|
4233
|
+
className: z.ZodString;
|
|
4234
|
+
body: z.ZodString;
|
|
4235
|
+
apiVersion: z.ZodDefault<z.ZodString>;
|
|
4236
|
+
}, "strict", z.ZodTypeAny, {
|
|
4237
|
+
className: string;
|
|
4238
|
+
body: string;
|
|
4239
|
+
apiVersion: string;
|
|
4240
|
+
}, {
|
|
4241
|
+
className: string;
|
|
4242
|
+
body: string;
|
|
4243
|
+
apiVersion?: string | undefined;
|
|
4244
|
+
}>;
|
|
4245
|
+
export declare const GetApexClassSchema: z.ZodObject<{
|
|
4246
|
+
className: z.ZodString;
|
|
4247
|
+
}, "strict", z.ZodTypeAny, {
|
|
4248
|
+
className: string;
|
|
4249
|
+
}, {
|
|
4250
|
+
className: string;
|
|
4251
|
+
}>;
|
|
4252
|
+
export declare const GetCodeCoverageSchema: z.ZodObject<{
|
|
4253
|
+
className: z.ZodOptional<z.ZodString>;
|
|
4254
|
+
}, "strict", z.ZodTypeAny, {
|
|
4255
|
+
className?: string | undefined;
|
|
4256
|
+
}, {
|
|
4257
|
+
className?: string | undefined;
|
|
4258
|
+
}>;
|
|
4259
|
+
export declare const CreateVisualforcePageSchema: z.ZodObject<{
|
|
4260
|
+
pageName: z.ZodString;
|
|
4261
|
+
label: z.ZodString;
|
|
4262
|
+
markup: z.ZodOptional<z.ZodString>;
|
|
4263
|
+
body: z.ZodOptional<z.ZodString>;
|
|
4264
|
+
apiVersion: z.ZodDefault<z.ZodString>;
|
|
4265
|
+
availableInTouch: z.ZodDefault<z.ZodBoolean>;
|
|
4266
|
+
showHeader: z.ZodDefault<z.ZodBoolean>;
|
|
4267
|
+
sidebar: z.ZodDefault<z.ZodBoolean>;
|
|
4268
|
+
standardStylesheets: z.ZodDefault<z.ZodBoolean>;
|
|
4269
|
+
}, "strict", z.ZodTypeAny, {
|
|
4270
|
+
label: string;
|
|
4271
|
+
apiVersion: string;
|
|
4272
|
+
pageName: string;
|
|
4273
|
+
availableInTouch: boolean;
|
|
4274
|
+
showHeader: boolean;
|
|
4275
|
+
sidebar: boolean;
|
|
4276
|
+
standardStylesheets: boolean;
|
|
4277
|
+
body?: string | undefined;
|
|
4278
|
+
markup?: string | undefined;
|
|
4279
|
+
}, {
|
|
4280
|
+
label: string;
|
|
4281
|
+
pageName: string;
|
|
4282
|
+
body?: string | undefined;
|
|
4283
|
+
apiVersion?: string | undefined;
|
|
4284
|
+
markup?: string | undefined;
|
|
4285
|
+
availableInTouch?: boolean | undefined;
|
|
4286
|
+
showHeader?: boolean | undefined;
|
|
4287
|
+
sidebar?: boolean | undefined;
|
|
4288
|
+
standardStylesheets?: boolean | undefined;
|
|
4289
|
+
}>;
|
|
4290
|
+
export declare const CreateAuraComponentSchema: z.ZodObject<{
|
|
4291
|
+
componentName: z.ZodString;
|
|
4292
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4293
|
+
markup: z.ZodString;
|
|
4294
|
+
controller: z.ZodOptional<z.ZodString>;
|
|
4295
|
+
helper: z.ZodOptional<z.ZodString>;
|
|
4296
|
+
style: z.ZodOptional<z.ZodString>;
|
|
4297
|
+
isExposed: z.ZodDefault<z.ZodBoolean>;
|
|
4298
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4299
|
+
}, "strict", z.ZodTypeAny, {
|
|
4300
|
+
componentName: string;
|
|
4301
|
+
isExposed: boolean;
|
|
4302
|
+
markup: string;
|
|
4303
|
+
description?: string | undefined;
|
|
4304
|
+
style?: string | undefined;
|
|
4305
|
+
targets?: string[] | undefined;
|
|
4306
|
+
controller?: string | undefined;
|
|
4307
|
+
helper?: string | undefined;
|
|
4308
|
+
}, {
|
|
4309
|
+
componentName: string;
|
|
4310
|
+
markup: string;
|
|
4311
|
+
description?: string | undefined;
|
|
4312
|
+
style?: string | undefined;
|
|
4313
|
+
targets?: string[] | undefined;
|
|
4314
|
+
isExposed?: boolean | undefined;
|
|
4315
|
+
controller?: string | undefined;
|
|
4316
|
+
helper?: string | undefined;
|
|
4317
|
+
}>;
|
|
4318
|
+
export declare const CreateReportSchema: z.ZodObject<{
|
|
4319
|
+
reportName: z.ZodString;
|
|
4320
|
+
label: z.ZodString;
|
|
4321
|
+
reportType: z.ZodString;
|
|
4322
|
+
format: z.ZodDefault<z.ZodEnum<["Tabular", "Summary", "Matrix", "Joined"]>>;
|
|
4323
|
+
groupByField: z.ZodOptional<z.ZodString>;
|
|
4324
|
+
columns: z.ZodArray<z.ZodString, "many">;
|
|
4325
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4326
|
+
field: z.ZodString;
|
|
4327
|
+
operator: z.ZodEnum<["equals", "notEqual", "lessThan", "greaterThan", "lessOrEqual", "greaterOrEqual", "contains", "notContain", "startsWith", "includes", "excludes"]>;
|
|
4328
|
+
value: z.ZodString;
|
|
4329
|
+
}, "strip", z.ZodTypeAny, {
|
|
4330
|
+
value: string;
|
|
4331
|
+
operator: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes";
|
|
4332
|
+
field: string;
|
|
4333
|
+
}, {
|
|
4334
|
+
value: string;
|
|
4335
|
+
operator: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes";
|
|
4336
|
+
field: string;
|
|
4337
|
+
}>, "many">>;
|
|
4338
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4339
|
+
folderName: z.ZodOptional<z.ZodString>;
|
|
4340
|
+
}, "strict", z.ZodTypeAny, {
|
|
4341
|
+
label: string;
|
|
4342
|
+
columns: string[];
|
|
4343
|
+
reportName: string;
|
|
4344
|
+
reportType: string;
|
|
4345
|
+
format: "Tabular" | "Summary" | "Matrix" | "Joined";
|
|
4346
|
+
description?: string | undefined;
|
|
4347
|
+
filters?: {
|
|
4348
|
+
value: string;
|
|
4349
|
+
operator: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes";
|
|
4350
|
+
field: string;
|
|
4351
|
+
}[] | undefined;
|
|
4352
|
+
groupByField?: string | undefined;
|
|
4353
|
+
folderName?: string | undefined;
|
|
4354
|
+
}, {
|
|
4355
|
+
label: string;
|
|
4356
|
+
columns: string[];
|
|
4357
|
+
reportName: string;
|
|
4358
|
+
reportType: string;
|
|
4359
|
+
description?: string | undefined;
|
|
4360
|
+
filters?: {
|
|
4361
|
+
value: string;
|
|
4362
|
+
operator: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes";
|
|
4363
|
+
field: string;
|
|
4364
|
+
}[] | undefined;
|
|
4365
|
+
format?: "Tabular" | "Summary" | "Matrix" | "Joined" | undefined;
|
|
4366
|
+
groupByField?: string | undefined;
|
|
4367
|
+
folderName?: string | undefined;
|
|
4368
|
+
}>;
|
|
4369
|
+
export declare const UpdateDashboardSchema: z.ZodObject<{
|
|
4370
|
+
dashboardName: z.ZodString;
|
|
4371
|
+
componentsToAdd: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4372
|
+
reportName: z.ZodString;
|
|
4373
|
+
chartType: z.ZodDefault<z.ZodEnum<["Donut", "Bar", "Line", "Column", "Table", "Metric", "Gauge", "HorizontalBar", "Funnel"]>>;
|
|
4374
|
+
title: z.ZodString;
|
|
4375
|
+
row: z.ZodDefault<z.ZodNumber>;
|
|
4376
|
+
column: z.ZodDefault<z.ZodNumber>;
|
|
4377
|
+
}, "strip", z.ZodTypeAny, {
|
|
4378
|
+
title: string;
|
|
4379
|
+
chartType: "Metric" | "Gauge" | "Table" | "Bar" | "Line" | "Donut" | "Funnel" | "Column" | "HorizontalBar";
|
|
4380
|
+
column: number;
|
|
4381
|
+
reportName: string;
|
|
4382
|
+
row: number;
|
|
4383
|
+
}, {
|
|
4384
|
+
title: string;
|
|
4385
|
+
reportName: string;
|
|
4386
|
+
chartType?: "Metric" | "Gauge" | "Table" | "Bar" | "Line" | "Donut" | "Funnel" | "Column" | "HorizontalBar" | undefined;
|
|
4387
|
+
column?: number | undefined;
|
|
4388
|
+
row?: number | undefined;
|
|
4389
|
+
}>, "many">>;
|
|
4390
|
+
componentsToRemove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4391
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4392
|
+
runningUser: z.ZodOptional<z.ZodString>;
|
|
4393
|
+
}, "strict", z.ZodTypeAny, {
|
|
4394
|
+
dashboardName: string;
|
|
4395
|
+
label?: string | undefined;
|
|
4396
|
+
runningUser?: string | undefined;
|
|
4397
|
+
componentsToAdd?: {
|
|
4398
|
+
title: string;
|
|
4399
|
+
chartType: "Metric" | "Gauge" | "Table" | "Bar" | "Line" | "Donut" | "Funnel" | "Column" | "HorizontalBar";
|
|
4400
|
+
column: number;
|
|
4401
|
+
reportName: string;
|
|
4402
|
+
row: number;
|
|
4403
|
+
}[] | undefined;
|
|
4404
|
+
componentsToRemove?: string[] | undefined;
|
|
4405
|
+
}, {
|
|
4406
|
+
dashboardName: string;
|
|
4407
|
+
label?: string | undefined;
|
|
4408
|
+
runningUser?: string | undefined;
|
|
4409
|
+
componentsToAdd?: {
|
|
4410
|
+
title: string;
|
|
4411
|
+
reportName: string;
|
|
4412
|
+
chartType?: "Metric" | "Gauge" | "Table" | "Bar" | "Line" | "Donut" | "Funnel" | "Column" | "HorizontalBar" | undefined;
|
|
4413
|
+
column?: number | undefined;
|
|
4414
|
+
row?: number | undefined;
|
|
4415
|
+
}[] | undefined;
|
|
4416
|
+
componentsToRemove?: string[] | undefined;
|
|
4417
|
+
}>;
|
|
4418
|
+
export declare const CreateReportFolderSchema: z.ZodObject<{
|
|
4419
|
+
folderName: z.ZodString;
|
|
4420
|
+
label: z.ZodString;
|
|
4421
|
+
folderType: z.ZodDefault<z.ZodEnum<["Report", "Dashboard"]>>;
|
|
4422
|
+
accessType: z.ZodDefault<z.ZodEnum<["Hidden", "Shared", "Public"]>>;
|
|
4423
|
+
}, "strict", z.ZodTypeAny, {
|
|
4424
|
+
label: string;
|
|
4425
|
+
folderName: string;
|
|
4426
|
+
folderType: "Report" | "Dashboard";
|
|
4427
|
+
accessType: "Public" | "Hidden" | "Shared";
|
|
4428
|
+
}, {
|
|
4429
|
+
label: string;
|
|
4430
|
+
folderName: string;
|
|
4431
|
+
folderType?: "Report" | "Dashboard" | undefined;
|
|
4432
|
+
accessType?: "Public" | "Hidden" | "Shared" | undefined;
|
|
4433
|
+
}>;
|
|
4434
|
+
export declare const ShareReportFolderSchema: z.ZodObject<{
|
|
4435
|
+
folderName: z.ZodString;
|
|
4436
|
+
folderType: z.ZodDefault<z.ZodEnum<["Report", "Dashboard"]>>;
|
|
4437
|
+
accessLevel: z.ZodOptional<z.ZodString>;
|
|
4438
|
+
shareWith: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4439
|
+
type: z.ZodEnum<["Role", "Group", "User", "RoleAndSubordinates"]>;
|
|
4440
|
+
name: z.ZodString;
|
|
4441
|
+
accessLevel: z.ZodDefault<z.ZodEnum<["View", "Edit", "Manage"]>>;
|
|
4442
|
+
}, "strip", z.ZodTypeAny, {
|
|
4443
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4444
|
+
name: string;
|
|
4445
|
+
accessLevel: "Edit" | "View" | "Manage";
|
|
4446
|
+
}, {
|
|
4447
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4448
|
+
name: string;
|
|
4449
|
+
accessLevel?: "Edit" | "View" | "Manage" | undefined;
|
|
4450
|
+
}>, "many">, {
|
|
4451
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4452
|
+
name: string;
|
|
4453
|
+
accessLevel: "Edit" | "View" | "Manage";
|
|
4454
|
+
}[], unknown>;
|
|
4455
|
+
}, "strict", z.ZodTypeAny, {
|
|
4456
|
+
folderName: string;
|
|
4457
|
+
folderType: "Report" | "Dashboard";
|
|
4458
|
+
shareWith: {
|
|
4459
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4460
|
+
name: string;
|
|
4461
|
+
accessLevel: "Edit" | "View" | "Manage";
|
|
4462
|
+
}[];
|
|
4463
|
+
accessLevel?: string | undefined;
|
|
4464
|
+
}, {
|
|
4465
|
+
folderName: string;
|
|
4466
|
+
accessLevel?: string | undefined;
|
|
4467
|
+
folderType?: "Report" | "Dashboard" | undefined;
|
|
4468
|
+
shareWith?: unknown;
|
|
4469
|
+
}>;
|
|
4470
|
+
export declare const CreateUserSchema: z.ZodObject<{
|
|
4471
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
4472
|
+
lastName: z.ZodString;
|
|
4473
|
+
email: z.ZodString;
|
|
4474
|
+
username: z.ZodString;
|
|
4475
|
+
alias: z.ZodString;
|
|
4476
|
+
profileName: z.ZodString;
|
|
4477
|
+
roleName: z.ZodOptional<z.ZodString>;
|
|
4478
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
4479
|
+
locale: z.ZodDefault<z.ZodString>;
|
|
4480
|
+
emailEncoding: z.ZodDefault<z.ZodString>;
|
|
4481
|
+
languageLocale: z.ZodDefault<z.ZodString>;
|
|
4482
|
+
}, "strict", z.ZodTypeAny, {
|
|
4483
|
+
email: string;
|
|
4484
|
+
username: string;
|
|
4485
|
+
profileName: string;
|
|
4486
|
+
lastName: string;
|
|
4487
|
+
alias: string;
|
|
4488
|
+
timeZone: string;
|
|
4489
|
+
locale: string;
|
|
4490
|
+
emailEncoding: string;
|
|
4491
|
+
languageLocale: string;
|
|
4492
|
+
firstName?: string | undefined;
|
|
4493
|
+
roleName?: string | undefined;
|
|
4494
|
+
}, {
|
|
4495
|
+
email: string;
|
|
4496
|
+
username: string;
|
|
4497
|
+
profileName: string;
|
|
4498
|
+
lastName: string;
|
|
4499
|
+
alias: string;
|
|
4500
|
+
firstName?: string | undefined;
|
|
4501
|
+
roleName?: string | undefined;
|
|
4502
|
+
timeZone?: string | undefined;
|
|
4503
|
+
locale?: string | undefined;
|
|
4504
|
+
emailEncoding?: string | undefined;
|
|
4505
|
+
languageLocale?: string | undefined;
|
|
4506
|
+
}>;
|
|
4507
|
+
export declare const UpdateUserSchema: z.ZodObject<{
|
|
4508
|
+
username: z.ZodString;
|
|
4509
|
+
profileName: z.ZodOptional<z.ZodString>;
|
|
4510
|
+
roleName: z.ZodOptional<z.ZodString>;
|
|
4511
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
4512
|
+
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4513
|
+
}, "strict", z.ZodTypeAny, {
|
|
4514
|
+
username: string;
|
|
4515
|
+
isActive?: boolean | undefined;
|
|
4516
|
+
profileName?: string | undefined;
|
|
4517
|
+
roleName?: string | undefined;
|
|
4518
|
+
additionalFields?: Record<string, unknown> | undefined;
|
|
4519
|
+
}, {
|
|
4520
|
+
username: string;
|
|
4521
|
+
isActive?: boolean | undefined;
|
|
4522
|
+
profileName?: string | undefined;
|
|
4523
|
+
roleName?: string | undefined;
|
|
4524
|
+
additionalFields?: Record<string, unknown> | undefined;
|
|
4525
|
+
}>;
|
|
4526
|
+
export declare const AssignQueueMemberSchema: z.ZodObject<{
|
|
4527
|
+
queueDeveloperName: z.ZodString;
|
|
4528
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4529
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4530
|
+
}, "strict", z.ZodTypeAny, {
|
|
4531
|
+
queueDeveloperName: string;
|
|
4532
|
+
users?: string[] | undefined;
|
|
4533
|
+
roles?: string[] | undefined;
|
|
4534
|
+
}, {
|
|
4535
|
+
queueDeveloperName: string;
|
|
4536
|
+
users?: string[] | undefined;
|
|
4537
|
+
roles?: string[] | undefined;
|
|
4538
|
+
}>;
|
|
4539
|
+
export declare const CreatePublicGroupSchema: z.ZodObject<{
|
|
4540
|
+
groupName: z.ZodString;
|
|
4541
|
+
label: z.ZodString;
|
|
4542
|
+
members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4543
|
+
type: z.ZodEnum<["User", "Role", "RoleAndSubordinates", "Group"]>;
|
|
4544
|
+
name: z.ZodString;
|
|
4545
|
+
}, "strip", z.ZodTypeAny, {
|
|
4546
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4547
|
+
name: string;
|
|
4548
|
+
}, {
|
|
4549
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4550
|
+
name: string;
|
|
4551
|
+
}>, "many">>;
|
|
4552
|
+
}, "strict", z.ZodTypeAny, {
|
|
4553
|
+
label: string;
|
|
4554
|
+
groupName: string;
|
|
4555
|
+
members?: {
|
|
4556
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4557
|
+
name: string;
|
|
4558
|
+
}[] | undefined;
|
|
4559
|
+
}, {
|
|
4560
|
+
label: string;
|
|
4561
|
+
groupName: string;
|
|
4562
|
+
members?: {
|
|
4563
|
+
type: "User" | "Role" | "Group" | "RoleAndSubordinates";
|
|
4564
|
+
name: string;
|
|
4565
|
+
}[] | undefined;
|
|
4566
|
+
}>;
|
|
4567
|
+
export declare const QueryRecordsSchema: z.ZodObject<{
|
|
4568
|
+
query: z.ZodString;
|
|
4569
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
4570
|
+
}, "strict", z.ZodTypeAny, {
|
|
4571
|
+
query: string;
|
|
4572
|
+
limit: number;
|
|
4573
|
+
}, {
|
|
4574
|
+
query: string;
|
|
4575
|
+
limit?: number | undefined;
|
|
4576
|
+
}>;
|
|
4577
|
+
export declare const CreateRecordSchema: z.ZodObject<{
|
|
4578
|
+
objectApiName: z.ZodString;
|
|
4579
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4580
|
+
}, "strict", z.ZodTypeAny, {
|
|
4581
|
+
objectApiName: string;
|
|
4582
|
+
fields: Record<string, unknown>;
|
|
4583
|
+
}, {
|
|
4584
|
+
objectApiName: string;
|
|
4585
|
+
fields: Record<string, unknown>;
|
|
4586
|
+
}>;
|
|
4587
|
+
export declare const UpdateRecordSchema: z.ZodObject<{
|
|
4588
|
+
objectApiName: z.ZodString;
|
|
4589
|
+
recordId: z.ZodString;
|
|
4590
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4591
|
+
}, "strict", z.ZodTypeAny, {
|
|
4592
|
+
objectApiName: string;
|
|
4593
|
+
fields: Record<string, unknown>;
|
|
4594
|
+
recordId: string;
|
|
4595
|
+
}, {
|
|
4596
|
+
objectApiName: string;
|
|
4597
|
+
fields: Record<string, unknown>;
|
|
4598
|
+
recordId: string;
|
|
4599
|
+
}>;
|
|
4600
|
+
export declare const BulkImportRecordsSchema: z.ZodObject<{
|
|
4601
|
+
objectApiName: z.ZodString;
|
|
4602
|
+
operation: z.ZodEnum<["insert", "upsert", "update", "delete"]>;
|
|
4603
|
+
records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
4604
|
+
externalIdField: z.ZodOptional<z.ZodString>;
|
|
4605
|
+
}, "strict", z.ZodTypeAny, {
|
|
4606
|
+
objectApiName: string;
|
|
4607
|
+
operation: "delete" | "insert" | "upsert" | "update";
|
|
4608
|
+
records: Record<string, unknown>[];
|
|
4609
|
+
externalIdField?: string | undefined;
|
|
4610
|
+
}, {
|
|
4611
|
+
objectApiName: string;
|
|
4612
|
+
operation: "delete" | "insert" | "upsert" | "update";
|
|
4613
|
+
records: Record<string, unknown>[];
|
|
4614
|
+
externalIdField?: string | undefined;
|
|
4615
|
+
}>;
|
|
4616
|
+
export declare const CreateOutboundMessageSchema: z.ZodObject<{
|
|
4617
|
+
messageName: z.ZodString;
|
|
4618
|
+
label: z.ZodString;
|
|
4619
|
+
objectName: z.ZodString;
|
|
4620
|
+
endpointUrl: z.ZodString;
|
|
4621
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
4622
|
+
useCallout: z.ZodDefault<z.ZodBoolean>;
|
|
4623
|
+
integrationUser: z.ZodOptional<z.ZodString>;
|
|
4624
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4625
|
+
}, "strict", z.ZodTypeAny, {
|
|
4626
|
+
label: string;
|
|
4627
|
+
objectName: string;
|
|
4628
|
+
fields: string[];
|
|
4629
|
+
endpointUrl: string;
|
|
4630
|
+
messageName: string;
|
|
4631
|
+
useCallout: boolean;
|
|
4632
|
+
description?: string | undefined;
|
|
4633
|
+
integrationUser?: string | undefined;
|
|
4634
|
+
}, {
|
|
4635
|
+
label: string;
|
|
4636
|
+
objectName: string;
|
|
4637
|
+
fields: string[];
|
|
4638
|
+
endpointUrl: string;
|
|
4639
|
+
messageName: string;
|
|
4640
|
+
description?: string | undefined;
|
|
4641
|
+
useCallout?: boolean | undefined;
|
|
4642
|
+
integrationUser?: string | undefined;
|
|
4643
|
+
}>;
|
|
4644
|
+
export declare const CreateAuthProviderSchema: z.ZodObject<{
|
|
4645
|
+
providerName: z.ZodString;
|
|
4646
|
+
friendlyName: z.ZodOptional<z.ZodString>;
|
|
4647
|
+
providerType: z.ZodEnum<["Salesforce", "Google", "Facebook", "OpenIdConnect", "MicrosoftAad", "LinkedIn", "Custom"]>;
|
|
4648
|
+
consumerKey: z.ZodString;
|
|
4649
|
+
consumerSecret: z.ZodString;
|
|
4650
|
+
defaultScopes: z.ZodOptional<z.ZodString>;
|
|
4651
|
+
customErrorUrl: z.ZodOptional<z.ZodString>;
|
|
4652
|
+
authorizeEndpointUrl: z.ZodOptional<z.ZodString>;
|
|
4653
|
+
tokenEndpointUrl: z.ZodOptional<z.ZodString>;
|
|
4654
|
+
}, "strict", z.ZodTypeAny, {
|
|
4655
|
+
consumerKey: string;
|
|
4656
|
+
providerName: string;
|
|
4657
|
+
providerType: "Salesforce" | "Google" | "Facebook" | "OpenIdConnect" | "MicrosoftAad" | "LinkedIn" | "Custom";
|
|
4658
|
+
consumerSecret: string;
|
|
4659
|
+
friendlyName?: string | undefined;
|
|
4660
|
+
defaultScopes?: string | undefined;
|
|
4661
|
+
customErrorUrl?: string | undefined;
|
|
4662
|
+
authorizeEndpointUrl?: string | undefined;
|
|
4663
|
+
tokenEndpointUrl?: string | undefined;
|
|
4664
|
+
}, {
|
|
4665
|
+
consumerKey: string;
|
|
4666
|
+
providerName: string;
|
|
4667
|
+
providerType: "Salesforce" | "Google" | "Facebook" | "OpenIdConnect" | "MicrosoftAad" | "LinkedIn" | "Custom";
|
|
4668
|
+
consumerSecret: string;
|
|
4669
|
+
friendlyName?: string | undefined;
|
|
4670
|
+
defaultScopes?: string | undefined;
|
|
4671
|
+
customErrorUrl?: string | undefined;
|
|
4672
|
+
authorizeEndpointUrl?: string | undefined;
|
|
4673
|
+
tokenEndpointUrl?: string | undefined;
|
|
4674
|
+
}>;
|
|
4675
|
+
export declare const ValidateDeploymentSchema: z.ZodObject<{
|
|
4676
|
+
components: z.ZodArray<z.ZodObject<{
|
|
4677
|
+
type: z.ZodString;
|
|
4678
|
+
name: z.ZodString;
|
|
4679
|
+
}, "strip", z.ZodTypeAny, {
|
|
4680
|
+
type: string;
|
|
4681
|
+
name: string;
|
|
4682
|
+
}, {
|
|
4683
|
+
type: string;
|
|
4684
|
+
name: string;
|
|
4685
|
+
}>, "many">;
|
|
4686
|
+
testLevel: z.ZodDefault<z.ZodEnum<["NoTestRun", "RunLocalTests", "RunAllTestsInOrg"]>>;
|
|
4687
|
+
runTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4688
|
+
waitMinutes: z.ZodDefault<z.ZodNumber>;
|
|
4689
|
+
}, "strict", z.ZodTypeAny, {
|
|
4690
|
+
components: {
|
|
4691
|
+
type: string;
|
|
4692
|
+
name: string;
|
|
4693
|
+
}[];
|
|
4694
|
+
waitMinutes: number;
|
|
4695
|
+
testLevel: "NoTestRun" | "RunLocalTests" | "RunAllTestsInOrg";
|
|
4696
|
+
runTests?: string[] | undefined;
|
|
4697
|
+
}, {
|
|
4698
|
+
components: {
|
|
4699
|
+
type: string;
|
|
4700
|
+
name: string;
|
|
4701
|
+
}[];
|
|
4702
|
+
waitMinutes?: number | undefined;
|
|
4703
|
+
runTests?: string[] | undefined;
|
|
4704
|
+
testLevel?: "NoTestRun" | "RunLocalTests" | "RunAllTestsInOrg" | undefined;
|
|
4705
|
+
}>;
|
|
4706
|
+
export declare const ListMetadataSchema: z.ZodObject<{
|
|
4707
|
+
metadataType: z.ZodString;
|
|
4708
|
+
}, "strict", z.ZodTypeAny, {
|
|
4709
|
+
metadataType: string;
|
|
4710
|
+
}, {
|
|
4711
|
+
metadataType: string;
|
|
4712
|
+
}>;
|
|
4713
|
+
export declare const PublishExperienceSiteSchema: z.ZodObject<{
|
|
4714
|
+
siteName: z.ZodString;
|
|
4715
|
+
}, "strict", z.ZodTypeAny, {
|
|
4716
|
+
siteName: string;
|
|
4717
|
+
}, {
|
|
4718
|
+
siteName: string;
|
|
4719
|
+
}>;
|
|
4720
|
+
export declare const UpdateExperienceSiteSchema: z.ZodObject<{
|
|
4721
|
+
siteName: z.ZodString;
|
|
4722
|
+
status: z.ZodOptional<z.ZodEnum<["Active", "Inactive", "UnderConstruction"]>>;
|
|
4723
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4724
|
+
guestUserProfile: z.ZodOptional<z.ZodString>;
|
|
4725
|
+
}, "strict", z.ZodTypeAny, {
|
|
4726
|
+
siteName: string;
|
|
4727
|
+
description?: string | undefined;
|
|
4728
|
+
status?: "Active" | "UnderConstruction" | "Inactive" | undefined;
|
|
4729
|
+
guestUserProfile?: string | undefined;
|
|
4730
|
+
}, {
|
|
4731
|
+
siteName: string;
|
|
4732
|
+
description?: string | undefined;
|
|
4733
|
+
status?: "Active" | "UnderConstruction" | "Inactive" | undefined;
|
|
4734
|
+
guestUserProfile?: string | undefined;
|
|
4735
|
+
}>;
|
|
4736
|
+
export declare const CreateNavigationMenuSchema: z.ZodObject<{
|
|
4737
|
+
menuName: z.ZodString;
|
|
4738
|
+
label: z.ZodString;
|
|
4739
|
+
networkName: z.ZodOptional<z.ZodString>;
|
|
4740
|
+
items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
4741
|
+
menuItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4742
|
+
label: z.ZodString;
|
|
4743
|
+
type: z.ZodEnum<["SalesforceObject", "ExternalUrl", "NavigationalTopic", "Event", "MenuLabel", "GlobalAction", "ContentPage"]>;
|
|
4744
|
+
target: z.ZodOptional<z.ZodString>;
|
|
4745
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
4746
|
+
}, "strip", z.ZodTypeAny, {
|
|
4747
|
+
label: string;
|
|
4748
|
+
type: "SalesforceObject" | "ExternalUrl" | "NavigationalTopic" | "Event" | "MenuLabel" | "GlobalAction" | "ContentPage";
|
|
4749
|
+
target?: string | undefined;
|
|
4750
|
+
position?: number | undefined;
|
|
4751
|
+
}, {
|
|
4752
|
+
label: string;
|
|
4753
|
+
type: "SalesforceObject" | "ExternalUrl" | "NavigationalTopic" | "Event" | "MenuLabel" | "GlobalAction" | "ContentPage";
|
|
4754
|
+
target?: string | undefined;
|
|
4755
|
+
position?: number | undefined;
|
|
4756
|
+
}>, "many">>;
|
|
4757
|
+
}, "strict", z.ZodTypeAny, {
|
|
4758
|
+
label: string;
|
|
4759
|
+
menuName: string;
|
|
4760
|
+
networkName?: string | undefined;
|
|
4761
|
+
items?: any[] | undefined;
|
|
4762
|
+
menuItems?: {
|
|
4763
|
+
label: string;
|
|
4764
|
+
type: "SalesforceObject" | "ExternalUrl" | "NavigationalTopic" | "Event" | "MenuLabel" | "GlobalAction" | "ContentPage";
|
|
4765
|
+
target?: string | undefined;
|
|
4766
|
+
position?: number | undefined;
|
|
4767
|
+
}[] | undefined;
|
|
4768
|
+
}, {
|
|
4769
|
+
label: string;
|
|
4770
|
+
menuName: string;
|
|
4771
|
+
networkName?: string | undefined;
|
|
4772
|
+
items?: any[] | undefined;
|
|
4773
|
+
menuItems?: {
|
|
4774
|
+
label: string;
|
|
4775
|
+
type: "SalesforceObject" | "ExternalUrl" | "NavigationalTopic" | "Event" | "MenuLabel" | "GlobalAction" | "ContentPage";
|
|
4776
|
+
target?: string | undefined;
|
|
4777
|
+
position?: number | undefined;
|
|
4778
|
+
}[] | undefined;
|
|
4779
|
+
}>;
|
|
4780
|
+
export declare const CreateExperienceSiteMemberSchema: z.ZodObject<{
|
|
4781
|
+
siteName: z.ZodString;
|
|
4782
|
+
profiles: z.ZodArray<z.ZodString, "many">;
|
|
4783
|
+
}, "strict", z.ZodTypeAny, {
|
|
4784
|
+
siteName: string;
|
|
4785
|
+
profiles: string[];
|
|
4786
|
+
}, {
|
|
4787
|
+
siteName: string;
|
|
4788
|
+
profiles: string[];
|
|
4789
|
+
}>;
|
|
4790
|
+
export declare const SetExperienceSiteBrandingSchema: z.ZodObject<{
|
|
4791
|
+
siteName: z.ZodString;
|
|
4792
|
+
brandingSetName: z.ZodString;
|
|
4793
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4794
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4795
|
+
name: z.ZodString;
|
|
4796
|
+
value: z.ZodString;
|
|
4797
|
+
}, "strip", z.ZodTypeAny, {
|
|
4798
|
+
value: string;
|
|
4799
|
+
name: string;
|
|
4800
|
+
}, {
|
|
4801
|
+
value: string;
|
|
4802
|
+
name: string;
|
|
4803
|
+
}>, "many">>;
|
|
4804
|
+
}, "strict", z.ZodTypeAny, {
|
|
4805
|
+
siteName: string;
|
|
4806
|
+
brandingSetName: string;
|
|
4807
|
+
label?: string | undefined;
|
|
4808
|
+
properties?: {
|
|
4809
|
+
value: string;
|
|
4810
|
+
name: string;
|
|
4811
|
+
}[] | undefined;
|
|
4812
|
+
}, {
|
|
4813
|
+
siteName: string;
|
|
4814
|
+
brandingSetName: string;
|
|
4815
|
+
label?: string | undefined;
|
|
4816
|
+
properties?: {
|
|
4817
|
+
value: string;
|
|
4818
|
+
name: string;
|
|
4819
|
+
}[] | undefined;
|
|
4820
|
+
}>;
|
|
4821
|
+
export declare const CreateFlexCardSchema: z.ZodObject<{
|
|
4822
|
+
cardName: z.ZodString;
|
|
4823
|
+
label: z.ZodString;
|
|
4824
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
4825
|
+
dataSourceType: z.ZodDefault<z.ZodEnum<["SOQL", "DataRaptor", "Integration Procedure", "Apex", "None"]>>;
|
|
4826
|
+
dataSourceName: z.ZodOptional<z.ZodString>;
|
|
4827
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4828
|
+
fieldName: z.ZodString;
|
|
4829
|
+
label: z.ZodString;
|
|
4830
|
+
type: z.ZodDefault<z.ZodString>;
|
|
4831
|
+
}, "strip", z.ZodTypeAny, {
|
|
4832
|
+
label: string;
|
|
4833
|
+
type: string;
|
|
4834
|
+
fieldName: string;
|
|
4835
|
+
}, {
|
|
4836
|
+
label: string;
|
|
4837
|
+
fieldName: string;
|
|
4838
|
+
type?: string | undefined;
|
|
4839
|
+
}>, "many">>;
|
|
4840
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4841
|
+
label: z.ZodString;
|
|
4842
|
+
type: z.ZodDefault<z.ZodEnum<["omniscript", "url", "flow", "navigation"]>>;
|
|
4843
|
+
target: z.ZodString;
|
|
4844
|
+
}, "strip", z.ZodTypeAny, {
|
|
4845
|
+
label: string;
|
|
4846
|
+
type: "url" | "omniscript" | "flow" | "navigation";
|
|
4847
|
+
target: string;
|
|
4848
|
+
}, {
|
|
4849
|
+
label: string;
|
|
4850
|
+
target: string;
|
|
4851
|
+
type?: "url" | "omniscript" | "flow" | "navigation" | undefined;
|
|
4852
|
+
}>, "many">>;
|
|
4853
|
+
states: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4854
|
+
name: z.ZodString;
|
|
4855
|
+
conditionType: z.ZodDefault<z.ZodEnum<["ALL", "ANY", "CUSTOM"]>>;
|
|
4856
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4857
|
+
field: z.ZodString;
|
|
4858
|
+
operator: z.ZodDefault<z.ZodString>;
|
|
4859
|
+
value: z.ZodString;
|
|
4860
|
+
}, "strip", z.ZodTypeAny, {
|
|
4861
|
+
value: string;
|
|
4862
|
+
operator: string;
|
|
4863
|
+
field: string;
|
|
4864
|
+
}, {
|
|
4865
|
+
value: string;
|
|
4866
|
+
field: string;
|
|
4867
|
+
operator?: string | undefined;
|
|
4868
|
+
}>, "many">>;
|
|
4869
|
+
}, "strip", z.ZodTypeAny, {
|
|
4870
|
+
name: string;
|
|
4871
|
+
conditionType: "ALL" | "ANY" | "CUSTOM";
|
|
4872
|
+
conditions?: {
|
|
4873
|
+
value: string;
|
|
4874
|
+
operator: string;
|
|
4875
|
+
field: string;
|
|
4876
|
+
}[] | undefined;
|
|
4877
|
+
}, {
|
|
4878
|
+
name: string;
|
|
4879
|
+
conditions?: {
|
|
4880
|
+
value: string;
|
|
4881
|
+
field: string;
|
|
4882
|
+
operator?: string | undefined;
|
|
4883
|
+
}[] | undefined;
|
|
4884
|
+
conditionType?: "ALL" | "ANY" | "CUSTOM" | undefined;
|
|
4885
|
+
}>, "many">>;
|
|
4886
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4887
|
+
}, "strict", z.ZodTypeAny, {
|
|
4888
|
+
label: string;
|
|
4889
|
+
cardName: string;
|
|
4890
|
+
dataSourceType: "None" | "Apex" | "SOQL" | "DataRaptor" | "Integration Procedure";
|
|
4891
|
+
description?: string | undefined;
|
|
4892
|
+
objectApiName?: string | undefined;
|
|
4893
|
+
fields?: {
|
|
4894
|
+
label: string;
|
|
4895
|
+
type: string;
|
|
4896
|
+
fieldName: string;
|
|
4897
|
+
}[] | undefined;
|
|
4898
|
+
actions?: {
|
|
4899
|
+
label: string;
|
|
4900
|
+
type: "url" | "omniscript" | "flow" | "navigation";
|
|
4901
|
+
target: string;
|
|
4902
|
+
}[] | undefined;
|
|
4903
|
+
dataSourceName?: string | undefined;
|
|
4904
|
+
states?: {
|
|
4905
|
+
name: string;
|
|
4906
|
+
conditionType: "ALL" | "ANY" | "CUSTOM";
|
|
4907
|
+
conditions?: {
|
|
4908
|
+
value: string;
|
|
4909
|
+
operator: string;
|
|
4910
|
+
field: string;
|
|
4911
|
+
}[] | undefined;
|
|
4912
|
+
}[] | undefined;
|
|
4913
|
+
}, {
|
|
4914
|
+
label: string;
|
|
4915
|
+
cardName: string;
|
|
4916
|
+
description?: string | undefined;
|
|
4917
|
+
objectApiName?: string | undefined;
|
|
4918
|
+
fields?: {
|
|
4919
|
+
label: string;
|
|
4920
|
+
fieldName: string;
|
|
4921
|
+
type?: string | undefined;
|
|
4922
|
+
}[] | undefined;
|
|
4923
|
+
actions?: {
|
|
4924
|
+
label: string;
|
|
4925
|
+
target: string;
|
|
4926
|
+
type?: "url" | "omniscript" | "flow" | "navigation" | undefined;
|
|
4927
|
+
}[] | undefined;
|
|
4928
|
+
dataSourceType?: "None" | "Apex" | "SOQL" | "DataRaptor" | "Integration Procedure" | undefined;
|
|
4929
|
+
dataSourceName?: string | undefined;
|
|
4930
|
+
states?: {
|
|
4931
|
+
name: string;
|
|
4932
|
+
conditions?: {
|
|
4933
|
+
value: string;
|
|
4934
|
+
field: string;
|
|
4935
|
+
operator?: string | undefined;
|
|
4936
|
+
}[] | undefined;
|
|
4937
|
+
conditionType?: "ALL" | "ANY" | "CUSTOM" | undefined;
|
|
4938
|
+
}[] | undefined;
|
|
4939
|
+
}>;
|
|
4940
|
+
export declare const UpdateFlexCardSchema: z.ZodObject<{
|
|
4941
|
+
cardName: z.ZodString;
|
|
4942
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4943
|
+
dataSourceType: z.ZodOptional<z.ZodEnum<["SOQL", "DataRaptor", "Integration Procedure", "Apex", "None"]>>;
|
|
4944
|
+
dataSourceName: z.ZodOptional<z.ZodString>;
|
|
4945
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4946
|
+
fieldName: z.ZodString;
|
|
4947
|
+
label: z.ZodString;
|
|
4948
|
+
type: z.ZodDefault<z.ZodString>;
|
|
4949
|
+
}, "strip", z.ZodTypeAny, {
|
|
4950
|
+
label: string;
|
|
4951
|
+
type: string;
|
|
4952
|
+
fieldName: string;
|
|
4953
|
+
}, {
|
|
4954
|
+
label: string;
|
|
4955
|
+
fieldName: string;
|
|
4956
|
+
type?: string | undefined;
|
|
4957
|
+
}>, "many">>;
|
|
4958
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4959
|
+
label: z.ZodString;
|
|
4960
|
+
type: z.ZodDefault<z.ZodEnum<["omniscript", "url", "flow", "navigation"]>>;
|
|
4961
|
+
target: z.ZodString;
|
|
4962
|
+
}, "strip", z.ZodTypeAny, {
|
|
4963
|
+
label: string;
|
|
4964
|
+
type: "url" | "omniscript" | "flow" | "navigation";
|
|
4965
|
+
target: string;
|
|
4966
|
+
}, {
|
|
4967
|
+
label: string;
|
|
4968
|
+
target: string;
|
|
4969
|
+
type?: "url" | "omniscript" | "flow" | "navigation" | undefined;
|
|
4970
|
+
}>, "many">>;
|
|
4971
|
+
states: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4972
|
+
name: z.ZodString;
|
|
4973
|
+
conditionType: z.ZodDefault<z.ZodEnum<["ALL", "ANY", "CUSTOM"]>>;
|
|
4974
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4975
|
+
field: z.ZodString;
|
|
4976
|
+
operator: z.ZodDefault<z.ZodString>;
|
|
4977
|
+
value: z.ZodString;
|
|
4978
|
+
}, "strip", z.ZodTypeAny, {
|
|
4979
|
+
value: string;
|
|
4980
|
+
operator: string;
|
|
4981
|
+
field: string;
|
|
4982
|
+
}, {
|
|
4983
|
+
value: string;
|
|
4984
|
+
field: string;
|
|
4985
|
+
operator?: string | undefined;
|
|
4986
|
+
}>, "many">>;
|
|
4987
|
+
}, "strip", z.ZodTypeAny, {
|
|
4988
|
+
name: string;
|
|
4989
|
+
conditionType: "ALL" | "ANY" | "CUSTOM";
|
|
4990
|
+
conditions?: {
|
|
4991
|
+
value: string;
|
|
4992
|
+
operator: string;
|
|
4993
|
+
field: string;
|
|
4994
|
+
}[] | undefined;
|
|
4995
|
+
}, {
|
|
4996
|
+
name: string;
|
|
4997
|
+
conditions?: {
|
|
4998
|
+
value: string;
|
|
4999
|
+
field: string;
|
|
5000
|
+
operator?: string | undefined;
|
|
5001
|
+
}[] | undefined;
|
|
5002
|
+
conditionType?: "ALL" | "ANY" | "CUSTOM" | undefined;
|
|
5003
|
+
}>, "many">>;
|
|
5004
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5005
|
+
}, "strict", z.ZodTypeAny, {
|
|
5006
|
+
cardName: string;
|
|
5007
|
+
label?: string | undefined;
|
|
5008
|
+
description?: string | undefined;
|
|
5009
|
+
fields?: {
|
|
5010
|
+
label: string;
|
|
5011
|
+
type: string;
|
|
5012
|
+
fieldName: string;
|
|
5013
|
+
}[] | undefined;
|
|
5014
|
+
actions?: {
|
|
5015
|
+
label: string;
|
|
5016
|
+
type: "url" | "omniscript" | "flow" | "navigation";
|
|
5017
|
+
target: string;
|
|
5018
|
+
}[] | undefined;
|
|
5019
|
+
dataSourceType?: "None" | "Apex" | "SOQL" | "DataRaptor" | "Integration Procedure" | undefined;
|
|
5020
|
+
dataSourceName?: string | undefined;
|
|
5021
|
+
states?: {
|
|
5022
|
+
name: string;
|
|
5023
|
+
conditionType: "ALL" | "ANY" | "CUSTOM";
|
|
5024
|
+
conditions?: {
|
|
5025
|
+
value: string;
|
|
5026
|
+
operator: string;
|
|
5027
|
+
field: string;
|
|
5028
|
+
}[] | undefined;
|
|
5029
|
+
}[] | undefined;
|
|
5030
|
+
}, {
|
|
5031
|
+
cardName: string;
|
|
5032
|
+
label?: string | undefined;
|
|
5033
|
+
description?: string | undefined;
|
|
5034
|
+
fields?: {
|
|
5035
|
+
label: string;
|
|
5036
|
+
fieldName: string;
|
|
5037
|
+
type?: string | undefined;
|
|
5038
|
+
}[] | undefined;
|
|
5039
|
+
actions?: {
|
|
5040
|
+
label: string;
|
|
5041
|
+
target: string;
|
|
5042
|
+
type?: "url" | "omniscript" | "flow" | "navigation" | undefined;
|
|
5043
|
+
}[] | undefined;
|
|
5044
|
+
dataSourceType?: "None" | "Apex" | "SOQL" | "DataRaptor" | "Integration Procedure" | undefined;
|
|
5045
|
+
dataSourceName?: string | undefined;
|
|
5046
|
+
states?: {
|
|
5047
|
+
name: string;
|
|
5048
|
+
conditions?: {
|
|
5049
|
+
value: string;
|
|
5050
|
+
field: string;
|
|
5051
|
+
operator?: string | undefined;
|
|
5052
|
+
}[] | undefined;
|
|
5053
|
+
conditionType?: "ALL" | "ANY" | "CUSTOM" | undefined;
|
|
5054
|
+
}[] | undefined;
|
|
5055
|
+
}>;
|
|
5056
|
+
export declare const ActivateFlexCardSchema: z.ZodObject<{
|
|
5057
|
+
cardName: z.ZodString;
|
|
5058
|
+
}, "strict", z.ZodTypeAny, {
|
|
5059
|
+
cardName: string;
|
|
5060
|
+
}, {
|
|
5061
|
+
cardName: string;
|
|
5062
|
+
}>;
|
|
5063
|
+
export declare const GetFlexCardSchema: z.ZodObject<{
|
|
5064
|
+
cardName: z.ZodString;
|
|
5065
|
+
}, "strict", z.ZodTypeAny, {
|
|
5066
|
+
cardName: string;
|
|
5067
|
+
}, {
|
|
5068
|
+
cardName: string;
|
|
5069
|
+
}>;
|
|
5070
|
+
export declare const CreateOmniScriptSchema: z.ZodObject<{
|
|
5071
|
+
scriptName: z.ZodOptional<z.ZodString>;
|
|
5072
|
+
label: z.ZodString;
|
|
5073
|
+
type: z.ZodString;
|
|
5074
|
+
subType: z.ZodString;
|
|
5075
|
+
language: z.ZodDefault<z.ZodString>;
|
|
5076
|
+
isLwcEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
5077
|
+
isOmniScriptEmbeddable: z.ZodDefault<z.ZodBoolean>;
|
|
5078
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5079
|
+
name: z.ZodString;
|
|
5080
|
+
type: z.ZodEnum<["Text", "Input", "Select", "Radio", "Checkbox", "Step", "Group", "TypeAhead", "Formula", "RemoteAction", "DataRaptor", "IntegrationProcedure", "Disclosure", "Navigation", "Block"]>;
|
|
5081
|
+
label: z.ZodString;
|
|
5082
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5083
|
+
}, "strip", z.ZodTypeAny, {
|
|
5084
|
+
label: string;
|
|
5085
|
+
type: "Text" | "Checkbox" | "Block" | "Group" | "DataRaptor" | "Input" | "Select" | "Radio" | "Step" | "TypeAhead" | "Formula" | "RemoteAction" | "IntegrationProcedure" | "Disclosure" | "Navigation";
|
|
5086
|
+
name: string;
|
|
5087
|
+
properties?: Record<string, unknown> | undefined;
|
|
5088
|
+
}, {
|
|
5089
|
+
label: string;
|
|
5090
|
+
type: "Text" | "Checkbox" | "Block" | "Group" | "DataRaptor" | "Input" | "Select" | "Radio" | "Step" | "TypeAhead" | "Formula" | "RemoteAction" | "IntegrationProcedure" | "Disclosure" | "Navigation";
|
|
5091
|
+
name: string;
|
|
5092
|
+
properties?: Record<string, unknown> | undefined;
|
|
5093
|
+
}>, "many">>;
|
|
5094
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5095
|
+
}, "strict", z.ZodTypeAny, {
|
|
5096
|
+
label: string;
|
|
5097
|
+
type: string;
|
|
5098
|
+
language: string;
|
|
5099
|
+
subType: string;
|
|
5100
|
+
isLwcEnabled: boolean;
|
|
5101
|
+
isOmniScriptEmbeddable: boolean;
|
|
5102
|
+
description?: string | undefined;
|
|
5103
|
+
elements?: {
|
|
5104
|
+
label: string;
|
|
5105
|
+
type: "Text" | "Checkbox" | "Block" | "Group" | "DataRaptor" | "Input" | "Select" | "Radio" | "Step" | "TypeAhead" | "Formula" | "RemoteAction" | "IntegrationProcedure" | "Disclosure" | "Navigation";
|
|
5106
|
+
name: string;
|
|
5107
|
+
properties?: Record<string, unknown> | undefined;
|
|
5108
|
+
}[] | undefined;
|
|
5109
|
+
scriptName?: string | undefined;
|
|
5110
|
+
}, {
|
|
5111
|
+
label: string;
|
|
5112
|
+
type: string;
|
|
5113
|
+
subType: string;
|
|
5114
|
+
description?: string | undefined;
|
|
5115
|
+
elements?: {
|
|
5116
|
+
label: string;
|
|
5117
|
+
type: "Text" | "Checkbox" | "Block" | "Group" | "DataRaptor" | "Input" | "Select" | "Radio" | "Step" | "TypeAhead" | "Formula" | "RemoteAction" | "IntegrationProcedure" | "Disclosure" | "Navigation";
|
|
5118
|
+
name: string;
|
|
5119
|
+
properties?: Record<string, unknown> | undefined;
|
|
5120
|
+
}[] | undefined;
|
|
5121
|
+
language?: string | undefined;
|
|
5122
|
+
scriptName?: string | undefined;
|
|
5123
|
+
isLwcEnabled?: boolean | undefined;
|
|
5124
|
+
isOmniScriptEmbeddable?: boolean | undefined;
|
|
5125
|
+
}>;
|
|
5126
|
+
export declare const UpdateOmniScriptSchema: z.ZodObject<{
|
|
5127
|
+
type: z.ZodString;
|
|
5128
|
+
subType: z.ZodString;
|
|
5129
|
+
language: z.ZodDefault<z.ZodString>;
|
|
5130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5131
|
+
isLwcEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5132
|
+
isOmniScriptEmbeddable: z.ZodOptional<z.ZodBoolean>;
|
|
5133
|
+
}, "strict", z.ZodTypeAny, {
|
|
5134
|
+
type: string;
|
|
5135
|
+
language: string;
|
|
5136
|
+
subType: string;
|
|
5137
|
+
description?: string | undefined;
|
|
5138
|
+
isLwcEnabled?: boolean | undefined;
|
|
5139
|
+
isOmniScriptEmbeddable?: boolean | undefined;
|
|
5140
|
+
}, {
|
|
5141
|
+
type: string;
|
|
5142
|
+
subType: string;
|
|
5143
|
+
description?: string | undefined;
|
|
5144
|
+
language?: string | undefined;
|
|
5145
|
+
isLwcEnabled?: boolean | undefined;
|
|
5146
|
+
isOmniScriptEmbeddable?: boolean | undefined;
|
|
5147
|
+
}>;
|
|
5148
|
+
export declare const ActivateOmniScriptSchema: z.ZodObject<{
|
|
5149
|
+
type: z.ZodString;
|
|
5150
|
+
subType: z.ZodString;
|
|
5151
|
+
language: z.ZodDefault<z.ZodString>;
|
|
5152
|
+
}, "strict", z.ZodTypeAny, {
|
|
5153
|
+
type: string;
|
|
5154
|
+
language: string;
|
|
5155
|
+
subType: string;
|
|
5156
|
+
}, {
|
|
5157
|
+
type: string;
|
|
5158
|
+
subType: string;
|
|
5159
|
+
language?: string | undefined;
|
|
5160
|
+
}>;
|
|
5161
|
+
export declare const GetOmniScriptSchema: z.ZodObject<{
|
|
5162
|
+
type: z.ZodString;
|
|
5163
|
+
subType: z.ZodString;
|
|
5164
|
+
language: z.ZodDefault<z.ZodString>;
|
|
5165
|
+
}, "strict", z.ZodTypeAny, {
|
|
5166
|
+
type: string;
|
|
5167
|
+
language: string;
|
|
5168
|
+
subType: string;
|
|
5169
|
+
}, {
|
|
5170
|
+
type: string;
|
|
5171
|
+
subType: string;
|
|
5172
|
+
language?: string | undefined;
|
|
5173
|
+
}>;
|
|
5174
|
+
export declare const CreateDataRaptorSchema: z.ZodObject<{
|
|
5175
|
+
dataRaptorName: z.ZodString;
|
|
5176
|
+
label: z.ZodString;
|
|
5177
|
+
interfaceType: z.ZodEnum<["Extract", "Transform", "Load"]>;
|
|
5178
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
5179
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5180
|
+
sourceField: z.ZodString;
|
|
5181
|
+
targetField: z.ZodString;
|
|
5182
|
+
dataType: z.ZodDefault<z.ZodEnum<["String", "Number", "Boolean", "Date", "Object", "Array"]>>;
|
|
5183
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
5184
|
+
}, "strip", z.ZodTypeAny, {
|
|
5185
|
+
dataType: "Number" | "Date" | "String" | "Boolean" | "Object" | "Array";
|
|
5186
|
+
sourceField: string;
|
|
5187
|
+
targetField: string;
|
|
5188
|
+
formula?: string | undefined;
|
|
5189
|
+
}, {
|
|
5190
|
+
sourceField: string;
|
|
5191
|
+
targetField: string;
|
|
5192
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | "Object" | "Array" | undefined;
|
|
5193
|
+
formula?: string | undefined;
|
|
5194
|
+
}>, "many">>;
|
|
5195
|
+
filterCriteria: z.ZodOptional<z.ZodString>;
|
|
5196
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5197
|
+
}, "strict", z.ZodTypeAny, {
|
|
5198
|
+
label: string;
|
|
5199
|
+
dataRaptorName: string;
|
|
5200
|
+
interfaceType: "Extract" | "Transform" | "Load";
|
|
5201
|
+
description?: string | undefined;
|
|
5202
|
+
objectApiName?: string | undefined;
|
|
5203
|
+
fields?: {
|
|
5204
|
+
dataType: "Number" | "Date" | "String" | "Boolean" | "Object" | "Array";
|
|
5205
|
+
sourceField: string;
|
|
5206
|
+
targetField: string;
|
|
5207
|
+
formula?: string | undefined;
|
|
5208
|
+
}[] | undefined;
|
|
5209
|
+
filterCriteria?: string | undefined;
|
|
5210
|
+
}, {
|
|
5211
|
+
label: string;
|
|
5212
|
+
dataRaptorName: string;
|
|
5213
|
+
interfaceType: "Extract" | "Transform" | "Load";
|
|
5214
|
+
description?: string | undefined;
|
|
5215
|
+
objectApiName?: string | undefined;
|
|
5216
|
+
fields?: {
|
|
5217
|
+
sourceField: string;
|
|
5218
|
+
targetField: string;
|
|
5219
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | "Object" | "Array" | undefined;
|
|
5220
|
+
formula?: string | undefined;
|
|
5221
|
+
}[] | undefined;
|
|
5222
|
+
filterCriteria?: string | undefined;
|
|
5223
|
+
}>;
|
|
5224
|
+
export declare const GetDataRaptorSchema: z.ZodObject<{
|
|
5225
|
+
dataRaptorName: z.ZodString;
|
|
5226
|
+
}, "strict", z.ZodTypeAny, {
|
|
5227
|
+
dataRaptorName: string;
|
|
5228
|
+
}, {
|
|
5229
|
+
dataRaptorName: string;
|
|
5230
|
+
}>;
|
|
5231
|
+
export declare const CreateIntegrationProcedureSchema: z.ZodObject<{
|
|
5232
|
+
procedureName: z.ZodString;
|
|
5233
|
+
subType: z.ZodString;
|
|
5234
|
+
label: z.ZodString;
|
|
5235
|
+
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5236
|
+
name: z.ZodString;
|
|
5237
|
+
type: z.ZodEnum<["DataRaptor", "HTTPAction", "Response", "Loop", "Conditional", "SetValues", "ExceptionBlock", "Matrix", "OmniScript", "Aggregate"]>;
|
|
5238
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5239
|
+
inputMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5240
|
+
outputMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5241
|
+
}, "strip", z.ZodTypeAny, {
|
|
5242
|
+
type: "Loop" | "Matrix" | "DataRaptor" | "HTTPAction" | "Response" | "Conditional" | "SetValues" | "ExceptionBlock" | "OmniScript" | "Aggregate";
|
|
5243
|
+
name: string;
|
|
5244
|
+
properties?: Record<string, unknown> | undefined;
|
|
5245
|
+
inputMap?: Record<string, string> | undefined;
|
|
5246
|
+
outputMap?: Record<string, string> | undefined;
|
|
5247
|
+
}, {
|
|
5248
|
+
type: "Loop" | "Matrix" | "DataRaptor" | "HTTPAction" | "Response" | "Conditional" | "SetValues" | "ExceptionBlock" | "OmniScript" | "Aggregate";
|
|
5249
|
+
name: string;
|
|
5250
|
+
properties?: Record<string, unknown> | undefined;
|
|
5251
|
+
inputMap?: Record<string, string> | undefined;
|
|
5252
|
+
outputMap?: Record<string, string> | undefined;
|
|
5253
|
+
}>, "many">>;
|
|
5254
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
5255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5256
|
+
}, "strict", z.ZodTypeAny, {
|
|
5257
|
+
label: string;
|
|
5258
|
+
isActive: boolean;
|
|
5259
|
+
subType: string;
|
|
5260
|
+
procedureName: string;
|
|
5261
|
+
description?: string | undefined;
|
|
5262
|
+
elements?: {
|
|
5263
|
+
type: "Loop" | "Matrix" | "DataRaptor" | "HTTPAction" | "Response" | "Conditional" | "SetValues" | "ExceptionBlock" | "OmniScript" | "Aggregate";
|
|
5264
|
+
name: string;
|
|
5265
|
+
properties?: Record<string, unknown> | undefined;
|
|
5266
|
+
inputMap?: Record<string, string> | undefined;
|
|
5267
|
+
outputMap?: Record<string, string> | undefined;
|
|
5268
|
+
}[] | undefined;
|
|
5269
|
+
}, {
|
|
5270
|
+
label: string;
|
|
5271
|
+
subType: string;
|
|
5272
|
+
procedureName: string;
|
|
5273
|
+
isActive?: boolean | undefined;
|
|
5274
|
+
description?: string | undefined;
|
|
5275
|
+
elements?: {
|
|
5276
|
+
type: "Loop" | "Matrix" | "DataRaptor" | "HTTPAction" | "Response" | "Conditional" | "SetValues" | "ExceptionBlock" | "OmniScript" | "Aggregate";
|
|
5277
|
+
name: string;
|
|
5278
|
+
properties?: Record<string, unknown> | undefined;
|
|
5279
|
+
inputMap?: Record<string, string> | undefined;
|
|
5280
|
+
outputMap?: Record<string, string> | undefined;
|
|
5281
|
+
}[] | undefined;
|
|
5282
|
+
}>;
|
|
5283
|
+
export declare const UpdateIntegrationProcedureSchema: z.ZodObject<{
|
|
5284
|
+
procedureName: z.ZodString;
|
|
5285
|
+
subType: z.ZodString;
|
|
5286
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5287
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
5288
|
+
}, "strict", z.ZodTypeAny, {
|
|
5289
|
+
subType: string;
|
|
5290
|
+
procedureName: string;
|
|
5291
|
+
isActive?: boolean | undefined;
|
|
5292
|
+
description?: string | undefined;
|
|
5293
|
+
}, {
|
|
5294
|
+
subType: string;
|
|
5295
|
+
procedureName: string;
|
|
5296
|
+
isActive?: boolean | undefined;
|
|
5297
|
+
description?: string | undefined;
|
|
5298
|
+
}>;
|
|
5299
|
+
export declare const GetIntegrationProcedureSchema: z.ZodObject<{
|
|
5300
|
+
procedureName: z.ZodString;
|
|
5301
|
+
subType: z.ZodString;
|
|
5302
|
+
}, "strict", z.ZodTypeAny, {
|
|
5303
|
+
subType: string;
|
|
5304
|
+
procedureName: string;
|
|
5305
|
+
}, {
|
|
5306
|
+
subType: string;
|
|
5307
|
+
procedureName: string;
|
|
5308
|
+
}>;
|
|
5309
|
+
export declare const ActivateIntegrationProcedureSchema: z.ZodObject<{
|
|
5310
|
+
procedureName: z.ZodString;
|
|
5311
|
+
subType: z.ZodString;
|
|
5312
|
+
}, "strict", z.ZodTypeAny, {
|
|
5313
|
+
subType: string;
|
|
5314
|
+
procedureName: string;
|
|
5315
|
+
}, {
|
|
5316
|
+
subType: string;
|
|
5317
|
+
procedureName: string;
|
|
5318
|
+
}>;
|
|
5319
|
+
export declare const CreateCalculationMatrixSchema: z.ZodObject<{
|
|
5320
|
+
matrixName: z.ZodString;
|
|
5321
|
+
label: z.ZodString;
|
|
5322
|
+
inputVariables: z.ZodArray<z.ZodObject<{
|
|
5323
|
+
name: z.ZodString;
|
|
5324
|
+
dataType: z.ZodDefault<z.ZodEnum<["String", "Number", "Boolean", "Date"]>>;
|
|
5325
|
+
}, "strip", z.ZodTypeAny, {
|
|
5326
|
+
name: string;
|
|
5327
|
+
dataType: "Number" | "Date" | "String" | "Boolean";
|
|
5328
|
+
}, {
|
|
5329
|
+
name: string;
|
|
5330
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | undefined;
|
|
5331
|
+
}>, "many">;
|
|
5332
|
+
outputVariables: z.ZodArray<z.ZodObject<{
|
|
5333
|
+
name: z.ZodString;
|
|
5334
|
+
dataType: z.ZodDefault<z.ZodEnum<["String", "Number", "Boolean", "Date"]>>;
|
|
5335
|
+
}, "strip", z.ZodTypeAny, {
|
|
5336
|
+
name: string;
|
|
5337
|
+
dataType: "Number" | "Date" | "String" | "Boolean";
|
|
5338
|
+
}, {
|
|
5339
|
+
name: string;
|
|
5340
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | undefined;
|
|
5341
|
+
}>, "many">;
|
|
5342
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
|
|
5343
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5344
|
+
}, "strict", z.ZodTypeAny, {
|
|
5345
|
+
label: string;
|
|
5346
|
+
matrixName: string;
|
|
5347
|
+
inputVariables: {
|
|
5348
|
+
name: string;
|
|
5349
|
+
dataType: "Number" | "Date" | "String" | "Boolean";
|
|
5350
|
+
}[];
|
|
5351
|
+
outputVariables: {
|
|
5352
|
+
name: string;
|
|
5353
|
+
dataType: "Number" | "Date" | "String" | "Boolean";
|
|
5354
|
+
}[];
|
|
5355
|
+
description?: string | undefined;
|
|
5356
|
+
rows?: Record<string, string>[] | undefined;
|
|
5357
|
+
}, {
|
|
5358
|
+
label: string;
|
|
5359
|
+
matrixName: string;
|
|
5360
|
+
inputVariables: {
|
|
5361
|
+
name: string;
|
|
5362
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | undefined;
|
|
5363
|
+
}[];
|
|
5364
|
+
outputVariables: {
|
|
5365
|
+
name: string;
|
|
5366
|
+
dataType?: "Number" | "Date" | "String" | "Boolean" | undefined;
|
|
5367
|
+
}[];
|
|
5368
|
+
description?: string | undefined;
|
|
5369
|
+
rows?: Record<string, string>[] | undefined;
|
|
5370
|
+
}>;
|
|
5371
|
+
export declare const CreateCalculationProcedureSchema: z.ZodObject<{
|
|
5372
|
+
procedureName: z.ZodString;
|
|
5373
|
+
label: z.ZodString;
|
|
5374
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5375
|
+
name: z.ZodString;
|
|
5376
|
+
type: z.ZodDefault<z.ZodEnum<["Matrix", "Expression", "Loop", "Condition"]>>;
|
|
5377
|
+
matrixName: z.ZodOptional<z.ZodString>;
|
|
5378
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
5379
|
+
inputMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5380
|
+
outputMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5381
|
+
}, "strip", z.ZodTypeAny, {
|
|
5382
|
+
type: "Loop" | "Matrix" | "Expression" | "Condition";
|
|
5383
|
+
name: string;
|
|
5384
|
+
inputMap?: Record<string, string> | undefined;
|
|
5385
|
+
outputMap?: Record<string, string> | undefined;
|
|
5386
|
+
matrixName?: string | undefined;
|
|
5387
|
+
expression?: string | undefined;
|
|
5388
|
+
}, {
|
|
5389
|
+
name: string;
|
|
5390
|
+
type?: "Loop" | "Matrix" | "Expression" | "Condition" | undefined;
|
|
5391
|
+
inputMap?: Record<string, string> | undefined;
|
|
5392
|
+
outputMap?: Record<string, string> | undefined;
|
|
5393
|
+
matrixName?: string | undefined;
|
|
5394
|
+
expression?: string | undefined;
|
|
5395
|
+
}>, "many">>;
|
|
5396
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5397
|
+
}, "strict", z.ZodTypeAny, {
|
|
5398
|
+
label: string;
|
|
5399
|
+
procedureName: string;
|
|
5400
|
+
description?: string | undefined;
|
|
5401
|
+
steps?: {
|
|
5402
|
+
type: "Loop" | "Matrix" | "Expression" | "Condition";
|
|
5403
|
+
name: string;
|
|
5404
|
+
inputMap?: Record<string, string> | undefined;
|
|
5405
|
+
outputMap?: Record<string, string> | undefined;
|
|
5406
|
+
matrixName?: string | undefined;
|
|
5407
|
+
expression?: string | undefined;
|
|
5408
|
+
}[] | undefined;
|
|
5409
|
+
}, {
|
|
5410
|
+
label: string;
|
|
5411
|
+
procedureName: string;
|
|
5412
|
+
description?: string | undefined;
|
|
5413
|
+
steps?: {
|
|
5414
|
+
name: string;
|
|
5415
|
+
type?: "Loop" | "Matrix" | "Expression" | "Condition" | undefined;
|
|
5416
|
+
inputMap?: Record<string, string> | undefined;
|
|
5417
|
+
outputMap?: Record<string, string> | undefined;
|
|
5418
|
+
matrixName?: string | undefined;
|
|
5419
|
+
expression?: string | undefined;
|
|
5420
|
+
}[] | undefined;
|
|
5421
|
+
}>;
|
|
5422
|
+
export declare const CreateServiceChannelSchema: z.ZodObject<{
|
|
5423
|
+
channelName: z.ZodString;
|
|
5424
|
+
label: z.ZodString;
|
|
5425
|
+
channelType: z.ZodDefault<z.ZodEnum<["Case", "Chat", "Messaging", "Voice", "Email", "SocialPost", "Custom", "Standard"]>>;
|
|
5426
|
+
relatedObjectApiName: z.ZodOptional<z.ZodString>;
|
|
5427
|
+
capacity: z.ZodDefault<z.ZodNumber>;
|
|
5428
|
+
relatedObject: z.ZodOptional<z.ZodString>;
|
|
5429
|
+
}, "strict", z.ZodTypeAny, {
|
|
5430
|
+
label: string;
|
|
5431
|
+
channelName: string;
|
|
5432
|
+
channelType: "Email" | "Case" | "Standard" | "Custom" | "Chat" | "Messaging" | "Voice" | "SocialPost";
|
|
5433
|
+
capacity: number;
|
|
5434
|
+
relatedObject?: string | undefined;
|
|
5435
|
+
relatedObjectApiName?: string | undefined;
|
|
5436
|
+
}, {
|
|
5437
|
+
label: string;
|
|
5438
|
+
channelName: string;
|
|
5439
|
+
relatedObject?: string | undefined;
|
|
5440
|
+
channelType?: "Email" | "Case" | "Standard" | "Custom" | "Chat" | "Messaging" | "Voice" | "SocialPost" | undefined;
|
|
5441
|
+
relatedObjectApiName?: string | undefined;
|
|
5442
|
+
capacity?: number | undefined;
|
|
5443
|
+
}>;
|
|
5444
|
+
export declare const CreateRoutingConfigurationSchema: z.ZodObject<{
|
|
5445
|
+
configName: z.ZodOptional<z.ZodString>;
|
|
5446
|
+
routingConfigName: z.ZodOptional<z.ZodString>;
|
|
5447
|
+
routingPriority: z.ZodOptional<z.ZodNumber>;
|
|
5448
|
+
label: z.ZodString;
|
|
5449
|
+
routingModel: z.ZodDefault<z.ZodEnum<["LeastActive", "MostAvailable", "ExternalRouting"]>>;
|
|
5450
|
+
capacity: z.ZodDefault<z.ZodNumber>;
|
|
5451
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
5452
|
+
unitType: z.ZodDefault<z.ZodEnum<["Percentage", "Items"]>>;
|
|
5453
|
+
pushTimeout: z.ZodOptional<z.ZodNumber>;
|
|
5454
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5455
|
+
}, "strict", z.ZodTypeAny, {
|
|
5456
|
+
label: string;
|
|
5457
|
+
capacity: number;
|
|
5458
|
+
routingModel: "LeastActive" | "MostAvailable" | "ExternalRouting";
|
|
5459
|
+
priority: number;
|
|
5460
|
+
unitType: "Percentage" | "Items";
|
|
5461
|
+
description?: string | undefined;
|
|
5462
|
+
configName?: string | undefined;
|
|
5463
|
+
routingConfigName?: string | undefined;
|
|
5464
|
+
routingPriority?: number | undefined;
|
|
5465
|
+
pushTimeout?: number | undefined;
|
|
5466
|
+
}, {
|
|
5467
|
+
label: string;
|
|
5468
|
+
description?: string | undefined;
|
|
5469
|
+
capacity?: number | undefined;
|
|
5470
|
+
configName?: string | undefined;
|
|
5471
|
+
routingConfigName?: string | undefined;
|
|
5472
|
+
routingPriority?: number | undefined;
|
|
5473
|
+
routingModel?: "LeastActive" | "MostAvailable" | "ExternalRouting" | undefined;
|
|
5474
|
+
priority?: number | undefined;
|
|
5475
|
+
unitType?: "Percentage" | "Items" | undefined;
|
|
5476
|
+
pushTimeout?: number | undefined;
|
|
5477
|
+
}>;
|
|
5478
|
+
export declare const CreateQueueRoutingConfigSchema: z.ZodObject<{
|
|
5479
|
+
queueDeveloperName: z.ZodString;
|
|
5480
|
+
routingConfigName: z.ZodString;
|
|
5481
|
+
}, "strict", z.ZodTypeAny, {
|
|
5482
|
+
queueDeveloperName: string;
|
|
5483
|
+
routingConfigName: string;
|
|
5484
|
+
}, {
|
|
5485
|
+
queueDeveloperName: string;
|
|
5486
|
+
routingConfigName: string;
|
|
5487
|
+
}>;
|
|
5488
|
+
export declare const CreatePresenceConfigurationSchema: z.ZodObject<{
|
|
5489
|
+
configName: z.ZodString;
|
|
5490
|
+
label: z.ZodString;
|
|
5491
|
+
capacity: z.ZodDefault<z.ZodNumber>;
|
|
5492
|
+
serviceChannels: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
5493
|
+
channelName: string;
|
|
5494
|
+
}, string>, z.ZodObject<{
|
|
5495
|
+
channelName: z.ZodString;
|
|
5496
|
+
capacity: z.ZodOptional<z.ZodNumber>;
|
|
5497
|
+
}, "strip", z.ZodTypeAny, {
|
|
5498
|
+
channelName: string;
|
|
5499
|
+
capacity?: number | undefined;
|
|
5500
|
+
}, {
|
|
5501
|
+
channelName: string;
|
|
5502
|
+
capacity?: number | undefined;
|
|
5503
|
+
}>]>, "many">>;
|
|
5504
|
+
allowAgentsToChangeStatus: z.ZodDefault<z.ZodBoolean>;
|
|
5505
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5506
|
+
}, "strict", z.ZodTypeAny, {
|
|
5507
|
+
label: string;
|
|
5508
|
+
capacity: number;
|
|
5509
|
+
configName: string;
|
|
5510
|
+
allowAgentsToChangeStatus: boolean;
|
|
5511
|
+
description?: string | undefined;
|
|
5512
|
+
serviceChannels?: ({
|
|
5513
|
+
channelName: string;
|
|
5514
|
+
} | {
|
|
5515
|
+
channelName: string;
|
|
5516
|
+
capacity?: number | undefined;
|
|
5517
|
+
})[] | undefined;
|
|
5518
|
+
}, {
|
|
5519
|
+
label: string;
|
|
5520
|
+
configName: string;
|
|
5521
|
+
description?: string | undefined;
|
|
5522
|
+
capacity?: number | undefined;
|
|
5523
|
+
serviceChannels?: (string | {
|
|
5524
|
+
channelName: string;
|
|
5525
|
+
capacity?: number | undefined;
|
|
5526
|
+
})[] | undefined;
|
|
5527
|
+
allowAgentsToChangeStatus?: boolean | undefined;
|
|
5528
|
+
}>;
|
|
5529
|
+
export declare const CreatePresenceStatusSchema: z.ZodObject<{
|
|
5530
|
+
statusName: z.ZodString;
|
|
5531
|
+
label: z.ZodString;
|
|
5532
|
+
statusType: z.ZodDefault<z.ZodEnum<["Online", "Busy", "Offline"]>>;
|
|
5533
|
+
serviceChannels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5534
|
+
}, "strict", z.ZodTypeAny, {
|
|
5535
|
+
label: string;
|
|
5536
|
+
statusName: string;
|
|
5537
|
+
statusType: "Online" | "Busy" | "Offline";
|
|
5538
|
+
serviceChannels?: string[] | undefined;
|
|
5539
|
+
}, {
|
|
5540
|
+
label: string;
|
|
5541
|
+
statusName: string;
|
|
5542
|
+
serviceChannels?: string[] | undefined;
|
|
5543
|
+
statusType?: "Online" | "Busy" | "Offline" | undefined;
|
|
5544
|
+
}>;
|
|
5545
|
+
export declare const AssignPresenceStatusSchema: z.ZodObject<{
|
|
5546
|
+
statusName: z.ZodString;
|
|
5547
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5548
|
+
permissionSets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5549
|
+
}, "strict", z.ZodTypeAny, {
|
|
5550
|
+
statusName: string;
|
|
5551
|
+
permissionSets?: string[] | undefined;
|
|
5552
|
+
profiles?: string[] | undefined;
|
|
5553
|
+
}, {
|
|
5554
|
+
statusName: string;
|
|
5555
|
+
permissionSets?: string[] | undefined;
|
|
5556
|
+
profiles?: string[] | undefined;
|
|
5557
|
+
}>;
|
|
5558
|
+
export declare const CreateSkillSchema: z.ZodObject<{
|
|
5559
|
+
skillName: z.ZodString;
|
|
5560
|
+
label: z.ZodString;
|
|
5561
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5562
|
+
}, "strict", z.ZodTypeAny, {
|
|
5563
|
+
label: string;
|
|
5564
|
+
skillName: string;
|
|
5565
|
+
description?: string | undefined;
|
|
5566
|
+
}, {
|
|
5567
|
+
label: string;
|
|
5568
|
+
skillName: string;
|
|
5569
|
+
description?: string | undefined;
|
|
5570
|
+
}>;
|
|
5571
|
+
export declare const AssignSkillToAgentSchema: z.ZodObject<{
|
|
5572
|
+
skillName: z.ZodString;
|
|
5573
|
+
username: z.ZodString;
|
|
5574
|
+
skillLevel: z.ZodDefault<z.ZodNumber>;
|
|
5575
|
+
}, "strict", z.ZodTypeAny, {
|
|
5576
|
+
username: string;
|
|
5577
|
+
skillName: string;
|
|
5578
|
+
skillLevel: number;
|
|
5579
|
+
}, {
|
|
5580
|
+
username: string;
|
|
5581
|
+
skillName: string;
|
|
5582
|
+
skillLevel?: number | undefined;
|
|
5583
|
+
}>;
|
|
5584
|
+
export declare const CreateServiceTerritorySchema: z.ZodObject<{
|
|
5585
|
+
territoryName: z.ZodString;
|
|
5586
|
+
label: z.ZodString;
|
|
5587
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
5588
|
+
operatingHoursName: z.ZodOptional<z.ZodString>;
|
|
5589
|
+
street: z.ZodOptional<z.ZodString>;
|
|
5590
|
+
city: z.ZodOptional<z.ZodString>;
|
|
5591
|
+
state: z.ZodOptional<z.ZodString>;
|
|
5592
|
+
country: z.ZodOptional<z.ZodString>;
|
|
5593
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
5594
|
+
}, "strict", z.ZodTypeAny, {
|
|
5595
|
+
label: string;
|
|
5596
|
+
isActive: boolean;
|
|
5597
|
+
territoryName: string;
|
|
5598
|
+
operatingHoursName?: string | undefined;
|
|
5599
|
+
street?: string | undefined;
|
|
5600
|
+
city?: string | undefined;
|
|
5601
|
+
state?: string | undefined;
|
|
5602
|
+
country?: string | undefined;
|
|
5603
|
+
postalCode?: string | undefined;
|
|
5604
|
+
}, {
|
|
5605
|
+
label: string;
|
|
5606
|
+
territoryName: string;
|
|
5607
|
+
isActive?: boolean | undefined;
|
|
5608
|
+
operatingHoursName?: string | undefined;
|
|
5609
|
+
street?: string | undefined;
|
|
5610
|
+
city?: string | undefined;
|
|
5611
|
+
state?: string | undefined;
|
|
5612
|
+
country?: string | undefined;
|
|
5613
|
+
postalCode?: string | undefined;
|
|
5614
|
+
}>;
|
|
5615
|
+
export declare const CreateWorkTypeSchema: z.ZodObject<{
|
|
5616
|
+
workTypeName: z.ZodString;
|
|
5617
|
+
label: z.ZodString;
|
|
5618
|
+
estimatedDuration: z.ZodNumber;
|
|
5619
|
+
durationType: z.ZodDefault<z.ZodEnum<["Minutes", "Hours"]>>;
|
|
5620
|
+
blockTimeBeforeWork: z.ZodDefault<z.ZodNumber>;
|
|
5621
|
+
blockTimeAfterWork: z.ZodDefault<z.ZodNumber>;
|
|
5622
|
+
skillRequirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5623
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5624
|
+
}, "strict", z.ZodTypeAny, {
|
|
5625
|
+
label: string;
|
|
5626
|
+
workTypeName: string;
|
|
5627
|
+
estimatedDuration: number;
|
|
5628
|
+
durationType: "Minutes" | "Hours";
|
|
5629
|
+
blockTimeBeforeWork: number;
|
|
5630
|
+
blockTimeAfterWork: number;
|
|
5631
|
+
description?: string | undefined;
|
|
5632
|
+
skillRequirements?: string[] | undefined;
|
|
5633
|
+
}, {
|
|
5634
|
+
label: string;
|
|
5635
|
+
workTypeName: string;
|
|
5636
|
+
estimatedDuration: number;
|
|
5637
|
+
description?: string | undefined;
|
|
5638
|
+
durationType?: "Minutes" | "Hours" | undefined;
|
|
5639
|
+
blockTimeBeforeWork?: number | undefined;
|
|
5640
|
+
blockTimeAfterWork?: number | undefined;
|
|
5641
|
+
skillRequirements?: string[] | undefined;
|
|
5642
|
+
}>;
|
|
5643
|
+
export declare const CreateMessagingChannelSchema: z.ZodObject<{
|
|
5644
|
+
channelName: z.ZodString;
|
|
5645
|
+
label: z.ZodString;
|
|
5646
|
+
channelType: z.ZodEnum<["SMS", "WhatsApp", "Facebook", "AppleMessages", "GoogleBusinessMessages", "LINE", "Voice", "EmbeddedMessaging"]>;
|
|
5647
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
5648
|
+
pageId: z.ZodOptional<z.ZodString>;
|
|
5649
|
+
routingType: z.ZodDefault<z.ZodEnum<["Queue", "Bot", "None"]>>;
|
|
5650
|
+
queueName: z.ZodOptional<z.ZodString>;
|
|
5651
|
+
botName: z.ZodOptional<z.ZodString>;
|
|
5652
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5653
|
+
}, "strict", z.ZodTypeAny, {
|
|
5654
|
+
label: string;
|
|
5655
|
+
channelName: string;
|
|
5656
|
+
channelType: "Facebook" | "Voice" | "SMS" | "WhatsApp" | "AppleMessages" | "GoogleBusinessMessages" | "LINE" | "EmbeddedMessaging";
|
|
5657
|
+
routingType: "Queue" | "None" | "Bot";
|
|
5658
|
+
description?: string | undefined;
|
|
5659
|
+
phoneNumber?: string | undefined;
|
|
5660
|
+
pageId?: string | undefined;
|
|
5661
|
+
queueName?: string | undefined;
|
|
5662
|
+
botName?: string | undefined;
|
|
5663
|
+
}, {
|
|
5664
|
+
label: string;
|
|
5665
|
+
channelName: string;
|
|
5666
|
+
channelType: "Facebook" | "Voice" | "SMS" | "WhatsApp" | "AppleMessages" | "GoogleBusinessMessages" | "LINE" | "EmbeddedMessaging";
|
|
5667
|
+
description?: string | undefined;
|
|
5668
|
+
phoneNumber?: string | undefined;
|
|
5669
|
+
pageId?: string | undefined;
|
|
5670
|
+
routingType?: "Queue" | "None" | "Bot" | undefined;
|
|
5671
|
+
queueName?: string | undefined;
|
|
5672
|
+
botName?: string | undefined;
|
|
5673
|
+
}>;
|
|
5674
|
+
export declare const CreateChatButtonSchema: z.ZodObject<{
|
|
5675
|
+
buttonName: z.ZodString;
|
|
5676
|
+
label: z.ZodString;
|
|
5677
|
+
routingType: z.ZodDefault<z.ZodEnum<["Queue", "Bot"]>>;
|
|
5678
|
+
queueName: z.ZodOptional<z.ZodString>;
|
|
5679
|
+
botName: z.ZodOptional<z.ZodString>;
|
|
5680
|
+
windowLanguage: z.ZodDefault<z.ZodString>;
|
|
5681
|
+
inviteRenderer: z.ZodOptional<z.ZodString>;
|
|
5682
|
+
customAgentName: z.ZodOptional<z.ZodString>;
|
|
5683
|
+
optionsHasTimeoutAlert: z.ZodDefault<z.ZodBoolean>;
|
|
5684
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5685
|
+
}, "strict", z.ZodTypeAny, {
|
|
5686
|
+
label: string;
|
|
5687
|
+
routingType: "Queue" | "Bot";
|
|
5688
|
+
buttonName: string;
|
|
5689
|
+
windowLanguage: string;
|
|
5690
|
+
optionsHasTimeoutAlert: boolean;
|
|
5691
|
+
description?: string | undefined;
|
|
5692
|
+
queueName?: string | undefined;
|
|
5693
|
+
botName?: string | undefined;
|
|
5694
|
+
inviteRenderer?: string | undefined;
|
|
5695
|
+
customAgentName?: string | undefined;
|
|
5696
|
+
}, {
|
|
5697
|
+
label: string;
|
|
5698
|
+
buttonName: string;
|
|
5699
|
+
description?: string | undefined;
|
|
5700
|
+
routingType?: "Queue" | "Bot" | undefined;
|
|
5701
|
+
queueName?: string | undefined;
|
|
5702
|
+
botName?: string | undefined;
|
|
5703
|
+
windowLanguage?: string | undefined;
|
|
5704
|
+
inviteRenderer?: string | undefined;
|
|
5705
|
+
customAgentName?: string | undefined;
|
|
5706
|
+
optionsHasTimeoutAlert?: boolean | undefined;
|
|
5707
|
+
}>;
|
|
5708
|
+
export declare const CreateEmbeddedServiceSchema: z.ZodObject<{
|
|
5709
|
+
deploymentName: z.ZodOptional<z.ZodString>;
|
|
5710
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
5711
|
+
label: z.ZodString;
|
|
5712
|
+
site: z.ZodString;
|
|
5713
|
+
channelType: z.ZodDefault<z.ZodEnum<["LiveAgent", "MessagingChannel", "EmbeddedMessaging"]>>;
|
|
5714
|
+
chatButtonName: z.ZodOptional<z.ZodString>;
|
|
5715
|
+
messagingChannelName: z.ZodOptional<z.ZodString>;
|
|
5716
|
+
primaryColor: z.ZodOptional<z.ZodString>;
|
|
5717
|
+
secondaryColor: z.ZodOptional<z.ZodString>;
|
|
5718
|
+
fontName: z.ZodOptional<z.ZodString>;
|
|
5719
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5720
|
+
}, "strict", z.ZodTypeAny, {
|
|
5721
|
+
label: string;
|
|
5722
|
+
channelType: "EmbeddedMessaging" | "LiveAgent" | "MessagingChannel";
|
|
5723
|
+
site: string;
|
|
5724
|
+
description?: string | undefined;
|
|
5725
|
+
deploymentName?: string | undefined;
|
|
5726
|
+
serviceName?: string | undefined;
|
|
5727
|
+
chatButtonName?: string | undefined;
|
|
5728
|
+
messagingChannelName?: string | undefined;
|
|
5729
|
+
primaryColor?: string | undefined;
|
|
5730
|
+
secondaryColor?: string | undefined;
|
|
5731
|
+
fontName?: string | undefined;
|
|
5732
|
+
}, {
|
|
5733
|
+
label: string;
|
|
5734
|
+
site: string;
|
|
5735
|
+
description?: string | undefined;
|
|
5736
|
+
channelType?: "EmbeddedMessaging" | "LiveAgent" | "MessagingChannel" | undefined;
|
|
5737
|
+
deploymentName?: string | undefined;
|
|
5738
|
+
serviceName?: string | undefined;
|
|
5739
|
+
chatButtonName?: string | undefined;
|
|
5740
|
+
messagingChannelName?: string | undefined;
|
|
5741
|
+
primaryColor?: string | undefined;
|
|
5742
|
+
secondaryColor?: string | undefined;
|
|
5743
|
+
fontName?: string | undefined;
|
|
5744
|
+
}>;
|
|
5745
|
+
export declare const CreateBotRoutingSchema: z.ZodObject<{
|
|
5746
|
+
botName: z.ZodString;
|
|
5747
|
+
transferToQueueName: z.ZodString;
|
|
5748
|
+
transferMessage: z.ZodOptional<z.ZodString>;
|
|
5749
|
+
escalationConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5750
|
+
trigger: z.ZodEnum<["agentRequested", "unrecognized", "maxErrorCount", "custom"]>;
|
|
5751
|
+
action: z.ZodDefault<z.ZodEnum<["TransferToQueue", "EndChat", "SetVariable"]>>;
|
|
5752
|
+
}, "strip", z.ZodTypeAny, {
|
|
5753
|
+
action: "TransferToQueue" | "EndChat" | "SetVariable";
|
|
5754
|
+
trigger: "custom" | "agentRequested" | "unrecognized" | "maxErrorCount";
|
|
5755
|
+
}, {
|
|
5756
|
+
trigger: "custom" | "agentRequested" | "unrecognized" | "maxErrorCount";
|
|
5757
|
+
action?: "TransferToQueue" | "EndChat" | "SetVariable" | undefined;
|
|
5758
|
+
}>, "many">>;
|
|
5759
|
+
}, "strict", z.ZodTypeAny, {
|
|
5760
|
+
botName: string;
|
|
5761
|
+
transferToQueueName: string;
|
|
5762
|
+
transferMessage?: string | undefined;
|
|
5763
|
+
escalationConditions?: {
|
|
5764
|
+
action: "TransferToQueue" | "EndChat" | "SetVariable";
|
|
5765
|
+
trigger: "custom" | "agentRequested" | "unrecognized" | "maxErrorCount";
|
|
5766
|
+
}[] | undefined;
|
|
5767
|
+
}, {
|
|
5768
|
+
botName: string;
|
|
5769
|
+
transferToQueueName: string;
|
|
5770
|
+
transferMessage?: string | undefined;
|
|
5771
|
+
escalationConditions?: {
|
|
5772
|
+
trigger: "custom" | "agentRequested" | "unrecognized" | "maxErrorCount";
|
|
5773
|
+
action?: "TransferToQueue" | "EndChat" | "SetVariable" | undefined;
|
|
5774
|
+
}[] | undefined;
|
|
5775
|
+
}>;
|
|
5776
|
+
export declare const CreateLightningAppPageSchema: z.ZodObject<{
|
|
5777
|
+
pageName: z.ZodString;
|
|
5778
|
+
label: z.ZodString;
|
|
5779
|
+
template: z.ZodDefault<z.ZodString>;
|
|
5780
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5781
|
+
componentName: z.ZodString;
|
|
5782
|
+
region: z.ZodString;
|
|
5783
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
5784
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5785
|
+
}, "strip", z.ZodTypeAny, {
|
|
5786
|
+
componentName: string;
|
|
5787
|
+
region: string;
|
|
5788
|
+
order?: number | undefined;
|
|
5789
|
+
properties?: Record<string, unknown> | undefined;
|
|
5790
|
+
}, {
|
|
5791
|
+
componentName: string;
|
|
5792
|
+
region: string;
|
|
5793
|
+
order?: number | undefined;
|
|
5794
|
+
properties?: Record<string, unknown> | undefined;
|
|
5795
|
+
}>, "many">>;
|
|
5796
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5797
|
+
}, "strict", z.ZodTypeAny, {
|
|
5798
|
+
label: string;
|
|
5799
|
+
template: string;
|
|
5800
|
+
pageName: string;
|
|
5801
|
+
description?: string | undefined;
|
|
5802
|
+
components?: {
|
|
5803
|
+
componentName: string;
|
|
5804
|
+
region: string;
|
|
5805
|
+
order?: number | undefined;
|
|
5806
|
+
properties?: Record<string, unknown> | undefined;
|
|
5807
|
+
}[] | undefined;
|
|
5808
|
+
}, {
|
|
5809
|
+
label: string;
|
|
5810
|
+
pageName: string;
|
|
5811
|
+
description?: string | undefined;
|
|
5812
|
+
template?: string | undefined;
|
|
5813
|
+
components?: {
|
|
5814
|
+
componentName: string;
|
|
5815
|
+
region: string;
|
|
5816
|
+
order?: number | undefined;
|
|
5817
|
+
properties?: Record<string, unknown> | undefined;
|
|
5818
|
+
}[] | undefined;
|
|
5819
|
+
}>;
|
|
5820
|
+
export declare const DeleteRecordSchema: z.ZodObject<{
|
|
5821
|
+
objectApiName: z.ZodString;
|
|
5822
|
+
recordId: z.ZodString;
|
|
5823
|
+
}, "strict", z.ZodTypeAny, {
|
|
5824
|
+
objectApiName: string;
|
|
5825
|
+
recordId: string;
|
|
5826
|
+
}, {
|
|
5827
|
+
objectApiName: string;
|
|
5828
|
+
recordId: string;
|
|
5829
|
+
}>;
|
|
5830
|
+
export declare const GetSetupAuditTrailSchema: z.ZodObject<{
|
|
5831
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5832
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
5833
|
+
createdByUsername: z.ZodOptional<z.ZodString>;
|
|
5834
|
+
section: z.ZodOptional<z.ZodString>;
|
|
5835
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5836
|
+
}, "strict", z.ZodTypeAny, {
|
|
5837
|
+
limit: number;
|
|
5838
|
+
section?: string | undefined;
|
|
5839
|
+
startDate?: string | undefined;
|
|
5840
|
+
endDate?: string | undefined;
|
|
5841
|
+
createdByUsername?: string | undefined;
|
|
5842
|
+
}, {
|
|
5843
|
+
section?: string | undefined;
|
|
5844
|
+
limit?: number | undefined;
|
|
5845
|
+
startDate?: string | undefined;
|
|
5846
|
+
endDate?: string | undefined;
|
|
5847
|
+
createdByUsername?: string | undefined;
|
|
5848
|
+
}>;
|
|
5849
|
+
export declare const GetLoginHistorySchema: z.ZodObject<{
|
|
5850
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5851
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
5852
|
+
username: z.ZodOptional<z.ZodString>;
|
|
5853
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5854
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5855
|
+
}, "strict", z.ZodTypeAny, {
|
|
5856
|
+
limit: number;
|
|
5857
|
+
status?: string | undefined;
|
|
5858
|
+
username?: string | undefined;
|
|
5859
|
+
startDate?: string | undefined;
|
|
5860
|
+
endDate?: string | undefined;
|
|
5861
|
+
}, {
|
|
5862
|
+
status?: string | undefined;
|
|
5863
|
+
username?: string | undefined;
|
|
5864
|
+
limit?: number | undefined;
|
|
5865
|
+
startDate?: string | undefined;
|
|
5866
|
+
endDate?: string | undefined;
|
|
5867
|
+
}>;
|
|
5868
|
+
export declare const GetEventLogsSchema: z.ZodObject<{
|
|
5869
|
+
eventType: z.ZodString;
|
|
5870
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
5871
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
5872
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5873
|
+
}, "strict", z.ZodTypeAny, {
|
|
5874
|
+
limit: number;
|
|
5875
|
+
eventType: string;
|
|
5876
|
+
startDate?: string | undefined;
|
|
5877
|
+
endDate?: string | undefined;
|
|
5878
|
+
}, {
|
|
5879
|
+
eventType: string;
|
|
5880
|
+
limit?: number | undefined;
|
|
5881
|
+
startDate?: string | undefined;
|
|
5882
|
+
endDate?: string | undefined;
|
|
5883
|
+
}>;
|
|
5884
|
+
export declare const GetFieldHistorySchema: z.ZodObject<{
|
|
5885
|
+
objectApiName: z.ZodString;
|
|
5886
|
+
recordId: z.ZodString;
|
|
5887
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5888
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
5889
|
+
}, "strict", z.ZodTypeAny, {
|
|
5890
|
+
objectApiName: string;
|
|
5891
|
+
limit: number;
|
|
5892
|
+
recordId: string;
|
|
5893
|
+
fields?: string[] | undefined;
|
|
5894
|
+
}, {
|
|
5895
|
+
objectApiName: string;
|
|
5896
|
+
recordId: string;
|
|
5897
|
+
fields?: string[] | undefined;
|
|
5898
|
+
limit?: number | undefined;
|
|
5899
|
+
}>;
|
|
5900
|
+
export declare const CompareOrgsSchema: z.ZodObject<{
|
|
5901
|
+
sourceAlias: z.ZodOptional<z.ZodString>;
|
|
5902
|
+
targetAlias: z.ZodOptional<z.ZodString>;
|
|
5903
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
5904
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5905
|
+
metadataTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5906
|
+
}, "strict", z.ZodTypeAny, {
|
|
5907
|
+
metadataTypes: string[];
|
|
5908
|
+
metadataType?: string | undefined;
|
|
5909
|
+
limit?: number | undefined;
|
|
5910
|
+
sourceAlias?: string | undefined;
|
|
5911
|
+
targetAlias?: string | undefined;
|
|
5912
|
+
}, {
|
|
5913
|
+
metadataType?: string | undefined;
|
|
5914
|
+
limit?: number | undefined;
|
|
5915
|
+
sourceAlias?: string | undefined;
|
|
5916
|
+
targetAlias?: string | undefined;
|
|
5917
|
+
metadataTypes?: string[] | undefined;
|
|
5918
|
+
}>;
|
|
5919
|
+
export declare const CreateCertificateSchema: z.ZodObject<{
|
|
5920
|
+
certName: z.ZodString;
|
|
5921
|
+
label: z.ZodString;
|
|
5922
|
+
keySize: z.ZodEffects<z.ZodDefault<z.ZodEnum<["2048", "4096"]>>, "2048" | "4096", unknown>;
|
|
5923
|
+
expirationDate: z.ZodOptional<z.ZodString>;
|
|
5924
|
+
privateKeyExportable: z.ZodDefault<z.ZodBoolean>;
|
|
5925
|
+
}, "strict", z.ZodTypeAny, {
|
|
5926
|
+
label: string;
|
|
5927
|
+
certName: string;
|
|
5928
|
+
keySize: "2048" | "4096";
|
|
5929
|
+
privateKeyExportable: boolean;
|
|
5930
|
+
expirationDate?: string | undefined;
|
|
5931
|
+
}, {
|
|
5932
|
+
label: string;
|
|
5933
|
+
certName: string;
|
|
5934
|
+
keySize?: unknown;
|
|
5935
|
+
expirationDate?: string | undefined;
|
|
5936
|
+
privateKeyExportable?: boolean | undefined;
|
|
5937
|
+
}>;
|
|
5938
|
+
export declare const CreateEventRelaySchema: z.ZodObject<{
|
|
5939
|
+
relayName: z.ZodString;
|
|
5940
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5941
|
+
eventChannel: z.ZodOptional<z.ZodString>;
|
|
5942
|
+
platformEventName: z.ZodOptional<z.ZodString>;
|
|
5943
|
+
relayChannel: z.ZodOptional<z.ZodString>;
|
|
5944
|
+
destinationType: z.ZodOptional<z.ZodEnum<["AmazonEventBus", "AmazonEventBridge", "EventBus"]>>;
|
|
5945
|
+
destinationResourceName: z.ZodOptional<z.ZodString>;
|
|
5946
|
+
state: z.ZodDefault<z.ZodEnum<["RUN", "STOP", "PAUSE"]>>;
|
|
5947
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5948
|
+
}, "strict", z.ZodTypeAny, {
|
|
5949
|
+
state: "RUN" | "STOP" | "PAUSE";
|
|
5950
|
+
relayName: string;
|
|
5951
|
+
label?: string | undefined;
|
|
5952
|
+
description?: string | undefined;
|
|
5953
|
+
eventChannel?: string | undefined;
|
|
5954
|
+
platformEventName?: string | undefined;
|
|
5955
|
+
relayChannel?: string | undefined;
|
|
5956
|
+
destinationType?: "AmazonEventBus" | "AmazonEventBridge" | "EventBus" | undefined;
|
|
5957
|
+
destinationResourceName?: string | undefined;
|
|
5958
|
+
}, {
|
|
5959
|
+
relayName: string;
|
|
5960
|
+
label?: string | undefined;
|
|
5961
|
+
description?: string | undefined;
|
|
5962
|
+
state?: "RUN" | "STOP" | "PAUSE" | undefined;
|
|
5963
|
+
eventChannel?: string | undefined;
|
|
5964
|
+
platformEventName?: string | undefined;
|
|
5965
|
+
relayChannel?: string | undefined;
|
|
5966
|
+
destinationType?: "AmazonEventBus" | "AmazonEventBridge" | "EventBus" | undefined;
|
|
5967
|
+
destinationResourceName?: string | undefined;
|
|
5968
|
+
}>;
|
|
5969
|
+
export declare const CreateLetterheadSchema: z.ZodObject<{
|
|
5970
|
+
letterheadName: z.ZodString;
|
|
5971
|
+
label: z.ZodString;
|
|
5972
|
+
headerColor: z.ZodDefault<z.ZodString>;
|
|
5973
|
+
headerFontColor: z.ZodDefault<z.ZodString>;
|
|
5974
|
+
bodyColor: z.ZodDefault<z.ZodString>;
|
|
5975
|
+
footerColor: z.ZodDefault<z.ZodString>;
|
|
5976
|
+
footerFontColor: z.ZodDefault<z.ZodString>;
|
|
5977
|
+
fontName: z.ZodDefault<z.ZodString>;
|
|
5978
|
+
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
5979
|
+
footerText: z.ZodOptional<z.ZodString>;
|
|
5980
|
+
topLineColor: z.ZodDefault<z.ZodString>;
|
|
5981
|
+
bottomLineColor: z.ZodDefault<z.ZodString>;
|
|
5982
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
5983
|
+
}, "strict", z.ZodTypeAny, {
|
|
5984
|
+
label: string;
|
|
5985
|
+
fontName: string;
|
|
5986
|
+
letterheadName: string;
|
|
5987
|
+
headerColor: string;
|
|
5988
|
+
headerFontColor: string;
|
|
5989
|
+
bodyColor: string;
|
|
5990
|
+
footerColor: string;
|
|
5991
|
+
footerFontColor: string;
|
|
5992
|
+
fontSize: number;
|
|
5993
|
+
topLineColor: string;
|
|
5994
|
+
bottomLineColor: string;
|
|
5995
|
+
footerText?: string | undefined;
|
|
5996
|
+
backgroundColor?: string | undefined;
|
|
5997
|
+
}, {
|
|
5998
|
+
label: string;
|
|
5999
|
+
letterheadName: string;
|
|
6000
|
+
fontName?: string | undefined;
|
|
6001
|
+
headerColor?: string | undefined;
|
|
6002
|
+
headerFontColor?: string | undefined;
|
|
6003
|
+
bodyColor?: string | undefined;
|
|
6004
|
+
footerColor?: string | undefined;
|
|
6005
|
+
footerFontColor?: string | undefined;
|
|
6006
|
+
fontSize?: number | undefined;
|
|
6007
|
+
footerText?: string | undefined;
|
|
6008
|
+
topLineColor?: string | undefined;
|
|
6009
|
+
bottomLineColor?: string | undefined;
|
|
6010
|
+
backgroundColor?: string | undefined;
|
|
6011
|
+
}>;
|
|
6012
|
+
export declare const SendEmailSchema: z.ZodObject<{
|
|
6013
|
+
toAddresses: z.ZodArray<z.ZodString, "many">;
|
|
6014
|
+
subject: z.ZodString;
|
|
6015
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6016
|
+
htmlBody: z.ZodOptional<z.ZodString>;
|
|
6017
|
+
templateName: z.ZodOptional<z.ZodString>;
|
|
6018
|
+
whatId: z.ZodOptional<z.ZodString>;
|
|
6019
|
+
whoId: z.ZodOptional<z.ZodString>;
|
|
6020
|
+
saveAsActivity: z.ZodDefault<z.ZodBoolean>;
|
|
6021
|
+
useSignature: z.ZodDefault<z.ZodBoolean>;
|
|
6022
|
+
ccAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6023
|
+
}, "strict", z.ZodTypeAny, {
|
|
6024
|
+
subject: string;
|
|
6025
|
+
toAddresses: string[];
|
|
6026
|
+
saveAsActivity: boolean;
|
|
6027
|
+
useSignature: boolean;
|
|
6028
|
+
body?: string | undefined;
|
|
6029
|
+
htmlBody?: string | undefined;
|
|
6030
|
+
templateName?: string | undefined;
|
|
6031
|
+
whatId?: string | undefined;
|
|
6032
|
+
whoId?: string | undefined;
|
|
6033
|
+
ccAddresses?: string[] | undefined;
|
|
6034
|
+
}, {
|
|
6035
|
+
subject: string;
|
|
6036
|
+
toAddresses: string[];
|
|
6037
|
+
body?: string | undefined;
|
|
6038
|
+
htmlBody?: string | undefined;
|
|
6039
|
+
templateName?: string | undefined;
|
|
6040
|
+
whatId?: string | undefined;
|
|
6041
|
+
whoId?: string | undefined;
|
|
6042
|
+
saveAsActivity?: boolean | undefined;
|
|
6043
|
+
useSignature?: boolean | undefined;
|
|
6044
|
+
ccAddresses?: string[] | undefined;
|
|
6045
|
+
}>;
|
|
6046
|
+
export declare const CreateEinsteinPredictionSchema: z.ZodObject<{
|
|
6047
|
+
predictionName: z.ZodString;
|
|
6048
|
+
label: z.ZodString;
|
|
6049
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
6050
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
6051
|
+
predictionType: z.ZodEffects<z.ZodEnum<["BinaryClassification", "Regression", "Classification"]>, "BinaryClassification" | "Regression" | "Classification", unknown>;
|
|
6052
|
+
targetField: z.ZodString;
|
|
6053
|
+
positiveLabel: z.ZodDefault<z.ZodString>;
|
|
6054
|
+
negativeLabel: z.ZodDefault<z.ZodString>;
|
|
6055
|
+
pushbackField: z.ZodOptional<z.ZodString>;
|
|
6056
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6057
|
+
}, "strict", z.ZodTypeAny, {
|
|
6058
|
+
label: string;
|
|
6059
|
+
targetField: string;
|
|
6060
|
+
predictionName: string;
|
|
6061
|
+
predictionType: "BinaryClassification" | "Regression" | "Classification";
|
|
6062
|
+
positiveLabel: string;
|
|
6063
|
+
negativeLabel: string;
|
|
6064
|
+
description?: string | undefined;
|
|
6065
|
+
objectName?: string | undefined;
|
|
6066
|
+
objectApiName?: string | undefined;
|
|
6067
|
+
pushbackField?: string | undefined;
|
|
6068
|
+
}, {
|
|
6069
|
+
label: string;
|
|
6070
|
+
targetField: string;
|
|
6071
|
+
predictionName: string;
|
|
6072
|
+
description?: string | undefined;
|
|
6073
|
+
objectName?: string | undefined;
|
|
6074
|
+
objectApiName?: string | undefined;
|
|
6075
|
+
predictionType?: unknown;
|
|
6076
|
+
positiveLabel?: string | undefined;
|
|
6077
|
+
negativeLabel?: string | undefined;
|
|
6078
|
+
pushbackField?: string | undefined;
|
|
6079
|
+
}>;
|
|
6080
|
+
export declare const CreateNextBestActionSchema: z.ZodObject<{
|
|
6081
|
+
strategyName: z.ZodString;
|
|
6082
|
+
label: z.ZodString;
|
|
6083
|
+
contextObjectApiName: z.ZodOptional<z.ZodString>;
|
|
6084
|
+
recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6085
|
+
name: z.ZodString;
|
|
6086
|
+
label: z.ZodString;
|
|
6087
|
+
acceptanceLabel: z.ZodDefault<z.ZodString>;
|
|
6088
|
+
rejectionLabel: z.ZodDefault<z.ZodString>;
|
|
6089
|
+
actionReference: z.ZodOptional<z.ZodString>;
|
|
6090
|
+
}, "strip", z.ZodTypeAny, {
|
|
6091
|
+
label: string;
|
|
6092
|
+
name: string;
|
|
6093
|
+
acceptanceLabel: string;
|
|
6094
|
+
rejectionLabel: string;
|
|
6095
|
+
actionReference?: string | undefined;
|
|
6096
|
+
}, {
|
|
6097
|
+
label: string;
|
|
6098
|
+
name: string;
|
|
6099
|
+
acceptanceLabel?: string | undefined;
|
|
6100
|
+
rejectionLabel?: string | undefined;
|
|
6101
|
+
actionReference?: string | undefined;
|
|
6102
|
+
}>, "many">>;
|
|
6103
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6104
|
+
}, "strict", z.ZodTypeAny, {
|
|
6105
|
+
label: string;
|
|
6106
|
+
strategyName: string;
|
|
6107
|
+
description?: string | undefined;
|
|
6108
|
+
contextObjectApiName?: string | undefined;
|
|
6109
|
+
recommendations?: {
|
|
6110
|
+
label: string;
|
|
6111
|
+
name: string;
|
|
6112
|
+
acceptanceLabel: string;
|
|
6113
|
+
rejectionLabel: string;
|
|
6114
|
+
actionReference?: string | undefined;
|
|
6115
|
+
}[] | undefined;
|
|
6116
|
+
}, {
|
|
6117
|
+
label: string;
|
|
6118
|
+
strategyName: string;
|
|
6119
|
+
description?: string | undefined;
|
|
6120
|
+
contextObjectApiName?: string | undefined;
|
|
6121
|
+
recommendations?: {
|
|
6122
|
+
label: string;
|
|
6123
|
+
name: string;
|
|
6124
|
+
acceptanceLabel?: string | undefined;
|
|
6125
|
+
rejectionLabel?: string | undefined;
|
|
6126
|
+
actionReference?: string | undefined;
|
|
6127
|
+
}[] | undefined;
|
|
6128
|
+
}>;
|
|
6129
|
+
export declare const CreateEinsteinBotSchema: z.ZodObject<{
|
|
6130
|
+
botName: z.ZodString;
|
|
6131
|
+
label: z.ZodString;
|
|
6132
|
+
defaultLocale: z.ZodDefault<z.ZodString>;
|
|
6133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6134
|
+
dialogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6135
|
+
name: z.ZodString;
|
|
6136
|
+
label: z.ZodString;
|
|
6137
|
+
type: z.ZodDefault<z.ZodEnum<["Main", "System", "Rule"]>>;
|
|
6138
|
+
isGoalStep: z.ZodDefault<z.ZodBoolean>;
|
|
6139
|
+
utterances: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6140
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6141
|
+
}, "strip", z.ZodTypeAny, {
|
|
6142
|
+
label: string;
|
|
6143
|
+
type: "Main" | "System" | "Rule";
|
|
6144
|
+
name: string;
|
|
6145
|
+
isGoalStep: boolean;
|
|
6146
|
+
utterances?: string[] | undefined;
|
|
6147
|
+
messages?: string[] | undefined;
|
|
6148
|
+
}, {
|
|
6149
|
+
label: string;
|
|
6150
|
+
name: string;
|
|
6151
|
+
type?: "Main" | "System" | "Rule" | undefined;
|
|
6152
|
+
isGoalStep?: boolean | undefined;
|
|
6153
|
+
utterances?: string[] | undefined;
|
|
6154
|
+
messages?: string[] | undefined;
|
|
6155
|
+
}>, "many">>;
|
|
6156
|
+
}, "strict", z.ZodTypeAny, {
|
|
6157
|
+
label: string;
|
|
6158
|
+
botName: string;
|
|
6159
|
+
defaultLocale: string;
|
|
6160
|
+
description?: string | undefined;
|
|
6161
|
+
dialogs?: {
|
|
6162
|
+
label: string;
|
|
6163
|
+
type: "Main" | "System" | "Rule";
|
|
6164
|
+
name: string;
|
|
6165
|
+
isGoalStep: boolean;
|
|
6166
|
+
utterances?: string[] | undefined;
|
|
6167
|
+
messages?: string[] | undefined;
|
|
6168
|
+
}[] | undefined;
|
|
6169
|
+
}, {
|
|
6170
|
+
label: string;
|
|
6171
|
+
botName: string;
|
|
6172
|
+
description?: string | undefined;
|
|
6173
|
+
defaultLocale?: string | undefined;
|
|
6174
|
+
dialogs?: {
|
|
6175
|
+
label: string;
|
|
6176
|
+
name: string;
|
|
6177
|
+
type?: "Main" | "System" | "Rule" | undefined;
|
|
6178
|
+
isGoalStep?: boolean | undefined;
|
|
6179
|
+
utterances?: string[] | undefined;
|
|
6180
|
+
messages?: string[] | undefined;
|
|
6181
|
+
}[] | undefined;
|
|
6182
|
+
}>;
|
|
6183
|
+
export declare const CreateUserRoleHierarchySchema: z.ZodObject<{
|
|
6184
|
+
roleName: z.ZodString;
|
|
6185
|
+
label: z.ZodString;
|
|
6186
|
+
parentRoleName: z.ZodOptional<z.ZodString>;
|
|
6187
|
+
caseAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
|
|
6188
|
+
contactAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
|
|
6189
|
+
opportunityAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
|
|
6190
|
+
accountAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
|
|
6191
|
+
mayForecastManagerShare: z.ZodDefault<z.ZodBoolean>;
|
|
6192
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6193
|
+
}, "strict", z.ZodTypeAny, {
|
|
6194
|
+
label: string;
|
|
6195
|
+
caseAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
|
|
6196
|
+
contactAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
|
|
6197
|
+
opportunityAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
|
|
6198
|
+
accountAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
|
|
6199
|
+
mayForecastManagerShare: boolean;
|
|
6200
|
+
roleName: string;
|
|
6201
|
+
description?: string | undefined;
|
|
6202
|
+
parentRoleName?: string | undefined;
|
|
6203
|
+
}, {
|
|
6204
|
+
label: string;
|
|
6205
|
+
roleName: string;
|
|
6206
|
+
description?: string | undefined;
|
|
6207
|
+
caseAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
|
|
6208
|
+
contactAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
|
|
6209
|
+
opportunityAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
|
|
6210
|
+
accountAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
|
|
6211
|
+
mayForecastManagerShare?: boolean | undefined;
|
|
6212
|
+
parentRoleName?: string | undefined;
|
|
6213
|
+
}>;
|
|
6214
|
+
export declare const ResetUserPasswordSchema: z.ZodObject<{
|
|
6215
|
+
username: z.ZodString;
|
|
6216
|
+
sendEmail: z.ZodDefault<z.ZodBoolean>;
|
|
6217
|
+
}, "strict", z.ZodTypeAny, {
|
|
6218
|
+
username: string;
|
|
6219
|
+
sendEmail: boolean;
|
|
6220
|
+
}, {
|
|
6221
|
+
username: string;
|
|
6222
|
+
sendEmail?: boolean | undefined;
|
|
6223
|
+
}>;
|
|
6224
|
+
export declare const FreezeUserSchema: z.ZodObject<{
|
|
6225
|
+
username: z.ZodString;
|
|
6226
|
+
freeze: z.ZodBoolean;
|
|
6227
|
+
}, "strict", z.ZodTypeAny, {
|
|
6228
|
+
username: string;
|
|
6229
|
+
freeze: boolean;
|
|
6230
|
+
}, {
|
|
6231
|
+
username: string;
|
|
6232
|
+
freeze: boolean;
|
|
6233
|
+
}>;
|
|
6234
|
+
export declare const CreateETMTerritorySchema: z.ZodObject<{
|
|
6235
|
+
territoryName: z.ZodString;
|
|
6236
|
+
label: z.ZodString;
|
|
6237
|
+
territoryType: z.ZodOptional<z.ZodString>;
|
|
6238
|
+
parentTerritoryName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
6239
|
+
accountAccessLevel: z.ZodDefault<z.ZodEnum<["View", "Edit", "All", "None"]>>;
|
|
6240
|
+
opportunityAccessLevel: z.ZodDefault<z.ZodEnum<["View", "Edit", "All", "None"]>>;
|
|
6241
|
+
caseAccessLevel: z.ZodDefault<z.ZodEnum<["View", "Edit", "All", "None"]>>;
|
|
6242
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6243
|
+
}, "strict", z.ZodTypeAny, {
|
|
6244
|
+
label: string;
|
|
6245
|
+
caseAccessLevel: "Edit" | "None" | "All" | "View";
|
|
6246
|
+
opportunityAccessLevel: "Edit" | "None" | "All" | "View";
|
|
6247
|
+
accountAccessLevel: "Edit" | "None" | "All" | "View";
|
|
6248
|
+
territoryName: string;
|
|
6249
|
+
description?: string | undefined;
|
|
6250
|
+
territoryType?: string | undefined;
|
|
6251
|
+
parentTerritoryName?: string | null | undefined;
|
|
6252
|
+
}, {
|
|
6253
|
+
label: string;
|
|
6254
|
+
territoryName: string;
|
|
6255
|
+
description?: string | undefined;
|
|
6256
|
+
caseAccessLevel?: "Edit" | "None" | "All" | "View" | undefined;
|
|
6257
|
+
opportunityAccessLevel?: "Edit" | "None" | "All" | "View" | undefined;
|
|
6258
|
+
accountAccessLevel?: "Edit" | "None" | "All" | "View" | undefined;
|
|
6259
|
+
territoryType?: string | undefined;
|
|
6260
|
+
parentTerritoryName?: string | null | undefined;
|
|
6261
|
+
}>;
|
|
6262
|
+
export declare const AssignTerritoryToUserSchema: z.ZodObject<{
|
|
6263
|
+
territoryName: z.ZodString;
|
|
6264
|
+
username: z.ZodString;
|
|
6265
|
+
roleInTerritory: z.ZodDefault<z.ZodEnum<["Salesperson", "AccountManager", "Owner"]>>;
|
|
6266
|
+
}, "strict", z.ZodTypeAny, {
|
|
6267
|
+
username: string;
|
|
6268
|
+
territoryName: string;
|
|
6269
|
+
roleInTerritory: "Salesperson" | "AccountManager" | "Owner";
|
|
6270
|
+
}, {
|
|
6271
|
+
username: string;
|
|
6272
|
+
territoryName: string;
|
|
6273
|
+
roleInTerritory?: "Salesperson" | "AccountManager" | "Owner" | undefined;
|
|
6274
|
+
}>;
|
|
6275
|
+
export declare const CreateForecastHierarchySchema: z.ZodObject<{
|
|
6276
|
+
forecastingType: z.ZodDefault<z.ZodEnum<["OpportunityRevenue", "OpportunityQuantity", "OverlayRevenue", "OverlayQuantity", "ProductFamily"]>>;
|
|
6277
|
+
roleName: z.ZodOptional<z.ZodString>;
|
|
6278
|
+
displayCurrency: z.ZodDefault<z.ZodString>;
|
|
6279
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
6280
|
+
}, "strict", z.ZodTypeAny, {
|
|
6281
|
+
isActive: boolean;
|
|
6282
|
+
forecastingType: "OpportunityRevenue" | "OpportunityQuantity" | "OverlayRevenue" | "OverlayQuantity" | "ProductFamily";
|
|
6283
|
+
displayCurrency: string;
|
|
6284
|
+
roleName?: string | undefined;
|
|
6285
|
+
}, {
|
|
6286
|
+
isActive?: boolean | undefined;
|
|
6287
|
+
roleName?: string | undefined;
|
|
6288
|
+
forecastingType?: "OpportunityRevenue" | "OpportunityQuantity" | "OverlayRevenue" | "OverlayQuantity" | "ProductFamily" | undefined;
|
|
6289
|
+
displayCurrency?: string | undefined;
|
|
6290
|
+
}>;
|
|
6291
|
+
export declare const DeleteCustomObjectSchema: z.ZodObject<{
|
|
6292
|
+
objectApiName: z.ZodString;
|
|
6293
|
+
confirmDelete: z.ZodBoolean;
|
|
6294
|
+
}, "strict", z.ZodTypeAny, {
|
|
6295
|
+
objectApiName: string;
|
|
6296
|
+
confirmDelete: boolean;
|
|
6297
|
+
}, {
|
|
6298
|
+
objectApiName: string;
|
|
6299
|
+
confirmDelete: boolean;
|
|
6300
|
+
}>;
|
|
6301
|
+
export declare const DeleteCustomFieldSchema: z.ZodObject<{
|
|
6302
|
+
objectApiName: z.ZodString;
|
|
6303
|
+
fieldApiName: z.ZodString;
|
|
6304
|
+
confirmDelete: z.ZodBoolean;
|
|
6305
|
+
}, "strict", z.ZodTypeAny, {
|
|
6306
|
+
objectApiName: string;
|
|
6307
|
+
fieldApiName: string;
|
|
6308
|
+
confirmDelete: boolean;
|
|
6309
|
+
}, {
|
|
6310
|
+
objectApiName: string;
|
|
6311
|
+
fieldApiName: string;
|
|
6312
|
+
confirmDelete: boolean;
|
|
6313
|
+
}>;
|
|
6314
|
+
export declare const CreateRollupSummaryFieldSchema: z.ZodObject<{
|
|
6315
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
6316
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
6317
|
+
fieldName: z.ZodString;
|
|
6318
|
+
label: z.ZodString;
|
|
6319
|
+
summaryObject: z.ZodString;
|
|
6320
|
+
summaryType: z.ZodOptional<z.ZodEnum<["COUNT", "SUM", "MIN", "MAX"]>>;
|
|
6321
|
+
summaryOperation: z.ZodOptional<z.ZodEnum<["COUNT", "SUM", "MIN", "MAX"]>>;
|
|
6322
|
+
relationshipField: z.ZodOptional<z.ZodString>;
|
|
6323
|
+
aggregatedField: z.ZodOptional<z.ZodString>;
|
|
6324
|
+
filterCriteria: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6325
|
+
field: z.ZodString;
|
|
6326
|
+
operator: z.ZodEnum<["equals", "notEqual", "lessThan", "greaterThan", "lessOrEqual", "greaterOrEqual", "contains", "notContain", "startsWith"]>;
|
|
6327
|
+
value: z.ZodString;
|
|
6328
|
+
}, "strip", z.ZodTypeAny, {
|
|
6329
|
+
value: string;
|
|
6330
|
+
operator: "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith";
|
|
6331
|
+
field: string;
|
|
6332
|
+
}, {
|
|
6333
|
+
value: string;
|
|
6334
|
+
operator: "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith";
|
|
6335
|
+
field: string;
|
|
6336
|
+
}>, "many">]>>;
|
|
6337
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6338
|
+
}, "strict", z.ZodTypeAny, {
|
|
6339
|
+
label: string;
|
|
6340
|
+
fieldName: string;
|
|
6341
|
+
summaryObject: string;
|
|
6342
|
+
description?: string | undefined;
|
|
6343
|
+
objectName?: string | undefined;
|
|
6344
|
+
objectApiName?: string | undefined;
|
|
6345
|
+
filterCriteria?: string | {
|
|
6346
|
+
value: string;
|
|
6347
|
+
operator: "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith";
|
|
6348
|
+
field: string;
|
|
6349
|
+
}[] | undefined;
|
|
6350
|
+
summaryType?: "COUNT" | "SUM" | "MIN" | "MAX" | undefined;
|
|
6351
|
+
summaryOperation?: "COUNT" | "SUM" | "MIN" | "MAX" | undefined;
|
|
6352
|
+
relationshipField?: string | undefined;
|
|
6353
|
+
aggregatedField?: string | undefined;
|
|
6354
|
+
}, {
|
|
6355
|
+
label: string;
|
|
6356
|
+
fieldName: string;
|
|
6357
|
+
summaryObject: string;
|
|
6358
|
+
description?: string | undefined;
|
|
6359
|
+
objectName?: string | undefined;
|
|
6360
|
+
objectApiName?: string | undefined;
|
|
6361
|
+
filterCriteria?: string | {
|
|
6362
|
+
value: string;
|
|
6363
|
+
operator: "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith";
|
|
6364
|
+
field: string;
|
|
6365
|
+
}[] | undefined;
|
|
6366
|
+
summaryType?: "COUNT" | "SUM" | "MIN" | "MAX" | undefined;
|
|
6367
|
+
summaryOperation?: "COUNT" | "SUM" | "MIN" | "MAX" | undefined;
|
|
6368
|
+
relationshipField?: string | undefined;
|
|
6369
|
+
aggregatedField?: string | undefined;
|
|
6370
|
+
}>;
|
|
6371
|
+
export declare const CreateExternalIdFieldSchema: z.ZodObject<{
|
|
6372
|
+
objectApiName: z.ZodString;
|
|
6373
|
+
fieldName: z.ZodString;
|
|
6374
|
+
label: z.ZodString;
|
|
6375
|
+
fieldType: z.ZodDefault<z.ZodEnum<["Text", "Number", "Email", "AutoNumber"]>>;
|
|
6376
|
+
isUnique: z.ZodDefault<z.ZodBoolean>;
|
|
6377
|
+
isCaseSensitive: z.ZodDefault<z.ZodBoolean>;
|
|
6378
|
+
length: z.ZodDefault<z.ZodNumber>;
|
|
6379
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6380
|
+
}, "strict", z.ZodTypeAny, {
|
|
6381
|
+
label: string;
|
|
6382
|
+
length: number;
|
|
6383
|
+
fieldName: string;
|
|
6384
|
+
objectApiName: string;
|
|
6385
|
+
fieldType: "Text" | "AutoNumber" | "Number" | "Email";
|
|
6386
|
+
isUnique: boolean;
|
|
6387
|
+
isCaseSensitive: boolean;
|
|
6388
|
+
description?: string | undefined;
|
|
6389
|
+
}, {
|
|
6390
|
+
label: string;
|
|
6391
|
+
fieldName: string;
|
|
6392
|
+
objectApiName: string;
|
|
6393
|
+
description?: string | undefined;
|
|
6394
|
+
length?: number | undefined;
|
|
6395
|
+
fieldType?: "Text" | "AutoNumber" | "Number" | "Email" | undefined;
|
|
6396
|
+
isUnique?: boolean | undefined;
|
|
6397
|
+
isCaseSensitive?: boolean | undefined;
|
|
6398
|
+
}>;
|
|
6399
|
+
export declare const EnableObjectFeaturesSchema: z.ZodObject<{
|
|
6400
|
+
objectApiName: z.ZodString;
|
|
6401
|
+
enableHistory: z.ZodOptional<z.ZodBoolean>;
|
|
6402
|
+
enableFeeds: z.ZodOptional<z.ZodBoolean>;
|
|
6403
|
+
enableSearch: z.ZodOptional<z.ZodBoolean>;
|
|
6404
|
+
enableReports: z.ZodOptional<z.ZodBoolean>;
|
|
6405
|
+
enableActivities: z.ZodOptional<z.ZodBoolean>;
|
|
6406
|
+
enableBulkApi: z.ZodOptional<z.ZodBoolean>;
|
|
6407
|
+
}, "strict", z.ZodTypeAny, {
|
|
6408
|
+
objectApiName: string;
|
|
6409
|
+
enableActivities?: boolean | undefined;
|
|
6410
|
+
enableHistory?: boolean | undefined;
|
|
6411
|
+
enableReports?: boolean | undefined;
|
|
6412
|
+
enableSearch?: boolean | undefined;
|
|
6413
|
+
enableFeeds?: boolean | undefined;
|
|
6414
|
+
enableBulkApi?: boolean | undefined;
|
|
6415
|
+
}, {
|
|
6416
|
+
objectApiName: string;
|
|
6417
|
+
enableActivities?: boolean | undefined;
|
|
6418
|
+
enableHistory?: boolean | undefined;
|
|
6419
|
+
enableReports?: boolean | undefined;
|
|
6420
|
+
enableSearch?: boolean | undefined;
|
|
6421
|
+
enableFeeds?: boolean | undefined;
|
|
6422
|
+
enableBulkApi?: boolean | undefined;
|
|
6423
|
+
}>;
|
|
6424
|
+
export declare const UpdateFlowSchema: z.ZodObject<{
|
|
6425
|
+
flowApiName: z.ZodString;
|
|
6426
|
+
newLabel: z.ZodOptional<z.ZodString>;
|
|
6427
|
+
newDescription: z.ZodOptional<z.ZodString>;
|
|
6428
|
+
variablesToAdd: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6429
|
+
name: z.ZodString;
|
|
6430
|
+
dataType: z.ZodEnum<["String", "Number", "Currency", "Boolean", "Date", "DateTime", "SObject", "Apex", "Multipicklist", "Picklist"]>;
|
|
6431
|
+
isInput: z.ZodDefault<z.ZodBoolean>;
|
|
6432
|
+
isOutput: z.ZodDefault<z.ZodBoolean>;
|
|
6433
|
+
objectType: z.ZodOptional<z.ZodString>;
|
|
6434
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
}, "strip", z.ZodTypeAny, {
|
|
6436
|
+
name: string;
|
|
6437
|
+
dataType: "Number" | "Currency" | "Date" | "DateTime" | "Picklist" | "String" | "Boolean" | "SObject" | "Apex" | "Multipicklist";
|
|
6438
|
+
isInput: boolean;
|
|
6439
|
+
isOutput: boolean;
|
|
6440
|
+
objectType?: string | undefined;
|
|
6441
|
+
defaultValue?: string | undefined;
|
|
6442
|
+
}, {
|
|
6443
|
+
name: string;
|
|
6444
|
+
dataType: "Number" | "Currency" | "Date" | "DateTime" | "Picklist" | "String" | "Boolean" | "SObject" | "Apex" | "Multipicklist";
|
|
6445
|
+
objectType?: string | undefined;
|
|
6446
|
+
isInput?: boolean | undefined;
|
|
6447
|
+
isOutput?: boolean | undefined;
|
|
6448
|
+
defaultValue?: string | undefined;
|
|
6449
|
+
}>, "many">>;
|
|
6450
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6452
|
+
}, "strict", z.ZodTypeAny, {
|
|
6453
|
+
flowApiName: string;
|
|
6454
|
+
label?: string | undefined;
|
|
6455
|
+
description?: string | undefined;
|
|
6456
|
+
newLabel?: string | undefined;
|
|
6457
|
+
newDescription?: string | undefined;
|
|
6458
|
+
variablesToAdd?: {
|
|
6459
|
+
name: string;
|
|
6460
|
+
dataType: "Number" | "Currency" | "Date" | "DateTime" | "Picklist" | "String" | "Boolean" | "SObject" | "Apex" | "Multipicklist";
|
|
6461
|
+
isInput: boolean;
|
|
6462
|
+
isOutput: boolean;
|
|
6463
|
+
objectType?: string | undefined;
|
|
6464
|
+
defaultValue?: string | undefined;
|
|
6465
|
+
}[] | undefined;
|
|
6466
|
+
}, {
|
|
6467
|
+
flowApiName: string;
|
|
6468
|
+
label?: string | undefined;
|
|
6469
|
+
description?: string | undefined;
|
|
6470
|
+
newLabel?: string | undefined;
|
|
6471
|
+
newDescription?: string | undefined;
|
|
6472
|
+
variablesToAdd?: {
|
|
6473
|
+
name: string;
|
|
6474
|
+
dataType: "Number" | "Currency" | "Date" | "DateTime" | "Picklist" | "String" | "Boolean" | "SObject" | "Apex" | "Multipicklist";
|
|
6475
|
+
objectType?: string | undefined;
|
|
6476
|
+
isInput?: boolean | undefined;
|
|
6477
|
+
isOutput?: boolean | undefined;
|
|
6478
|
+
defaultValue?: string | undefined;
|
|
6479
|
+
}[] | undefined;
|
|
6480
|
+
}>;
|
|
6481
|
+
export declare const CloneFlowSchema: z.ZodObject<{
|
|
6482
|
+
sourceFlowApiName: z.ZodOptional<z.ZodString>;
|
|
6483
|
+
sourceFlowName: z.ZodOptional<z.ZodString>;
|
|
6484
|
+
newFlowApiName: z.ZodOptional<z.ZodString>;
|
|
6485
|
+
newFlowName: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
newLabel: z.ZodOptional<z.ZodString>;
|
|
6487
|
+
activateImmediately: z.ZodDefault<z.ZodBoolean>;
|
|
6488
|
+
}, "strict", z.ZodTypeAny, {
|
|
6489
|
+
activateImmediately: boolean;
|
|
6490
|
+
newLabel?: string | undefined;
|
|
6491
|
+
sourceFlowApiName?: string | undefined;
|
|
6492
|
+
sourceFlowName?: string | undefined;
|
|
6493
|
+
newFlowApiName?: string | undefined;
|
|
6494
|
+
newFlowName?: string | undefined;
|
|
6495
|
+
}, {
|
|
6496
|
+
newLabel?: string | undefined;
|
|
6497
|
+
sourceFlowApiName?: string | undefined;
|
|
6498
|
+
sourceFlowName?: string | undefined;
|
|
6499
|
+
newFlowApiName?: string | undefined;
|
|
6500
|
+
newFlowName?: string | undefined;
|
|
6501
|
+
activateImmediately?: boolean | undefined;
|
|
6502
|
+
}>;
|
|
6503
|
+
export declare const CreateFlowTestSchema: z.ZodObject<{
|
|
6504
|
+
flowApiName: z.ZodString;
|
|
6505
|
+
testName: z.ZodString;
|
|
6506
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6507
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6508
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6509
|
+
name: z.ZodString;
|
|
6510
|
+
value: z.ZodString;
|
|
6511
|
+
}, "strip", z.ZodTypeAny, {
|
|
6512
|
+
value: string;
|
|
6513
|
+
name: string;
|
|
6514
|
+
}, {
|
|
6515
|
+
value: string;
|
|
6516
|
+
name: string;
|
|
6517
|
+
}>, "many">>;
|
|
6518
|
+
expectedOutputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6519
|
+
name: z.ZodString;
|
|
6520
|
+
expectedValue: z.ZodString;
|
|
6521
|
+
}, "strip", z.ZodTypeAny, {
|
|
6522
|
+
name: string;
|
|
6523
|
+
expectedValue: string;
|
|
6524
|
+
}, {
|
|
6525
|
+
name: string;
|
|
6526
|
+
expectedValue: string;
|
|
6527
|
+
}>, "many">>;
|
|
6528
|
+
}, "strict", z.ZodTypeAny, {
|
|
6529
|
+
flowApiName: string;
|
|
6530
|
+
testName: string;
|
|
6531
|
+
label?: string | undefined;
|
|
6532
|
+
description?: string | undefined;
|
|
6533
|
+
inputs?: {
|
|
6534
|
+
value: string;
|
|
6535
|
+
name: string;
|
|
6536
|
+
}[] | undefined;
|
|
6537
|
+
expectedOutputs?: {
|
|
6538
|
+
name: string;
|
|
6539
|
+
expectedValue: string;
|
|
6540
|
+
}[] | undefined;
|
|
6541
|
+
}, {
|
|
6542
|
+
flowApiName: string;
|
|
6543
|
+
testName: string;
|
|
6544
|
+
label?: string | undefined;
|
|
6545
|
+
description?: string | undefined;
|
|
6546
|
+
inputs?: {
|
|
6547
|
+
value: string;
|
|
6548
|
+
name: string;
|
|
6549
|
+
}[] | undefined;
|
|
6550
|
+
expectedOutputs?: {
|
|
6551
|
+
name: string;
|
|
6552
|
+
expectedValue: string;
|
|
6553
|
+
}[] | undefined;
|
|
6554
|
+
}>;
|
|
6555
|
+
export declare const CreateInvocableActionSchema: z.ZodObject<{
|
|
6556
|
+
actionName: z.ZodString;
|
|
6557
|
+
label: z.ZodString;
|
|
6558
|
+
apexMethodName: z.ZodDefault<z.ZodString>;
|
|
6559
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6560
|
+
inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6561
|
+
name: z.ZodString;
|
|
6562
|
+
label: z.ZodString;
|
|
6563
|
+
dataType: z.ZodEnum<["String", "Integer", "Long", "Double", "Boolean", "Date", "Datetime", "Id", "sObject"]>;
|
|
6564
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
6565
|
+
sObjectType: z.ZodOptional<z.ZodString>;
|
|
6566
|
+
}, "strip", z.ZodTypeAny, {
|
|
6567
|
+
label: string;
|
|
6568
|
+
required: boolean;
|
|
6569
|
+
name: string;
|
|
6570
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6571
|
+
sObjectType?: string | undefined;
|
|
6572
|
+
}, {
|
|
6573
|
+
label: string;
|
|
6574
|
+
name: string;
|
|
6575
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6576
|
+
required?: boolean | undefined;
|
|
6577
|
+
sObjectType?: string | undefined;
|
|
6578
|
+
}>, "many">>;
|
|
6579
|
+
outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6580
|
+
name: z.ZodString;
|
|
6581
|
+
label: z.ZodString;
|
|
6582
|
+
dataType: z.ZodEnum<["String", "Integer", "Long", "Double", "Boolean", "Date", "Datetime", "Id", "sObject"]>;
|
|
6583
|
+
sObjectType: z.ZodOptional<z.ZodString>;
|
|
6584
|
+
}, "strip", z.ZodTypeAny, {
|
|
6585
|
+
label: string;
|
|
6586
|
+
name: string;
|
|
6587
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6588
|
+
sObjectType?: string | undefined;
|
|
6589
|
+
}, {
|
|
6590
|
+
label: string;
|
|
6591
|
+
name: string;
|
|
6592
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6593
|
+
sObjectType?: string | undefined;
|
|
6594
|
+
}>, "many">>;
|
|
6595
|
+
className: z.ZodOptional<z.ZodString>;
|
|
6596
|
+
method: z.ZodOptional<z.ZodString>;
|
|
6597
|
+
}, "strict", z.ZodTypeAny, {
|
|
6598
|
+
label: string;
|
|
6599
|
+
apexMethodName: string;
|
|
6600
|
+
actionName: string;
|
|
6601
|
+
inputs: {
|
|
6602
|
+
label: string;
|
|
6603
|
+
required: boolean;
|
|
6604
|
+
name: string;
|
|
6605
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6606
|
+
sObjectType?: string | undefined;
|
|
6607
|
+
}[];
|
|
6608
|
+
outputs: {
|
|
6609
|
+
label: string;
|
|
6610
|
+
name: string;
|
|
6611
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6612
|
+
sObjectType?: string | undefined;
|
|
6613
|
+
}[];
|
|
6614
|
+
description?: string | undefined;
|
|
6615
|
+
className?: string | undefined;
|
|
6616
|
+
method?: string | undefined;
|
|
6617
|
+
}, {
|
|
6618
|
+
label: string;
|
|
6619
|
+
actionName: string;
|
|
6620
|
+
description?: string | undefined;
|
|
6621
|
+
apexMethodName?: string | undefined;
|
|
6622
|
+
className?: string | undefined;
|
|
6623
|
+
inputs?: {
|
|
6624
|
+
label: string;
|
|
6625
|
+
name: string;
|
|
6626
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6627
|
+
required?: boolean | undefined;
|
|
6628
|
+
sObjectType?: string | undefined;
|
|
6629
|
+
}[] | undefined;
|
|
6630
|
+
outputs?: {
|
|
6631
|
+
label: string;
|
|
6632
|
+
name: string;
|
|
6633
|
+
dataType: "Date" | "String" | "Boolean" | "Integer" | "Long" | "Double" | "Datetime" | "Id" | "sObject";
|
|
6634
|
+
sObjectType?: string | undefined;
|
|
6635
|
+
}[] | undefined;
|
|
6636
|
+
method?: string | undefined;
|
|
6637
|
+
}>;
|
|
6638
|
+
export declare const SearchApexSchema: z.ZodObject<{
|
|
6639
|
+
searchTerm: z.ZodString;
|
|
6640
|
+
searchIn: z.ZodEffects<z.ZodDefault<z.ZodEnum<["Classes", "Triggers", "Both"]>>, "Classes" | "Triggers" | "Both", unknown>;
|
|
6641
|
+
caseSensitive: z.ZodDefault<z.ZodBoolean>;
|
|
6642
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6643
|
+
searchType: z.ZodOptional<z.ZodString>;
|
|
6644
|
+
}, "strict", z.ZodTypeAny, {
|
|
6645
|
+
limit: number;
|
|
6646
|
+
searchTerm: string;
|
|
6647
|
+
searchIn: "Classes" | "Triggers" | "Both";
|
|
6648
|
+
caseSensitive: boolean;
|
|
6649
|
+
searchType?: string | undefined;
|
|
6650
|
+
}, {
|
|
6651
|
+
searchTerm: string;
|
|
6652
|
+
limit?: number | undefined;
|
|
6653
|
+
searchIn?: unknown;
|
|
6654
|
+
caseSensitive?: boolean | undefined;
|
|
6655
|
+
searchType?: string | undefined;
|
|
6656
|
+
}>;
|
|
6657
|
+
export declare const GetApexLogsSchema: z.ZodObject<{
|
|
6658
|
+
username: z.ZodOptional<z.ZodString>;
|
|
6659
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6660
|
+
operation: z.ZodOptional<z.ZodString>;
|
|
6661
|
+
}, "strict", z.ZodTypeAny, {
|
|
6662
|
+
limit: number;
|
|
6663
|
+
operation?: string | undefined;
|
|
6664
|
+
username?: string | undefined;
|
|
6665
|
+
}, {
|
|
6666
|
+
operation?: string | undefined;
|
|
6667
|
+
username?: string | undefined;
|
|
6668
|
+
limit?: number | undefined;
|
|
6669
|
+
}>;
|
|
6670
|
+
export declare const GetApexLogBodySchema: z.ZodObject<{
|
|
6671
|
+
logId: z.ZodString;
|
|
6672
|
+
}, "strict", z.ZodTypeAny, {
|
|
6673
|
+
logId: string;
|
|
6674
|
+
}, {
|
|
6675
|
+
logId: string;
|
|
6676
|
+
}>;
|
|
6677
|
+
export declare const CreateApexBatchSchema: z.ZodObject<{
|
|
6678
|
+
className: z.ZodString;
|
|
6679
|
+
sObjectType: z.ZodOptional<z.ZodString>;
|
|
6680
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
6681
|
+
queryFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6682
|
+
queryFilter: z.ZodOptional<z.ZodString>;
|
|
6683
|
+
batchSize: z.ZodDefault<z.ZodNumber>;
|
|
6684
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6685
|
+
implementsStateful: z.ZodDefault<z.ZodBoolean>;
|
|
6686
|
+
additionalCode: z.ZodOptional<z.ZodString>;
|
|
6687
|
+
}, "strict", z.ZodTypeAny, {
|
|
6688
|
+
className: string;
|
|
6689
|
+
batchSize: number;
|
|
6690
|
+
implementsStateful: boolean;
|
|
6691
|
+
description?: string | undefined;
|
|
6692
|
+
objectApiName?: string | undefined;
|
|
6693
|
+
sObjectType?: string | undefined;
|
|
6694
|
+
queryFields?: string[] | undefined;
|
|
6695
|
+
queryFilter?: string | undefined;
|
|
6696
|
+
additionalCode?: string | undefined;
|
|
6697
|
+
}, {
|
|
6698
|
+
className: string;
|
|
6699
|
+
description?: string | undefined;
|
|
6700
|
+
objectApiName?: string | undefined;
|
|
6701
|
+
sObjectType?: string | undefined;
|
|
6702
|
+
queryFields?: string[] | undefined;
|
|
6703
|
+
queryFilter?: string | undefined;
|
|
6704
|
+
batchSize?: number | undefined;
|
|
6705
|
+
implementsStateful?: boolean | undefined;
|
|
6706
|
+
additionalCode?: string | undefined;
|
|
6707
|
+
}>;
|
|
6708
|
+
export declare const CreateApexSchedulerSchema: z.ZodObject<{
|
|
6709
|
+
className: z.ZodString;
|
|
6710
|
+
jobName: z.ZodOptional<z.ZodString>;
|
|
6711
|
+
batchClass: z.ZodOptional<z.ZodString>;
|
|
6712
|
+
cronExpression: z.ZodDefault<z.ZodString>;
|
|
6713
|
+
batchClassName: z.ZodOptional<z.ZodString>;
|
|
6714
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6715
|
+
}, "strict", z.ZodTypeAny, {
|
|
6716
|
+
className: string;
|
|
6717
|
+
cronExpression: string;
|
|
6718
|
+
description?: string | undefined;
|
|
6719
|
+
jobName?: string | undefined;
|
|
6720
|
+
batchClass?: string | undefined;
|
|
6721
|
+
batchClassName?: string | undefined;
|
|
6722
|
+
}, {
|
|
6723
|
+
className: string;
|
|
6724
|
+
description?: string | undefined;
|
|
6725
|
+
jobName?: string | undefined;
|
|
6726
|
+
cronExpression?: string | undefined;
|
|
6727
|
+
batchClass?: string | undefined;
|
|
6728
|
+
batchClassName?: string | undefined;
|
|
6729
|
+
}>;
|
|
6730
|
+
export declare const RollbackDeploymentSchema: z.ZodObject<{
|
|
6731
|
+
deploymentId: z.ZodString;
|
|
6732
|
+
}, "strict", z.ZodTypeAny, {
|
|
6733
|
+
deploymentId: string;
|
|
6734
|
+
}, {
|
|
6735
|
+
deploymentId: string;
|
|
6736
|
+
}>;
|
|
6737
|
+
export declare const CreateScratchOrgSchema: z.ZodObject<{
|
|
6738
|
+
orgAlias: z.ZodString;
|
|
6739
|
+
devHubAlias: z.ZodDefault<z.ZodString>;
|
|
6740
|
+
duration: z.ZodDefault<z.ZodNumber>;
|
|
6741
|
+
features: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6742
|
+
edition: z.ZodDefault<z.ZodEnum<["Developer", "Enterprise", "Group", "Professional"]>>;
|
|
6743
|
+
adminEmail: z.ZodOptional<z.ZodString>;
|
|
6744
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6745
|
+
}, "strict", z.ZodTypeAny, {
|
|
6746
|
+
orgAlias: string;
|
|
6747
|
+
devHubAlias: string;
|
|
6748
|
+
duration: number;
|
|
6749
|
+
features: string[];
|
|
6750
|
+
edition: "Group" | "Developer" | "Enterprise" | "Professional";
|
|
6751
|
+
description?: string | undefined;
|
|
6752
|
+
adminEmail?: string | undefined;
|
|
6753
|
+
}, {
|
|
6754
|
+
orgAlias: string;
|
|
6755
|
+
description?: string | undefined;
|
|
6756
|
+
devHubAlias?: string | undefined;
|
|
6757
|
+
duration?: number | undefined;
|
|
6758
|
+
features?: string[] | undefined;
|
|
6759
|
+
edition?: "Group" | "Developer" | "Enterprise" | "Professional" | undefined;
|
|
6760
|
+
adminEmail?: string | undefined;
|
|
6761
|
+
}>;
|
|
6762
|
+
export declare const CreateSandboxSchema: z.ZodObject<{
|
|
6763
|
+
sandboxName: z.ZodString;
|
|
6764
|
+
sandboxType: z.ZodEnum<["Developer", "Developer_Pro", "Partial", "Full"]>;
|
|
6765
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6766
|
+
autoActivate: z.ZodDefault<z.ZodBoolean>;
|
|
6767
|
+
apexClassId: z.ZodOptional<z.ZodString>;
|
|
6768
|
+
sourceSandboxName: z.ZodOptional<z.ZodString>;
|
|
6769
|
+
}, "strict", z.ZodTypeAny, {
|
|
6770
|
+
sandboxName: string;
|
|
6771
|
+
sandboxType: "Developer" | "Developer_Pro" | "Partial" | "Full";
|
|
6772
|
+
autoActivate: boolean;
|
|
6773
|
+
description?: string | undefined;
|
|
6774
|
+
apexClassId?: string | undefined;
|
|
6775
|
+
sourceSandboxName?: string | undefined;
|
|
6776
|
+
}, {
|
|
6777
|
+
sandboxName: string;
|
|
6778
|
+
sandboxType: "Developer" | "Developer_Pro" | "Partial" | "Full";
|
|
6779
|
+
description?: string | undefined;
|
|
6780
|
+
autoActivate?: boolean | undefined;
|
|
6781
|
+
apexClassId?: string | undefined;
|
|
6782
|
+
sourceSandboxName?: string | undefined;
|
|
6783
|
+
}>;
|
|
6784
|
+
export declare const RefreshSandboxSchema: z.ZodObject<{
|
|
6785
|
+
sandboxName: z.ZodString;
|
|
6786
|
+
autoActivate: z.ZodDefault<z.ZodBoolean>;
|
|
6787
|
+
apexClassId: z.ZodOptional<z.ZodString>;
|
|
6788
|
+
}, "strict", z.ZodTypeAny, {
|
|
6789
|
+
sandboxName: string;
|
|
6790
|
+
autoActivate: boolean;
|
|
6791
|
+
apexClassId?: string | undefined;
|
|
6792
|
+
}, {
|
|
6793
|
+
sandboxName: string;
|
|
6794
|
+
autoActivate?: boolean | undefined;
|
|
6795
|
+
apexClassId?: string | undefined;
|
|
6796
|
+
}>;
|
|
6797
|
+
export declare const ExportPackageXmlSchema: z.ZodObject<{
|
|
6798
|
+
metadataTypes: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], unknown>;
|
|
6799
|
+
includeManaged: z.ZodDefault<z.ZodBoolean>;
|
|
6800
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
6801
|
+
components: z.ZodOptional<z.ZodAny>;
|
|
6802
|
+
}, "strict", z.ZodTypeAny, {
|
|
6803
|
+
metadataTypes: string[];
|
|
6804
|
+
includeManaged: boolean;
|
|
6805
|
+
components?: any;
|
|
6806
|
+
apiVersion?: string | undefined;
|
|
6807
|
+
}, {
|
|
6808
|
+
components?: any;
|
|
6809
|
+
apiVersion?: string | undefined;
|
|
6810
|
+
metadataTypes?: unknown;
|
|
6811
|
+
includeManaged?: boolean | undefined;
|
|
6812
|
+
}>;
|
|
6813
|
+
export declare const CreateExperienceContainerSchema: z.ZodObject<{
|
|
6814
|
+
pageName: z.ZodString;
|
|
6815
|
+
containerName: z.ZodString;
|
|
6816
|
+
region: z.ZodDefault<z.ZodString>;
|
|
6817
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
6818
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6819
|
+
name: z.ZodString;
|
|
6820
|
+
value: z.ZodString;
|
|
6821
|
+
}, "strip", z.ZodTypeAny, {
|
|
6822
|
+
value: string;
|
|
6823
|
+
name: string;
|
|
6824
|
+
}, {
|
|
6825
|
+
value: string;
|
|
6826
|
+
name: string;
|
|
6827
|
+
}>, "many">>;
|
|
6828
|
+
}, "strict", z.ZodTypeAny, {
|
|
6829
|
+
pageName: string;
|
|
6830
|
+
region: string;
|
|
6831
|
+
order: number;
|
|
6832
|
+
containerName: string;
|
|
6833
|
+
properties?: {
|
|
6834
|
+
value: string;
|
|
6835
|
+
name: string;
|
|
6836
|
+
}[] | undefined;
|
|
6837
|
+
}, {
|
|
6838
|
+
pageName: string;
|
|
6839
|
+
containerName: string;
|
|
6840
|
+
region?: string | undefined;
|
|
6841
|
+
order?: number | undefined;
|
|
6842
|
+
properties?: {
|
|
6843
|
+
value: string;
|
|
6844
|
+
name: string;
|
|
6845
|
+
}[] | undefined;
|
|
6846
|
+
}>;
|
|
6847
|
+
export declare const SetExperienceSiteLoginSchema: z.ZodObject<{
|
|
6848
|
+
siteName: z.ZodString;
|
|
6849
|
+
selfRegistrationEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
6850
|
+
selfRegistrationProfileName: z.ZodOptional<z.ZodString>;
|
|
6851
|
+
forgotPasswordEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
6852
|
+
loginPageType: z.ZodDefault<z.ZodEnum<["Standard", "Custom"]>>;
|
|
6853
|
+
customLoginUrl: z.ZodOptional<z.ZodString>;
|
|
6854
|
+
}, "strict", z.ZodTypeAny, {
|
|
6855
|
+
siteName: string;
|
|
6856
|
+
selfRegistrationEnabled: boolean;
|
|
6857
|
+
forgotPasswordEnabled: boolean;
|
|
6858
|
+
loginPageType: "Standard" | "Custom";
|
|
6859
|
+
selfRegistrationProfileName?: string | undefined;
|
|
6860
|
+
customLoginUrl?: string | undefined;
|
|
6861
|
+
}, {
|
|
6862
|
+
siteName: string;
|
|
6863
|
+
selfRegistrationEnabled?: boolean | undefined;
|
|
6864
|
+
selfRegistrationProfileName?: string | undefined;
|
|
6865
|
+
forgotPasswordEnabled?: boolean | undefined;
|
|
6866
|
+
loginPageType?: "Standard" | "Custom" | undefined;
|
|
6867
|
+
customLoginUrl?: string | undefined;
|
|
6868
|
+
}>;
|
|
6869
|
+
export declare const CreateCmsContentSchema: z.ZodObject<{
|
|
6870
|
+
contentName: z.ZodString;
|
|
6871
|
+
contentType: z.ZodEffects<z.ZodEnum<["News", "Document", "Image", "Custom", "custom"]>, "custom" | "Custom" | "News" | "Document" | "Image", unknown>;
|
|
6872
|
+
language: z.ZodDefault<z.ZodString>;
|
|
6873
|
+
fields: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
6874
|
+
name: z.ZodString;
|
|
6875
|
+
value: z.ZodString;
|
|
6876
|
+
}, "strip", z.ZodTypeAny, {
|
|
6877
|
+
value: string;
|
|
6878
|
+
name: string;
|
|
6879
|
+
}, {
|
|
6880
|
+
value: string;
|
|
6881
|
+
name: string;
|
|
6882
|
+
}>, "many">, {
|
|
6883
|
+
[k: string]: string;
|
|
6884
|
+
}, {
|
|
6885
|
+
value: string;
|
|
6886
|
+
name: string;
|
|
6887
|
+
}[]>]>;
|
|
6888
|
+
channelNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6889
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6890
|
+
body: z.ZodOptional<z.ZodString>;
|
|
6891
|
+
}, "strict", z.ZodTypeAny, {
|
|
6892
|
+
fields: Record<string, string> | {
|
|
6893
|
+
[k: string]: string;
|
|
6894
|
+
};
|
|
6895
|
+
language: string;
|
|
6896
|
+
contentType: "custom" | "Custom" | "News" | "Document" | "Image";
|
|
6897
|
+
contentName: string;
|
|
6898
|
+
body?: string | undefined;
|
|
6899
|
+
title?: string | undefined;
|
|
6900
|
+
channelNames?: string[] | undefined;
|
|
6901
|
+
}, {
|
|
6902
|
+
fields: Record<string, string> | {
|
|
6903
|
+
value: string;
|
|
6904
|
+
name: string;
|
|
6905
|
+
}[];
|
|
6906
|
+
contentName: string;
|
|
6907
|
+
language?: string | undefined;
|
|
6908
|
+
body?: string | undefined;
|
|
6909
|
+
contentType?: unknown;
|
|
6910
|
+
title?: string | undefined;
|
|
6911
|
+
channelNames?: string[] | undefined;
|
|
6912
|
+
}>;
|
|
6913
|
+
export declare const ExportRecordsSchema: z.ZodObject<{
|
|
6914
|
+
query: z.ZodString;
|
|
6915
|
+
includeHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
6916
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6917
|
+
format: z.ZodOptional<z.ZodString>;
|
|
6918
|
+
}, "strict", z.ZodTypeAny, {
|
|
6919
|
+
query: string;
|
|
6920
|
+
limit: number;
|
|
6921
|
+
includeHeaders: boolean;
|
|
6922
|
+
format?: string | undefined;
|
|
6923
|
+
}, {
|
|
6924
|
+
query: string;
|
|
6925
|
+
format?: string | undefined;
|
|
6926
|
+
limit?: number | undefined;
|
|
6927
|
+
includeHeaders?: boolean | undefined;
|
|
6928
|
+
}>;
|
|
6929
|
+
export declare const UpsertRecordSchema: z.ZodObject<{
|
|
6930
|
+
objectApiName: z.ZodString;
|
|
6931
|
+
externalIdField: z.ZodString;
|
|
6932
|
+
externalIdValue: z.ZodString;
|
|
6933
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6934
|
+
}, "strict", z.ZodTypeAny, {
|
|
6935
|
+
objectApiName: string;
|
|
6936
|
+
fields: Record<string, unknown>;
|
|
6937
|
+
externalIdField: string;
|
|
6938
|
+
externalIdValue: string;
|
|
6939
|
+
}, {
|
|
6940
|
+
objectApiName: string;
|
|
6941
|
+
fields: Record<string, unknown>;
|
|
6942
|
+
externalIdField: string;
|
|
6943
|
+
externalIdValue: string;
|
|
6944
|
+
}>;
|
|
6945
|
+
export declare const GetRecordSchema: z.ZodObject<{
|
|
6946
|
+
objectApiName: z.ZodString;
|
|
6947
|
+
recordId: z.ZodString;
|
|
6948
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6949
|
+
}, "strict", z.ZodTypeAny, {
|
|
6950
|
+
objectApiName: string;
|
|
6951
|
+
recordId: string;
|
|
6952
|
+
fields?: string[] | undefined;
|
|
6953
|
+
}, {
|
|
6954
|
+
objectApiName: string;
|
|
6955
|
+
recordId: string;
|
|
6956
|
+
fields?: string[] | undefined;
|
|
6957
|
+
}>;
|
|
6958
|
+
export declare const SearchRecordsSchema: z.ZodObject<{
|
|
6959
|
+
searchTerm: z.ZodString;
|
|
6960
|
+
objectTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6961
|
+
objects: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6962
|
+
objectName: z.ZodString;
|
|
6963
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
6964
|
+
}, "strip", z.ZodTypeAny, {
|
|
6965
|
+
objectName: string;
|
|
6966
|
+
fields: string[];
|
|
6967
|
+
}, {
|
|
6968
|
+
objectName: string;
|
|
6969
|
+
fields: string[];
|
|
6970
|
+
}>, "many">>, {
|
|
6971
|
+
objectName: string;
|
|
6972
|
+
fields: string[];
|
|
6973
|
+
}[], unknown>;
|
|
6974
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6975
|
+
}, "strict", z.ZodTypeAny, {
|
|
6976
|
+
limit: number;
|
|
6977
|
+
searchTerm: string;
|
|
6978
|
+
objects: {
|
|
6979
|
+
objectName: string;
|
|
6980
|
+
fields: string[];
|
|
6981
|
+
}[];
|
|
6982
|
+
objectTypes?: string[] | undefined;
|
|
6983
|
+
}, {
|
|
6984
|
+
searchTerm: string;
|
|
6985
|
+
limit?: number | undefined;
|
|
6986
|
+
objectTypes?: string[] | undefined;
|
|
6987
|
+
objects?: unknown;
|
|
6988
|
+
}>;
|
|
6989
|
+
export declare const CreatePlatformEventSubscriptionSchema: z.ZodObject<{
|
|
6990
|
+
eventApiName: z.ZodOptional<z.ZodString>;
|
|
6991
|
+
platformEventName: z.ZodOptional<z.ZodString>;
|
|
6992
|
+
subscriptionType: z.ZodDefault<z.ZodEnum<["Trigger", "Flow"]>>;
|
|
6993
|
+
subscriberName: z.ZodOptional<z.ZodString>;
|
|
6994
|
+
subscriberFlowName: z.ZodOptional<z.ZodString>;
|
|
6995
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6996
|
+
apexCode: z.ZodOptional<z.ZodString>;
|
|
6997
|
+
}, "strict", z.ZodTypeAny, {
|
|
6998
|
+
subscriptionType: "Flow" | "Trigger";
|
|
6999
|
+
description?: string | undefined;
|
|
7000
|
+
apexCode?: string | undefined;
|
|
7001
|
+
platformEventName?: string | undefined;
|
|
7002
|
+
eventApiName?: string | undefined;
|
|
7003
|
+
subscriberName?: string | undefined;
|
|
7004
|
+
subscriberFlowName?: string | undefined;
|
|
7005
|
+
}, {
|
|
7006
|
+
description?: string | undefined;
|
|
7007
|
+
apexCode?: string | undefined;
|
|
7008
|
+
platformEventName?: string | undefined;
|
|
7009
|
+
eventApiName?: string | undefined;
|
|
7010
|
+
subscriptionType?: "Flow" | "Trigger" | undefined;
|
|
7011
|
+
subscriberName?: string | undefined;
|
|
7012
|
+
subscriberFlowName?: string | undefined;
|
|
7013
|
+
}>;
|
|
7014
|
+
export declare const CreateChangedDataCaptureSchema: z.ZodObject<{
|
|
7015
|
+
objectApiName: z.ZodOptional<z.ZodString>;
|
|
7016
|
+
objectName: z.ZodOptional<z.ZodString>;
|
|
7017
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
7018
|
+
}, "strict", z.ZodTypeAny, {
|
|
7019
|
+
enabled: boolean;
|
|
7020
|
+
objectName?: string | undefined;
|
|
7021
|
+
objectApiName?: string | undefined;
|
|
7022
|
+
}, {
|
|
7023
|
+
objectName?: string | undefined;
|
|
7024
|
+
objectApiName?: string | undefined;
|
|
7025
|
+
enabled?: boolean | undefined;
|
|
7026
|
+
}>;
|
|
7027
|
+
export declare const CreateRestResourceSchema: z.ZodObject<{
|
|
7028
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
7029
|
+
className: z.ZodOptional<z.ZodString>;
|
|
7030
|
+
urlMapping: z.ZodString;
|
|
7031
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7032
|
+
methods: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
7033
|
+
httpMethod: string;
|
|
7034
|
+
}, string>, z.ZodObject<{
|
|
7035
|
+
httpMethod: z.ZodEnum<["GET", "POST", "PUT", "DELETE", "PATCH"]>;
|
|
7036
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7037
|
+
apexCode: z.ZodOptional<z.ZodString>;
|
|
7038
|
+
}, "strip", z.ZodTypeAny, {
|
|
7039
|
+
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
7040
|
+
description?: string | undefined;
|
|
7041
|
+
apexCode?: string | undefined;
|
|
7042
|
+
}, {
|
|
7043
|
+
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
7044
|
+
description?: string | undefined;
|
|
7045
|
+
apexCode?: string | undefined;
|
|
7046
|
+
}>]>, "many">;
|
|
7047
|
+
}, "strict", z.ZodTypeAny, {
|
|
7048
|
+
urlMapping: string;
|
|
7049
|
+
methods: ({
|
|
7050
|
+
httpMethod: string;
|
|
7051
|
+
} | {
|
|
7052
|
+
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
7053
|
+
description?: string | undefined;
|
|
7054
|
+
apexCode?: string | undefined;
|
|
7055
|
+
})[];
|
|
7056
|
+
description?: string | undefined;
|
|
7057
|
+
className?: string | undefined;
|
|
7058
|
+
resourceName?: string | undefined;
|
|
7059
|
+
}, {
|
|
7060
|
+
urlMapping: string;
|
|
7061
|
+
methods: (string | {
|
|
7062
|
+
httpMethod: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
7063
|
+
description?: string | undefined;
|
|
7064
|
+
apexCode?: string | undefined;
|
|
7065
|
+
})[];
|
|
7066
|
+
description?: string | undefined;
|
|
7067
|
+
className?: string | undefined;
|
|
7068
|
+
resourceName?: string | undefined;
|
|
7069
|
+
}>;
|
|
7070
|
+
export declare const GetOrgLimitsSchema: z.ZodObject<{
|
|
7071
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
7072
|
+
}, "strict", z.ZodTypeAny, {
|
|
7073
|
+
filter?: string | undefined;
|
|
7074
|
+
}, {
|
|
7075
|
+
filter?: string | undefined;
|
|
7076
|
+
}>;
|
|
7077
|
+
export declare const GetFlowErrorsSchema: z.ZodObject<{
|
|
7078
|
+
flowApiName: z.ZodOptional<z.ZodString>;
|
|
7079
|
+
hoursBack: z.ZodDefault<z.ZodNumber>;
|
|
7080
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
7081
|
+
}, "strict", z.ZodTypeAny, {
|
|
7082
|
+
limit: number;
|
|
7083
|
+
hoursBack: number;
|
|
7084
|
+
flowApiName?: string | undefined;
|
|
7085
|
+
}, {
|
|
7086
|
+
flowApiName?: string | undefined;
|
|
7087
|
+
limit?: number | undefined;
|
|
7088
|
+
hoursBack?: number | undefined;
|
|
7089
|
+
}>;
|
|
7090
|
+
export declare const GetApexTestResultsSchema: z.ZodObject<{
|
|
7091
|
+
testRunId: z.ZodOptional<z.ZodString>;
|
|
7092
|
+
className: z.ZodOptional<z.ZodString>;
|
|
7093
|
+
outcomeFilter: z.ZodDefault<z.ZodEnum<["Pass", "Fail", "CompileFail", "Skip", "all"]>>;
|
|
7094
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7095
|
+
}, "strict", z.ZodTypeAny, {
|
|
7096
|
+
outcomeFilter: "all" | "Pass" | "Fail" | "CompileFail" | "Skip";
|
|
7097
|
+
className?: string | undefined;
|
|
7098
|
+
limit?: number | undefined;
|
|
7099
|
+
testRunId?: string | undefined;
|
|
7100
|
+
}, {
|
|
7101
|
+
className?: string | undefined;
|
|
7102
|
+
limit?: number | undefined;
|
|
7103
|
+
testRunId?: string | undefined;
|
|
7104
|
+
outcomeFilter?: "all" | "Pass" | "Fail" | "CompileFail" | "Skip" | undefined;
|
|
7105
|
+
}>;
|
|
7106
|
+
export declare const GetDeploymentHistorySchema: z.ZodObject<{
|
|
7107
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
7108
|
+
status: z.ZodDefault<z.ZodEnum<["Succeeded", "Failed", "Pending", "InProgress", "Canceling", "all"]>>;
|
|
7109
|
+
}, "strict", z.ZodTypeAny, {
|
|
7110
|
+
status: "all" | "Succeeded" | "Failed" | "Pending" | "InProgress" | "Canceling";
|
|
7111
|
+
limit: number;
|
|
7112
|
+
}, {
|
|
7113
|
+
status?: "all" | "Succeeded" | "Failed" | "Pending" | "InProgress" | "Canceling" | undefined;
|
|
7114
|
+
limit?: number | undefined;
|
|
7115
|
+
}>;
|
|
7116
|
+
export declare const CreateAgentChannelSchema: z.ZodObject<{
|
|
7117
|
+
agentApiName: z.ZodOptional<z.ZodString>;
|
|
7118
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
7119
|
+
channelType: z.ZodEnum<["Messaging", "Chat", "Embedded", "Voice", "Web"]>;
|
|
7120
|
+
channelName: z.ZodString;
|
|
7121
|
+
routingType: z.ZodDefault<z.ZodEnum<["Queue", "Agent", "Bot"]>>;
|
|
7122
|
+
queueName: z.ZodOptional<z.ZodString>;
|
|
7123
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7124
|
+
}, "strict", z.ZodTypeAny, {
|
|
7125
|
+
channelName: string;
|
|
7126
|
+
channelType: "Chat" | "Messaging" | "Voice" | "Embedded" | "Web";
|
|
7127
|
+
routingType: "Queue" | "Bot" | "Agent";
|
|
7128
|
+
label?: string | undefined;
|
|
7129
|
+
agentName?: string | undefined;
|
|
7130
|
+
queueName?: string | undefined;
|
|
7131
|
+
agentApiName?: string | undefined;
|
|
7132
|
+
}, {
|
|
7133
|
+
channelName: string;
|
|
7134
|
+
channelType: "Chat" | "Messaging" | "Voice" | "Embedded" | "Web";
|
|
7135
|
+
label?: string | undefined;
|
|
7136
|
+
agentName?: string | undefined;
|
|
7137
|
+
routingType?: "Queue" | "Bot" | "Agent" | undefined;
|
|
7138
|
+
queueName?: string | undefined;
|
|
7139
|
+
agentApiName?: string | undefined;
|
|
7140
|
+
}>;
|
|
7141
|
+
export declare const CloneAgentSchema: z.ZodObject<{
|
|
7142
|
+
sourceAgentApiName: z.ZodOptional<z.ZodString>;
|
|
7143
|
+
sourceAgentName: z.ZodOptional<z.ZodString>;
|
|
7144
|
+
newAgentApiName: z.ZodOptional<z.ZodString>;
|
|
7145
|
+
newAgentName: z.ZodOptional<z.ZodString>;
|
|
7146
|
+
newLabel: z.ZodOptional<z.ZodString>;
|
|
7147
|
+
includeTopics: z.ZodDefault<z.ZodBoolean>;
|
|
7148
|
+
includeActions: z.ZodDefault<z.ZodBoolean>;
|
|
7149
|
+
}, "strict", z.ZodTypeAny, {
|
|
7150
|
+
includeTopics: boolean;
|
|
7151
|
+
includeActions: boolean;
|
|
7152
|
+
newLabel?: string | undefined;
|
|
7153
|
+
sourceAgentApiName?: string | undefined;
|
|
7154
|
+
sourceAgentName?: string | undefined;
|
|
7155
|
+
newAgentApiName?: string | undefined;
|
|
7156
|
+
newAgentName?: string | undefined;
|
|
7157
|
+
}, {
|
|
7158
|
+
newLabel?: string | undefined;
|
|
7159
|
+
sourceAgentApiName?: string | undefined;
|
|
7160
|
+
sourceAgentName?: string | undefined;
|
|
7161
|
+
newAgentApiName?: string | undefined;
|
|
7162
|
+
newAgentName?: string | undefined;
|
|
7163
|
+
includeTopics?: boolean | undefined;
|
|
7164
|
+
includeActions?: boolean | undefined;
|
|
7165
|
+
}>;
|
|
7166
|
+
export declare const ExportAgentSchema: z.ZodObject<{
|
|
7167
|
+
agentApiName: z.ZodOptional<z.ZodString>;
|
|
7168
|
+
agentName: z.ZodOptional<z.ZodString>;
|
|
7169
|
+
}, "strict", z.ZodTypeAny, {
|
|
7170
|
+
agentName?: string | undefined;
|
|
7171
|
+
agentApiName?: string | undefined;
|
|
7172
|
+
}, {
|
|
7173
|
+
agentName?: string | undefined;
|
|
7174
|
+
agentApiName?: string | undefined;
|
|
7175
|
+
}>;
|
|
7176
|
+
export declare const ExportOmniStudioComponentSchema: z.ZodObject<{
|
|
7177
|
+
componentType: z.ZodEnum<["FlexCard", "OmniScript", "DataRaptor", "IntegrationProcedure"]>;
|
|
7178
|
+
componentName: z.ZodString;
|
|
7179
|
+
subType: z.ZodOptional<z.ZodString>;
|
|
7180
|
+
language: z.ZodDefault<z.ZodString>;
|
|
7181
|
+
}, "strict", z.ZodTypeAny, {
|
|
7182
|
+
language: string;
|
|
7183
|
+
componentName: string;
|
|
7184
|
+
componentType: "DataRaptor" | "IntegrationProcedure" | "OmniScript" | "FlexCard";
|
|
7185
|
+
subType?: string | undefined;
|
|
7186
|
+
}, {
|
|
7187
|
+
componentName: string;
|
|
7188
|
+
componentType: "DataRaptor" | "IntegrationProcedure" | "OmniScript" | "FlexCard";
|
|
7189
|
+
language?: string | undefined;
|
|
7190
|
+
subType?: string | undefined;
|
|
7191
|
+
}>;
|
|
7192
|
+
export declare const ImportOmniStudioComponentSchema: z.ZodObject<{
|
|
7193
|
+
componentType: z.ZodEnum<["FlexCard", "OmniScript", "DataRaptor", "IntegrationProcedure"]>;
|
|
7194
|
+
newName: z.ZodString;
|
|
7195
|
+
jsonDefinition: z.ZodString;
|
|
7196
|
+
activate: z.ZodDefault<z.ZodBoolean>;
|
|
7197
|
+
}, "strict", z.ZodTypeAny, {
|
|
7198
|
+
activate: boolean;
|
|
7199
|
+
componentType: "DataRaptor" | "IntegrationProcedure" | "OmniScript" | "FlexCard";
|
|
7200
|
+
newName: string;
|
|
7201
|
+
jsonDefinition: string;
|
|
7202
|
+
}, {
|
|
7203
|
+
componentType: "DataRaptor" | "IntegrationProcedure" | "OmniScript" | "FlexCard";
|
|
7204
|
+
newName: string;
|
|
7205
|
+
jsonDefinition: string;
|
|
7206
|
+
activate?: boolean | undefined;
|
|
7207
|
+
}>;
|
|
7208
|
+
export declare const CreateDocumentGenerationSchema: z.ZodObject<{
|
|
7209
|
+
templateName: z.ZodString;
|
|
7210
|
+
label: z.ZodString;
|
|
7211
|
+
objectApiName: z.ZodString;
|
|
7212
|
+
templateType: z.ZodDefault<z.ZodEnum<["Word", "PDF", "Excel"]>>;
|
|
7213
|
+
dataSourceType: z.ZodDefault<z.ZodEnum<["DataRaptor", "IntegrationProcedure"]>>;
|
|
7214
|
+
dataSourceName: z.ZodString;
|
|
7215
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7216
|
+
}, "strict", z.ZodTypeAny, {
|
|
7217
|
+
label: string;
|
|
7218
|
+
objectApiName: string;
|
|
7219
|
+
dataSourceType: "DataRaptor" | "IntegrationProcedure";
|
|
7220
|
+
dataSourceName: string;
|
|
7221
|
+
templateName: string;
|
|
7222
|
+
templateType: "Word" | "PDF" | "Excel";
|
|
7223
|
+
description?: string | undefined;
|
|
7224
|
+
}, {
|
|
7225
|
+
label: string;
|
|
7226
|
+
objectApiName: string;
|
|
7227
|
+
dataSourceName: string;
|
|
7228
|
+
templateName: string;
|
|
7229
|
+
description?: string | undefined;
|
|
7230
|
+
dataSourceType?: "DataRaptor" | "IntegrationProcedure" | undefined;
|
|
7231
|
+
templateType?: "Word" | "PDF" | "Excel" | undefined;
|
|
3405
7232
|
}>;
|
|
3406
7233
|
//# sourceMappingURL=index.d.ts.map
|