salesforce-metadata-mcp 2.0.0

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.
Files changed (91) hide show
  1. package/AGENTFORCE.md +125 -0
  2. package/APEX_LWC.md +214 -0
  3. package/CHANGELOG.md +120 -0
  4. package/README.md +207 -0
  5. package/SETUP.md +208 -0
  6. package/TOOLS.md +193 -0
  7. package/dist/index.d.ts +2 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +53 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/schemas/index.d.ts +3406 -0
  12. package/dist/schemas/index.d.ts.map +1 -0
  13. package/dist/schemas/index.js +992 -0
  14. package/dist/schemas/index.js.map +1 -0
  15. package/dist/services/deployment.d.ts +36 -0
  16. package/dist/services/deployment.d.ts.map +1 -0
  17. package/dist/services/deployment.js +215 -0
  18. package/dist/services/deployment.js.map +1 -0
  19. package/dist/services/mcpgen.d.ts +16 -0
  20. package/dist/services/mcpgen.d.ts.map +1 -0
  21. package/dist/services/mcpgen.js +229 -0
  22. package/dist/services/mcpgen.js.map +1 -0
  23. package/dist/services/salesforce.d.ts +598 -0
  24. package/dist/services/salesforce.d.ts.map +1 -0
  25. package/dist/services/salesforce.js +1317 -0
  26. package/dist/services/salesforce.js.map +1 -0
  27. package/dist/services/tooling.d.ts +23 -0
  28. package/dist/services/tooling.d.ts.map +1 -0
  29. package/dist/services/tooling.js +173 -0
  30. package/dist/services/tooling.js.map +1 -0
  31. package/dist/tools/agentforce.d.ts +3 -0
  32. package/dist/tools/agentforce.d.ts.map +1 -0
  33. package/dist/tools/agentforce.js +73 -0
  34. package/dist/tools/agentforce.js.map +1 -0
  35. package/dist/tools/apex.d.ts +3 -0
  36. package/dist/tools/apex.d.ts.map +1 -0
  37. package/dist/tools/apex.js +95 -0
  38. package/dist/tools/apex.js.map +1 -0
  39. package/dist/tools/automation.d.ts +3 -0
  40. package/dist/tools/automation.d.ts.map +1 -0
  41. package/dist/tools/automation.js +186 -0
  42. package/dist/tools/automation.js.map +1 -0
  43. package/dist/tools/deployment.d.ts +3 -0
  44. package/dist/tools/deployment.d.ts.map +1 -0
  45. package/dist/tools/deployment.js +89 -0
  46. package/dist/tools/deployment.js.map +1 -0
  47. package/dist/tools/experience.d.ts +3 -0
  48. package/dist/tools/experience.d.ts.map +1 -0
  49. package/dist/tools/experience.js +53 -0
  50. package/dist/tools/experience.js.map +1 -0
  51. package/dist/tools/index.d.ts +3 -0
  52. package/dist/tools/index.d.ts.map +1 -0
  53. package/dist/tools/index.js +27 -0
  54. package/dist/tools/index.js.map +1 -0
  55. package/dist/tools/integrations.d.ts +3 -0
  56. package/dist/tools/integrations.d.ts.map +1 -0
  57. package/dist/tools/integrations.js +96 -0
  58. package/dist/tools/integrations.js.map +1 -0
  59. package/dist/tools/lwc.d.ts +3 -0
  60. package/dist/tools/lwc.d.ts.map +1 -0
  61. package/dist/tools/lwc.js +73 -0
  62. package/dist/tools/lwc.js.map +1 -0
  63. package/dist/tools/mcp.d.ts +3 -0
  64. package/dist/tools/mcp.d.ts.map +1 -0
  65. package/dist/tools/mcp.js +44 -0
  66. package/dist/tools/mcp.js.map +1 -0
  67. package/dist/tools/metadata.d.ts +3 -0
  68. package/dist/tools/metadata.d.ts.map +1 -0
  69. package/dist/tools/metadata.js +168 -0
  70. package/dist/tools/metadata.js.map +1 -0
  71. package/dist/tools/objects.d.ts +3 -0
  72. package/dist/tools/objects.d.ts.map +1 -0
  73. package/dist/tools/objects.js +172 -0
  74. package/dist/tools/objects.js.map +1 -0
  75. package/dist/tools/security.d.ts +3 -0
  76. package/dist/tools/security.d.ts.map +1 -0
  77. package/dist/tools/security.js +82 -0
  78. package/dist/tools/security.js.map +1 -0
  79. package/dist/tools/ui.d.ts +3 -0
  80. package/dist/tools/ui.d.ts.map +1 -0
  81. package/dist/tools/ui.js +195 -0
  82. package/dist/tools/ui.js.map +1 -0
  83. package/dist/tools/utils.d.ts +15 -0
  84. package/dist/tools/utils.d.ts.map +1 -0
  85. package/dist/tools/utils.js +7 -0
  86. package/dist/tools/utils.js.map +1 -0
  87. package/dist/types.d.ts +85 -0
  88. package/dist/types.d.ts.map +1 -0
  89. package/dist/types.js +3 -0
  90. package/dist/types.js.map +1 -0
  91. package/package.json +46 -0
@@ -0,0 +1,3406 @@
1
+ import { z } from "zod";
2
+ export declare const PicklistValueSchema: z.ZodObject<{
3
+ fullName: z.ZodString;
4
+ label: z.ZodString;
5
+ default: z.ZodDefault<z.ZodBoolean>;
6
+ isActive: z.ZodOptional<z.ZodBoolean>;
7
+ color: z.ZodOptional<z.ZodString>;
8
+ description: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ fullName: string;
11
+ label: string;
12
+ default: boolean;
13
+ isActive?: boolean | undefined;
14
+ color?: string | undefined;
15
+ description?: string | undefined;
16
+ }, {
17
+ fullName: string;
18
+ label: string;
19
+ default?: boolean | undefined;
20
+ isActive?: boolean | undefined;
21
+ color?: string | undefined;
22
+ description?: string | undefined;
23
+ }>;
24
+ export declare const ValueSetSchema: z.ZodObject<{
25
+ restricted: z.ZodDefault<z.ZodBoolean>;
26
+ sorted: z.ZodDefault<z.ZodBoolean>;
27
+ values: z.ZodArray<z.ZodObject<{
28
+ fullName: z.ZodString;
29
+ label: z.ZodString;
30
+ default: z.ZodDefault<z.ZodBoolean>;
31
+ isActive: z.ZodOptional<z.ZodBoolean>;
32
+ color: z.ZodOptional<z.ZodString>;
33
+ description: z.ZodOptional<z.ZodString>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ fullName: string;
36
+ label: string;
37
+ default: boolean;
38
+ isActive?: boolean | undefined;
39
+ color?: string | undefined;
40
+ description?: string | undefined;
41
+ }, {
42
+ fullName: string;
43
+ label: string;
44
+ default?: boolean | undefined;
45
+ isActive?: boolean | undefined;
46
+ color?: string | undefined;
47
+ description?: string | undefined;
48
+ }>, "many">;
49
+ }, "strip", z.ZodTypeAny, {
50
+ values: {
51
+ fullName: string;
52
+ label: string;
53
+ default: boolean;
54
+ isActive?: boolean | undefined;
55
+ color?: string | undefined;
56
+ description?: string | undefined;
57
+ }[];
58
+ restricted: boolean;
59
+ sorted: boolean;
60
+ }, {
61
+ values: {
62
+ fullName: string;
63
+ label: string;
64
+ default?: boolean | undefined;
65
+ isActive?: boolean | undefined;
66
+ color?: string | undefined;
67
+ description?: string | undefined;
68
+ }[];
69
+ restricted?: boolean | undefined;
70
+ sorted?: boolean | undefined;
71
+ }>;
72
+ export declare const CreateCustomObjectSchema: z.ZodObject<{
73
+ fullName: z.ZodString;
74
+ label: z.ZodString;
75
+ pluralLabel: z.ZodString;
76
+ description: z.ZodOptional<z.ZodString>;
77
+ nameFieldLabel: z.ZodDefault<z.ZodString>;
78
+ nameFieldType: z.ZodDefault<z.ZodEnum<["Text", "AutoNumber"]>>;
79
+ autoNumberFormat: z.ZodOptional<z.ZodString>;
80
+ deploymentStatus: z.ZodDefault<z.ZodEnum<["Deployed", "InDevelopment"]>>;
81
+ sharingModel: z.ZodDefault<z.ZodEnum<["ReadWrite", "Read", "Private", "ControlledByParent", "FullAccess"]>>;
82
+ enableActivities: z.ZodDefault<z.ZodBoolean>;
83
+ enableHistory: z.ZodDefault<z.ZodBoolean>;
84
+ enableReports: z.ZodDefault<z.ZodBoolean>;
85
+ enableSearch: z.ZodDefault<z.ZodBoolean>;
86
+ }, "strict", z.ZodTypeAny, {
87
+ fullName: string;
88
+ label: string;
89
+ pluralLabel: string;
90
+ nameFieldLabel: string;
91
+ nameFieldType: "Text" | "AutoNumber";
92
+ deploymentStatus: "Deployed" | "InDevelopment";
93
+ sharingModel: "ReadWrite" | "Read" | "Private" | "ControlledByParent" | "FullAccess";
94
+ enableActivities: boolean;
95
+ enableHistory: boolean;
96
+ enableReports: boolean;
97
+ enableSearch: boolean;
98
+ description?: string | undefined;
99
+ autoNumberFormat?: string | undefined;
100
+ }, {
101
+ fullName: string;
102
+ label: string;
103
+ pluralLabel: string;
104
+ description?: string | undefined;
105
+ nameFieldLabel?: string | undefined;
106
+ nameFieldType?: "Text" | "AutoNumber" | undefined;
107
+ autoNumberFormat?: string | undefined;
108
+ deploymentStatus?: "Deployed" | "InDevelopment" | undefined;
109
+ sharingModel?: "ReadWrite" | "Read" | "Private" | "ControlledByParent" | "FullAccess" | undefined;
110
+ enableActivities?: boolean | undefined;
111
+ enableHistory?: boolean | undefined;
112
+ enableReports?: boolean | undefined;
113
+ enableSearch?: boolean | undefined;
114
+ }>;
115
+ export declare const FieldTypeSchema: z.ZodEnum<["Text", "TextArea", "LongTextArea", "Number", "Currency", "Percent", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "Picklist", "MultiselectPicklist", "Lookup", "MasterDetail"]>;
116
+ export declare const CreateCustomFieldSchema: z.ZodObject<{
117
+ objectName: z.ZodString;
118
+ fieldName: z.ZodString;
119
+ label: z.ZodString;
120
+ type: z.ZodEnum<["Text", "TextArea", "LongTextArea", "Number", "Currency", "Percent", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "Picklist", "MultiselectPicklist", "Lookup", "MasterDetail"]>;
121
+ description: z.ZodOptional<z.ZodString>;
122
+ required: z.ZodOptional<z.ZodBoolean>;
123
+ unique: z.ZodOptional<z.ZodBoolean>;
124
+ externalId: z.ZodOptional<z.ZodBoolean>;
125
+ length: z.ZodOptional<z.ZodNumber>;
126
+ visibleLines: z.ZodOptional<z.ZodNumber>;
127
+ precision: z.ZodOptional<z.ZodNumber>;
128
+ scale: z.ZodOptional<z.ZodNumber>;
129
+ picklistValues: z.ZodOptional<z.ZodObject<{
130
+ restricted: z.ZodDefault<z.ZodBoolean>;
131
+ sorted: z.ZodDefault<z.ZodBoolean>;
132
+ values: z.ZodArray<z.ZodObject<{
133
+ fullName: z.ZodString;
134
+ label: z.ZodString;
135
+ default: z.ZodDefault<z.ZodBoolean>;
136
+ isActive: z.ZodOptional<z.ZodBoolean>;
137
+ color: z.ZodOptional<z.ZodString>;
138
+ description: z.ZodOptional<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ fullName: string;
141
+ label: string;
142
+ default: boolean;
143
+ isActive?: boolean | undefined;
144
+ color?: string | undefined;
145
+ description?: string | undefined;
146
+ }, {
147
+ fullName: string;
148
+ label: string;
149
+ default?: boolean | undefined;
150
+ isActive?: boolean | undefined;
151
+ color?: string | undefined;
152
+ description?: string | undefined;
153
+ }>, "many">;
154
+ }, "strip", z.ZodTypeAny, {
155
+ values: {
156
+ fullName: string;
157
+ label: string;
158
+ default: boolean;
159
+ isActive?: boolean | undefined;
160
+ color?: string | undefined;
161
+ description?: string | undefined;
162
+ }[];
163
+ restricted: boolean;
164
+ sorted: boolean;
165
+ }, {
166
+ values: {
167
+ fullName: string;
168
+ label: string;
169
+ default?: boolean | undefined;
170
+ isActive?: boolean | undefined;
171
+ color?: string | undefined;
172
+ description?: string | undefined;
173
+ }[];
174
+ restricted?: boolean | undefined;
175
+ sorted?: boolean | undefined;
176
+ }>>;
177
+ referenceTo: z.ZodOptional<z.ZodString>;
178
+ relationshipLabel: z.ZodOptional<z.ZodString>;
179
+ relationshipName: z.ZodOptional<z.ZodString>;
180
+ deleteConstraint: z.ZodOptional<z.ZodEnum<["Cascade", "Restrict", "SetNull"]>>;
181
+ }, "strict", z.ZodTypeAny, {
182
+ label: string;
183
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist" | "MultiselectPicklist" | "Lookup" | "MasterDetail";
184
+ objectName: string;
185
+ fieldName: string;
186
+ description?: string | undefined;
187
+ length?: number | undefined;
188
+ required?: boolean | undefined;
189
+ unique?: boolean | undefined;
190
+ externalId?: boolean | undefined;
191
+ visibleLines?: number | undefined;
192
+ precision?: number | undefined;
193
+ scale?: number | undefined;
194
+ picklistValues?: {
195
+ values: {
196
+ fullName: string;
197
+ label: string;
198
+ default: boolean;
199
+ isActive?: boolean | undefined;
200
+ color?: string | undefined;
201
+ description?: string | undefined;
202
+ }[];
203
+ restricted: boolean;
204
+ sorted: boolean;
205
+ } | undefined;
206
+ referenceTo?: string | undefined;
207
+ relationshipLabel?: string | undefined;
208
+ relationshipName?: string | undefined;
209
+ deleteConstraint?: "Cascade" | "Restrict" | "SetNull" | undefined;
210
+ }, {
211
+ label: string;
212
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist" | "MultiselectPicklist" | "Lookup" | "MasterDetail";
213
+ objectName: string;
214
+ fieldName: string;
215
+ description?: string | undefined;
216
+ length?: number | undefined;
217
+ required?: boolean | undefined;
218
+ unique?: boolean | undefined;
219
+ externalId?: boolean | undefined;
220
+ visibleLines?: number | undefined;
221
+ precision?: number | undefined;
222
+ scale?: number | undefined;
223
+ picklistValues?: {
224
+ values: {
225
+ fullName: string;
226
+ label: string;
227
+ default?: boolean | undefined;
228
+ isActive?: boolean | undefined;
229
+ color?: string | undefined;
230
+ description?: string | undefined;
231
+ }[];
232
+ restricted?: boolean | undefined;
233
+ sorted?: boolean | undefined;
234
+ } | undefined;
235
+ referenceTo?: string | undefined;
236
+ relationshipLabel?: string | undefined;
237
+ relationshipName?: string | undefined;
238
+ deleteConstraint?: "Cascade" | "Restrict" | "SetNull" | undefined;
239
+ }>;
240
+ export declare const AddPicklistValuesSchema: z.ZodObject<{
241
+ objectFieldFullName: z.ZodString;
242
+ values: z.ZodArray<z.ZodObject<{
243
+ fullName: z.ZodString;
244
+ label: z.ZodString;
245
+ default: z.ZodDefault<z.ZodBoolean>;
246
+ isActive: z.ZodOptional<z.ZodBoolean>;
247
+ color: z.ZodOptional<z.ZodString>;
248
+ description: z.ZodOptional<z.ZodString>;
249
+ }, "strip", z.ZodTypeAny, {
250
+ fullName: string;
251
+ label: string;
252
+ default: boolean;
253
+ isActive?: boolean | undefined;
254
+ color?: string | undefined;
255
+ description?: string | undefined;
256
+ }, {
257
+ fullName: string;
258
+ label: string;
259
+ default?: boolean | undefined;
260
+ isActive?: boolean | undefined;
261
+ color?: string | undefined;
262
+ description?: string | undefined;
263
+ }>, "many">;
264
+ }, "strict", z.ZodTypeAny, {
265
+ values: {
266
+ fullName: string;
267
+ label: string;
268
+ default: boolean;
269
+ isActive?: boolean | undefined;
270
+ color?: string | undefined;
271
+ description?: string | undefined;
272
+ }[];
273
+ objectFieldFullName: string;
274
+ }, {
275
+ values: {
276
+ fullName: string;
277
+ label: string;
278
+ default?: boolean | undefined;
279
+ isActive?: boolean | undefined;
280
+ color?: string | undefined;
281
+ description?: string | undefined;
282
+ }[];
283
+ objectFieldFullName: string;
284
+ }>;
285
+ export declare const FlowVariableSchema: z.ZodObject<{
286
+ name: z.ZodString;
287
+ dataType: z.ZodEnum<["String", "Number", "Boolean", "Date", "DateTime", "SObject"]>;
288
+ objectType: z.ZodOptional<z.ZodString>;
289
+ isInput: z.ZodDefault<z.ZodBoolean>;
290
+ isOutput: z.ZodDefault<z.ZodBoolean>;
291
+ isCollection: z.ZodDefault<z.ZodBoolean>;
292
+ defaultStringValue: z.ZodOptional<z.ZodString>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ name: string;
295
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
296
+ isInput: boolean;
297
+ isOutput: boolean;
298
+ isCollection: boolean;
299
+ objectType?: string | undefined;
300
+ defaultStringValue?: string | undefined;
301
+ }, {
302
+ name: string;
303
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
304
+ objectType?: string | undefined;
305
+ isInput?: boolean | undefined;
306
+ isOutput?: boolean | undefined;
307
+ isCollection?: boolean | undefined;
308
+ defaultStringValue?: string | undefined;
309
+ }>;
310
+ export declare const FlowElementSchema: z.ZodObject<{
311
+ type: z.ZodEnum<["Decision", "GetRecords", "CreateRecords", "DeleteRecords", "SendEmailAlert", "ApexAction", "Subflow", "Loop", "Assignment", "Screen", "Wait", "PlatformEvent"]>;
312
+ name: z.ZodString;
313
+ label: z.ZodString;
314
+ conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
315
+ leftValueRef: z.ZodString;
316
+ operator: z.ZodString;
317
+ rightValue: z.ZodOptional<z.ZodString>;
318
+ rightValueRef: z.ZodOptional<z.ZodString>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ leftValueRef: string;
321
+ operator: string;
322
+ rightValue?: string | undefined;
323
+ rightValueRef?: string | undefined;
324
+ }, {
325
+ leftValueRef: string;
326
+ operator: string;
327
+ rightValue?: string | undefined;
328
+ rightValueRef?: string | undefined;
329
+ }>, "many">>;
330
+ defaultConnector: z.ZodOptional<z.ZodString>;
331
+ objectApiName: z.ZodOptional<z.ZodString>;
332
+ filterField: z.ZodOptional<z.ZodString>;
333
+ filterOperator: z.ZodOptional<z.ZodString>;
334
+ filterValueRef: z.ZodOptional<z.ZodString>;
335
+ outputVariable: z.ZodOptional<z.ZodString>;
336
+ emailAlertApiName: z.ZodOptional<z.ZodString>;
337
+ apexClassName: z.ZodOptional<z.ZodString>;
338
+ apexMethodName: z.ZodOptional<z.ZodString>;
339
+ subflowApiName: z.ZodOptional<z.ZodString>;
340
+ loopVariable: z.ZodOptional<z.ZodString>;
341
+ loopIterationVariable: z.ZodOptional<z.ZodString>;
342
+ assignments: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
+ assignToRef: z.ZodString;
344
+ operator: z.ZodDefault<z.ZodString>;
345
+ valueRef: z.ZodOptional<z.ZodString>;
346
+ value: z.ZodOptional<z.ZodString>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ operator: string;
349
+ assignToRef: string;
350
+ value?: string | undefined;
351
+ valueRef?: string | undefined;
352
+ }, {
353
+ assignToRef: string;
354
+ value?: string | undefined;
355
+ operator?: string | undefined;
356
+ valueRef?: string | undefined;
357
+ }>, "many">>;
358
+ screenFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
359
+ name: z.ZodString;
360
+ fieldType: z.ZodString;
361
+ label: z.ZodOptional<z.ZodString>;
362
+ dataType: z.ZodOptional<z.ZodString>;
363
+ defaultValueRef: z.ZodOptional<z.ZodString>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ name: string;
366
+ fieldType: string;
367
+ label?: string | undefined;
368
+ dataType?: string | undefined;
369
+ defaultValueRef?: string | undefined;
370
+ }, {
371
+ name: string;
372
+ fieldType: string;
373
+ label?: string | undefined;
374
+ dataType?: string | undefined;
375
+ defaultValueRef?: string | undefined;
376
+ }>, "many">>;
377
+ nextElement: z.ZodOptional<z.ZodString>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ label: string;
380
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
381
+ name: string;
382
+ conditions?: {
383
+ leftValueRef: string;
384
+ operator: string;
385
+ rightValue?: string | undefined;
386
+ rightValueRef?: string | undefined;
387
+ }[] | undefined;
388
+ defaultConnector?: string | undefined;
389
+ objectApiName?: string | undefined;
390
+ filterField?: string | undefined;
391
+ filterOperator?: string | undefined;
392
+ filterValueRef?: string | undefined;
393
+ outputVariable?: string | undefined;
394
+ emailAlertApiName?: string | undefined;
395
+ apexClassName?: string | undefined;
396
+ apexMethodName?: string | undefined;
397
+ subflowApiName?: string | undefined;
398
+ loopVariable?: string | undefined;
399
+ loopIterationVariable?: string | undefined;
400
+ assignments?: {
401
+ operator: string;
402
+ assignToRef: string;
403
+ value?: string | undefined;
404
+ valueRef?: string | undefined;
405
+ }[] | undefined;
406
+ screenFields?: {
407
+ name: string;
408
+ fieldType: string;
409
+ label?: string | undefined;
410
+ dataType?: string | undefined;
411
+ defaultValueRef?: string | undefined;
412
+ }[] | undefined;
413
+ nextElement?: string | undefined;
414
+ }, {
415
+ label: string;
416
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
417
+ name: string;
418
+ conditions?: {
419
+ leftValueRef: string;
420
+ operator: string;
421
+ rightValue?: string | undefined;
422
+ rightValueRef?: string | undefined;
423
+ }[] | undefined;
424
+ defaultConnector?: string | undefined;
425
+ objectApiName?: string | undefined;
426
+ filterField?: string | undefined;
427
+ filterOperator?: string | undefined;
428
+ filterValueRef?: string | undefined;
429
+ outputVariable?: string | undefined;
430
+ emailAlertApiName?: string | undefined;
431
+ apexClassName?: string | undefined;
432
+ apexMethodName?: string | undefined;
433
+ subflowApiName?: string | undefined;
434
+ loopVariable?: string | undefined;
435
+ loopIterationVariable?: string | undefined;
436
+ assignments?: {
437
+ assignToRef: string;
438
+ value?: string | undefined;
439
+ operator?: string | undefined;
440
+ valueRef?: string | undefined;
441
+ }[] | undefined;
442
+ screenFields?: {
443
+ name: string;
444
+ fieldType: string;
445
+ label?: string | undefined;
446
+ dataType?: string | undefined;
447
+ defaultValueRef?: string | undefined;
448
+ }[] | undefined;
449
+ nextElement?: string | undefined;
450
+ }>;
451
+ export declare const CreateFlowSchema: z.ZodObject<{
452
+ label: z.ZodString;
453
+ apiName: z.ZodString;
454
+ description: z.ZodOptional<z.ZodString>;
455
+ flowType: z.ZodDefault<z.ZodEnum<["AutoLaunchedFlow", "Flow", "RecordTriggeredFlow", "ScheduledFlow"]>>;
456
+ triggerObject: z.ZodOptional<z.ZodString>;
457
+ triggerType: z.ZodOptional<z.ZodEnum<["RecordBeforeSave", "RecordAfterSave", "RecordBeforeDelete"]>>;
458
+ triggerFilterFormula: z.ZodOptional<z.ZodString>;
459
+ fieldUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
+ field: z.ZodString;
461
+ value: z.ZodOptional<z.ZodString>;
462
+ formula: z.ZodOptional<z.ZodString>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ field: string;
465
+ value?: string | undefined;
466
+ formula?: string | undefined;
467
+ }, {
468
+ field: string;
469
+ value?: string | undefined;
470
+ formula?: string | undefined;
471
+ }>, "many">>;
472
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
473
+ type: z.ZodEnum<["Decision", "GetRecords", "CreateRecords", "DeleteRecords", "SendEmailAlert", "ApexAction", "Subflow", "Loop", "Assignment", "Screen", "Wait", "PlatformEvent"]>;
474
+ name: z.ZodString;
475
+ label: z.ZodString;
476
+ conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ leftValueRef: z.ZodString;
478
+ operator: z.ZodString;
479
+ rightValue: z.ZodOptional<z.ZodString>;
480
+ rightValueRef: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ leftValueRef: string;
483
+ operator: string;
484
+ rightValue?: string | undefined;
485
+ rightValueRef?: string | undefined;
486
+ }, {
487
+ leftValueRef: string;
488
+ operator: string;
489
+ rightValue?: string | undefined;
490
+ rightValueRef?: string | undefined;
491
+ }>, "many">>;
492
+ defaultConnector: z.ZodOptional<z.ZodString>;
493
+ objectApiName: z.ZodOptional<z.ZodString>;
494
+ filterField: z.ZodOptional<z.ZodString>;
495
+ filterOperator: z.ZodOptional<z.ZodString>;
496
+ filterValueRef: z.ZodOptional<z.ZodString>;
497
+ outputVariable: z.ZodOptional<z.ZodString>;
498
+ emailAlertApiName: z.ZodOptional<z.ZodString>;
499
+ apexClassName: z.ZodOptional<z.ZodString>;
500
+ apexMethodName: z.ZodOptional<z.ZodString>;
501
+ subflowApiName: z.ZodOptional<z.ZodString>;
502
+ loopVariable: z.ZodOptional<z.ZodString>;
503
+ loopIterationVariable: z.ZodOptional<z.ZodString>;
504
+ assignments: z.ZodOptional<z.ZodArray<z.ZodObject<{
505
+ assignToRef: z.ZodString;
506
+ operator: z.ZodDefault<z.ZodString>;
507
+ valueRef: z.ZodOptional<z.ZodString>;
508
+ value: z.ZodOptional<z.ZodString>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ operator: string;
511
+ assignToRef: string;
512
+ value?: string | undefined;
513
+ valueRef?: string | undefined;
514
+ }, {
515
+ assignToRef: string;
516
+ value?: string | undefined;
517
+ operator?: string | undefined;
518
+ valueRef?: string | undefined;
519
+ }>, "many">>;
520
+ screenFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
521
+ name: z.ZodString;
522
+ fieldType: z.ZodString;
523
+ label: z.ZodOptional<z.ZodString>;
524
+ dataType: z.ZodOptional<z.ZodString>;
525
+ defaultValueRef: z.ZodOptional<z.ZodString>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ name: string;
528
+ fieldType: string;
529
+ label?: string | undefined;
530
+ dataType?: string | undefined;
531
+ defaultValueRef?: string | undefined;
532
+ }, {
533
+ name: string;
534
+ fieldType: string;
535
+ label?: string | undefined;
536
+ dataType?: string | undefined;
537
+ defaultValueRef?: string | undefined;
538
+ }>, "many">>;
539
+ nextElement: z.ZodOptional<z.ZodString>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ label: string;
542
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
543
+ name: string;
544
+ conditions?: {
545
+ leftValueRef: string;
546
+ operator: string;
547
+ rightValue?: string | undefined;
548
+ rightValueRef?: string | undefined;
549
+ }[] | undefined;
550
+ defaultConnector?: string | undefined;
551
+ objectApiName?: string | undefined;
552
+ filterField?: string | undefined;
553
+ filterOperator?: string | undefined;
554
+ filterValueRef?: string | undefined;
555
+ outputVariable?: string | undefined;
556
+ emailAlertApiName?: string | undefined;
557
+ apexClassName?: string | undefined;
558
+ apexMethodName?: string | undefined;
559
+ subflowApiName?: string | undefined;
560
+ loopVariable?: string | undefined;
561
+ loopIterationVariable?: string | undefined;
562
+ assignments?: {
563
+ operator: string;
564
+ assignToRef: string;
565
+ value?: string | undefined;
566
+ valueRef?: string | undefined;
567
+ }[] | undefined;
568
+ screenFields?: {
569
+ name: string;
570
+ fieldType: string;
571
+ label?: string | undefined;
572
+ dataType?: string | undefined;
573
+ defaultValueRef?: string | undefined;
574
+ }[] | undefined;
575
+ nextElement?: string | undefined;
576
+ }, {
577
+ label: string;
578
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
579
+ name: string;
580
+ conditions?: {
581
+ leftValueRef: string;
582
+ operator: string;
583
+ rightValue?: string | undefined;
584
+ rightValueRef?: string | undefined;
585
+ }[] | undefined;
586
+ defaultConnector?: string | undefined;
587
+ objectApiName?: string | undefined;
588
+ filterField?: string | undefined;
589
+ filterOperator?: string | undefined;
590
+ filterValueRef?: string | undefined;
591
+ outputVariable?: string | undefined;
592
+ emailAlertApiName?: string | undefined;
593
+ apexClassName?: string | undefined;
594
+ apexMethodName?: string | undefined;
595
+ subflowApiName?: string | undefined;
596
+ loopVariable?: string | undefined;
597
+ loopIterationVariable?: string | undefined;
598
+ assignments?: {
599
+ assignToRef: string;
600
+ value?: string | undefined;
601
+ operator?: string | undefined;
602
+ valueRef?: string | undefined;
603
+ }[] | undefined;
604
+ screenFields?: {
605
+ name: string;
606
+ fieldType: string;
607
+ label?: string | undefined;
608
+ dataType?: string | undefined;
609
+ defaultValueRef?: string | undefined;
610
+ }[] | undefined;
611
+ nextElement?: string | undefined;
612
+ }>, "many">>;
613
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
614
+ name: z.ZodString;
615
+ dataType: z.ZodEnum<["String", "Number", "Boolean", "Date", "DateTime", "SObject"]>;
616
+ objectType: z.ZodOptional<z.ZodString>;
617
+ isInput: z.ZodDefault<z.ZodBoolean>;
618
+ isOutput: z.ZodDefault<z.ZodBoolean>;
619
+ isCollection: z.ZodDefault<z.ZodBoolean>;
620
+ defaultStringValue: z.ZodOptional<z.ZodString>;
621
+ }, "strip", z.ZodTypeAny, {
622
+ name: string;
623
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
624
+ isInput: boolean;
625
+ isOutput: boolean;
626
+ isCollection: boolean;
627
+ objectType?: string | undefined;
628
+ defaultStringValue?: string | undefined;
629
+ }, {
630
+ name: string;
631
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
632
+ objectType?: string | undefined;
633
+ isInput?: boolean | undefined;
634
+ isOutput?: boolean | undefined;
635
+ isCollection?: boolean | undefined;
636
+ defaultStringValue?: string | undefined;
637
+ }>, "many">>;
638
+ status: z.ZodDefault<z.ZodEnum<["Draft", "Active"]>>;
639
+ submitForApprovalProcessName: z.ZodOptional<z.ZodString>;
640
+ }, "strict", z.ZodTypeAny, {
641
+ label: string;
642
+ status: "Draft" | "Active";
643
+ apiName: string;
644
+ flowType: "AutoLaunchedFlow" | "Flow" | "RecordTriggeredFlow" | "ScheduledFlow";
645
+ description?: string | undefined;
646
+ triggerObject?: string | undefined;
647
+ triggerType?: "RecordBeforeSave" | "RecordAfterSave" | "RecordBeforeDelete" | undefined;
648
+ triggerFilterFormula?: string | undefined;
649
+ fieldUpdates?: {
650
+ field: string;
651
+ value?: string | undefined;
652
+ formula?: string | undefined;
653
+ }[] | undefined;
654
+ elements?: {
655
+ label: string;
656
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
657
+ name: string;
658
+ conditions?: {
659
+ leftValueRef: string;
660
+ operator: string;
661
+ rightValue?: string | undefined;
662
+ rightValueRef?: string | undefined;
663
+ }[] | undefined;
664
+ defaultConnector?: string | undefined;
665
+ objectApiName?: string | undefined;
666
+ filterField?: string | undefined;
667
+ filterOperator?: string | undefined;
668
+ filterValueRef?: string | undefined;
669
+ outputVariable?: string | undefined;
670
+ emailAlertApiName?: string | undefined;
671
+ apexClassName?: string | undefined;
672
+ apexMethodName?: string | undefined;
673
+ subflowApiName?: string | undefined;
674
+ loopVariable?: string | undefined;
675
+ loopIterationVariable?: string | undefined;
676
+ assignments?: {
677
+ operator: string;
678
+ assignToRef: string;
679
+ value?: string | undefined;
680
+ valueRef?: string | undefined;
681
+ }[] | undefined;
682
+ screenFields?: {
683
+ name: string;
684
+ fieldType: string;
685
+ label?: string | undefined;
686
+ dataType?: string | undefined;
687
+ defaultValueRef?: string | undefined;
688
+ }[] | undefined;
689
+ nextElement?: string | undefined;
690
+ }[] | undefined;
691
+ variables?: {
692
+ name: string;
693
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
694
+ isInput: boolean;
695
+ isOutput: boolean;
696
+ isCollection: boolean;
697
+ objectType?: string | undefined;
698
+ defaultStringValue?: string | undefined;
699
+ }[] | undefined;
700
+ submitForApprovalProcessName?: string | undefined;
701
+ }, {
702
+ label: string;
703
+ apiName: string;
704
+ description?: string | undefined;
705
+ status?: "Draft" | "Active" | undefined;
706
+ flowType?: "AutoLaunchedFlow" | "Flow" | "RecordTriggeredFlow" | "ScheduledFlow" | undefined;
707
+ triggerObject?: string | undefined;
708
+ triggerType?: "RecordBeforeSave" | "RecordAfterSave" | "RecordBeforeDelete" | undefined;
709
+ triggerFilterFormula?: string | undefined;
710
+ fieldUpdates?: {
711
+ field: string;
712
+ value?: string | undefined;
713
+ formula?: string | undefined;
714
+ }[] | undefined;
715
+ elements?: {
716
+ label: string;
717
+ type: "Decision" | "GetRecords" | "CreateRecords" | "DeleteRecords" | "SendEmailAlert" | "ApexAction" | "Subflow" | "Loop" | "Assignment" | "Screen" | "Wait" | "PlatformEvent";
718
+ name: string;
719
+ conditions?: {
720
+ leftValueRef: string;
721
+ operator: string;
722
+ rightValue?: string | undefined;
723
+ rightValueRef?: string | undefined;
724
+ }[] | undefined;
725
+ defaultConnector?: string | undefined;
726
+ objectApiName?: string | undefined;
727
+ filterField?: string | undefined;
728
+ filterOperator?: string | undefined;
729
+ filterValueRef?: string | undefined;
730
+ outputVariable?: string | undefined;
731
+ emailAlertApiName?: string | undefined;
732
+ apexClassName?: string | undefined;
733
+ apexMethodName?: string | undefined;
734
+ subflowApiName?: string | undefined;
735
+ loopVariable?: string | undefined;
736
+ loopIterationVariable?: string | undefined;
737
+ assignments?: {
738
+ assignToRef: string;
739
+ value?: string | undefined;
740
+ operator?: string | undefined;
741
+ valueRef?: string | undefined;
742
+ }[] | undefined;
743
+ screenFields?: {
744
+ name: string;
745
+ fieldType: string;
746
+ label?: string | undefined;
747
+ dataType?: string | undefined;
748
+ defaultValueRef?: string | undefined;
749
+ }[] | undefined;
750
+ nextElement?: string | undefined;
751
+ }[] | undefined;
752
+ variables?: {
753
+ name: string;
754
+ dataType: "Number" | "Date" | "DateTime" | "String" | "Boolean" | "SObject";
755
+ objectType?: string | undefined;
756
+ isInput?: boolean | undefined;
757
+ isOutput?: boolean | undefined;
758
+ isCollection?: boolean | undefined;
759
+ defaultStringValue?: string | undefined;
760
+ }[] | undefined;
761
+ submitForApprovalProcessName?: string | undefined;
762
+ }>;
763
+ export declare const ApprovalSubmitterSchema: z.ZodObject<{
764
+ type: z.ZodString;
765
+ submitter: z.ZodOptional<z.ZodString>;
766
+ }, "strip", z.ZodTypeAny, {
767
+ type: string;
768
+ submitter?: string | undefined;
769
+ }, {
770
+ type: string;
771
+ submitter?: string | undefined;
772
+ }>;
773
+ export declare const ApprovalStepApproverSchema: z.ZodObject<{
774
+ type: z.ZodString;
775
+ name: z.ZodOptional<z.ZodString>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ type: string;
778
+ name?: string | undefined;
779
+ }, {
780
+ type: string;
781
+ name?: string | undefined;
782
+ }>;
783
+ export declare const ApprovalStepSchema: z.ZodObject<{
784
+ name: z.ZodString;
785
+ label: z.ZodString;
786
+ approvers: z.ZodArray<z.ZodObject<{
787
+ type: z.ZodString;
788
+ name: z.ZodOptional<z.ZodString>;
789
+ }, "strip", z.ZodTypeAny, {
790
+ type: string;
791
+ name?: string | undefined;
792
+ }, {
793
+ type: string;
794
+ name?: string | undefined;
795
+ }>, "many">;
796
+ whenMultiple: z.ZodDefault<z.ZodEnum<["Unanimous", "FirstResponse"]>>;
797
+ allowDelegate: z.ZodDefault<z.ZodBoolean>;
798
+ entryFormula: z.ZodOptional<z.ZodString>;
799
+ ifCriteriaNotMet: z.ZodDefault<z.ZodEnum<["ApproveRecord", "RejectRecord", "GotoNextStep"]>>;
800
+ rejectBehavior: z.ZodOptional<z.ZodEnum<["RejectRequest", "BackToPrevious"]>>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ label: string;
803
+ name: string;
804
+ approvers: {
805
+ type: string;
806
+ name?: string | undefined;
807
+ }[];
808
+ whenMultiple: "Unanimous" | "FirstResponse";
809
+ allowDelegate: boolean;
810
+ ifCriteriaNotMet: "ApproveRecord" | "RejectRecord" | "GotoNextStep";
811
+ entryFormula?: string | undefined;
812
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
813
+ }, {
814
+ label: string;
815
+ name: string;
816
+ approvers: {
817
+ type: string;
818
+ name?: string | undefined;
819
+ }[];
820
+ whenMultiple?: "Unanimous" | "FirstResponse" | undefined;
821
+ allowDelegate?: boolean | undefined;
822
+ entryFormula?: string | undefined;
823
+ ifCriteriaNotMet?: "ApproveRecord" | "RejectRecord" | "GotoNextStep" | undefined;
824
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
825
+ }>;
826
+ export declare const CreateApprovalProcessSchema: z.ZodObject<{
827
+ objectName: z.ZodString;
828
+ processName: z.ZodString;
829
+ label: z.ZodString;
830
+ description: z.ZodOptional<z.ZodString>;
831
+ allowedSubmitters: z.ZodArray<z.ZodObject<{
832
+ type: z.ZodString;
833
+ submitter: z.ZodOptional<z.ZodString>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ type: string;
836
+ submitter?: string | undefined;
837
+ }, {
838
+ type: string;
839
+ submitter?: string | undefined;
840
+ }>, "many">;
841
+ approvalSteps: z.ZodArray<z.ZodObject<{
842
+ name: z.ZodString;
843
+ label: z.ZodString;
844
+ approvers: z.ZodArray<z.ZodObject<{
845
+ type: z.ZodString;
846
+ name: z.ZodOptional<z.ZodString>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ type: string;
849
+ name?: string | undefined;
850
+ }, {
851
+ type: string;
852
+ name?: string | undefined;
853
+ }>, "many">;
854
+ whenMultiple: z.ZodDefault<z.ZodEnum<["Unanimous", "FirstResponse"]>>;
855
+ allowDelegate: z.ZodDefault<z.ZodBoolean>;
856
+ entryFormula: z.ZodOptional<z.ZodString>;
857
+ ifCriteriaNotMet: z.ZodDefault<z.ZodEnum<["ApproveRecord", "RejectRecord", "GotoNextStep"]>>;
858
+ rejectBehavior: z.ZodOptional<z.ZodEnum<["RejectRequest", "BackToPrevious"]>>;
859
+ }, "strip", z.ZodTypeAny, {
860
+ label: string;
861
+ name: string;
862
+ approvers: {
863
+ type: string;
864
+ name?: string | undefined;
865
+ }[];
866
+ whenMultiple: "Unanimous" | "FirstResponse";
867
+ allowDelegate: boolean;
868
+ ifCriteriaNotMet: "ApproveRecord" | "RejectRecord" | "GotoNextStep";
869
+ entryFormula?: string | undefined;
870
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
871
+ }, {
872
+ label: string;
873
+ name: string;
874
+ approvers: {
875
+ type: string;
876
+ name?: string | undefined;
877
+ }[];
878
+ whenMultiple?: "Unanimous" | "FirstResponse" | undefined;
879
+ allowDelegate?: boolean | undefined;
880
+ entryFormula?: string | undefined;
881
+ ifCriteriaNotMet?: "ApproveRecord" | "RejectRecord" | "GotoNextStep" | undefined;
882
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
883
+ }>, "many">;
884
+ entryFormula: z.ZodOptional<z.ZodString>;
885
+ entryFilterCriteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
886
+ field: z.ZodString;
887
+ operation: z.ZodString;
888
+ value: z.ZodString;
889
+ }, "strip", z.ZodTypeAny, {
890
+ value: string;
891
+ field: string;
892
+ operation: string;
893
+ }, {
894
+ value: string;
895
+ field: string;
896
+ operation: string;
897
+ }>, "many">>;
898
+ recordEditability: z.ZodDefault<z.ZodEnum<["AdminOnly", "AdminOrCurrentApprover"]>>;
899
+ allowRecall: z.ZodDefault<z.ZodBoolean>;
900
+ finalApprovalLock: z.ZodDefault<z.ZodBoolean>;
901
+ finalRejectionLock: z.ZodDefault<z.ZodBoolean>;
902
+ emailTemplate: z.ZodOptional<z.ZodString>;
903
+ active: z.ZodDefault<z.ZodBoolean>;
904
+ }, "strict", z.ZodTypeAny, {
905
+ label: string;
906
+ objectName: string;
907
+ processName: string;
908
+ allowedSubmitters: {
909
+ type: string;
910
+ submitter?: string | undefined;
911
+ }[];
912
+ approvalSteps: {
913
+ label: string;
914
+ name: string;
915
+ approvers: {
916
+ type: string;
917
+ name?: string | undefined;
918
+ }[];
919
+ whenMultiple: "Unanimous" | "FirstResponse";
920
+ allowDelegate: boolean;
921
+ ifCriteriaNotMet: "ApproveRecord" | "RejectRecord" | "GotoNextStep";
922
+ entryFormula?: string | undefined;
923
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
924
+ }[];
925
+ recordEditability: "AdminOnly" | "AdminOrCurrentApprover";
926
+ allowRecall: boolean;
927
+ finalApprovalLock: boolean;
928
+ finalRejectionLock: boolean;
929
+ active: boolean;
930
+ description?: string | undefined;
931
+ entryFormula?: string | undefined;
932
+ entryFilterCriteria?: {
933
+ value: string;
934
+ field: string;
935
+ operation: string;
936
+ }[] | undefined;
937
+ emailTemplate?: string | undefined;
938
+ }, {
939
+ label: string;
940
+ objectName: string;
941
+ processName: string;
942
+ allowedSubmitters: {
943
+ type: string;
944
+ submitter?: string | undefined;
945
+ }[];
946
+ approvalSteps: {
947
+ label: string;
948
+ name: string;
949
+ approvers: {
950
+ type: string;
951
+ name?: string | undefined;
952
+ }[];
953
+ whenMultiple?: "Unanimous" | "FirstResponse" | undefined;
954
+ allowDelegate?: boolean | undefined;
955
+ entryFormula?: string | undefined;
956
+ ifCriteriaNotMet?: "ApproveRecord" | "RejectRecord" | "GotoNextStep" | undefined;
957
+ rejectBehavior?: "RejectRequest" | "BackToPrevious" | undefined;
958
+ }[];
959
+ description?: string | undefined;
960
+ entryFormula?: string | undefined;
961
+ entryFilterCriteria?: {
962
+ value: string;
963
+ field: string;
964
+ operation: string;
965
+ }[] | undefined;
966
+ recordEditability?: "AdminOnly" | "AdminOrCurrentApprover" | undefined;
967
+ allowRecall?: boolean | undefined;
968
+ finalApprovalLock?: boolean | undefined;
969
+ finalRejectionLock?: boolean | undefined;
970
+ emailTemplate?: string | undefined;
971
+ active?: boolean | undefined;
972
+ }>;
973
+ export declare const CreateValidationRuleSchema: z.ZodObject<{
974
+ objectName: z.ZodString;
975
+ ruleName: z.ZodString;
976
+ errorConditionFormula: z.ZodString;
977
+ errorMessage: z.ZodString;
978
+ errorDisplayField: z.ZodOptional<z.ZodString>;
979
+ description: z.ZodOptional<z.ZodString>;
980
+ active: z.ZodDefault<z.ZodBoolean>;
981
+ }, "strict", z.ZodTypeAny, {
982
+ objectName: string;
983
+ active: boolean;
984
+ ruleName: string;
985
+ errorConditionFormula: string;
986
+ errorMessage: string;
987
+ description?: string | undefined;
988
+ errorDisplayField?: string | undefined;
989
+ }, {
990
+ objectName: string;
991
+ ruleName: string;
992
+ errorConditionFormula: string;
993
+ errorMessage: string;
994
+ description?: string | undefined;
995
+ active?: boolean | undefined;
996
+ errorDisplayField?: string | undefined;
997
+ }>;
998
+ export declare const CreateWorkflowFieldUpdateSchema: z.ZodObject<{
999
+ objectName: z.ZodString;
1000
+ actionName: z.ZodString;
1001
+ label: z.ZodString;
1002
+ field: z.ZodString;
1003
+ literalValue: z.ZodOptional<z.ZodString>;
1004
+ formula: z.ZodOptional<z.ZodString>;
1005
+ nullValue: z.ZodDefault<z.ZodBoolean>;
1006
+ notifyAssignee: z.ZodDefault<z.ZodBoolean>;
1007
+ }, "strict", z.ZodTypeAny, {
1008
+ label: string;
1009
+ objectName: string;
1010
+ field: string;
1011
+ actionName: string;
1012
+ nullValue: boolean;
1013
+ notifyAssignee: boolean;
1014
+ formula?: string | undefined;
1015
+ literalValue?: string | undefined;
1016
+ }, {
1017
+ label: string;
1018
+ objectName: string;
1019
+ field: string;
1020
+ actionName: string;
1021
+ formula?: string | undefined;
1022
+ literalValue?: string | undefined;
1023
+ nullValue?: boolean | undefined;
1024
+ notifyAssignee?: boolean | undefined;
1025
+ }>;
1026
+ export declare const MetadataFieldSchema: z.ZodObject<{
1027
+ fullName: z.ZodString;
1028
+ label: z.ZodString;
1029
+ type: z.ZodEnum<["Text", "Number", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "TextArea", "LongTextArea", "Picklist", "Currency", "Percent"]>;
1030
+ required: z.ZodOptional<z.ZodBoolean>;
1031
+ length: z.ZodOptional<z.ZodNumber>;
1032
+ precision: z.ZodOptional<z.ZodNumber>;
1033
+ scale: z.ZodOptional<z.ZodNumber>;
1034
+ defaultValue: z.ZodOptional<z.ZodString>;
1035
+ description: z.ZodOptional<z.ZodString>;
1036
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ fullName: string;
1039
+ label: string;
1040
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1041
+ description?: string | undefined;
1042
+ length?: number | undefined;
1043
+ required?: boolean | undefined;
1044
+ precision?: number | undefined;
1045
+ scale?: number | undefined;
1046
+ picklistValues?: string[] | undefined;
1047
+ defaultValue?: string | undefined;
1048
+ }, {
1049
+ fullName: string;
1050
+ label: string;
1051
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1052
+ description?: string | undefined;
1053
+ length?: number | undefined;
1054
+ required?: boolean | undefined;
1055
+ precision?: number | undefined;
1056
+ scale?: number | undefined;
1057
+ picklistValues?: string[] | undefined;
1058
+ defaultValue?: string | undefined;
1059
+ }>;
1060
+ export declare const CreateCustomMetadataTypeSchema: z.ZodObject<{
1061
+ fullName: z.ZodString;
1062
+ label: z.ZodString;
1063
+ pluralLabel: z.ZodString;
1064
+ description: z.ZodOptional<z.ZodString>;
1065
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1066
+ fullName: z.ZodString;
1067
+ label: z.ZodString;
1068
+ type: z.ZodEnum<["Text", "Number", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "TextArea", "LongTextArea", "Picklist", "Currency", "Percent"]>;
1069
+ required: z.ZodOptional<z.ZodBoolean>;
1070
+ length: z.ZodOptional<z.ZodNumber>;
1071
+ precision: z.ZodOptional<z.ZodNumber>;
1072
+ scale: z.ZodOptional<z.ZodNumber>;
1073
+ defaultValue: z.ZodOptional<z.ZodString>;
1074
+ description: z.ZodOptional<z.ZodString>;
1075
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ fullName: string;
1078
+ label: string;
1079
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1080
+ description?: string | undefined;
1081
+ length?: number | undefined;
1082
+ required?: boolean | undefined;
1083
+ precision?: number | undefined;
1084
+ scale?: number | undefined;
1085
+ picklistValues?: string[] | undefined;
1086
+ defaultValue?: string | undefined;
1087
+ }, {
1088
+ fullName: string;
1089
+ label: string;
1090
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1091
+ description?: string | undefined;
1092
+ length?: number | undefined;
1093
+ required?: boolean | undefined;
1094
+ precision?: number | undefined;
1095
+ scale?: number | undefined;
1096
+ picklistValues?: string[] | undefined;
1097
+ defaultValue?: string | undefined;
1098
+ }>, "many">>;
1099
+ }, "strict", z.ZodTypeAny, {
1100
+ fullName: string;
1101
+ label: string;
1102
+ pluralLabel: string;
1103
+ description?: string | undefined;
1104
+ fields?: {
1105
+ fullName: string;
1106
+ label: string;
1107
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1108
+ description?: string | undefined;
1109
+ length?: number | undefined;
1110
+ required?: boolean | undefined;
1111
+ precision?: number | undefined;
1112
+ scale?: number | undefined;
1113
+ picklistValues?: string[] | undefined;
1114
+ defaultValue?: string | undefined;
1115
+ }[] | undefined;
1116
+ }, {
1117
+ fullName: string;
1118
+ label: string;
1119
+ pluralLabel: string;
1120
+ description?: string | undefined;
1121
+ fields?: {
1122
+ fullName: string;
1123
+ label: string;
1124
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1125
+ description?: string | undefined;
1126
+ length?: number | undefined;
1127
+ required?: boolean | undefined;
1128
+ precision?: number | undefined;
1129
+ scale?: number | undefined;
1130
+ picklistValues?: string[] | undefined;
1131
+ defaultValue?: string | undefined;
1132
+ }[] | undefined;
1133
+ }>;
1134
+ export declare const CreateCustomMetadataRecordSchema: z.ZodObject<{
1135
+ typeName: z.ZodString;
1136
+ recordName: z.ZodString;
1137
+ label: z.ZodString;
1138
+ values: z.ZodArray<z.ZodObject<{
1139
+ field: z.ZodString;
1140
+ value: z.ZodString;
1141
+ }, "strip", z.ZodTypeAny, {
1142
+ value: string;
1143
+ field: string;
1144
+ }, {
1145
+ value: string;
1146
+ field: string;
1147
+ }>, "many">;
1148
+ }, "strict", z.ZodTypeAny, {
1149
+ label: string;
1150
+ values: {
1151
+ value: string;
1152
+ field: string;
1153
+ }[];
1154
+ typeName: string;
1155
+ recordName: string;
1156
+ }, {
1157
+ label: string;
1158
+ values: {
1159
+ value: string;
1160
+ field: string;
1161
+ }[];
1162
+ typeName: string;
1163
+ recordName: string;
1164
+ }>;
1165
+ export declare const CreateCustomLabelSchema: z.ZodObject<{
1166
+ fullName: z.ZodString;
1167
+ value: z.ZodString;
1168
+ language: z.ZodDefault<z.ZodString>;
1169
+ categories: z.ZodOptional<z.ZodString>;
1170
+ protected: z.ZodDefault<z.ZodBoolean>;
1171
+ shortDescription: z.ZodOptional<z.ZodString>;
1172
+ }, "strict", z.ZodTypeAny, {
1173
+ fullName: string;
1174
+ value: string;
1175
+ language: string;
1176
+ protected: boolean;
1177
+ categories?: string | undefined;
1178
+ shortDescription?: string | undefined;
1179
+ }, {
1180
+ fullName: string;
1181
+ value: string;
1182
+ language?: string | undefined;
1183
+ categories?: string | undefined;
1184
+ protected?: boolean | undefined;
1185
+ shortDescription?: string | undefined;
1186
+ }>;
1187
+ export declare const CreateCustomSettingSchema: z.ZodObject<{
1188
+ fullName: z.ZodString;
1189
+ label: z.ZodString;
1190
+ settingType: z.ZodDefault<z.ZodEnum<["Hierarchy", "List"]>>;
1191
+ visibility: z.ZodDefault<z.ZodEnum<["Public", "Protected"]>>;
1192
+ description: z.ZodOptional<z.ZodString>;
1193
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1194
+ fullName: z.ZodString;
1195
+ label: z.ZodString;
1196
+ type: z.ZodEnum<["Text", "Number", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "TextArea", "LongTextArea", "Picklist", "Currency", "Percent"]>;
1197
+ required: z.ZodOptional<z.ZodBoolean>;
1198
+ length: z.ZodOptional<z.ZodNumber>;
1199
+ precision: z.ZodOptional<z.ZodNumber>;
1200
+ scale: z.ZodOptional<z.ZodNumber>;
1201
+ defaultValue: z.ZodOptional<z.ZodString>;
1202
+ description: z.ZodOptional<z.ZodString>;
1203
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ fullName: string;
1206
+ label: string;
1207
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1208
+ description?: string | undefined;
1209
+ length?: number | undefined;
1210
+ required?: boolean | undefined;
1211
+ precision?: number | undefined;
1212
+ scale?: number | undefined;
1213
+ picklistValues?: string[] | undefined;
1214
+ defaultValue?: string | undefined;
1215
+ }, {
1216
+ fullName: string;
1217
+ label: string;
1218
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1219
+ description?: string | undefined;
1220
+ length?: number | undefined;
1221
+ required?: boolean | undefined;
1222
+ precision?: number | undefined;
1223
+ scale?: number | undefined;
1224
+ picklistValues?: string[] | undefined;
1225
+ defaultValue?: string | undefined;
1226
+ }>, "many">>;
1227
+ }, "strict", z.ZodTypeAny, {
1228
+ fullName: string;
1229
+ label: string;
1230
+ settingType: "Hierarchy" | "List";
1231
+ visibility: "Public" | "Protected";
1232
+ description?: string | undefined;
1233
+ fields?: {
1234
+ fullName: string;
1235
+ label: string;
1236
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1237
+ description?: string | undefined;
1238
+ length?: number | undefined;
1239
+ required?: boolean | undefined;
1240
+ precision?: number | undefined;
1241
+ scale?: number | undefined;
1242
+ picklistValues?: string[] | undefined;
1243
+ defaultValue?: string | undefined;
1244
+ }[] | undefined;
1245
+ }, {
1246
+ fullName: string;
1247
+ label: string;
1248
+ description?: string | undefined;
1249
+ fields?: {
1250
+ fullName: string;
1251
+ label: string;
1252
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1253
+ description?: string | undefined;
1254
+ length?: number | undefined;
1255
+ required?: boolean | undefined;
1256
+ precision?: number | undefined;
1257
+ scale?: number | undefined;
1258
+ picklistValues?: string[] | undefined;
1259
+ defaultValue?: string | undefined;
1260
+ }[] | undefined;
1261
+ settingType?: "Hierarchy" | "List" | undefined;
1262
+ visibility?: "Public" | "Protected" | undefined;
1263
+ }>;
1264
+ export declare const CreateGlobalValueSetSchema: z.ZodObject<{
1265
+ fullName: z.ZodString;
1266
+ masterLabel: z.ZodString;
1267
+ description: z.ZodOptional<z.ZodString>;
1268
+ sorted: z.ZodDefault<z.ZodBoolean>;
1269
+ values: z.ZodArray<z.ZodObject<{
1270
+ fullName: z.ZodString;
1271
+ label: z.ZodString;
1272
+ default: z.ZodDefault<z.ZodBoolean>;
1273
+ isActive: z.ZodOptional<z.ZodBoolean>;
1274
+ color: z.ZodOptional<z.ZodString>;
1275
+ description: z.ZodOptional<z.ZodString>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ fullName: string;
1278
+ label: string;
1279
+ default: boolean;
1280
+ isActive?: boolean | undefined;
1281
+ color?: string | undefined;
1282
+ description?: string | undefined;
1283
+ }, {
1284
+ fullName: string;
1285
+ label: string;
1286
+ default?: boolean | undefined;
1287
+ isActive?: boolean | undefined;
1288
+ color?: string | undefined;
1289
+ description?: string | undefined;
1290
+ }>, "many">;
1291
+ }, "strict", z.ZodTypeAny, {
1292
+ fullName: string;
1293
+ values: {
1294
+ fullName: string;
1295
+ label: string;
1296
+ default: boolean;
1297
+ isActive?: boolean | undefined;
1298
+ color?: string | undefined;
1299
+ description?: string | undefined;
1300
+ }[];
1301
+ sorted: boolean;
1302
+ masterLabel: string;
1303
+ description?: string | undefined;
1304
+ }, {
1305
+ fullName: string;
1306
+ values: {
1307
+ fullName: string;
1308
+ label: string;
1309
+ default?: boolean | undefined;
1310
+ isActive?: boolean | undefined;
1311
+ color?: string | undefined;
1312
+ description?: string | undefined;
1313
+ }[];
1314
+ masterLabel: string;
1315
+ description?: string | undefined;
1316
+ sorted?: boolean | undefined;
1317
+ }>;
1318
+ export declare const CreateRecordTypeSchema: z.ZodObject<{
1319
+ objectName: z.ZodString;
1320
+ fullName: z.ZodString;
1321
+ label: z.ZodString;
1322
+ description: z.ZodOptional<z.ZodString>;
1323
+ businessProcess: z.ZodOptional<z.ZodString>;
1324
+ isActive: z.ZodDefault<z.ZodBoolean>;
1325
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1326
+ picklist: z.ZodString;
1327
+ values: z.ZodArray<z.ZodString, "many">;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ values: string[];
1330
+ picklist: string;
1331
+ }, {
1332
+ values: string[];
1333
+ picklist: string;
1334
+ }>, "many">>;
1335
+ }, "strict", z.ZodTypeAny, {
1336
+ fullName: string;
1337
+ label: string;
1338
+ isActive: boolean;
1339
+ objectName: string;
1340
+ description?: string | undefined;
1341
+ picklistValues?: {
1342
+ values: string[];
1343
+ picklist: string;
1344
+ }[] | undefined;
1345
+ businessProcess?: string | undefined;
1346
+ }, {
1347
+ fullName: string;
1348
+ label: string;
1349
+ objectName: string;
1350
+ isActive?: boolean | undefined;
1351
+ description?: string | undefined;
1352
+ picklistValues?: {
1353
+ values: string[];
1354
+ picklist: string;
1355
+ }[] | undefined;
1356
+ businessProcess?: string | undefined;
1357
+ }>;
1358
+ export declare const CreateBusinessProcessSchema: z.ZodObject<{
1359
+ objectName: z.ZodEnum<["Opportunity", "Lead", "Case", "Solution"]>;
1360
+ processName: z.ZodString;
1361
+ label: z.ZodString;
1362
+ description: z.ZodOptional<z.ZodString>;
1363
+ isActive: z.ZodDefault<z.ZodBoolean>;
1364
+ values: z.ZodArray<z.ZodString, "many">;
1365
+ }, "strict", z.ZodTypeAny, {
1366
+ label: string;
1367
+ isActive: boolean;
1368
+ values: string[];
1369
+ objectName: "Opportunity" | "Lead" | "Case" | "Solution";
1370
+ processName: string;
1371
+ description?: string | undefined;
1372
+ }, {
1373
+ label: string;
1374
+ values: string[];
1375
+ objectName: "Opportunity" | "Lead" | "Case" | "Solution";
1376
+ processName: string;
1377
+ isActive?: boolean | undefined;
1378
+ description?: string | undefined;
1379
+ }>;
1380
+ export declare const CreatePageLayoutSchema: z.ZodObject<{
1381
+ objectName: z.ZodString;
1382
+ layoutName: z.ZodString;
1383
+ label: z.ZodString;
1384
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1385
+ label: z.ZodString;
1386
+ style: z.ZodDefault<z.ZodEnum<["TwoColumnsTopToBottom", "TwoColumnsLeftToRight", "OneColumn"]>>;
1387
+ fields: z.ZodArray<z.ZodString, "many">;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ label: string;
1390
+ fields: string[];
1391
+ style: "TwoColumnsTopToBottom" | "TwoColumnsLeftToRight" | "OneColumn";
1392
+ }, {
1393
+ label: string;
1394
+ fields: string[];
1395
+ style?: "TwoColumnsTopToBottom" | "TwoColumnsLeftToRight" | "OneColumn" | undefined;
1396
+ }>, "many">>;
1397
+ relatedLists: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1398
+ }, "strict", z.ZodTypeAny, {
1399
+ label: string;
1400
+ objectName: string;
1401
+ layoutName: string;
1402
+ sections?: {
1403
+ label: string;
1404
+ fields: string[];
1405
+ style: "TwoColumnsTopToBottom" | "TwoColumnsLeftToRight" | "OneColumn";
1406
+ }[] | undefined;
1407
+ relatedLists?: string[] | undefined;
1408
+ }, {
1409
+ label: string;
1410
+ objectName: string;
1411
+ layoutName: string;
1412
+ sections?: {
1413
+ label: string;
1414
+ fields: string[];
1415
+ style?: "TwoColumnsTopToBottom" | "TwoColumnsLeftToRight" | "OneColumn" | undefined;
1416
+ }[] | undefined;
1417
+ relatedLists?: string[] | undefined;
1418
+ }>;
1419
+ export declare const CreateSharingRuleSchema: z.ZodObject<{
1420
+ objectName: z.ZodString;
1421
+ ruleName: z.ZodString;
1422
+ label: z.ZodString;
1423
+ ruleType: z.ZodDefault<z.ZodEnum<["criteria", "ownership"]>>;
1424
+ accessLevel: z.ZodDefault<z.ZodEnum<["Read", "Edit"]>>;
1425
+ sharedTo: z.ZodObject<{
1426
+ type: z.ZodEnum<["role", "roleAndSubordinates", "group", "queue", "allInternalUsers", "allCustomerPortalUsers"]>;
1427
+ name: z.ZodOptional<z.ZodString>;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers" | "allCustomerPortalUsers";
1430
+ name?: string | undefined;
1431
+ }, {
1432
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers" | "allCustomerPortalUsers";
1433
+ name?: string | undefined;
1434
+ }>;
1435
+ criteriaItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1436
+ field: z.ZodString;
1437
+ operation: z.ZodString;
1438
+ value: z.ZodString;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ value: string;
1441
+ field: string;
1442
+ operation: string;
1443
+ }, {
1444
+ value: string;
1445
+ field: string;
1446
+ operation: string;
1447
+ }>, "many">>;
1448
+ sharedFrom: z.ZodOptional<z.ZodObject<{
1449
+ type: z.ZodEnum<["role", "roleAndSubordinates", "group", "queue", "allInternalUsers"]>;
1450
+ name: z.ZodOptional<z.ZodString>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers";
1453
+ name?: string | undefined;
1454
+ }, {
1455
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers";
1456
+ name?: string | undefined;
1457
+ }>>;
1458
+ }, "strict", z.ZodTypeAny, {
1459
+ label: string;
1460
+ objectName: string;
1461
+ ruleName: string;
1462
+ ruleType: "criteria" | "ownership";
1463
+ accessLevel: "Read" | "Edit";
1464
+ sharedTo: {
1465
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers" | "allCustomerPortalUsers";
1466
+ name?: string | undefined;
1467
+ };
1468
+ criteriaItems?: {
1469
+ value: string;
1470
+ field: string;
1471
+ operation: string;
1472
+ }[] | undefined;
1473
+ sharedFrom?: {
1474
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers";
1475
+ name?: string | undefined;
1476
+ } | undefined;
1477
+ }, {
1478
+ label: string;
1479
+ objectName: string;
1480
+ ruleName: string;
1481
+ sharedTo: {
1482
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers" | "allCustomerPortalUsers";
1483
+ name?: string | undefined;
1484
+ };
1485
+ ruleType?: "criteria" | "ownership" | undefined;
1486
+ accessLevel?: "Read" | "Edit" | undefined;
1487
+ criteriaItems?: {
1488
+ value: string;
1489
+ field: string;
1490
+ operation: string;
1491
+ }[] | undefined;
1492
+ sharedFrom?: {
1493
+ type: "role" | "roleAndSubordinates" | "group" | "queue" | "allInternalUsers";
1494
+ name?: string | undefined;
1495
+ } | undefined;
1496
+ }>;
1497
+ export declare const CreateFieldDependencySchema: z.ZodObject<{
1498
+ objectName: z.ZodString;
1499
+ controllingField: z.ZodString;
1500
+ dependentField: z.ZodString;
1501
+ valueSettings: z.ZodArray<z.ZodObject<{
1502
+ controllingFieldValue: z.ZodArray<z.ZodString, "many">;
1503
+ valueName: z.ZodString;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ controllingFieldValue: string[];
1506
+ valueName: string;
1507
+ }, {
1508
+ controllingFieldValue: string[];
1509
+ valueName: string;
1510
+ }>, "many">;
1511
+ }, "strict", z.ZodTypeAny, {
1512
+ objectName: string;
1513
+ controllingField: string;
1514
+ dependentField: string;
1515
+ valueSettings: {
1516
+ controllingFieldValue: string[];
1517
+ valueName: string;
1518
+ }[];
1519
+ }, {
1520
+ objectName: string;
1521
+ controllingField: string;
1522
+ dependentField: string;
1523
+ valueSettings: {
1524
+ controllingFieldValue: string[];
1525
+ valueName: string;
1526
+ }[];
1527
+ }>;
1528
+ export declare const CreateEmailAlertSchema: z.ZodObject<{
1529
+ objectName: z.ZodString;
1530
+ alertName: z.ZodString;
1531
+ label: z.ZodString;
1532
+ description: z.ZodOptional<z.ZodString>;
1533
+ template: z.ZodString;
1534
+ senderType: z.ZodDefault<z.ZodEnum<["CurrentUser", "OrgWideEmailAddress", "DefaultWorkflowUser"]>>;
1535
+ senderAddress: z.ZodOptional<z.ZodString>;
1536
+ recipients: z.ZodArray<z.ZodObject<{
1537
+ type: z.ZodEnum<["owner", "creator", "user", "role", "roleSubordinates", "accountTeam", "salesTeam", "caseTeam", "email"]>;
1538
+ recipient: z.ZodOptional<z.ZodString>;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ type: "role" | "owner" | "creator" | "user" | "roleSubordinates" | "accountTeam" | "salesTeam" | "caseTeam" | "email";
1541
+ recipient?: string | undefined;
1542
+ }, {
1543
+ type: "role" | "owner" | "creator" | "user" | "roleSubordinates" | "accountTeam" | "salesTeam" | "caseTeam" | "email";
1544
+ recipient?: string | undefined;
1545
+ }>, "many">;
1546
+ protected: z.ZodDefault<z.ZodBoolean>;
1547
+ }, "strict", z.ZodTypeAny, {
1548
+ label: string;
1549
+ objectName: string;
1550
+ protected: boolean;
1551
+ alertName: string;
1552
+ template: string;
1553
+ senderType: "CurrentUser" | "OrgWideEmailAddress" | "DefaultWorkflowUser";
1554
+ recipients: {
1555
+ type: "role" | "owner" | "creator" | "user" | "roleSubordinates" | "accountTeam" | "salesTeam" | "caseTeam" | "email";
1556
+ recipient?: string | undefined;
1557
+ }[];
1558
+ description?: string | undefined;
1559
+ senderAddress?: string | undefined;
1560
+ }, {
1561
+ label: string;
1562
+ objectName: string;
1563
+ alertName: string;
1564
+ template: string;
1565
+ recipients: {
1566
+ type: "role" | "owner" | "creator" | "user" | "roleSubordinates" | "accountTeam" | "salesTeam" | "caseTeam" | "email";
1567
+ recipient?: string | undefined;
1568
+ }[];
1569
+ description?: string | undefined;
1570
+ protected?: boolean | undefined;
1571
+ senderType?: "CurrentUser" | "OrgWideEmailAddress" | "DefaultWorkflowUser" | undefined;
1572
+ senderAddress?: string | undefined;
1573
+ }>;
1574
+ export declare const CreatePlatformEventSchema: z.ZodObject<{
1575
+ fullName: z.ZodString;
1576
+ label: z.ZodString;
1577
+ pluralLabel: z.ZodString;
1578
+ description: z.ZodOptional<z.ZodString>;
1579
+ publishBehavior: z.ZodDefault<z.ZodEnum<["PublishAfterCommit", "PublishImmediately"]>>;
1580
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1581
+ fullName: z.ZodString;
1582
+ label: z.ZodString;
1583
+ type: z.ZodEnum<["Text", "Number", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "TextArea", "LongTextArea", "Picklist", "Currency", "Percent"]>;
1584
+ required: z.ZodOptional<z.ZodBoolean>;
1585
+ length: z.ZodOptional<z.ZodNumber>;
1586
+ precision: z.ZodOptional<z.ZodNumber>;
1587
+ scale: z.ZodOptional<z.ZodNumber>;
1588
+ defaultValue: z.ZodOptional<z.ZodString>;
1589
+ description: z.ZodOptional<z.ZodString>;
1590
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ fullName: string;
1593
+ label: string;
1594
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1595
+ description?: string | undefined;
1596
+ length?: number | undefined;
1597
+ required?: boolean | undefined;
1598
+ precision?: number | undefined;
1599
+ scale?: number | undefined;
1600
+ picklistValues?: string[] | undefined;
1601
+ defaultValue?: string | undefined;
1602
+ }, {
1603
+ fullName: string;
1604
+ label: string;
1605
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1606
+ description?: string | undefined;
1607
+ length?: number | undefined;
1608
+ required?: boolean | undefined;
1609
+ precision?: number | undefined;
1610
+ scale?: number | undefined;
1611
+ picklistValues?: string[] | undefined;
1612
+ defaultValue?: string | undefined;
1613
+ }>, "many">>;
1614
+ }, "strict", z.ZodTypeAny, {
1615
+ fullName: string;
1616
+ label: string;
1617
+ pluralLabel: string;
1618
+ publishBehavior: "PublishAfterCommit" | "PublishImmediately";
1619
+ description?: string | undefined;
1620
+ fields?: {
1621
+ fullName: string;
1622
+ label: string;
1623
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1624
+ description?: string | undefined;
1625
+ length?: number | undefined;
1626
+ required?: boolean | undefined;
1627
+ precision?: number | undefined;
1628
+ scale?: number | undefined;
1629
+ picklistValues?: string[] | undefined;
1630
+ defaultValue?: string | undefined;
1631
+ }[] | undefined;
1632
+ }, {
1633
+ fullName: string;
1634
+ label: string;
1635
+ pluralLabel: string;
1636
+ description?: string | undefined;
1637
+ fields?: {
1638
+ fullName: string;
1639
+ label: string;
1640
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
1641
+ description?: string | undefined;
1642
+ length?: number | undefined;
1643
+ required?: boolean | undefined;
1644
+ precision?: number | undefined;
1645
+ scale?: number | undefined;
1646
+ picklistValues?: string[] | undefined;
1647
+ defaultValue?: string | undefined;
1648
+ }[] | undefined;
1649
+ publishBehavior?: "PublishAfterCommit" | "PublishImmediately" | undefined;
1650
+ }>;
1651
+ export declare const RuleEntrySchema: z.ZodObject<{
1652
+ entryOrder: z.ZodNumber;
1653
+ assignedTo: z.ZodString;
1654
+ assignedToType: z.ZodDefault<z.ZodEnum<["User", "Queue", "Role"]>>;
1655
+ criteriaItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1656
+ field: z.ZodString;
1657
+ operation: z.ZodString;
1658
+ value: z.ZodString;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ value: string;
1661
+ field: string;
1662
+ operation: string;
1663
+ }, {
1664
+ value: string;
1665
+ field: string;
1666
+ operation: string;
1667
+ }>, "many">>;
1668
+ formula: z.ZodOptional<z.ZodString>;
1669
+ template: z.ZodOptional<z.ZodString>;
1670
+ booleanFilter: z.ZodOptional<z.ZodString>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ entryOrder: number;
1673
+ assignedTo: string;
1674
+ assignedToType: "User" | "Queue" | "Role";
1675
+ formula?: string | undefined;
1676
+ criteriaItems?: {
1677
+ value: string;
1678
+ field: string;
1679
+ operation: string;
1680
+ }[] | undefined;
1681
+ template?: string | undefined;
1682
+ booleanFilter?: string | undefined;
1683
+ }, {
1684
+ entryOrder: number;
1685
+ assignedTo: string;
1686
+ formula?: string | undefined;
1687
+ criteriaItems?: {
1688
+ value: string;
1689
+ field: string;
1690
+ operation: string;
1691
+ }[] | undefined;
1692
+ template?: string | undefined;
1693
+ assignedToType?: "User" | "Queue" | "Role" | undefined;
1694
+ booleanFilter?: string | undefined;
1695
+ }>;
1696
+ export declare const CreateAssignmentRuleSchema: z.ZodObject<{
1697
+ objectName: z.ZodEnum<["Lead", "Case"]>;
1698
+ ruleName: z.ZodString;
1699
+ label: z.ZodString;
1700
+ active: z.ZodDefault<z.ZodBoolean>;
1701
+ ruleEntries: z.ZodArray<z.ZodObject<{
1702
+ entryOrder: z.ZodNumber;
1703
+ assignedTo: z.ZodString;
1704
+ assignedToType: z.ZodDefault<z.ZodEnum<["User", "Queue", "Role"]>>;
1705
+ criteriaItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1706
+ field: z.ZodString;
1707
+ operation: z.ZodString;
1708
+ value: z.ZodString;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ value: string;
1711
+ field: string;
1712
+ operation: string;
1713
+ }, {
1714
+ value: string;
1715
+ field: string;
1716
+ operation: string;
1717
+ }>, "many">>;
1718
+ formula: z.ZodOptional<z.ZodString>;
1719
+ template: z.ZodOptional<z.ZodString>;
1720
+ booleanFilter: z.ZodOptional<z.ZodString>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ entryOrder: number;
1723
+ assignedTo: string;
1724
+ assignedToType: "User" | "Queue" | "Role";
1725
+ formula?: string | undefined;
1726
+ criteriaItems?: {
1727
+ value: string;
1728
+ field: string;
1729
+ operation: string;
1730
+ }[] | undefined;
1731
+ template?: string | undefined;
1732
+ booleanFilter?: string | undefined;
1733
+ }, {
1734
+ entryOrder: number;
1735
+ assignedTo: string;
1736
+ formula?: string | undefined;
1737
+ criteriaItems?: {
1738
+ value: string;
1739
+ field: string;
1740
+ operation: string;
1741
+ }[] | undefined;
1742
+ template?: string | undefined;
1743
+ assignedToType?: "User" | "Queue" | "Role" | undefined;
1744
+ booleanFilter?: string | undefined;
1745
+ }>, "many">;
1746
+ }, "strict", z.ZodTypeAny, {
1747
+ label: string;
1748
+ objectName: "Lead" | "Case";
1749
+ active: boolean;
1750
+ ruleName: string;
1751
+ ruleEntries: {
1752
+ entryOrder: number;
1753
+ assignedTo: string;
1754
+ assignedToType: "User" | "Queue" | "Role";
1755
+ formula?: string | undefined;
1756
+ criteriaItems?: {
1757
+ value: string;
1758
+ field: string;
1759
+ operation: string;
1760
+ }[] | undefined;
1761
+ template?: string | undefined;
1762
+ booleanFilter?: string | undefined;
1763
+ }[];
1764
+ }, {
1765
+ label: string;
1766
+ objectName: "Lead" | "Case";
1767
+ ruleName: string;
1768
+ ruleEntries: {
1769
+ entryOrder: number;
1770
+ assignedTo: string;
1771
+ formula?: string | undefined;
1772
+ criteriaItems?: {
1773
+ value: string;
1774
+ field: string;
1775
+ operation: string;
1776
+ }[] | undefined;
1777
+ template?: string | undefined;
1778
+ assignedToType?: "User" | "Queue" | "Role" | undefined;
1779
+ booleanFilter?: string | undefined;
1780
+ }[];
1781
+ active?: boolean | undefined;
1782
+ }>;
1783
+ export declare const EscalationActionSchema: z.ZodObject<{
1784
+ minutesToEscalation: z.ZodNumber;
1785
+ assignedTo: z.ZodOptional<z.ZodString>;
1786
+ assignedToType: z.ZodOptional<z.ZodEnum<["User", "Queue"]>>;
1787
+ notifyTo: z.ZodOptional<z.ZodString>;
1788
+ template: z.ZodOptional<z.ZodString>;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ minutesToEscalation: number;
1791
+ template?: string | undefined;
1792
+ assignedTo?: string | undefined;
1793
+ assignedToType?: "User" | "Queue" | undefined;
1794
+ notifyTo?: string | undefined;
1795
+ }, {
1796
+ minutesToEscalation: number;
1797
+ template?: string | undefined;
1798
+ assignedTo?: string | undefined;
1799
+ assignedToType?: "User" | "Queue" | undefined;
1800
+ notifyTo?: string | undefined;
1801
+ }>;
1802
+ export declare const CreateEscalationRuleSchema: z.ZodObject<{
1803
+ ruleName: z.ZodString;
1804
+ label: z.ZodString;
1805
+ active: z.ZodDefault<z.ZodBoolean>;
1806
+ ruleEntries: z.ZodArray<z.ZodObject<{
1807
+ entryOrder: z.ZodNumber;
1808
+ criteriaItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1809
+ field: z.ZodString;
1810
+ operation: z.ZodString;
1811
+ value: z.ZodString;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ value: string;
1814
+ field: string;
1815
+ operation: string;
1816
+ }, {
1817
+ value: string;
1818
+ field: string;
1819
+ operation: string;
1820
+ }>, "many">>;
1821
+ formula: z.ZodOptional<z.ZodString>;
1822
+ businessHours: z.ZodDefault<z.ZodString>;
1823
+ escalationStartDate: z.ZodDefault<z.ZodEnum<["CaseCreation", "CaseLastModifiedByCustomer", "CaseLastModified"]>>;
1824
+ escalationActions: z.ZodArray<z.ZodObject<{
1825
+ minutesToEscalation: z.ZodNumber;
1826
+ assignedTo: z.ZodOptional<z.ZodString>;
1827
+ assignedToType: z.ZodOptional<z.ZodEnum<["User", "Queue"]>>;
1828
+ notifyTo: z.ZodOptional<z.ZodString>;
1829
+ template: z.ZodOptional<z.ZodString>;
1830
+ }, "strip", z.ZodTypeAny, {
1831
+ minutesToEscalation: number;
1832
+ template?: string | undefined;
1833
+ assignedTo?: string | undefined;
1834
+ assignedToType?: "User" | "Queue" | undefined;
1835
+ notifyTo?: string | undefined;
1836
+ }, {
1837
+ minutesToEscalation: number;
1838
+ template?: string | undefined;
1839
+ assignedTo?: string | undefined;
1840
+ assignedToType?: "User" | "Queue" | undefined;
1841
+ notifyTo?: string | undefined;
1842
+ }>, "many">;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ entryOrder: number;
1845
+ businessHours: string;
1846
+ escalationStartDate: "CaseCreation" | "CaseLastModifiedByCustomer" | "CaseLastModified";
1847
+ escalationActions: {
1848
+ minutesToEscalation: number;
1849
+ template?: string | undefined;
1850
+ assignedTo?: string | undefined;
1851
+ assignedToType?: "User" | "Queue" | undefined;
1852
+ notifyTo?: string | undefined;
1853
+ }[];
1854
+ formula?: string | undefined;
1855
+ criteriaItems?: {
1856
+ value: string;
1857
+ field: string;
1858
+ operation: string;
1859
+ }[] | undefined;
1860
+ }, {
1861
+ entryOrder: number;
1862
+ escalationActions: {
1863
+ minutesToEscalation: number;
1864
+ template?: string | undefined;
1865
+ assignedTo?: string | undefined;
1866
+ assignedToType?: "User" | "Queue" | undefined;
1867
+ notifyTo?: string | undefined;
1868
+ }[];
1869
+ formula?: string | undefined;
1870
+ criteriaItems?: {
1871
+ value: string;
1872
+ field: string;
1873
+ operation: string;
1874
+ }[] | undefined;
1875
+ businessHours?: string | undefined;
1876
+ escalationStartDate?: "CaseCreation" | "CaseLastModifiedByCustomer" | "CaseLastModified" | undefined;
1877
+ }>, "many">;
1878
+ }, "strict", z.ZodTypeAny, {
1879
+ label: string;
1880
+ active: boolean;
1881
+ ruleName: string;
1882
+ ruleEntries: {
1883
+ entryOrder: number;
1884
+ businessHours: string;
1885
+ escalationStartDate: "CaseCreation" | "CaseLastModifiedByCustomer" | "CaseLastModified";
1886
+ escalationActions: {
1887
+ minutesToEscalation: number;
1888
+ template?: string | undefined;
1889
+ assignedTo?: string | undefined;
1890
+ assignedToType?: "User" | "Queue" | undefined;
1891
+ notifyTo?: string | undefined;
1892
+ }[];
1893
+ formula?: string | undefined;
1894
+ criteriaItems?: {
1895
+ value: string;
1896
+ field: string;
1897
+ operation: string;
1898
+ }[] | undefined;
1899
+ }[];
1900
+ }, {
1901
+ label: string;
1902
+ ruleName: string;
1903
+ ruleEntries: {
1904
+ entryOrder: number;
1905
+ escalationActions: {
1906
+ minutesToEscalation: number;
1907
+ template?: string | undefined;
1908
+ assignedTo?: string | undefined;
1909
+ assignedToType?: "User" | "Queue" | undefined;
1910
+ notifyTo?: string | undefined;
1911
+ }[];
1912
+ formula?: string | undefined;
1913
+ criteriaItems?: {
1914
+ value: string;
1915
+ field: string;
1916
+ operation: string;
1917
+ }[] | undefined;
1918
+ businessHours?: string | undefined;
1919
+ escalationStartDate?: "CaseCreation" | "CaseLastModifiedByCustomer" | "CaseLastModified" | undefined;
1920
+ }[];
1921
+ active?: boolean | undefined;
1922
+ }>;
1923
+ export declare const CreateAutoResponseRuleSchema: z.ZodObject<{
1924
+ objectName: z.ZodEnum<["Lead", "Case"]>;
1925
+ ruleName: z.ZodString;
1926
+ label: z.ZodString;
1927
+ active: z.ZodDefault<z.ZodBoolean>;
1928
+ ruleEntries: z.ZodArray<z.ZodObject<{
1929
+ entryOrder: z.ZodNumber;
1930
+ template: z.ZodString;
1931
+ senderName: z.ZodOptional<z.ZodString>;
1932
+ senderEmail: z.ZodOptional<z.ZodString>;
1933
+ criteriaItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
1934
+ field: z.ZodString;
1935
+ operation: z.ZodString;
1936
+ value: z.ZodString;
1937
+ }, "strip", z.ZodTypeAny, {
1938
+ value: string;
1939
+ field: string;
1940
+ operation: string;
1941
+ }, {
1942
+ value: string;
1943
+ field: string;
1944
+ operation: string;
1945
+ }>, "many">>;
1946
+ formula: z.ZodOptional<z.ZodString>;
1947
+ }, "strip", z.ZodTypeAny, {
1948
+ template: string;
1949
+ entryOrder: number;
1950
+ formula?: string | undefined;
1951
+ criteriaItems?: {
1952
+ value: string;
1953
+ field: string;
1954
+ operation: string;
1955
+ }[] | undefined;
1956
+ senderName?: string | undefined;
1957
+ senderEmail?: string | undefined;
1958
+ }, {
1959
+ template: string;
1960
+ entryOrder: number;
1961
+ formula?: string | undefined;
1962
+ criteriaItems?: {
1963
+ value: string;
1964
+ field: string;
1965
+ operation: string;
1966
+ }[] | undefined;
1967
+ senderName?: string | undefined;
1968
+ senderEmail?: string | undefined;
1969
+ }>, "many">;
1970
+ }, "strict", z.ZodTypeAny, {
1971
+ label: string;
1972
+ objectName: "Lead" | "Case";
1973
+ active: boolean;
1974
+ ruleName: string;
1975
+ ruleEntries: {
1976
+ template: string;
1977
+ entryOrder: number;
1978
+ formula?: string | undefined;
1979
+ criteriaItems?: {
1980
+ value: string;
1981
+ field: string;
1982
+ operation: string;
1983
+ }[] | undefined;
1984
+ senderName?: string | undefined;
1985
+ senderEmail?: string | undefined;
1986
+ }[];
1987
+ }, {
1988
+ label: string;
1989
+ objectName: "Lead" | "Case";
1990
+ ruleName: string;
1991
+ ruleEntries: {
1992
+ template: string;
1993
+ entryOrder: number;
1994
+ formula?: string | undefined;
1995
+ criteriaItems?: {
1996
+ value: string;
1997
+ field: string;
1998
+ operation: string;
1999
+ }[] | undefined;
2000
+ senderName?: string | undefined;
2001
+ senderEmail?: string | undefined;
2002
+ }[];
2003
+ active?: boolean | undefined;
2004
+ }>;
2005
+ export declare const MatchingRuleItemSchema: z.ZodObject<{
2006
+ fieldName: z.ZodString;
2007
+ matchingMethod: z.ZodDefault<z.ZodEnum<["Exact", "FirstName", "LastName", "Company", "Phone", "Email", "City", "Street", "Zip", "Title"]>>;
2008
+ blankValueBehavior: z.ZodDefault<z.ZodEnum<["MatchBlanks", "NullNotAllowed"]>>;
2009
+ }, "strip", z.ZodTypeAny, {
2010
+ fieldName: string;
2011
+ matchingMethod: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title";
2012
+ blankValueBehavior: "MatchBlanks" | "NullNotAllowed";
2013
+ }, {
2014
+ fieldName: string;
2015
+ matchingMethod?: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title" | undefined;
2016
+ blankValueBehavior?: "MatchBlanks" | "NullNotAllowed" | undefined;
2017
+ }>;
2018
+ export declare const CreateMatchingRuleSchema: z.ZodObject<{
2019
+ objectName: z.ZodString;
2020
+ ruleName: z.ZodString;
2021
+ label: z.ZodString;
2022
+ description: z.ZodOptional<z.ZodString>;
2023
+ matchingRuleItems: z.ZodArray<z.ZodObject<{
2024
+ fieldName: z.ZodString;
2025
+ matchingMethod: z.ZodDefault<z.ZodEnum<["Exact", "FirstName", "LastName", "Company", "Phone", "Email", "City", "Street", "Zip", "Title"]>>;
2026
+ blankValueBehavior: z.ZodDefault<z.ZodEnum<["MatchBlanks", "NullNotAllowed"]>>;
2027
+ }, "strip", z.ZodTypeAny, {
2028
+ fieldName: string;
2029
+ matchingMethod: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title";
2030
+ blankValueBehavior: "MatchBlanks" | "NullNotAllowed";
2031
+ }, {
2032
+ fieldName: string;
2033
+ matchingMethod?: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title" | undefined;
2034
+ blankValueBehavior?: "MatchBlanks" | "NullNotAllowed" | undefined;
2035
+ }>, "many">;
2036
+ }, "strict", z.ZodTypeAny, {
2037
+ label: string;
2038
+ objectName: string;
2039
+ ruleName: string;
2040
+ matchingRuleItems: {
2041
+ fieldName: string;
2042
+ matchingMethod: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title";
2043
+ blankValueBehavior: "MatchBlanks" | "NullNotAllowed";
2044
+ }[];
2045
+ description?: string | undefined;
2046
+ }, {
2047
+ label: string;
2048
+ objectName: string;
2049
+ ruleName: string;
2050
+ matchingRuleItems: {
2051
+ fieldName: string;
2052
+ matchingMethod?: "Email" | "Phone" | "Exact" | "FirstName" | "LastName" | "Company" | "City" | "Street" | "Zip" | "Title" | undefined;
2053
+ blankValueBehavior?: "MatchBlanks" | "NullNotAllowed" | undefined;
2054
+ }[];
2055
+ description?: string | undefined;
2056
+ }>;
2057
+ export declare const CreateDuplicateRuleSchema: z.ZodObject<{
2058
+ objectName: z.ZodString;
2059
+ ruleName: z.ZodString;
2060
+ label: z.ZodString;
2061
+ description: z.ZodOptional<z.ZodString>;
2062
+ isActive: z.ZodDefault<z.ZodBoolean>;
2063
+ actionOnInsert: z.ZodDefault<z.ZodEnum<["Allow", "Block", "AllowWithAlert"]>>;
2064
+ actionOnUpdate: z.ZodDefault<z.ZodEnum<["Allow", "Block", "AllowWithAlert"]>>;
2065
+ alertMessage: z.ZodOptional<z.ZodString>;
2066
+ matchingRules: z.ZodArray<z.ZodObject<{
2067
+ matchingRule: z.ZodString;
2068
+ matchingRuleItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2069
+ fieldName: z.ZodString;
2070
+ matchingField: z.ZodString;
2071
+ }, "strip", z.ZodTypeAny, {
2072
+ fieldName: string;
2073
+ matchingField: string;
2074
+ }, {
2075
+ fieldName: string;
2076
+ matchingField: string;
2077
+ }>, "many">>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ matchingRule: string;
2080
+ matchingRuleItems?: {
2081
+ fieldName: string;
2082
+ matchingField: string;
2083
+ }[] | undefined;
2084
+ }, {
2085
+ matchingRule: string;
2086
+ matchingRuleItems?: {
2087
+ fieldName: string;
2088
+ matchingField: string;
2089
+ }[] | undefined;
2090
+ }>, "many">;
2091
+ }, "strict", z.ZodTypeAny, {
2092
+ label: string;
2093
+ isActive: boolean;
2094
+ objectName: string;
2095
+ ruleName: string;
2096
+ actionOnInsert: "Allow" | "Block" | "AllowWithAlert";
2097
+ actionOnUpdate: "Allow" | "Block" | "AllowWithAlert";
2098
+ matchingRules: {
2099
+ matchingRule: string;
2100
+ matchingRuleItems?: {
2101
+ fieldName: string;
2102
+ matchingField: string;
2103
+ }[] | undefined;
2104
+ }[];
2105
+ description?: string | undefined;
2106
+ alertMessage?: string | undefined;
2107
+ }, {
2108
+ label: string;
2109
+ objectName: string;
2110
+ ruleName: string;
2111
+ matchingRules: {
2112
+ matchingRule: string;
2113
+ matchingRuleItems?: {
2114
+ fieldName: string;
2115
+ matchingField: string;
2116
+ }[] | undefined;
2117
+ }[];
2118
+ isActive?: boolean | undefined;
2119
+ description?: string | undefined;
2120
+ actionOnInsert?: "Allow" | "Block" | "AllowWithAlert" | undefined;
2121
+ actionOnUpdate?: "Allow" | "Block" | "AllowWithAlert" | undefined;
2122
+ alertMessage?: string | undefined;
2123
+ }>;
2124
+ export declare const CreateApexEmailServiceSchema: z.ZodObject<{
2125
+ functionName: z.ZodString;
2126
+ apexClassName: z.ZodString;
2127
+ isActive: z.ZodDefault<z.ZodBoolean>;
2128
+ isAuthenticationRequired: z.ZodDefault<z.ZodBoolean>;
2129
+ isErrorRoutingEnabled: z.ZodDefault<z.ZodBoolean>;
2130
+ errorRoutingAddress: z.ZodOptional<z.ZodString>;
2131
+ functionInactiveAction: z.ZodDefault<z.ZodEnum<["Bounce", "Discard", "Requeue"]>>;
2132
+ functionExceptionAction: z.ZodDefault<z.ZodEnum<["Bounce", "Discard", "Requeue"]>>;
2133
+ overLimitAction: z.ZodDefault<z.ZodEnum<["Bounce", "Discard", "Requeue"]>>;
2134
+ authenticationFailureAction: z.ZodDefault<z.ZodEnum<["Bounce", "Discard", "Requeue"]>>;
2135
+ attachmentOption: z.ZodDefault<z.ZodEnum<["None", "TextOnly", "BinaryOnly", "All"]>>;
2136
+ }, "strict", z.ZodTypeAny, {
2137
+ isActive: boolean;
2138
+ apexClassName: string;
2139
+ functionName: string;
2140
+ isAuthenticationRequired: boolean;
2141
+ isErrorRoutingEnabled: boolean;
2142
+ functionInactiveAction: "Bounce" | "Discard" | "Requeue";
2143
+ functionExceptionAction: "Bounce" | "Discard" | "Requeue";
2144
+ overLimitAction: "Bounce" | "Discard" | "Requeue";
2145
+ authenticationFailureAction: "Bounce" | "Discard" | "Requeue";
2146
+ attachmentOption: "None" | "TextOnly" | "BinaryOnly" | "All";
2147
+ errorRoutingAddress?: string | undefined;
2148
+ }, {
2149
+ apexClassName: string;
2150
+ functionName: string;
2151
+ isActive?: boolean | undefined;
2152
+ isAuthenticationRequired?: boolean | undefined;
2153
+ isErrorRoutingEnabled?: boolean | undefined;
2154
+ errorRoutingAddress?: string | undefined;
2155
+ functionInactiveAction?: "Bounce" | "Discard" | "Requeue" | undefined;
2156
+ functionExceptionAction?: "Bounce" | "Discard" | "Requeue" | undefined;
2157
+ overLimitAction?: "Bounce" | "Discard" | "Requeue" | undefined;
2158
+ authenticationFailureAction?: "Bounce" | "Discard" | "Requeue" | undefined;
2159
+ attachmentOption?: "None" | "TextOnly" | "BinaryOnly" | "All" | undefined;
2160
+ }>;
2161
+ export declare const CreateScheduledJobSchema: z.ZodObject<{
2162
+ className: z.ZodString;
2163
+ jobName: z.ZodString;
2164
+ cronExpression: z.ZodString;
2165
+ }, "strict", z.ZodTypeAny, {
2166
+ className: string;
2167
+ jobName: string;
2168
+ cronExpression: string;
2169
+ }, {
2170
+ className: string;
2171
+ jobName: string;
2172
+ cronExpression: string;
2173
+ }>;
2174
+ export declare const CreatePermissionSetSchema: z.ZodObject<{
2175
+ fullName: z.ZodString;
2176
+ label: z.ZodString;
2177
+ description: z.ZodOptional<z.ZodString>;
2178
+ userLicense: z.ZodOptional<z.ZodString>;
2179
+ objectPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2180
+ object: z.ZodString;
2181
+ allowCreate: z.ZodDefault<z.ZodBoolean>;
2182
+ allowRead: z.ZodDefault<z.ZodBoolean>;
2183
+ allowEdit: z.ZodDefault<z.ZodBoolean>;
2184
+ allowDelete: z.ZodDefault<z.ZodBoolean>;
2185
+ viewAllRecords: z.ZodDefault<z.ZodBoolean>;
2186
+ modifyAllRecords: z.ZodDefault<z.ZodBoolean>;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ object: string;
2189
+ allowCreate: boolean;
2190
+ allowRead: boolean;
2191
+ allowEdit: boolean;
2192
+ allowDelete: boolean;
2193
+ viewAllRecords: boolean;
2194
+ modifyAllRecords: boolean;
2195
+ }, {
2196
+ object: string;
2197
+ allowCreate?: boolean | undefined;
2198
+ allowRead?: boolean | undefined;
2199
+ allowEdit?: boolean | undefined;
2200
+ allowDelete?: boolean | undefined;
2201
+ viewAllRecords?: boolean | undefined;
2202
+ modifyAllRecords?: boolean | undefined;
2203
+ }>, "many">>;
2204
+ fieldPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2205
+ field: z.ZodString;
2206
+ editable: z.ZodDefault<z.ZodBoolean>;
2207
+ readable: z.ZodDefault<z.ZodBoolean>;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ field: string;
2210
+ editable: boolean;
2211
+ readable: boolean;
2212
+ }, {
2213
+ field: string;
2214
+ editable?: boolean | undefined;
2215
+ readable?: boolean | undefined;
2216
+ }>, "many">>;
2217
+ apexClassAccesses: z.ZodOptional<z.ZodArray<z.ZodObject<{
2218
+ apexClass: z.ZodString;
2219
+ enabled: z.ZodDefault<z.ZodBoolean>;
2220
+ }, "strip", z.ZodTypeAny, {
2221
+ apexClass: string;
2222
+ enabled: boolean;
2223
+ }, {
2224
+ apexClass: string;
2225
+ enabled?: boolean | undefined;
2226
+ }>, "many">>;
2227
+ userPermissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2228
+ name: z.ZodString;
2229
+ enabled: z.ZodDefault<z.ZodBoolean>;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ name: string;
2232
+ enabled: boolean;
2233
+ }, {
2234
+ name: string;
2235
+ enabled?: boolean | undefined;
2236
+ }>, "many">>;
2237
+ tabSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2238
+ tab: z.ZodString;
2239
+ visibility: z.ZodDefault<z.ZodEnum<["Hidden", "DefaultOff", "DefaultOn"]>>;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ visibility: "Hidden" | "DefaultOff" | "DefaultOn";
2242
+ tab: string;
2243
+ }, {
2244
+ tab: string;
2245
+ visibility?: "Hidden" | "DefaultOff" | "DefaultOn" | undefined;
2246
+ }>, "many">>;
2247
+ }, "strict", z.ZodTypeAny, {
2248
+ fullName: string;
2249
+ label: string;
2250
+ description?: string | undefined;
2251
+ userLicense?: string | undefined;
2252
+ objectPermissions?: {
2253
+ object: string;
2254
+ allowCreate: boolean;
2255
+ allowRead: boolean;
2256
+ allowEdit: boolean;
2257
+ allowDelete: boolean;
2258
+ viewAllRecords: boolean;
2259
+ modifyAllRecords: boolean;
2260
+ }[] | undefined;
2261
+ fieldPermissions?: {
2262
+ field: string;
2263
+ editable: boolean;
2264
+ readable: boolean;
2265
+ }[] | undefined;
2266
+ apexClassAccesses?: {
2267
+ apexClass: string;
2268
+ enabled: boolean;
2269
+ }[] | undefined;
2270
+ userPermissions?: {
2271
+ name: string;
2272
+ enabled: boolean;
2273
+ }[] | undefined;
2274
+ tabSettings?: {
2275
+ visibility: "Hidden" | "DefaultOff" | "DefaultOn";
2276
+ tab: string;
2277
+ }[] | undefined;
2278
+ }, {
2279
+ fullName: string;
2280
+ label: string;
2281
+ description?: string | undefined;
2282
+ userLicense?: string | undefined;
2283
+ objectPermissions?: {
2284
+ object: string;
2285
+ allowCreate?: boolean | undefined;
2286
+ allowRead?: boolean | undefined;
2287
+ allowEdit?: boolean | undefined;
2288
+ allowDelete?: boolean | undefined;
2289
+ viewAllRecords?: boolean | undefined;
2290
+ modifyAllRecords?: boolean | undefined;
2291
+ }[] | undefined;
2292
+ fieldPermissions?: {
2293
+ field: string;
2294
+ editable?: boolean | undefined;
2295
+ readable?: boolean | undefined;
2296
+ }[] | undefined;
2297
+ apexClassAccesses?: {
2298
+ apexClass: string;
2299
+ enabled?: boolean | undefined;
2300
+ }[] | undefined;
2301
+ userPermissions?: {
2302
+ name: string;
2303
+ enabled?: boolean | undefined;
2304
+ }[] | undefined;
2305
+ tabSettings?: {
2306
+ tab: string;
2307
+ visibility?: "Hidden" | "DefaultOff" | "DefaultOn" | undefined;
2308
+ }[] | undefined;
2309
+ }>;
2310
+ export declare const CreateRoleSchema: z.ZodObject<{
2311
+ fullName: z.ZodString;
2312
+ name: z.ZodString;
2313
+ description: z.ZodOptional<z.ZodString>;
2314
+ parentRole: z.ZodOptional<z.ZodString>;
2315
+ caseAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
2316
+ contactAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
2317
+ opportunityAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
2318
+ accountAccessLevel: z.ZodDefault<z.ZodEnum<["None", "Read", "Edit", "ReadWrite"]>>;
2319
+ mayForecastManagerShare: z.ZodDefault<z.ZodBoolean>;
2320
+ }, "strict", z.ZodTypeAny, {
2321
+ fullName: string;
2322
+ name: string;
2323
+ caseAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
2324
+ contactAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
2325
+ opportunityAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
2326
+ accountAccessLevel: "ReadWrite" | "Read" | "Edit" | "None";
2327
+ mayForecastManagerShare: boolean;
2328
+ description?: string | undefined;
2329
+ parentRole?: string | undefined;
2330
+ }, {
2331
+ fullName: string;
2332
+ name: string;
2333
+ description?: string | undefined;
2334
+ parentRole?: string | undefined;
2335
+ caseAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
2336
+ contactAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
2337
+ opportunityAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
2338
+ accountAccessLevel?: "ReadWrite" | "Read" | "Edit" | "None" | undefined;
2339
+ mayForecastManagerShare?: boolean | undefined;
2340
+ }>;
2341
+ export declare const CreateQueueSchema: z.ZodObject<{
2342
+ fullName: z.ZodString;
2343
+ name: z.ZodString;
2344
+ email: z.ZodOptional<z.ZodString>;
2345
+ doesSendEmailToMembers: z.ZodDefault<z.ZodBoolean>;
2346
+ supportedObjects: z.ZodArray<z.ZodString, "many">;
2347
+ queueMembers: z.ZodOptional<z.ZodObject<{
2348
+ users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2349
+ groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2350
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ users?: string[] | undefined;
2353
+ groups?: string[] | undefined;
2354
+ roles?: string[] | undefined;
2355
+ }, {
2356
+ users?: string[] | undefined;
2357
+ groups?: string[] | undefined;
2358
+ roles?: string[] | undefined;
2359
+ }>>;
2360
+ }, "strict", z.ZodTypeAny, {
2361
+ fullName: string;
2362
+ name: string;
2363
+ doesSendEmailToMembers: boolean;
2364
+ supportedObjects: string[];
2365
+ email?: string | undefined;
2366
+ queueMembers?: {
2367
+ users?: string[] | undefined;
2368
+ groups?: string[] | undefined;
2369
+ roles?: string[] | undefined;
2370
+ } | undefined;
2371
+ }, {
2372
+ fullName: string;
2373
+ name: string;
2374
+ supportedObjects: string[];
2375
+ email?: string | undefined;
2376
+ doesSendEmailToMembers?: boolean | undefined;
2377
+ queueMembers?: {
2378
+ users?: string[] | undefined;
2379
+ groups?: string[] | undefined;
2380
+ roles?: string[] | undefined;
2381
+ } | undefined;
2382
+ }>;
2383
+ export declare const CreateNamedCredentialSchema: z.ZodObject<{
2384
+ fullName: z.ZodString;
2385
+ label: z.ZodString;
2386
+ endpoint: z.ZodString;
2387
+ principalType: z.ZodDefault<z.ZodEnum<["NamedUser", "Anonymous", "PerUserPrincipal"]>>;
2388
+ protocol: z.ZodDefault<z.ZodEnum<["NoAuthentication", "Password", "OAuth", "AwsSv4", "Jwt", "JwtExchange"]>>;
2389
+ username: z.ZodOptional<z.ZodString>;
2390
+ password: z.ZodOptional<z.ZodString>;
2391
+ allowFormula: z.ZodDefault<z.ZodBoolean>;
2392
+ allowCallout: z.ZodDefault<z.ZodBoolean>;
2393
+ }, "strict", z.ZodTypeAny, {
2394
+ fullName: string;
2395
+ label: string;
2396
+ endpoint: string;
2397
+ principalType: "NamedUser" | "Anonymous" | "PerUserPrincipal";
2398
+ protocol: "NoAuthentication" | "Password" | "OAuth" | "AwsSv4" | "Jwt" | "JwtExchange";
2399
+ allowFormula: boolean;
2400
+ allowCallout: boolean;
2401
+ username?: string | undefined;
2402
+ password?: string | undefined;
2403
+ }, {
2404
+ fullName: string;
2405
+ label: string;
2406
+ endpoint: string;
2407
+ principalType?: "NamedUser" | "Anonymous" | "PerUserPrincipal" | undefined;
2408
+ protocol?: "NoAuthentication" | "Password" | "OAuth" | "AwsSv4" | "Jwt" | "JwtExchange" | undefined;
2409
+ username?: string | undefined;
2410
+ password?: string | undefined;
2411
+ allowFormula?: boolean | undefined;
2412
+ allowCallout?: boolean | undefined;
2413
+ }>;
2414
+ export declare const CreateLightningAppSchema: z.ZodObject<{
2415
+ fullName: z.ZodString;
2416
+ label: z.ZodString;
2417
+ description: z.ZodOptional<z.ZodString>;
2418
+ navType: z.ZodDefault<z.ZodEnum<["Standard", "Console"]>>;
2419
+ uiType: z.ZodDefault<z.ZodEnum<["Lightning"]>>;
2420
+ setupExperience: z.ZodDefault<z.ZodEnum<["all", "setup", "classicSetup"]>>;
2421
+ isNavAutoTempTabsDisabled: z.ZodDefault<z.ZodBoolean>;
2422
+ isNavPersonalizationDisabled: z.ZodDefault<z.ZodBoolean>;
2423
+ navItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2424
+ name: z.ZodString;
2425
+ type: z.ZodDefault<z.ZodEnum<["Standard", "CustomTab", "InAppLearning", "VisualizationPlugin"]>>;
2426
+ label: z.ZodOptional<z.ZodString>;
2427
+ defaultItem: z.ZodDefault<z.ZodBoolean>;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ type: "Standard" | "CustomTab" | "InAppLearning" | "VisualizationPlugin";
2430
+ name: string;
2431
+ defaultItem: boolean;
2432
+ label?: string | undefined;
2433
+ }, {
2434
+ name: string;
2435
+ label?: string | undefined;
2436
+ type?: "Standard" | "CustomTab" | "InAppLearning" | "VisualizationPlugin" | undefined;
2437
+ defaultItem?: boolean | undefined;
2438
+ }>, "many">>;
2439
+ utilityItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2440
+ name: z.ZodString;
2441
+ type: z.ZodDefault<z.ZodEnum<["Standard", "CustomTab"]>>;
2442
+ label: z.ZodOptional<z.ZodString>;
2443
+ iconName: z.ZodOptional<z.ZodString>;
2444
+ }, "strip", z.ZodTypeAny, {
2445
+ type: "Standard" | "CustomTab";
2446
+ name: string;
2447
+ label?: string | undefined;
2448
+ iconName?: string | undefined;
2449
+ }, {
2450
+ name: string;
2451
+ label?: string | undefined;
2452
+ type?: "Standard" | "CustomTab" | undefined;
2453
+ iconName?: string | undefined;
2454
+ }>, "many">>;
2455
+ }, "strict", z.ZodTypeAny, {
2456
+ fullName: string;
2457
+ label: string;
2458
+ navType: "Standard" | "Console";
2459
+ uiType: "Lightning";
2460
+ setupExperience: "all" | "setup" | "classicSetup";
2461
+ isNavAutoTempTabsDisabled: boolean;
2462
+ isNavPersonalizationDisabled: boolean;
2463
+ description?: string | undefined;
2464
+ navItems?: {
2465
+ type: "Standard" | "CustomTab" | "InAppLearning" | "VisualizationPlugin";
2466
+ name: string;
2467
+ defaultItem: boolean;
2468
+ label?: string | undefined;
2469
+ }[] | undefined;
2470
+ utilityItems?: {
2471
+ type: "Standard" | "CustomTab";
2472
+ name: string;
2473
+ label?: string | undefined;
2474
+ iconName?: string | undefined;
2475
+ }[] | undefined;
2476
+ }, {
2477
+ fullName: string;
2478
+ label: string;
2479
+ description?: string | undefined;
2480
+ navType?: "Standard" | "Console" | undefined;
2481
+ uiType?: "Lightning" | undefined;
2482
+ setupExperience?: "all" | "setup" | "classicSetup" | undefined;
2483
+ isNavAutoTempTabsDisabled?: boolean | undefined;
2484
+ isNavPersonalizationDisabled?: boolean | undefined;
2485
+ navItems?: {
2486
+ name: string;
2487
+ label?: string | undefined;
2488
+ type?: "Standard" | "CustomTab" | "InAppLearning" | "VisualizationPlugin" | undefined;
2489
+ defaultItem?: boolean | undefined;
2490
+ }[] | undefined;
2491
+ utilityItems?: {
2492
+ name: string;
2493
+ label?: string | undefined;
2494
+ type?: "Standard" | "CustomTab" | undefined;
2495
+ iconName?: string | undefined;
2496
+ }[] | undefined;
2497
+ }>;
2498
+ export declare const CreateTabSchema: z.ZodObject<{
2499
+ fullName: z.ZodString;
2500
+ label: z.ZodOptional<z.ZodString>;
2501
+ motif: z.ZodDefault<z.ZodString>;
2502
+ sobjectName: z.ZodOptional<z.ZodString>;
2503
+ customObject: z.ZodDefault<z.ZodBoolean>;
2504
+ url: z.ZodOptional<z.ZodString>;
2505
+ page: z.ZodOptional<z.ZodString>;
2506
+ description: z.ZodOptional<z.ZodString>;
2507
+ }, "strict", z.ZodTypeAny, {
2508
+ fullName: string;
2509
+ motif: string;
2510
+ customObject: boolean;
2511
+ label?: string | undefined;
2512
+ description?: string | undefined;
2513
+ sobjectName?: string | undefined;
2514
+ url?: string | undefined;
2515
+ page?: string | undefined;
2516
+ }, {
2517
+ fullName: string;
2518
+ label?: string | undefined;
2519
+ description?: string | undefined;
2520
+ motif?: string | undefined;
2521
+ sobjectName?: string | undefined;
2522
+ customObject?: boolean | undefined;
2523
+ url?: string | undefined;
2524
+ page?: string | undefined;
2525
+ }>;
2526
+ export declare const CreateCompactLayoutSchema: z.ZodObject<{
2527
+ objectName: z.ZodString;
2528
+ fullName: z.ZodString;
2529
+ label: z.ZodString;
2530
+ fields: z.ZodArray<z.ZodString, "many">;
2531
+ setAsDefault: z.ZodDefault<z.ZodBoolean>;
2532
+ }, "strict", z.ZodTypeAny, {
2533
+ fullName: string;
2534
+ label: string;
2535
+ objectName: string;
2536
+ fields: string[];
2537
+ setAsDefault: boolean;
2538
+ }, {
2539
+ fullName: string;
2540
+ label: string;
2541
+ objectName: string;
2542
+ fields: string[];
2543
+ setAsDefault?: boolean | undefined;
2544
+ }>;
2545
+ export declare const CreateListViewSchema: z.ZodObject<{
2546
+ objectName: z.ZodString;
2547
+ fullName: z.ZodString;
2548
+ label: z.ZodString;
2549
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2550
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2551
+ field: z.ZodString;
2552
+ operation: z.ZodEnum<["equals", "notEqual", "lessThan", "greaterThan", "lessOrEqual", "greaterOrEqual", "contains", "notContain", "startsWith", "includes", "excludes", "within"]>;
2553
+ value: z.ZodString;
2554
+ }, "strip", z.ZodTypeAny, {
2555
+ value: string;
2556
+ field: string;
2557
+ operation: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes" | "within";
2558
+ }, {
2559
+ value: string;
2560
+ field: string;
2561
+ operation: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes" | "within";
2562
+ }>, "many">>;
2563
+ booleanFilter: z.ZodOptional<z.ZodString>;
2564
+ filterScope: z.ZodDefault<z.ZodEnum<["Everything", "Mine", "Team", "Queue", "Delegated", "MyTerritory", "SalesTeam", "AssignedToMe"]>>;
2565
+ sharedTo: z.ZodOptional<z.ZodObject<{
2566
+ type: z.ZodDefault<z.ZodEnum<["AllUsers", "Group", "Role", "RoleAndSubordinates"]>>;
2567
+ name: z.ZodOptional<z.ZodString>;
2568
+ }, "strip", z.ZodTypeAny, {
2569
+ type: "Role" | "AllUsers" | "Group" | "RoleAndSubordinates";
2570
+ name?: string | undefined;
2571
+ }, {
2572
+ type?: "Role" | "AllUsers" | "Group" | "RoleAndSubordinates" | undefined;
2573
+ name?: string | undefined;
2574
+ }>>;
2575
+ }, "strict", z.ZodTypeAny, {
2576
+ fullName: string;
2577
+ label: string;
2578
+ objectName: string;
2579
+ filterScope: "Queue" | "Everything" | "Mine" | "Team" | "Delegated" | "MyTerritory" | "SalesTeam" | "AssignedToMe";
2580
+ sharedTo?: {
2581
+ type: "Role" | "AllUsers" | "Group" | "RoleAndSubordinates";
2582
+ name?: string | undefined;
2583
+ } | undefined;
2584
+ booleanFilter?: string | undefined;
2585
+ columns?: string[] | undefined;
2586
+ filters?: {
2587
+ value: string;
2588
+ field: string;
2589
+ operation: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes" | "within";
2590
+ }[] | undefined;
2591
+ }, {
2592
+ fullName: string;
2593
+ label: string;
2594
+ objectName: string;
2595
+ sharedTo?: {
2596
+ type?: "Role" | "AllUsers" | "Group" | "RoleAndSubordinates" | undefined;
2597
+ name?: string | undefined;
2598
+ } | undefined;
2599
+ booleanFilter?: string | undefined;
2600
+ columns?: string[] | undefined;
2601
+ filters?: {
2602
+ value: string;
2603
+ field: string;
2604
+ operation: "includes" | "equals" | "notEqual" | "lessThan" | "greaterThan" | "lessOrEqual" | "greaterOrEqual" | "contains" | "notContain" | "startsWith" | "excludes" | "within";
2605
+ }[] | undefined;
2606
+ filterScope?: "Queue" | "Everything" | "Mine" | "Team" | "Delegated" | "MyTerritory" | "SalesTeam" | "AssignedToMe" | undefined;
2607
+ }>;
2608
+ export declare const CreateEmailTemplateSchema: z.ZodObject<{
2609
+ fullName: z.ZodString;
2610
+ name: z.ZodString;
2611
+ label: z.ZodString;
2612
+ description: z.ZodOptional<z.ZodString>;
2613
+ subject: z.ZodString;
2614
+ htmlValue: z.ZodOptional<z.ZodString>;
2615
+ body: z.ZodString;
2616
+ type: z.ZodDefault<z.ZodEnum<["text", "html", "custom", "visualforce"]>>;
2617
+ relatedEntityType: z.ZodOptional<z.ZodString>;
2618
+ encoding: z.ZodDefault<z.ZodString>;
2619
+ available: z.ZodDefault<z.ZodBoolean>;
2620
+ replyTo: z.ZodOptional<z.ZodString>;
2621
+ senderName: z.ZodOptional<z.ZodString>;
2622
+ }, "strict", z.ZodTypeAny, {
2623
+ fullName: string;
2624
+ label: string;
2625
+ type: "custom" | "text" | "html" | "visualforce";
2626
+ name: string;
2627
+ subject: string;
2628
+ body: string;
2629
+ encoding: string;
2630
+ available: boolean;
2631
+ description?: string | undefined;
2632
+ senderName?: string | undefined;
2633
+ htmlValue?: string | undefined;
2634
+ relatedEntityType?: string | undefined;
2635
+ replyTo?: string | undefined;
2636
+ }, {
2637
+ fullName: string;
2638
+ label: string;
2639
+ name: string;
2640
+ subject: string;
2641
+ body: string;
2642
+ description?: string | undefined;
2643
+ type?: "custom" | "text" | "html" | "visualforce" | undefined;
2644
+ senderName?: string | undefined;
2645
+ htmlValue?: string | undefined;
2646
+ relatedEntityType?: string | undefined;
2647
+ encoding?: string | undefined;
2648
+ available?: boolean | undefined;
2649
+ replyTo?: string | undefined;
2650
+ }>;
2651
+ export declare const CreateStaticResourceSchema: z.ZodObject<{
2652
+ fullName: z.ZodString;
2653
+ contentType: z.ZodDefault<z.ZodString>;
2654
+ content: z.ZodString;
2655
+ cacheControl: z.ZodDefault<z.ZodEnum<["Public", "Private"]>>;
2656
+ description: z.ZodOptional<z.ZodString>;
2657
+ }, "strict", z.ZodTypeAny, {
2658
+ fullName: string;
2659
+ contentType: string;
2660
+ content: string;
2661
+ cacheControl: "Private" | "Public";
2662
+ description?: string | undefined;
2663
+ }, {
2664
+ fullName: string;
2665
+ content: string;
2666
+ description?: string | undefined;
2667
+ contentType?: string | undefined;
2668
+ cacheControl?: "Private" | "Public" | undefined;
2669
+ }>;
2670
+ export declare const CreateCustomNotificationTypeSchema: z.ZodObject<{
2671
+ fullName: z.ZodString;
2672
+ customNotifTypeName: z.ZodString;
2673
+ description: z.ZodOptional<z.ZodString>;
2674
+ desktop: z.ZodDefault<z.ZodBoolean>;
2675
+ mobile: z.ZodDefault<z.ZodBoolean>;
2676
+ }, "strict", z.ZodTypeAny, {
2677
+ fullName: string;
2678
+ customNotifTypeName: string;
2679
+ desktop: boolean;
2680
+ mobile: boolean;
2681
+ description?: string | undefined;
2682
+ }, {
2683
+ fullName: string;
2684
+ customNotifTypeName: string;
2685
+ description?: string | undefined;
2686
+ desktop?: boolean | undefined;
2687
+ mobile?: boolean | undefined;
2688
+ }>;
2689
+ export declare const CreateReportTypeSchema: z.ZodObject<{
2690
+ fullName: z.ZodString;
2691
+ label: z.ZodString;
2692
+ description: z.ZodOptional<z.ZodString>;
2693
+ baseObject: z.ZodString;
2694
+ category: z.ZodDefault<z.ZodEnum<["accounts", "opportunities", "forecasts", "cases", "leads", "activities", "campaigns", "busop", "other"]>>;
2695
+ deployed: z.ZodDefault<z.ZodBoolean>;
2696
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
2697
+ joinTable: z.ZodString;
2698
+ relationshipType: z.ZodDefault<z.ZodEnum<["Inner", "Outer"]>>;
2699
+ field: z.ZodOptional<z.ZodString>;
2700
+ label: z.ZodOptional<z.ZodString>;
2701
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2702
+ }, "strip", z.ZodTypeAny, {
2703
+ joinTable: string;
2704
+ relationshipType: "Inner" | "Outer";
2705
+ label?: string | undefined;
2706
+ field?: string | undefined;
2707
+ columns?: string[] | undefined;
2708
+ }, {
2709
+ joinTable: string;
2710
+ label?: string | undefined;
2711
+ field?: string | undefined;
2712
+ columns?: string[] | undefined;
2713
+ relationshipType?: "Inner" | "Outer" | undefined;
2714
+ }>, "many">>;
2715
+ }, "strict", z.ZodTypeAny, {
2716
+ fullName: string;
2717
+ label: string;
2718
+ baseObject: string;
2719
+ category: "accounts" | "opportunities" | "forecasts" | "cases" | "leads" | "activities" | "campaigns" | "busop" | "other";
2720
+ deployed: boolean;
2721
+ description?: string | undefined;
2722
+ relationships?: {
2723
+ joinTable: string;
2724
+ relationshipType: "Inner" | "Outer";
2725
+ label?: string | undefined;
2726
+ field?: string | undefined;
2727
+ columns?: string[] | undefined;
2728
+ }[] | undefined;
2729
+ }, {
2730
+ fullName: string;
2731
+ label: string;
2732
+ baseObject: string;
2733
+ description?: string | undefined;
2734
+ category?: "accounts" | "opportunities" | "forecasts" | "cases" | "leads" | "activities" | "campaigns" | "busop" | "other" | undefined;
2735
+ deployed?: boolean | undefined;
2736
+ relationships?: {
2737
+ joinTable: string;
2738
+ label?: string | undefined;
2739
+ field?: string | undefined;
2740
+ columns?: string[] | undefined;
2741
+ relationshipType?: "Inner" | "Outer" | undefined;
2742
+ }[] | undefined;
2743
+ }>;
2744
+ export declare const CreateDashboardSchema: z.ZodObject<{
2745
+ fullName: z.ZodString;
2746
+ title: z.ZodString;
2747
+ description: z.ZodOptional<z.ZodString>;
2748
+ runningUser: z.ZodOptional<z.ZodString>;
2749
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
2750
+ type: z.ZodDefault<z.ZodEnum<["Metric", "Gauge", "Table", "Chart", "Map", "VisualforcePage", "Scontrol"]>>;
2751
+ reportApiName: z.ZodOptional<z.ZodString>;
2752
+ header: z.ZodOptional<z.ZodString>;
2753
+ footer: z.ZodOptional<z.ZodString>;
2754
+ chartType: z.ZodOptional<z.ZodEnum<["Bar", "BarGrouped", "BarStacked", "Line", "Pie", "Donut", "Funnel", "Scatter"]>>;
2755
+ columnSpan: z.ZodDefault<z.ZodNumber>;
2756
+ rowSpan: z.ZodDefault<z.ZodNumber>;
2757
+ }, "strip", z.ZodTypeAny, {
2758
+ type: "Metric" | "Gauge" | "Table" | "Chart" | "Map" | "VisualforcePage" | "Scontrol";
2759
+ columnSpan: number;
2760
+ rowSpan: number;
2761
+ reportApiName?: string | undefined;
2762
+ header?: string | undefined;
2763
+ footer?: string | undefined;
2764
+ chartType?: "Bar" | "BarGrouped" | "BarStacked" | "Line" | "Pie" | "Donut" | "Funnel" | "Scatter" | undefined;
2765
+ }, {
2766
+ type?: "Metric" | "Gauge" | "Table" | "Chart" | "Map" | "VisualforcePage" | "Scontrol" | undefined;
2767
+ reportApiName?: string | undefined;
2768
+ header?: string | undefined;
2769
+ footer?: string | undefined;
2770
+ chartType?: "Bar" | "BarGrouped" | "BarStacked" | "Line" | "Pie" | "Donut" | "Funnel" | "Scatter" | undefined;
2771
+ columnSpan?: number | undefined;
2772
+ rowSpan?: number | undefined;
2773
+ }>, "many">>;
2774
+ }, "strict", z.ZodTypeAny, {
2775
+ fullName: string;
2776
+ title: string;
2777
+ description?: string | undefined;
2778
+ runningUser?: string | undefined;
2779
+ components?: {
2780
+ type: "Metric" | "Gauge" | "Table" | "Chart" | "Map" | "VisualforcePage" | "Scontrol";
2781
+ columnSpan: number;
2782
+ rowSpan: number;
2783
+ reportApiName?: string | undefined;
2784
+ header?: string | undefined;
2785
+ footer?: string | undefined;
2786
+ chartType?: "Bar" | "BarGrouped" | "BarStacked" | "Line" | "Pie" | "Donut" | "Funnel" | "Scatter" | undefined;
2787
+ }[] | undefined;
2788
+ }, {
2789
+ fullName: string;
2790
+ title: string;
2791
+ description?: string | undefined;
2792
+ runningUser?: string | undefined;
2793
+ components?: {
2794
+ type?: "Metric" | "Gauge" | "Table" | "Chart" | "Map" | "VisualforcePage" | "Scontrol" | undefined;
2795
+ reportApiName?: string | undefined;
2796
+ header?: string | undefined;
2797
+ footer?: string | undefined;
2798
+ chartType?: "Bar" | "BarGrouped" | "BarStacked" | "Line" | "Pie" | "Donut" | "Funnel" | "Scatter" | undefined;
2799
+ columnSpan?: number | undefined;
2800
+ rowSpan?: number | undefined;
2801
+ }[] | undefined;
2802
+ }>;
2803
+ export declare const CreateApexClassSchema: z.ZodObject<{
2804
+ className: z.ZodString;
2805
+ classBody: z.ZodString;
2806
+ apiVersion: z.ZodDefault<z.ZodString>;
2807
+ }, "strict", z.ZodTypeAny, {
2808
+ className: string;
2809
+ classBody: string;
2810
+ apiVersion: string;
2811
+ }, {
2812
+ className: string;
2813
+ classBody: string;
2814
+ apiVersion?: string | undefined;
2815
+ }>;
2816
+ export declare const CreateApexTriggerSchema: z.ZodObject<{
2817
+ triggerName: z.ZodString;
2818
+ objectName: z.ZodString;
2819
+ events: z.ZodArray<z.ZodEnum<["before insert", "before update", "before delete", "after insert", "after update", "after delete", "after undelete"]>, "many">;
2820
+ triggerBody: z.ZodString;
2821
+ apiVersion: z.ZodDefault<z.ZodString>;
2822
+ }, "strict", z.ZodTypeAny, {
2823
+ objectName: string;
2824
+ apiVersion: string;
2825
+ triggerName: string;
2826
+ events: ("before insert" | "before update" | "before delete" | "after insert" | "after update" | "after delete" | "after undelete")[];
2827
+ triggerBody: string;
2828
+ }, {
2829
+ objectName: string;
2830
+ triggerName: string;
2831
+ events: ("before insert" | "before update" | "before delete" | "after insert" | "after update" | "after delete" | "after undelete")[];
2832
+ triggerBody: string;
2833
+ apiVersion?: string | undefined;
2834
+ }>;
2835
+ export declare const CreateApexTestClassSchema: z.ZodObject<{
2836
+ className: z.ZodString;
2837
+ classBody: z.ZodString;
2838
+ apiVersion: z.ZodDefault<z.ZodString>;
2839
+ runAfterDeploy: z.ZodDefault<z.ZodBoolean>;
2840
+ }, "strict", z.ZodTypeAny, {
2841
+ className: string;
2842
+ classBody: string;
2843
+ apiVersion: string;
2844
+ runAfterDeploy: boolean;
2845
+ }, {
2846
+ className: string;
2847
+ classBody: string;
2848
+ apiVersion?: string | undefined;
2849
+ runAfterDeploy?: boolean | undefined;
2850
+ }>;
2851
+ export declare const RunApexTestsSchema: z.ZodObject<{
2852
+ testClasses: z.ZodArray<z.ZodString, "many">;
2853
+ waitMinutes: z.ZodDefault<z.ZodNumber>;
2854
+ }, "strict", z.ZodTypeAny, {
2855
+ testClasses: string[];
2856
+ waitMinutes: number;
2857
+ }, {
2858
+ testClasses: string[];
2859
+ waitMinutes?: number | undefined;
2860
+ }>;
2861
+ export declare const ExecuteAnonymousApexSchema: z.ZodObject<{
2862
+ apexCode: z.ZodString;
2863
+ }, "strict", z.ZodTypeAny, {
2864
+ apexCode: string;
2865
+ }, {
2866
+ apexCode: string;
2867
+ }>;
2868
+ export declare const CreateLwcSchema: z.ZodObject<{
2869
+ componentName: z.ZodString;
2870
+ html: z.ZodString;
2871
+ javascript: z.ZodString;
2872
+ css: z.ZodOptional<z.ZodString>;
2873
+ description: z.ZodOptional<z.ZodString>;
2874
+ targets: z.ZodOptional<z.ZodArray<z.ZodEnum<["lightning__AppPage", "lightning__RecordPage", "lightning__HomePage", "lightning__FlowScreen", "lightning__UtilityBar", "lightning__RecordAction", "lightningCommunity__Page", "lightningCommunity__Default"]>, "many">>;
2875
+ isExposed: z.ZodDefault<z.ZodBoolean>;
2876
+ apiVersion: z.ZodDefault<z.ZodString>;
2877
+ }, "strict", z.ZodTypeAny, {
2878
+ html: string;
2879
+ apiVersion: string;
2880
+ componentName: string;
2881
+ javascript: string;
2882
+ isExposed: boolean;
2883
+ description?: string | undefined;
2884
+ css?: string | undefined;
2885
+ targets?: ("lightning__AppPage" | "lightning__RecordPage" | "lightning__HomePage" | "lightning__FlowScreen" | "lightning__UtilityBar" | "lightning__RecordAction" | "lightningCommunity__Page" | "lightningCommunity__Default")[] | undefined;
2886
+ }, {
2887
+ html: string;
2888
+ componentName: string;
2889
+ javascript: string;
2890
+ description?: string | undefined;
2891
+ apiVersion?: string | undefined;
2892
+ css?: string | undefined;
2893
+ targets?: ("lightning__AppPage" | "lightning__RecordPage" | "lightning__HomePage" | "lightning__FlowScreen" | "lightning__UtilityBar" | "lightning__RecordAction" | "lightningCommunity__Page" | "lightningCommunity__Default")[] | undefined;
2894
+ isExposed?: boolean | undefined;
2895
+ }>;
2896
+ export declare const UpdateLwcSchema: z.ZodObject<{
2897
+ componentName: z.ZodString;
2898
+ html: z.ZodOptional<z.ZodString>;
2899
+ javascript: z.ZodOptional<z.ZodString>;
2900
+ css: z.ZodOptional<z.ZodString>;
2901
+ apiVersion: z.ZodDefault<z.ZodString>;
2902
+ }, "strict", z.ZodTypeAny, {
2903
+ apiVersion: string;
2904
+ componentName: string;
2905
+ html?: string | undefined;
2906
+ javascript?: string | undefined;
2907
+ css?: string | undefined;
2908
+ }, {
2909
+ componentName: string;
2910
+ html?: string | undefined;
2911
+ apiVersion?: string | undefined;
2912
+ javascript?: string | undefined;
2913
+ css?: string | undefined;
2914
+ }>;
2915
+ export declare const CreateExperienceSiteSchema: z.ZodObject<{
2916
+ siteName: z.ZodString;
2917
+ label: z.ZodString;
2918
+ template: z.ZodDefault<z.ZodEnum<["CustomerService", "Partner", "LWR", "Aloha", "Microsites", "VFPage"]>>;
2919
+ urlPathPrefix: z.ZodString;
2920
+ description: z.ZodOptional<z.ZodString>;
2921
+ status: z.ZodDefault<z.ZodEnum<["Live", "UnderConstruction", "DownForMaintenance"]>>;
2922
+ guestUserProfile: z.ZodOptional<z.ZodString>;
2923
+ }, "strict", z.ZodTypeAny, {
2924
+ label: string;
2925
+ status: "Live" | "UnderConstruction" | "DownForMaintenance";
2926
+ template: "CustomerService" | "Partner" | "LWR" | "Aloha" | "Microsites" | "VFPage";
2927
+ siteName: string;
2928
+ urlPathPrefix: string;
2929
+ description?: string | undefined;
2930
+ guestUserProfile?: string | undefined;
2931
+ }, {
2932
+ label: string;
2933
+ siteName: string;
2934
+ urlPathPrefix: string;
2935
+ description?: string | undefined;
2936
+ status?: "Live" | "UnderConstruction" | "DownForMaintenance" | undefined;
2937
+ template?: "CustomerService" | "Partner" | "LWR" | "Aloha" | "Microsites" | "VFPage" | undefined;
2938
+ guestUserProfile?: string | undefined;
2939
+ }>;
2940
+ export declare const CreateExperiencePageSchema: z.ZodObject<{
2941
+ siteName: z.ZodString;
2942
+ pageName: z.ZodString;
2943
+ label: z.ZodString;
2944
+ type: z.ZodDefault<z.ZodEnum<["standard", "home", "login", "profile", "objectDetail", "objectList", "custom"]>>;
2945
+ url: z.ZodOptional<z.ZodString>;
2946
+ }, "strict", z.ZodTypeAny, {
2947
+ label: string;
2948
+ type: "custom" | "standard" | "home" | "login" | "profile" | "objectDetail" | "objectList";
2949
+ siteName: string;
2950
+ pageName: string;
2951
+ url?: string | undefined;
2952
+ }, {
2953
+ label: string;
2954
+ siteName: string;
2955
+ pageName: string;
2956
+ type?: "custom" | "standard" | "home" | "login" | "profile" | "objectDetail" | "objectList" | undefined;
2957
+ url?: string | undefined;
2958
+ }>;
2959
+ export declare const CreateAgentSchema: z.ZodObject<{
2960
+ agentName: z.ZodString;
2961
+ label: z.ZodString;
2962
+ description: z.ZodOptional<z.ZodString>;
2963
+ type: z.ZodDefault<z.ZodEnum<["Default", "EinsteinCopilot"]>>;
2964
+ company: z.ZodOptional<z.ZodString>;
2965
+ persona: z.ZodOptional<z.ZodString>;
2966
+ tone: z.ZodDefault<z.ZodEnum<["Formal", "Neutral", "Casual"]>>;
2967
+ instructions: z.ZodOptional<z.ZodString>;
2968
+ }, "strict", z.ZodTypeAny, {
2969
+ label: string;
2970
+ type: "Default" | "EinsteinCopilot";
2971
+ agentName: string;
2972
+ tone: "Formal" | "Neutral" | "Casual";
2973
+ description?: string | undefined;
2974
+ company?: string | undefined;
2975
+ persona?: string | undefined;
2976
+ instructions?: string | undefined;
2977
+ }, {
2978
+ label: string;
2979
+ agentName: string;
2980
+ description?: string | undefined;
2981
+ type?: "Default" | "EinsteinCopilot" | undefined;
2982
+ company?: string | undefined;
2983
+ persona?: string | undefined;
2984
+ tone?: "Formal" | "Neutral" | "Casual" | undefined;
2985
+ instructions?: string | undefined;
2986
+ }>;
2987
+ export declare const CreateAgentTopicSchema: z.ZodObject<{
2988
+ agentName: z.ZodString;
2989
+ topicName: z.ZodString;
2990
+ label: z.ZodString;
2991
+ description: z.ZodString;
2992
+ scope: z.ZodString;
2993
+ instructions: z.ZodOptional<z.ZodString>;
2994
+ actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2995
+ }, "strict", z.ZodTypeAny, {
2996
+ label: string;
2997
+ description: string;
2998
+ agentName: string;
2999
+ topicName: string;
3000
+ scope: string;
3001
+ instructions?: string | undefined;
3002
+ actions?: string[] | undefined;
3003
+ }, {
3004
+ label: string;
3005
+ description: string;
3006
+ agentName: string;
3007
+ topicName: string;
3008
+ scope: string;
3009
+ instructions?: string | undefined;
3010
+ actions?: string[] | undefined;
3011
+ }>;
3012
+ export declare const CreateAgentActionSchema: z.ZodObject<{
3013
+ agentName: z.ZodString;
3014
+ topicName: z.ZodString;
3015
+ actionName: z.ZodString;
3016
+ label: z.ZodString;
3017
+ description: z.ZodString;
3018
+ type: z.ZodEnum<["Flow", "ApexClass", "PromptTemplate", "DataCategoryGroup", "ExternalService"]>;
3019
+ reference: z.ZodString;
3020
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3021
+ name: z.ZodString;
3022
+ value: z.ZodString;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ value: string;
3025
+ name: string;
3026
+ }, {
3027
+ value: string;
3028
+ name: string;
3029
+ }>, "many">>;
3030
+ }, "strict", z.ZodTypeAny, {
3031
+ label: string;
3032
+ description: string;
3033
+ type: "Flow" | "ApexClass" | "PromptTemplate" | "DataCategoryGroup" | "ExternalService";
3034
+ actionName: string;
3035
+ agentName: string;
3036
+ topicName: string;
3037
+ reference: string;
3038
+ inputs?: {
3039
+ value: string;
3040
+ name: string;
3041
+ }[] | undefined;
3042
+ }, {
3043
+ label: string;
3044
+ description: string;
3045
+ type: "Flow" | "ApexClass" | "PromptTemplate" | "DataCategoryGroup" | "ExternalService";
3046
+ actionName: string;
3047
+ agentName: string;
3048
+ topicName: string;
3049
+ reference: string;
3050
+ inputs?: {
3051
+ value: string;
3052
+ name: string;
3053
+ }[] | undefined;
3054
+ }>;
3055
+ export declare const CreateMcpServerSchema: z.ZodObject<{
3056
+ serverName: z.ZodString;
3057
+ outputDirectory: z.ZodString;
3058
+ description: z.ZodOptional<z.ZodString>;
3059
+ salesforceInstanceUrl: z.ZodOptional<z.ZodString>;
3060
+ }, "strict", z.ZodTypeAny, {
3061
+ serverName: string;
3062
+ outputDirectory: string;
3063
+ description?: string | undefined;
3064
+ salesforceInstanceUrl?: string | undefined;
3065
+ }, {
3066
+ serverName: string;
3067
+ outputDirectory: string;
3068
+ description?: string | undefined;
3069
+ salesforceInstanceUrl?: string | undefined;
3070
+ }>;
3071
+ export declare const CreateMcpToolSchema: z.ZodObject<{
3072
+ projectDirectory: z.ZodString;
3073
+ toolName: z.ZodString;
3074
+ toolDescription: z.ZodString;
3075
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3076
+ handlerCode: z.ZodString;
3077
+ }, "strict", z.ZodTypeAny, {
3078
+ projectDirectory: string;
3079
+ toolName: string;
3080
+ toolDescription: string;
3081
+ inputSchema: Record<string, unknown>;
3082
+ handlerCode: string;
3083
+ }, {
3084
+ projectDirectory: string;
3085
+ toolName: string;
3086
+ toolDescription: string;
3087
+ inputSchema: Record<string, unknown>;
3088
+ handlerCode: string;
3089
+ }>;
3090
+ export declare const ListMcpToolsSchema: z.ZodObject<{
3091
+ projectDirectory: z.ZodString;
3092
+ }, "strict", z.ZodTypeAny, {
3093
+ projectDirectory: string;
3094
+ }, {
3095
+ projectDirectory: string;
3096
+ }>;
3097
+ export declare const CreateConnectedAppSchema: z.ZodObject<{
3098
+ fullName: z.ZodString;
3099
+ label: z.ZodString;
3100
+ description: z.ZodOptional<z.ZodString>;
3101
+ contactEmail: z.ZodString;
3102
+ callbackUrls: z.ZodArray<z.ZodString, "many">;
3103
+ scopes: z.ZodArray<z.ZodEnum<["api", "web", "full", "chatter_api", "wave_api", "eclair_api", "visualforce", "content", "openid", "profile", "email", "address", "phone", "offline_access", "custom_permissions", "pardot_api"]>, "many">;
3104
+ consumerKey: z.ZodOptional<z.ZodString>;
3105
+ startUrl: z.ZodOptional<z.ZodString>;
3106
+ accessTokenValidity: z.ZodOptional<z.ZodNumber>;
3107
+ refreshTokenValidity: z.ZodOptional<z.ZodNumber>;
3108
+ }, "strict", z.ZodTypeAny, {
3109
+ fullName: string;
3110
+ label: string;
3111
+ contactEmail: string;
3112
+ callbackUrls: string[];
3113
+ scopes: ("email" | "visualforce" | "content" | "profile" | "api" | "web" | "full" | "chatter_api" | "wave_api" | "eclair_api" | "openid" | "address" | "phone" | "offline_access" | "custom_permissions" | "pardot_api")[];
3114
+ description?: string | undefined;
3115
+ consumerKey?: string | undefined;
3116
+ startUrl?: string | undefined;
3117
+ accessTokenValidity?: number | undefined;
3118
+ refreshTokenValidity?: number | undefined;
3119
+ }, {
3120
+ fullName: string;
3121
+ label: string;
3122
+ contactEmail: string;
3123
+ callbackUrls: string[];
3124
+ scopes: ("email" | "visualforce" | "content" | "profile" | "api" | "web" | "full" | "chatter_api" | "wave_api" | "eclair_api" | "openid" | "address" | "phone" | "offline_access" | "custom_permissions" | "pardot_api")[];
3125
+ description?: string | undefined;
3126
+ consumerKey?: string | undefined;
3127
+ startUrl?: string | undefined;
3128
+ accessTokenValidity?: number | undefined;
3129
+ refreshTokenValidity?: number | undefined;
3130
+ }>;
3131
+ export declare const CreateExternalDataSourceSchema: z.ZodObject<{
3132
+ fullName: z.ZodString;
3133
+ label: z.ZodString;
3134
+ type: z.ZodDefault<z.ZodEnum<["SimpleURL", "OData2", "OData4", "Apex", "Files", "MuleSoft"]>>;
3135
+ endpoint: z.ZodString;
3136
+ principalType: z.ZodDefault<z.ZodEnum<["NamedUser", "Anonymous", "PerUserPrincipal"]>>;
3137
+ protocol: z.ZodDefault<z.ZodEnum<["NoAuthentication", "Password", "OAuth"]>>;
3138
+ username: z.ZodOptional<z.ZodString>;
3139
+ password: z.ZodOptional<z.ZodString>;
3140
+ description: z.ZodOptional<z.ZodString>;
3141
+ }, "strict", z.ZodTypeAny, {
3142
+ fullName: string;
3143
+ label: string;
3144
+ type: "SimpleURL" | "OData2" | "OData4" | "Apex" | "Files" | "MuleSoft";
3145
+ endpoint: string;
3146
+ principalType: "NamedUser" | "Anonymous" | "PerUserPrincipal";
3147
+ protocol: "NoAuthentication" | "Password" | "OAuth";
3148
+ description?: string | undefined;
3149
+ username?: string | undefined;
3150
+ password?: string | undefined;
3151
+ }, {
3152
+ fullName: string;
3153
+ label: string;
3154
+ endpoint: string;
3155
+ description?: string | undefined;
3156
+ type?: "SimpleURL" | "OData2" | "OData4" | "Apex" | "Files" | "MuleSoft" | undefined;
3157
+ principalType?: "NamedUser" | "Anonymous" | "PerUserPrincipal" | undefined;
3158
+ protocol?: "NoAuthentication" | "Password" | "OAuth" | undefined;
3159
+ username?: string | undefined;
3160
+ password?: string | undefined;
3161
+ }>;
3162
+ export declare const CreateExternalObjectSchema: z.ZodObject<{
3163
+ fullName: z.ZodString;
3164
+ label: z.ZodString;
3165
+ pluralLabel: z.ZodString;
3166
+ externalDataSource: z.ZodString;
3167
+ externalName: z.ZodOptional<z.ZodString>;
3168
+ description: z.ZodOptional<z.ZodString>;
3169
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3170
+ fullName: z.ZodString;
3171
+ label: z.ZodString;
3172
+ type: z.ZodEnum<["Text", "Number", "Checkbox", "Date", "DateTime", "Email", "Phone", "Url", "TextArea", "LongTextArea", "Picklist", "Currency", "Percent"]>;
3173
+ required: z.ZodOptional<z.ZodBoolean>;
3174
+ length: z.ZodOptional<z.ZodNumber>;
3175
+ precision: z.ZodOptional<z.ZodNumber>;
3176
+ scale: z.ZodOptional<z.ZodNumber>;
3177
+ defaultValue: z.ZodOptional<z.ZodString>;
3178
+ description: z.ZodOptional<z.ZodString>;
3179
+ picklistValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3180
+ }, "strip", z.ZodTypeAny, {
3181
+ fullName: string;
3182
+ label: string;
3183
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
3184
+ description?: string | undefined;
3185
+ length?: number | undefined;
3186
+ required?: boolean | undefined;
3187
+ precision?: number | undefined;
3188
+ scale?: number | undefined;
3189
+ picklistValues?: string[] | undefined;
3190
+ defaultValue?: string | undefined;
3191
+ }, {
3192
+ fullName: string;
3193
+ label: string;
3194
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
3195
+ description?: string | undefined;
3196
+ length?: number | undefined;
3197
+ required?: boolean | undefined;
3198
+ precision?: number | undefined;
3199
+ scale?: number | undefined;
3200
+ picklistValues?: string[] | undefined;
3201
+ defaultValue?: string | undefined;
3202
+ }>, "many">>;
3203
+ }, "strict", z.ZodTypeAny, {
3204
+ fullName: string;
3205
+ label: string;
3206
+ pluralLabel: string;
3207
+ externalDataSource: string;
3208
+ description?: string | undefined;
3209
+ fields?: {
3210
+ fullName: string;
3211
+ label: string;
3212
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
3213
+ description?: string | undefined;
3214
+ length?: number | undefined;
3215
+ required?: boolean | undefined;
3216
+ precision?: number | undefined;
3217
+ scale?: number | undefined;
3218
+ picklistValues?: string[] | undefined;
3219
+ defaultValue?: string | undefined;
3220
+ }[] | undefined;
3221
+ externalName?: string | undefined;
3222
+ }, {
3223
+ fullName: string;
3224
+ label: string;
3225
+ pluralLabel: string;
3226
+ externalDataSource: string;
3227
+ description?: string | undefined;
3228
+ fields?: {
3229
+ fullName: string;
3230
+ label: string;
3231
+ type: "Text" | "TextArea" | "LongTextArea" | "Number" | "Currency" | "Percent" | "Checkbox" | "Date" | "DateTime" | "Email" | "Phone" | "Url" | "Picklist";
3232
+ description?: string | undefined;
3233
+ length?: number | undefined;
3234
+ required?: boolean | undefined;
3235
+ precision?: number | undefined;
3236
+ scale?: number | undefined;
3237
+ picklistValues?: string[] | undefined;
3238
+ defaultValue?: string | undefined;
3239
+ }[] | undefined;
3240
+ externalName?: string | undefined;
3241
+ }>;
3242
+ export declare const CreateRemoteSiteSettingSchema: z.ZodObject<{
3243
+ fullName: z.ZodString;
3244
+ name: z.ZodString;
3245
+ url: z.ZodString;
3246
+ description: z.ZodOptional<z.ZodString>;
3247
+ isActive: z.ZodDefault<z.ZodBoolean>;
3248
+ disableProtocolSecurity: z.ZodDefault<z.ZodBoolean>;
3249
+ }, "strict", z.ZodTypeAny, {
3250
+ fullName: string;
3251
+ isActive: boolean;
3252
+ name: string;
3253
+ url: string;
3254
+ disableProtocolSecurity: boolean;
3255
+ description?: string | undefined;
3256
+ }, {
3257
+ fullName: string;
3258
+ name: string;
3259
+ url: string;
3260
+ isActive?: boolean | undefined;
3261
+ description?: string | undefined;
3262
+ disableProtocolSecurity?: boolean | undefined;
3263
+ }>;
3264
+ export declare const CreateCspSettingSchema: z.ZodObject<{
3265
+ endpointUrl: z.ZodString;
3266
+ cspDirectives: z.ZodArray<z.ZodEnum<["connect-src", "font-src", "frame-src", "img-src", "media-src", "object-src", "script-src", "style-src"]>, "many">;
3267
+ description: z.ZodOptional<z.ZodString>;
3268
+ isActive: z.ZodDefault<z.ZodBoolean>;
3269
+ }, "strict", z.ZodTypeAny, {
3270
+ isActive: boolean;
3271
+ endpointUrl: string;
3272
+ cspDirectives: ("connect-src" | "font-src" | "frame-src" | "img-src" | "media-src" | "object-src" | "script-src" | "style-src")[];
3273
+ description?: string | undefined;
3274
+ }, {
3275
+ endpointUrl: string;
3276
+ cspDirectives: ("connect-src" | "font-src" | "frame-src" | "img-src" | "media-src" | "object-src" | "script-src" | "style-src")[];
3277
+ isActive?: boolean | undefined;
3278
+ description?: string | undefined;
3279
+ }>;
3280
+ export declare const ComponentRefSchema: z.ZodObject<{
3281
+ type: z.ZodString;
3282
+ name: z.ZodString;
3283
+ }, "strip", z.ZodTypeAny, {
3284
+ type: string;
3285
+ name: string;
3286
+ }, {
3287
+ type: string;
3288
+ name: string;
3289
+ }>;
3290
+ export declare const CreateOutboundChangeSetSchema: z.ZodObject<{
3291
+ changeSetName: z.ZodString;
3292
+ description: z.ZodOptional<z.ZodString>;
3293
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
3294
+ type: z.ZodString;
3295
+ name: z.ZodString;
3296
+ }, "strip", z.ZodTypeAny, {
3297
+ type: string;
3298
+ name: string;
3299
+ }, {
3300
+ type: string;
3301
+ name: string;
3302
+ }>, "many">>;
3303
+ }, "strict", z.ZodTypeAny, {
3304
+ changeSetName: string;
3305
+ description?: string | undefined;
3306
+ components?: {
3307
+ type: string;
3308
+ name: string;
3309
+ }[] | undefined;
3310
+ }, {
3311
+ changeSetName: string;
3312
+ description?: string | undefined;
3313
+ components?: {
3314
+ type: string;
3315
+ name: string;
3316
+ }[] | undefined;
3317
+ }>;
3318
+ export declare const AddToChangeSetSchema: z.ZodObject<{
3319
+ changeSetName: z.ZodString;
3320
+ components: z.ZodArray<z.ZodObject<{
3321
+ type: z.ZodString;
3322
+ name: z.ZodString;
3323
+ }, "strip", z.ZodTypeAny, {
3324
+ type: string;
3325
+ name: string;
3326
+ }, {
3327
+ type: string;
3328
+ name: string;
3329
+ }>, "many">;
3330
+ }, "strict", z.ZodTypeAny, {
3331
+ components: {
3332
+ type: string;
3333
+ name: string;
3334
+ }[];
3335
+ changeSetName: string;
3336
+ }, {
3337
+ components: {
3338
+ type: string;
3339
+ name: string;
3340
+ }[];
3341
+ changeSetName: string;
3342
+ }>;
3343
+ export declare const DeployMetadataSchema: z.ZodObject<{
3344
+ components: z.ZodArray<z.ZodObject<{
3345
+ type: z.ZodString;
3346
+ name: z.ZodString;
3347
+ }, "strip", z.ZodTypeAny, {
3348
+ type: string;
3349
+ name: string;
3350
+ }, {
3351
+ type: string;
3352
+ name: string;
3353
+ }>, "many">;
3354
+ checkOnly: z.ZodDefault<z.ZodBoolean>;
3355
+ runTests: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3356
+ rollbackOnError: z.ZodDefault<z.ZodBoolean>;
3357
+ waitMinutes: z.ZodDefault<z.ZodNumber>;
3358
+ }, "strict", z.ZodTypeAny, {
3359
+ components: {
3360
+ type: string;
3361
+ name: string;
3362
+ }[];
3363
+ waitMinutes: number;
3364
+ checkOnly: boolean;
3365
+ rollbackOnError: boolean;
3366
+ runTests?: string[] | undefined;
3367
+ }, {
3368
+ components: {
3369
+ type: string;
3370
+ name: string;
3371
+ }[];
3372
+ waitMinutes?: number | undefined;
3373
+ checkOnly?: boolean | undefined;
3374
+ runTests?: string[] | undefined;
3375
+ rollbackOnError?: boolean | undefined;
3376
+ }>;
3377
+ export declare const CheckDeployStatusSchema: z.ZodObject<{
3378
+ deployId: z.ZodString;
3379
+ }, "strict", z.ZodTypeAny, {
3380
+ deployId: string;
3381
+ }, {
3382
+ deployId: string;
3383
+ }>;
3384
+ export declare const RetrieveMetadataSchema: z.ZodObject<{
3385
+ components: z.ZodArray<z.ZodObject<{
3386
+ type: z.ZodString;
3387
+ name: z.ZodString;
3388
+ }, "strip", z.ZodTypeAny, {
3389
+ type: string;
3390
+ name: string;
3391
+ }, {
3392
+ type: string;
3393
+ name: string;
3394
+ }>, "many">;
3395
+ }, "strict", z.ZodTypeAny, {
3396
+ components: {
3397
+ type: string;
3398
+ name: string;
3399
+ }[];
3400
+ }, {
3401
+ components: {
3402
+ type: string;
3403
+ name: string;
3404
+ }[];
3405
+ }>;
3406
+ //# sourceMappingURL=index.d.ts.map