ampscript-data 0.1.4 → 1.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 (3) hide show
  1. package/README.md +52 -0
  2. package/package.json +1 -1
  3. package/src/index.js +916 -4
package/src/index.js CHANGED
@@ -11,10 +11,14 @@ const INF = Infinity;
11
11
 
12
12
  // ── Function catalog ─────────────────────────────────────────────────────────
13
13
 
14
- /** @type {{name: string, minArgs: number, maxArgs: number, category: string, description: string, params: {name: string, description: string, type?: string, optional?: boolean}[], returnType?: string, syntax?: string, example?: string}[]} */
14
+ /** @type {{name: string, mcnSince: number | null, mcnNotes: string | null, docUrl?: string, guideUrl?: string, minArgs: number, maxArgs: number, category: string, description: string, params: {name: string, description: string, type?: string, optional?: boolean}[], returnType?: string, syntax?: string, example?: string}[]} */
15
15
  export const FUNCTIONS = [
16
16
  {
17
17
  name: 'Add',
18
+ mcnSince: 67,
19
+ mcnNotes: null,
20
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-add.html',
21
+ guideUrl: 'https://ampscript.guide/add/',
18
22
  minArgs: 2,
19
23
  maxArgs: 2,
20
24
  category: 'Math',
@@ -29,6 +33,10 @@ export const FUNCTIONS = [
29
33
  },
30
34
  {
31
35
  name: 'AddMSCRMListMember',
36
+ mcnSince: null,
37
+ mcnNotes: null,
38
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-add-list-member.html',
39
+ guideUrl: 'https://ampscript.guide/addmscrmlistmember/',
32
40
  minArgs: 2,
33
41
  maxArgs: 2,
34
42
  category: 'Microsoft Dynamics CRM',
@@ -42,6 +50,10 @@ export const FUNCTIONS = [
42
50
  },
43
51
  {
44
52
  name: 'AddObjectArrayItem',
53
+ mcnSince: null,
54
+ mcnNotes: null,
55
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-add-object-array.html',
56
+ guideUrl: 'https://ampscript.guide/addobjectarrayitem/',
45
57
  minArgs: 3,
46
58
  maxArgs: 3,
47
59
  category: 'Marketing Cloud API',
@@ -56,6 +68,10 @@ export const FUNCTIONS = [
56
68
  },
57
69
  {
58
70
  name: 'AttachFile',
71
+ mcnSince: null,
72
+ mcnNotes: null,
73
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-attach-file.html',
74
+ guideUrl: 'https://ampscript.guide/attachfile/',
59
75
  minArgs: 4,
60
76
  maxArgs: 8,
61
77
  category: 'Content',
@@ -68,6 +84,8 @@ export const FUNCTIONS = [
68
84
  { name: 'isInline', description: 'Display inline', type: 'boolean', optional: true },
69
85
  {
70
86
  name: 'contentDisposition',
87
+ mcnSince: null,
88
+ mcnNotes: null,
71
89
  description: 'Disposition header',
72
90
  type: 'string',
73
91
  optional: true,
@@ -75,6 +93,8 @@ export const FUNCTIONS = [
75
93
  { name: 'encoding', description: 'Character encoding', type: 'string', optional: true },
76
94
  {
77
95
  name: 'contentId',
96
+ mcnSince: null,
97
+ mcnNotes: null,
78
98
  description: 'Content-ID for inline',
79
99
  type: 'string',
80
100
  optional: true,
@@ -85,6 +105,10 @@ export const FUNCTIONS = [
85
105
  },
86
106
  {
87
107
  name: 'AttributeValue',
108
+ mcnSince: null,
109
+ mcnNotes: null,
110
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-attribute-value.html',
111
+ guideUrl: 'https://ampscript.guide/attributevalue/',
88
112
  minArgs: 1,
89
113
  maxArgs: 1,
90
114
  category: 'Utility',
@@ -97,6 +121,10 @@ export const FUNCTIONS = [
97
121
  },
98
122
  {
99
123
  name: 'AuthenticatedEmployeeID',
124
+ mcnSince: null,
125
+ mcnNotes: null,
126
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-id.html',
127
+ guideUrl: 'https://ampscript.guide/authenticatedemployeeid/',
100
128
  minArgs: 0,
101
129
  maxArgs: 0,
102
130
  category: 'Utility',
@@ -107,6 +135,10 @@ export const FUNCTIONS = [
107
135
  },
108
136
  {
109
137
  name: 'AuthenticatedEmployeeNotificationAddress',
138
+ mcnSince: null,
139
+ mcnNotes: null,
140
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-notification-address.html',
141
+ guideUrl: 'https://ampscript.guide/authenticatedemployeenotificationaddress/',
110
142
  minArgs: 0,
111
143
  maxArgs: 0,
112
144
  category: 'Utility',
@@ -117,6 +149,10 @@ export const FUNCTIONS = [
117
149
  },
118
150
  {
119
151
  name: 'AuthenticatedEmployeeUserName',
152
+ mcnSince: null,
153
+ mcnNotes: null,
154
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-username.html',
155
+ guideUrl: 'https://ampscript.guide/authenticatedemployeeusername/',
120
156
  minArgs: 0,
121
157
  maxArgs: 0,
122
158
  category: 'Utility',
@@ -127,6 +163,10 @@ export const FUNCTIONS = [
127
163
  },
128
164
  {
129
165
  name: 'AuthenticatedEnterpriseID',
166
+ mcnSince: null,
167
+ mcnNotes: null,
168
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-enterprise-id.html',
169
+ guideUrl: 'https://ampscript.guide/authenticatedenterpriseid/',
130
170
  minArgs: 0,
131
171
  maxArgs: 0,
132
172
  category: 'Utility',
@@ -137,6 +177,10 @@ export const FUNCTIONS = [
137
177
  },
138
178
  {
139
179
  name: 'AuthenticatedMemberID',
180
+ mcnSince: null,
181
+ mcnNotes: null,
182
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-id.html',
183
+ guideUrl: 'https://ampscript.guide/authenticatedmemberid/',
140
184
  minArgs: 0,
141
185
  maxArgs: 0,
142
186
  category: 'Utility',
@@ -147,6 +191,10 @@ export const FUNCTIONS = [
147
191
  },
148
192
  {
149
193
  name: 'AuthenticatedMemberName',
194
+ mcnSince: null,
195
+ mcnNotes: null,
196
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-name.html',
197
+ guideUrl: 'https://ampscript.guide/authenticatedmembername/',
150
198
  minArgs: 0,
151
199
  maxArgs: 0,
152
200
  category: 'Utility',
@@ -157,6 +205,10 @@ export const FUNCTIONS = [
157
205
  },
158
206
  {
159
207
  name: 'BarcodeURL',
208
+ mcnSince: null,
209
+ mcnNotes: null,
210
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-barcode-url.html',
211
+ guideUrl: 'https://ampscript.guide/barcodeurl/',
160
212
  minArgs: 9,
161
213
  maxArgs: 9,
162
214
  category: 'Content',
@@ -178,6 +230,10 @@ export const FUNCTIONS = [
178
230
  },
179
231
  {
180
232
  name: 'Base64Decode',
233
+ mcnSince: null,
234
+ mcnNotes: null,
235
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-decode.html',
236
+ guideUrl: 'https://ampscript.guide/base64decode/',
181
237
  minArgs: 1,
182
238
  maxArgs: 3,
183
239
  category: 'Encryption and Encoding',
@@ -187,6 +243,8 @@ export const FUNCTIONS = [
187
243
  { name: 'encoding', description: 'Encoding scheme', type: 'string', optional: true },
188
244
  {
189
245
  name: 'characterSet',
246
+ mcnSince: null,
247
+ mcnNotes: null,
190
248
  description: 'Character set for output',
191
249
  type: 'string',
192
250
  optional: true,
@@ -198,6 +256,10 @@ export const FUNCTIONS = [
198
256
  },
199
257
  {
200
258
  name: 'Base64Encode',
259
+ mcnSince: null,
260
+ mcnNotes: null,
261
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-encode.html',
262
+ guideUrl: 'https://ampscript.guide/base64encode/',
201
263
  minArgs: 1,
202
264
  maxArgs: 2,
203
265
  category: 'Encryption and Encoding',
@@ -212,6 +274,10 @@ export const FUNCTIONS = [
212
274
  },
213
275
  {
214
276
  name: 'BeginImpressionRegion',
277
+ mcnSince: null,
278
+ mcnNotes: null,
279
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html',
280
+ guideUrl: 'https://ampscript.guide/beginimpressionregion/',
215
281
  minArgs: 1,
216
282
  maxArgs: 1,
217
283
  category: 'Content',
@@ -222,6 +288,10 @@ export const FUNCTIONS = [
222
288
  },
223
289
  {
224
290
  name: 'BuildOptionList',
291
+ mcnSince: null,
292
+ mcnNotes: null,
293
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-option-list.html',
294
+ guideUrl: 'https://ampscript.guide/buildoptionlist/',
225
295
  minArgs: 3,
226
296
  maxArgs: INF,
227
297
  category: 'Content',
@@ -230,17 +300,23 @@ export const FUNCTIONS = [
230
300
  params: [
231
301
  {
232
302
  name: 'dataExtensionName',
303
+ mcnSince: null,
304
+ mcnNotes: null,
233
305
  description: 'Data extension to read from',
234
306
  type: 'string',
235
307
  },
236
308
  { name: 'selectedValue', description: 'Value to mark as selected', type: 'string' },
237
309
  {
238
310
  name: 'displayColumn',
311
+ mcnSince: null,
312
+ mcnNotes: null,
239
313
  description: 'Column for option display text',
240
314
  type: 'string',
241
315
  },
242
316
  {
243
317
  name: 'valueColumn',
318
+ mcnSince: null,
319
+ mcnNotes: null,
244
320
  description: 'Column for option value attribute',
245
321
  type: 'string',
246
322
  optional: true,
@@ -251,6 +327,10 @@ export const FUNCTIONS = [
251
327
  },
252
328
  {
253
329
  name: 'BuildRowsetFromJSON',
330
+ mcnSince: 67,
331
+ mcnNotes: null,
332
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-json.html',
333
+ guideUrl: 'https://ampscript.guide/buildrowsetfromjson/',
254
334
  minArgs: 2,
255
335
  maxArgs: 3,
256
336
  category: 'Content',
@@ -259,11 +339,15 @@ export const FUNCTIONS = [
259
339
  { name: 'json', description: 'JSON string to parse', type: 'string' },
260
340
  {
261
341
  name: 'jsonPath',
342
+ mcnSince: null,
343
+ mcnNotes: null,
262
344
  description: 'JSONPath expression for node selection',
263
345
  type: 'string',
264
346
  },
265
347
  {
266
348
  name: 'uniqueTag',
349
+ mcnSince: null,
350
+ mcnNotes: null,
267
351
  description: 'Unique tag for the rowset',
268
352
  type: 'string',
269
353
  optional: true,
@@ -274,6 +358,10 @@ export const FUNCTIONS = [
274
358
  },
275
359
  {
276
360
  name: 'BuildRowSetFromString',
361
+ mcnSince: null,
362
+ mcnNotes: null,
363
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-string.html',
364
+ guideUrl: 'https://ampscript.guide/buildrowsetfromstring/',
277
365
  minArgs: 2,
278
366
  maxArgs: 2,
279
367
  category: 'Content',
@@ -288,6 +376,10 @@ export const FUNCTIONS = [
288
376
  },
289
377
  {
290
378
  name: 'BuildRowSetFromXML',
379
+ mcnSince: null,
380
+ mcnNotes: null,
381
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-xml.html',
382
+ guideUrl: 'https://ampscript.guide/buildrowsetfromxml/',
291
383
  minArgs: 2,
292
384
  maxArgs: 3,
293
385
  category: 'Content',
@@ -297,6 +389,8 @@ export const FUNCTIONS = [
297
389
  { name: 'xpath', description: 'XPath expression', type: 'string' },
298
390
  {
299
391
  name: 'isCaseSensitive',
392
+ mcnSince: null,
393
+ mcnNotes: null,
300
394
  description: 'Enable case-sensitive matching',
301
395
  type: 'boolean',
302
396
  optional: true,
@@ -307,6 +401,10 @@ export const FUNCTIONS = [
307
401
  },
308
402
  {
309
403
  name: 'Char',
404
+ mcnSince: null,
405
+ mcnNotes: null,
406
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-char.html',
407
+ guideUrl: 'https://ampscript.guide/char/',
310
408
  minArgs: 1,
311
409
  maxArgs: 2,
312
410
  category: 'String',
@@ -315,6 +413,8 @@ export const FUNCTIONS = [
315
413
  { name: 'asciiCode', description: 'ASCII character code', type: 'number' },
316
414
  {
317
415
  name: 'repeatCount',
416
+ mcnSince: null,
417
+ mcnNotes: null,
318
418
  description: 'Number of times to repeat the returned character',
319
419
  type: 'number',
320
420
  optional: true,
@@ -326,6 +426,10 @@ export const FUNCTIONS = [
326
426
  },
327
427
  {
328
428
  name: 'ClaimRow',
429
+ mcnSince: null,
430
+ mcnNotes: null,
431
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row.html',
432
+ guideUrl: 'https://ampscript.guide/claimrow/',
329
433
  minArgs: 4,
330
434
  maxArgs: INF,
331
435
  category: 'Data Extension',
@@ -334,31 +438,43 @@ export const FUNCTIONS = [
334
438
  params: [
335
439
  {
336
440
  name: 'dataExtensionName',
441
+ mcnSince: null,
442
+ mcnNotes: null,
337
443
  description: 'Target data extension name',
338
444
  type: 'string',
339
445
  },
340
446
  {
341
447
  name: 'claimedColumn',
448
+ mcnSince: null,
449
+ mcnNotes: null,
342
450
  description: 'Name of the boolean column that identifies a row as claimed',
343
451
  type: 'string',
344
452
  },
345
453
  {
346
454
  name: 'columnName',
455
+ mcnSince: null,
456
+ mcnNotes: null,
347
457
  description: 'Name of the column to populate when claiming the row',
348
458
  type: 'string',
349
459
  },
350
460
  {
351
461
  name: 'columnValue',
462
+ mcnSince: null,
463
+ mcnNotes: null,
352
464
  description: 'Value to write into the column when claiming the row',
353
465
  },
354
466
  {
355
467
  name: 'additionalColumnName',
468
+ mcnSince: null,
469
+ mcnNotes: null,
356
470
  description: 'Additional column name to populate',
357
471
  type: 'string',
358
472
  optional: true,
359
473
  },
360
474
  {
361
475
  name: 'additionalColumnValue',
476
+ mcnSince: null,
477
+ mcnNotes: null,
362
478
  description: 'Additional column value to populate',
363
479
  optional: true,
364
480
  },
@@ -368,6 +484,10 @@ export const FUNCTIONS = [
368
484
  },
369
485
  {
370
486
  name: 'ClaimRowValue',
487
+ mcnSince: null,
488
+ mcnNotes: null,
489
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row-value.html',
490
+ guideUrl: 'https://ampscript.guide/claimrowvalue/',
371
491
  minArgs: 3,
372
492
  maxArgs: INF,
373
493
  category: 'Data Extension',
@@ -375,28 +495,38 @@ export const FUNCTIONS = [
375
495
  params: [
376
496
  {
377
497
  name: 'dataExtensionName',
498
+ mcnSince: null,
499
+ mcnNotes: null,
378
500
  description: 'Target data extension name',
379
501
  type: 'string',
380
502
  },
381
503
  { name: 'returnColumn', description: 'Column whose value to return', type: 'string' },
382
504
  {
383
505
  name: 'claimedColumn',
506
+ mcnSince: null,
507
+ mcnNotes: null,
384
508
  description: 'Name of the boolean column that identifies a row as claimed',
385
509
  type: 'string',
386
510
  },
387
511
  {
388
512
  name: 'defaultValue',
513
+ mcnSince: null,
514
+ mcnNotes: null,
389
515
  description: 'Default value to return if no unclaimed rows are available',
390
516
  optional: true,
391
517
  },
392
518
  {
393
519
  name: 'columnName',
520
+ mcnSince: null,
521
+ mcnNotes: null,
394
522
  description: 'Name of the column to populate when claiming the row',
395
523
  type: 'string',
396
524
  optional: true,
397
525
  },
398
526
  {
399
527
  name: 'columnValue',
528
+ mcnSince: null,
529
+ mcnNotes: null,
400
530
  description: 'Value to write into the column when claiming the row',
401
531
  optional: true,
402
532
  },
@@ -406,6 +536,10 @@ export const FUNCTIONS = [
406
536
  },
407
537
  {
408
538
  name: 'CloudPagesURL',
539
+ mcnSince: null,
540
+ mcnNotes: null,
541
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-cloud-pages-url.html',
542
+ guideUrl: 'https://ampscript.guide/cloudpagesurl/',
409
543
  minArgs: 1,
410
544
  maxArgs: INF,
411
545
  category: 'Utility',
@@ -415,12 +549,16 @@ export const FUNCTIONS = [
415
549
  { name: 'pageId', description: 'CloudPages page ID (number or string)' },
416
550
  {
417
551
  name: 'paramName',
552
+ mcnSince: null,
553
+ mcnNotes: null,
418
554
  description: 'Query parameter name',
419
555
  type: 'string',
420
556
  optional: true,
421
557
  },
422
558
  {
423
559
  name: 'paramValue',
560
+ mcnSince: null,
561
+ mcnNotes: null,
424
562
  description: 'Query parameter value',
425
563
  type: 'string',
426
564
  optional: true,
@@ -432,6 +570,10 @@ export const FUNCTIONS = [
432
570
  },
433
571
  {
434
572
  name: 'Concat',
573
+ mcnSince: 67,
574
+ mcnNotes: null,
575
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-concat.html',
576
+ guideUrl: 'https://ampscript.guide/concat/',
435
577
  minArgs: 2,
436
578
  maxArgs: INF,
437
579
  category: 'String',
@@ -447,6 +589,10 @@ export const FUNCTIONS = [
447
589
  },
448
590
  {
449
591
  name: 'ContentArea',
592
+ mcnSince: null,
593
+ mcnNotes: null,
594
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area.html',
595
+ guideUrl: 'https://ampscript.guide/contentarea/',
450
596
  minArgs: 1,
451
597
  maxArgs: 5,
452
598
  category: 'Content',
@@ -455,12 +601,16 @@ export const FUNCTIONS = [
455
601
  { name: 'contentAreaId', description: 'Content area ID', type: 'number' },
456
602
  {
457
603
  name: 'impressionRegion',
604
+ mcnSince: null,
605
+ mcnNotes: null,
458
606
  description: 'Impression region name',
459
607
  type: 'string',
460
608
  optional: true,
461
609
  },
462
610
  {
463
611
  name: 'layout',
612
+ mcnSince: null,
613
+ mcnNotes: null,
464
614
  description: 'Layout option (block or wrap)',
465
615
  type: 'string',
466
616
  optional: true,
@@ -468,6 +618,8 @@ export const FUNCTIONS = [
468
618
  { name: 'tag', description: 'Wrapping HTML tag', type: 'string', optional: true },
469
619
  {
470
620
  name: 'errorMessage',
621
+ mcnSince: null,
622
+ mcnNotes: null,
471
623
  description: 'Error message if content not found',
472
624
  type: 'string',
473
625
  optional: true,
@@ -478,6 +630,10 @@ export const FUNCTIONS = [
478
630
  },
479
631
  {
480
632
  name: 'ContentAreaByName',
633
+ mcnSince: null,
634
+ mcnNotes: null,
635
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area-by-name.html',
636
+ guideUrl: 'https://ampscript.guide/contentareabyname/',
481
637
  minArgs: 1,
482
638
  maxArgs: 5,
483
639
  category: 'Content',
@@ -486,6 +642,8 @@ export const FUNCTIONS = [
486
642
  { name: 'name', description: 'Content area folder path and name', type: 'string' },
487
643
  {
488
644
  name: 'impressionRegion',
645
+ mcnSince: null,
646
+ mcnNotes: null,
489
647
  description: 'Impression region name',
490
648
  type: 'string',
491
649
  optional: true,
@@ -494,6 +652,8 @@ export const FUNCTIONS = [
494
652
  { name: 'tag', description: 'Wrapping HTML tag', type: 'string', optional: true },
495
653
  {
496
654
  name: 'errorMessage',
655
+ mcnSince: null,
656
+ mcnNotes: null,
497
657
  description: 'Error message if not found',
498
658
  type: 'string',
499
659
  optional: true,
@@ -504,6 +664,10 @@ export const FUNCTIONS = [
504
664
  },
505
665
  {
506
666
  name: 'ContentBlockByID',
667
+ mcnSince: 67,
668
+ mcnNotes: null,
669
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-id.html',
670
+ guideUrl: 'https://ampscript.guide/contentblockbyid/',
507
671
  minArgs: 1,
508
672
  maxArgs: 5,
509
673
  category: 'Content',
@@ -512,24 +676,32 @@ export const FUNCTIONS = [
512
676
  { name: 'id', description: 'Content block ID (number or string)' },
513
677
  {
514
678
  name: 'impressionRegion',
679
+ mcnSince: null,
680
+ mcnNotes: null,
515
681
  description: 'Impression region name',
516
682
  type: 'string',
517
683
  optional: true,
518
684
  },
519
685
  {
520
686
  name: 'throwError',
687
+ mcnSince: null,
688
+ mcnNotes: null,
521
689
  description: 'Return error if not found',
522
690
  type: 'boolean',
523
691
  optional: true,
524
692
  },
525
693
  {
526
694
  name: 'defaultContent',
695
+ mcnSince: null,
696
+ mcnNotes: null,
527
697
  description: 'Fallback content if not found',
528
698
  type: 'string',
529
699
  optional: true,
530
700
  },
531
701
  {
532
702
  name: 'templateBasedLayout',
703
+ mcnSince: null,
704
+ mcnNotes: null,
533
705
  description: 'Layout for template-based content',
534
706
  type: 'string',
535
707
  optional: true,
@@ -540,6 +712,10 @@ export const FUNCTIONS = [
540
712
  },
541
713
  {
542
714
  name: 'ContentBlockByKey',
715
+ mcnSince: 67,
716
+ mcnNotes: null,
717
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-key.html',
718
+ guideUrl: 'https://ampscript.guide/contentblockbykey/',
543
719
  minArgs: 1,
544
720
  maxArgs: 5,
545
721
  category: 'Content',
@@ -548,24 +724,32 @@ export const FUNCTIONS = [
548
724
  { name: 'customerKey', description: 'Content block customer key', type: 'string' },
549
725
  {
550
726
  name: 'impressionRegion',
727
+ mcnSince: null,
728
+ mcnNotes: null,
551
729
  description: 'Impression region name',
552
730
  type: 'string',
553
731
  optional: true,
554
732
  },
555
733
  {
556
734
  name: 'throwError',
735
+ mcnSince: null,
736
+ mcnNotes: null,
557
737
  description: 'Return error if not found',
558
738
  type: 'boolean',
559
739
  optional: true,
560
740
  },
561
741
  {
562
742
  name: 'defaultContent',
743
+ mcnSince: null,
744
+ mcnNotes: null,
563
745
  description: 'Fallback content if not found',
564
746
  type: 'string',
565
747
  optional: true,
566
748
  },
567
749
  {
568
750
  name: 'templateBasedLayout',
751
+ mcnSince: null,
752
+ mcnNotes: null,
569
753
  description: 'Layout for template-based content',
570
754
  type: 'string',
571
755
  optional: true,
@@ -576,6 +760,10 @@ export const FUNCTIONS = [
576
760
  },
577
761
  {
578
762
  name: 'ContentBlockByName',
763
+ mcnSince: 67,
764
+ mcnNotes: null,
765
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-name.html',
766
+ guideUrl: 'https://ampscript.guide/contentblockbyname/',
579
767
  minArgs: 1,
580
768
  maxArgs: 5,
581
769
  category: 'Content',
@@ -585,24 +773,32 @@ export const FUNCTIONS = [
585
773
  { name: 'name', description: 'Content block folder path and name', type: 'string' },
586
774
  {
587
775
  name: 'impressionRegion',
776
+ mcnSince: null,
777
+ mcnNotes: null,
588
778
  description: 'Impression region name',
589
779
  type: 'string',
590
780
  optional: true,
591
781
  },
592
782
  {
593
783
  name: 'throwError',
784
+ mcnSince: null,
785
+ mcnNotes: null,
594
786
  description: 'Return error if not found',
595
787
  type: 'boolean',
596
788
  optional: true,
597
789
  },
598
790
  {
599
791
  name: 'defaultContent',
792
+ mcnSince: null,
793
+ mcnNotes: null,
600
794
  description: 'Fallback content if not found',
601
795
  type: 'string',
602
796
  optional: true,
603
797
  },
604
798
  {
605
799
  name: 'templateBasedLayout',
800
+ mcnSince: null,
801
+ mcnNotes: null,
606
802
  description: 'Layout for template-based content',
607
803
  type: 'string',
608
804
  optional: true,
@@ -613,6 +809,10 @@ export const FUNCTIONS = [
613
809
  },
614
810
  {
615
811
  name: 'ContentImageByID',
812
+ mcnSince: null,
813
+ mcnNotes: null,
814
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-id.html',
815
+ guideUrl: 'https://ampscript.guide/contentimagebyid/',
616
816
  minArgs: 1,
617
817
  maxArgs: 2,
618
818
  category: 'Content',
@@ -621,6 +821,8 @@ export const FUNCTIONS = [
621
821
  { name: 'id', description: 'Image asset ID', type: 'number' },
622
822
  {
623
823
  name: 'altText',
824
+ mcnSince: null,
825
+ mcnNotes: null,
624
826
  description: 'Alt text for the image',
625
827
  type: 'string',
626
828
  optional: true,
@@ -631,6 +833,10 @@ export const FUNCTIONS = [
631
833
  },
632
834
  {
633
835
  name: 'ContentImageByKey',
836
+ mcnSince: null,
837
+ mcnNotes: null,
838
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-key.html',
839
+ guideUrl: 'https://ampscript.guide/contentimagebykey/',
634
840
  minArgs: 1,
635
841
  maxArgs: 2,
636
842
  category: 'Content',
@@ -639,6 +845,8 @@ export const FUNCTIONS = [
639
845
  { name: 'customerKey', description: 'Image asset customer key', type: 'string' },
640
846
  {
641
847
  name: 'altText',
848
+ mcnSince: null,
849
+ mcnNotes: null,
642
850
  description: 'Alt text for the image',
643
851
  type: 'string',
644
852
  optional: true,
@@ -649,6 +857,10 @@ export const FUNCTIONS = [
649
857
  },
650
858
  {
651
859
  name: 'CreateMSCRMRecord',
860
+ mcnSince: null,
861
+ mcnNotes: null,
862
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-create-record.html',
863
+ guideUrl: 'https://ampscript.guide/createmscrmrecord/',
652
864
  minArgs: 3,
653
865
  maxArgs: INF,
654
866
  category: 'Microsoft Dynamics CRM',
@@ -659,6 +871,8 @@ export const FUNCTIONS = [
659
871
  { name: 'value1', description: 'First field value' },
660
872
  {
661
873
  name: 'fieldN',
874
+ mcnSince: null,
875
+ mcnNotes: null,
662
876
  description: 'Additional field name',
663
877
  type: 'string',
664
878
  optional: true,
@@ -670,6 +884,10 @@ export const FUNCTIONS = [
670
884
  },
671
885
  {
672
886
  name: 'CreateObject',
887
+ mcnSince: null,
888
+ mcnNotes: null,
889
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-create-object.html',
890
+ guideUrl: 'https://ampscript.guide/createobject/',
673
891
  minArgs: 1,
674
892
  maxArgs: 1,
675
893
  category: 'Marketing Cloud API',
@@ -682,6 +900,10 @@ export const FUNCTIONS = [
682
900
  },
683
901
  {
684
902
  name: 'CreateSalesforceObject',
903
+ mcnSince: null,
904
+ mcnNotes: null,
905
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-create-object.html',
906
+ guideUrl: 'https://ampscript.guide/createsalesforceobject/',
685
907
  minArgs: 4,
686
908
  maxArgs: INF,
687
909
  category: 'Sales and Service Cloud',
@@ -693,6 +915,8 @@ export const FUNCTIONS = [
693
915
  { name: 'value1', description: 'First field value' },
694
916
  {
695
917
  name: 'fieldN',
918
+ mcnSince: null,
919
+ mcnNotes: null,
696
920
  description: 'Additional field API name',
697
921
  type: 'string',
698
922
  optional: true,
@@ -704,6 +928,10 @@ export const FUNCTIONS = [
704
928
  },
705
929
  {
706
930
  name: 'CreateSmsConversation',
931
+ mcnSince: null,
932
+ mcnNotes: null,
933
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-create-sms-conversation.html',
934
+ guideUrl: 'https://ampscript.guide/createsmsconversation/',
707
935
  minArgs: 4,
708
936
  maxArgs: 4,
709
937
  category: 'MobileConnect',
@@ -719,6 +947,10 @@ export const FUNCTIONS = [
719
947
  },
720
948
  {
721
949
  name: 'DataExtensionRowCount',
950
+ mcnSince: null,
951
+ mcnNotes: null,
952
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-de-row-count.html',
953
+ guideUrl: 'https://ampscript.guide/dataextensionrowcount/',
722
954
  minArgs: 1,
723
955
  maxArgs: 1,
724
956
  category: 'Data Extension',
@@ -726,6 +958,8 @@ export const FUNCTIONS = [
726
958
  params: [
727
959
  {
728
960
  name: 'dataExtensionName',
961
+ mcnSince: null,
962
+ mcnNotes: null,
729
963
  description: 'Data extension name or external key',
730
964
  type: 'string',
731
965
  },
@@ -736,6 +970,10 @@ export const FUNCTIONS = [
736
970
  },
737
971
  {
738
972
  name: 'DateAdd',
973
+ mcnSince: 67,
974
+ mcnNotes: null,
975
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-add.html',
976
+ guideUrl: 'https://ampscript.guide/dateadd/',
739
977
  minArgs: 3,
740
978
  maxArgs: 3,
741
979
  category: 'Date and Time',
@@ -751,6 +989,10 @@ export const FUNCTIONS = [
751
989
  },
752
990
  {
753
991
  name: 'DateDiff',
992
+ mcnSince: 67,
993
+ mcnNotes: null,
994
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-diff.html',
995
+ guideUrl: 'https://ampscript.guide/datediff/',
754
996
  minArgs: 3,
755
997
  maxArgs: 3,
756
998
  category: 'Date and Time',
@@ -765,6 +1007,10 @@ export const FUNCTIONS = [
765
1007
  },
766
1008
  {
767
1009
  name: 'DateParse',
1010
+ mcnSince: 67,
1011
+ mcnNotes: null,
1012
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-parse.html',
1013
+ guideUrl: 'https://ampscript.guide/dateparse/',
768
1014
  minArgs: 1,
769
1015
  maxArgs: 2,
770
1016
  category: 'Date and Time',
@@ -773,6 +1019,8 @@ export const FUNCTIONS = [
773
1019
  { name: 'dateString', description: 'String to parse as a date', type: 'string' },
774
1020
  {
775
1021
  name: 'convertToLocal',
1022
+ mcnSince: null,
1023
+ mcnNotes: null,
776
1024
  description: 'Convert to local time zone',
777
1025
  type: 'boolean',
778
1026
  optional: true,
@@ -783,6 +1031,10 @@ export const FUNCTIONS = [
783
1031
  },
784
1032
  {
785
1033
  name: 'DatePart',
1034
+ mcnSince: null,
1035
+ mcnNotes: null,
1036
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-part.html',
1037
+ guideUrl: 'https://ampscript.guide/datepart/',
786
1038
  minArgs: 2,
787
1039
  maxArgs: 2,
788
1040
  category: 'Date and Time',
@@ -791,6 +1043,8 @@ export const FUNCTIONS = [
791
1043
  { name: 'date', description: 'Date to extract from', type: 'date' },
792
1044
  {
793
1045
  name: 'datePart',
1046
+ mcnSince: null,
1047
+ mcnNotes: null,
794
1048
  description: 'Part to extract (Y, M, D, H, MI, DOW)',
795
1049
  type: 'string',
796
1050
  },
@@ -800,6 +1054,10 @@ export const FUNCTIONS = [
800
1054
  },
801
1055
  {
802
1056
  name: 'DecryptSymmetric',
1057
+ mcnSince: null,
1058
+ mcnNotes: null,
1059
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-decrypt-symmetric.html',
1060
+ guideUrl: 'https://ampscript.guide/decryptsymmetric/',
803
1061
  minArgs: 8,
804
1062
  maxArgs: 8,
805
1063
  category: 'Encryption and Encoding',
@@ -809,22 +1067,30 @@ export const FUNCTIONS = [
809
1067
  { name: 'algorithm', description: 'Encryption algorithm (e.g. AES)', type: 'string' },
810
1068
  {
811
1069
  name: 'passwordExternalKey',
1070
+ mcnSince: null,
1071
+ mcnNotes: null,
812
1072
  description: 'External key for the password',
813
1073
  type: 'string',
814
1074
  },
815
1075
  {
816
1076
  name: 'password',
1077
+ mcnSince: null,
1078
+ mcnNotes: null,
817
1079
  description: 'Password value or empty to use external key',
818
1080
  type: 'string',
819
1081
  },
820
1082
  { name: 'saltExternalKey', description: 'External key for the salt', type: 'string' },
821
1083
  {
822
1084
  name: 'salt',
1085
+ mcnSince: null,
1086
+ mcnNotes: null,
823
1087
  description: 'Salt value or empty to use external key',
824
1088
  type: 'string',
825
1089
  },
826
1090
  {
827
1091
  name: 'ivExternalKey',
1092
+ mcnSince: null,
1093
+ mcnNotes: null,
828
1094
  description: 'External key for the initialization vector',
829
1095
  type: 'string',
830
1096
  },
@@ -835,6 +1101,10 @@ export const FUNCTIONS = [
835
1101
  },
836
1102
  {
837
1103
  name: 'DeleteData',
1104
+ mcnSince: null,
1105
+ mcnNotes: null,
1106
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-data.html',
1107
+ guideUrl: 'https://ampscript.guide/deletedata/',
838
1108
  minArgs: 3,
839
1109
  maxArgs: INF,
840
1110
  category: 'Data Extension',
@@ -846,6 +1116,8 @@ export const FUNCTIONS = [
846
1116
  { name: 'value1', description: 'First filter column value' },
847
1117
  {
848
1118
  name: 'columnN',
1119
+ mcnSince: null,
1120
+ mcnNotes: null,
849
1121
  description: 'Additional filter column name',
850
1122
  type: 'string',
851
1123
  optional: true,
@@ -857,6 +1129,10 @@ export const FUNCTIONS = [
857
1129
  },
858
1130
  {
859
1131
  name: 'DeleteDE',
1132
+ mcnSince: null,
1133
+ mcnNotes: null,
1134
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-de.html',
1135
+ guideUrl: 'https://ampscript.guide/deletede/',
860
1136
  minArgs: 3,
861
1137
  maxArgs: INF,
862
1138
  category: 'Data Extension',
@@ -867,6 +1143,8 @@ export const FUNCTIONS = [
867
1143
  { name: 'value1', description: 'First filter column value' },
868
1144
  {
869
1145
  name: 'columnN',
1146
+ mcnSince: null,
1147
+ mcnNotes: null,
870
1148
  description: 'Additional filter column name',
871
1149
  type: 'string',
872
1150
  optional: true,
@@ -878,6 +1156,10 @@ export const FUNCTIONS = [
878
1156
  },
879
1157
  {
880
1158
  name: 'DescribeMSCRMEntities',
1159
+ mcnSince: null,
1160
+ mcnNotes: null,
1161
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entities.html',
1162
+ guideUrl: 'https://ampscript.guide/describemscrmentities/',
881
1163
  minArgs: 0,
882
1164
  maxArgs: 0,
883
1165
  category: 'Microsoft Dynamics CRM',
@@ -888,6 +1170,10 @@ export const FUNCTIONS = [
888
1170
  },
889
1171
  {
890
1172
  name: 'DescribeMSCRMEntityAttributes',
1173
+ mcnSince: null,
1174
+ mcnNotes: null,
1175
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entity-attributes.html',
1176
+ guideUrl: 'https://ampscript.guide/describemscrmentityattributes/',
891
1177
  minArgs: 1,
892
1178
  maxArgs: 1,
893
1179
  category: 'Microsoft Dynamics CRM',
@@ -898,6 +1184,10 @@ export const FUNCTIONS = [
898
1184
  },
899
1185
  {
900
1186
  name: 'Divide',
1187
+ mcnSince: 67,
1188
+ mcnNotes: null,
1189
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-divide.html',
1190
+ guideUrl: 'https://ampscript.guide/divide/',
901
1191
  minArgs: 2,
902
1192
  maxArgs: 2,
903
1193
  category: 'Math',
@@ -912,6 +1202,10 @@ export const FUNCTIONS = [
912
1202
  },
913
1203
  {
914
1204
  name: 'Domain',
1205
+ mcnSince: null,
1206
+ mcnNotes: null,
1207
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-domain.html',
1208
+ guideUrl: 'https://ampscript.guide/domain/',
915
1209
  minArgs: 1,
916
1210
  maxArgs: 1,
917
1211
  category: 'Utility',
@@ -923,6 +1217,10 @@ export const FUNCTIONS = [
923
1217
  },
924
1218
  {
925
1219
  name: 'Empty',
1220
+ mcnSince: 67,
1221
+ mcnNotes: null,
1222
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-empty.html',
1223
+ guideUrl: 'https://ampscript.guide/empty/',
926
1224
  minArgs: 1,
927
1225
  maxArgs: 1,
928
1226
  category: 'Utility',
@@ -934,6 +1232,10 @@ export const FUNCTIONS = [
934
1232
  },
935
1233
  {
936
1234
  name: 'EncryptSymmetric',
1235
+ mcnSince: null,
1236
+ mcnNotes: null,
1237
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-encrypt-symmetric.html',
1238
+ guideUrl: 'https://ampscript.guide/encryptsymmetric/',
937
1239
  minArgs: 8,
938
1240
  maxArgs: 8,
939
1241
  category: 'Encryption and Encoding',
@@ -943,22 +1245,30 @@ export const FUNCTIONS = [
943
1245
  { name: 'algorithm', description: 'Encryption algorithm (e.g. AES)', type: 'string' },
944
1246
  {
945
1247
  name: 'passwordExternalKey',
1248
+ mcnSince: null,
1249
+ mcnNotes: null,
946
1250
  description: 'External key for the password',
947
1251
  type: 'string',
948
1252
  },
949
1253
  {
950
1254
  name: 'password',
1255
+ mcnSince: null,
1256
+ mcnNotes: null,
951
1257
  description: 'Password value or empty to use external key',
952
1258
  type: 'string',
953
1259
  },
954
1260
  { name: 'saltExternalKey', description: 'External key for the salt', type: 'string' },
955
1261
  {
956
1262
  name: 'salt',
1263
+ mcnSince: null,
1264
+ mcnNotes: null,
957
1265
  description: 'Salt value or empty to use external key',
958
1266
  type: 'string',
959
1267
  },
960
1268
  {
961
1269
  name: 'ivExternalKey',
1270
+ mcnSince: null,
1271
+ mcnNotes: null,
962
1272
  description: 'External key for the initialization vector',
963
1273
  type: 'string',
964
1274
  },
@@ -969,6 +1279,10 @@ export const FUNCTIONS = [
969
1279
  },
970
1280
  {
971
1281
  name: 'EndImpressionRegion',
1282
+ mcnSince: null,
1283
+ mcnNotes: null,
1284
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-end-impression-region.html',
1285
+ guideUrl: 'https://ampscript.guide/endimpressionregion/',
972
1286
  minArgs: 0,
973
1287
  maxArgs: 1,
974
1288
  category: 'Content',
@@ -976,6 +1290,8 @@ export const FUNCTIONS = [
976
1290
  params: [
977
1291
  {
978
1292
  name: 'trackImpression',
1293
+ mcnSince: null,
1294
+ mcnNotes: null,
979
1295
  description: 'Whether to track the impression',
980
1296
  type: 'boolean',
981
1297
  optional: true,
@@ -986,6 +1302,10 @@ export const FUNCTIONS = [
986
1302
  },
987
1303
  {
988
1304
  name: 'EndSmsConversation',
1305
+ mcnSince: null,
1306
+ mcnNotes: null,
1307
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-end-sms-conversation.html',
1308
+ guideUrl: 'https://ampscript.guide/endsmsconversation/',
989
1309
  minArgs: 2,
990
1310
  maxArgs: 2,
991
1311
  category: 'MobileConnect',
@@ -999,6 +1319,10 @@ export const FUNCTIONS = [
999
1319
  },
1000
1320
  {
1001
1321
  name: 'ExecuteFilter',
1322
+ mcnSince: null,
1323
+ mcnNotes: null,
1324
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter.html',
1325
+ guideUrl: 'https://ampscript.guide/executefilter/',
1002
1326
  minArgs: 1,
1003
1327
  maxArgs: 1,
1004
1328
  category: 'Data Extension',
@@ -1009,6 +1333,10 @@ export const FUNCTIONS = [
1009
1333
  },
1010
1334
  {
1011
1335
  name: 'ExecuteFilterOrderedRows',
1336
+ mcnSince: null,
1337
+ mcnNotes: null,
1338
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter-ordered-rows.html',
1339
+ guideUrl: 'https://ampscript.guide/executefilterorderedrows/',
1012
1340
  minArgs: 3,
1013
1341
  maxArgs: 3,
1014
1342
  category: 'Data Extension',
@@ -1023,6 +1351,10 @@ export const FUNCTIONS = [
1023
1351
  },
1024
1352
  {
1025
1353
  name: 'Field',
1354
+ mcnSince: 67,
1355
+ mcnNotes: null,
1356
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-field.html',
1357
+ guideUrl: 'https://ampscript.guide/field/',
1026
1358
  minArgs: 2,
1027
1359
  maxArgs: 3,
1028
1360
  category: 'Data Extension',
@@ -1032,6 +1364,8 @@ export const FUNCTIONS = [
1032
1364
  { name: 'fieldName', description: 'Column name to retrieve', type: 'string' },
1033
1365
  {
1034
1366
  name: 'ordinal',
1367
+ mcnSince: null,
1368
+ mcnNotes: null,
1035
1369
  description: 'Column ordinal (0-based)',
1036
1370
  type: 'number',
1037
1371
  optional: true,
@@ -1043,6 +1377,10 @@ export const FUNCTIONS = [
1043
1377
  },
1044
1378
  {
1045
1379
  name: 'Format',
1380
+ mcnSince: 67,
1381
+ mcnNotes: null,
1382
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-format.html',
1383
+ guideUrl: 'https://ampscript.guide/format/',
1046
1384
  minArgs: 2,
1047
1385
  maxArgs: 4,
1048
1386
  category: 'Utility',
@@ -1052,6 +1390,8 @@ export const FUNCTIONS = [
1052
1390
  { name: 'formatString', description: '.NET format string', type: 'string' },
1053
1391
  {
1054
1392
  name: 'culture',
1393
+ mcnSince: null,
1394
+ mcnNotes: null,
1055
1395
  description: 'Culture code (e.g. en-US)',
1056
1396
  type: 'string',
1057
1397
  optional: true,
@@ -1063,6 +1403,10 @@ export const FUNCTIONS = [
1063
1403
  },
1064
1404
  {
1065
1405
  name: 'FormatCurrency',
1406
+ mcnSince: 67,
1407
+ mcnNotes: null,
1408
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatCurrency.html',
1409
+ guideUrl: 'https://ampscript.guide/formatcurrency/',
1066
1410
  minArgs: 2,
1067
1411
  maxArgs: 4,
1068
1412
  category: 'Utility',
@@ -1072,12 +1416,16 @@ export const FUNCTIONS = [
1072
1416
  { name: 'locale', description: 'Locale code (e.g. en-US)', type: 'string' },
1073
1417
  {
1074
1418
  name: 'decimalPlaces',
1419
+ mcnSince: null,
1420
+ mcnNotes: null,
1075
1421
  description: 'Number of decimal places',
1076
1422
  type: 'number',
1077
1423
  optional: true,
1078
1424
  },
1079
1425
  {
1080
1426
  name: 'symbol',
1427
+ mcnSince: null,
1428
+ mcnNotes: null,
1081
1429
  description: 'Custom currency symbol',
1082
1430
  type: 'string',
1083
1431
  optional: true,
@@ -1088,6 +1436,11 @@ export const FUNCTIONS = [
1088
1436
  },
1089
1437
  {
1090
1438
  name: 'FormatDate',
1439
+ mcnSince: 67,
1440
+ mcnNotes:
1441
+ 'In MCN, uses Java SimpleDateFormat format strings instead of .NET. Omitting dateFormat returns the G standard format (e.g. "5/15/2026 1:23:45 PM").',
1442
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-format-date.html',
1443
+ guideUrl: 'https://ampscript.guide/formatdate/',
1091
1444
  minArgs: 2,
1092
1445
  maxArgs: 4,
1093
1446
  category: 'Date and Time',
@@ -1096,6 +1449,8 @@ export const FUNCTIONS = [
1096
1449
  { name: 'date', description: 'Date to format', type: 'date' },
1097
1450
  {
1098
1451
  name: 'format',
1452
+ mcnSince: 67,
1453
+ mcnNotes: null,
1099
1454
  description: 'Format type or pattern (s, l, iso, custom)',
1100
1455
  type: 'string',
1101
1456
  },
@@ -1108,6 +1463,10 @@ export const FUNCTIONS = [
1108
1463
  },
1109
1464
  {
1110
1465
  name: 'FormatNumber',
1466
+ mcnSince: 67,
1467
+ mcnNotes: null,
1468
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatNumber.html',
1469
+ guideUrl: 'https://ampscript.guide/formatnumber/',
1111
1470
  minArgs: 2,
1112
1471
  maxArgs: 3,
1113
1472
  category: 'Utility',
@@ -1122,6 +1481,10 @@ export const FUNCTIONS = [
1122
1481
  },
1123
1482
  {
1124
1483
  name: 'GetJWT',
1484
+ mcnSince: null,
1485
+ mcnNotes: null,
1486
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt.html',
1487
+ guideUrl: 'https://ampscript.guide/getjwt/',
1125
1488
  minArgs: 3,
1126
1489
  maxArgs: 3,
1127
1490
  category: 'Encryption and Encoding',
@@ -1136,6 +1499,10 @@ export const FUNCTIONS = [
1136
1499
  },
1137
1500
  {
1138
1501
  name: 'GetJWTByKeyName',
1502
+ mcnSince: null,
1503
+ mcnNotes: null,
1504
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt-by-key-name.html',
1505
+ guideUrl: 'https://ampscript.guide/getjwtbykeyname/',
1139
1506
  minArgs: 3,
1140
1507
  maxArgs: 3,
1141
1508
  category: 'Encryption and Encoding',
@@ -1150,6 +1517,10 @@ export const FUNCTIONS = [
1150
1517
  },
1151
1518
  {
1152
1519
  name: 'GetPortfolioItem',
1520
+ mcnSince: null,
1521
+ mcnNotes: null,
1522
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-get-portfolio-item.html',
1523
+ guideUrl: 'https://ampscript.guide/getportfolioitem/',
1153
1524
  minArgs: 1,
1154
1525
  maxArgs: 1,
1155
1526
  category: 'Content',
@@ -1160,6 +1531,10 @@ export const FUNCTIONS = [
1160
1531
  },
1161
1532
  {
1162
1533
  name: 'GetPublishedSocialContent',
1534
+ mcnSince: null,
1535
+ mcnNotes: null,
1536
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-published-social-content.html',
1537
+ guideUrl: 'https://ampscript.guide/getpublishedsocialcontent/',
1163
1538
  minArgs: 1,
1164
1539
  maxArgs: 1,
1165
1540
  category: 'Social',
@@ -1170,6 +1545,10 @@ export const FUNCTIONS = [
1170
1545
  },
1171
1546
  {
1172
1547
  name: 'GetSendTime',
1548
+ mcnSince: null,
1549
+ mcnNotes: null,
1550
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-get-send-time.html',
1551
+ guideUrl: 'https://ampscript.guide/getsendtime/',
1173
1552
  minArgs: 0,
1174
1553
  maxArgs: 1,
1175
1554
  category: 'Date and Time',
@@ -1178,6 +1557,8 @@ export const FUNCTIONS = [
1178
1557
  params: [
1179
1558
  {
1180
1559
  name: 'persistFormat',
1560
+ mcnSince: null,
1561
+ mcnNotes: null,
1181
1562
  description: 'Persist date format flag',
1182
1563
  type: 'boolean',
1183
1564
  optional: true,
@@ -1188,6 +1569,10 @@ export const FUNCTIONS = [
1188
1569
  },
1189
1570
  {
1190
1571
  name: 'GetSocialPublishURL',
1572
+ mcnSince: null,
1573
+ mcnNotes: null,
1574
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url.html',
1575
+ guideUrl: 'https://ampscript.guide/getsocialpublishurl/',
1191
1576
  minArgs: 2,
1192
1577
  maxArgs: INF,
1193
1578
  category: 'Social',
@@ -1201,6 +1586,10 @@ export const FUNCTIONS = [
1201
1586
  },
1202
1587
  {
1203
1588
  name: 'GetSocialPublishURLByName',
1589
+ mcnSince: null,
1590
+ mcnNotes: null,
1591
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url-by-name.html',
1592
+ guideUrl: 'https://ampscript.guide/getsocialpublishurlbyname/',
1204
1593
  minArgs: 2,
1205
1594
  maxArgs: INF,
1206
1595
  category: 'Social',
@@ -1214,6 +1603,10 @@ export const FUNCTIONS = [
1214
1603
  },
1215
1604
  {
1216
1605
  name: 'GUID',
1606
+ mcnSince: null,
1607
+ mcnNotes: null,
1608
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-guid.html',
1609
+ guideUrl: 'https://ampscript.guide/guid/',
1217
1610
  minArgs: 0,
1218
1611
  maxArgs: 0,
1219
1612
  category: 'Utility',
@@ -1225,6 +1618,10 @@ export const FUNCTIONS = [
1225
1618
  },
1226
1619
  {
1227
1620
  name: 'HTTPGet',
1621
+ mcnSince: null,
1622
+ mcnNotes: null,
1623
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-get.html',
1624
+ guideUrl: 'https://ampscript.guide/httpget/',
1228
1625
  minArgs: 1,
1229
1626
  maxArgs: 4,
1230
1627
  category: 'HTTP',
@@ -1233,18 +1630,24 @@ export const FUNCTIONS = [
1233
1630
  { name: 'url', description: 'Request URL', type: 'string' },
1234
1631
  {
1235
1632
  name: 'continueOnError',
1633
+ mcnSince: null,
1634
+ mcnNotes: null,
1236
1635
  description: 'Continue on error (true/false)',
1237
1636
  type: 'boolean',
1238
1637
  optional: true,
1239
1638
  },
1240
1639
  {
1241
1640
  name: 'headerName',
1641
+ mcnSince: null,
1642
+ mcnNotes: null,
1242
1643
  description: 'Request header name',
1243
1644
  type: 'string',
1244
1645
  optional: true,
1245
1646
  },
1246
1647
  {
1247
1648
  name: 'headerValue',
1649
+ mcnSince: null,
1650
+ mcnNotes: null,
1248
1651
  description: 'Request header value',
1249
1652
  type: 'string',
1250
1653
  optional: true,
@@ -1256,6 +1659,10 @@ export const FUNCTIONS = [
1256
1659
  },
1257
1660
  {
1258
1661
  name: 'HTTPPost',
1662
+ mcnSince: null,
1663
+ mcnNotes: null,
1664
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post.html',
1665
+ guideUrl: 'https://ampscript.guide/httppost/',
1259
1666
  minArgs: 3,
1260
1667
  maxArgs: INF,
1261
1668
  category: 'HTTP',
@@ -1267,18 +1674,24 @@ export const FUNCTIONS = [
1267
1674
  { name: 'payload', description: 'Request body', type: 'string' },
1268
1675
  {
1269
1676
  name: 'response',
1677
+ mcnSince: null,
1678
+ mcnNotes: null,
1270
1679
  description: 'Output variable for response body (pass @variable)',
1271
1680
  type: 'string',
1272
1681
  optional: true,
1273
1682
  },
1274
1683
  {
1275
1684
  name: 'headerName',
1685
+ mcnSince: null,
1686
+ mcnNotes: null,
1276
1687
  description: 'Request header name',
1277
1688
  type: 'string',
1278
1689
  optional: true,
1279
1690
  },
1280
1691
  {
1281
1692
  name: 'headerValue',
1693
+ mcnSince: null,
1694
+ mcnNotes: null,
1282
1695
  description: 'Request header value',
1283
1696
  type: 'string',
1284
1697
  optional: true,
@@ -1289,6 +1702,10 @@ export const FUNCTIONS = [
1289
1702
  },
1290
1703
  {
1291
1704
  name: 'HTTPPost2',
1705
+ mcnSince: null,
1706
+ mcnNotes: null,
1707
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post2.html',
1708
+ guideUrl: 'https://ampscript.guide/httppost2/',
1292
1709
  minArgs: 7,
1293
1710
  maxArgs: INF,
1294
1711
  category: 'HTTP',
@@ -1301,6 +1718,8 @@ export const FUNCTIONS = [
1301
1718
  { name: 'response', description: 'Output variable for response body', type: 'string' },
1302
1719
  {
1303
1720
  name: 'responseHeaders',
1721
+ mcnSince: null,
1722
+ mcnNotes: null,
1304
1723
  description: 'Output variable for response headers',
1305
1724
  type: 'string',
1306
1725
  },
@@ -1312,6 +1731,10 @@ export const FUNCTIONS = [
1312
1731
  },
1313
1732
  {
1314
1733
  name: 'HTTPPostWithRetry',
1734
+ mcnSince: null,
1735
+ mcnNotes: null,
1736
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post-with-retry.html',
1737
+ guideUrl: 'https://ampscript.guide/httppostwithretry/',
1315
1738
  minArgs: 7,
1316
1739
  maxArgs: INF,
1317
1740
  category: 'HTTP',
@@ -1323,12 +1746,16 @@ export const FUNCTIONS = [
1323
1746
  { name: 'response', description: 'Output variable for response body', type: 'string' },
1324
1747
  {
1325
1748
  name: 'responseHeaders',
1749
+ mcnSince: null,
1750
+ mcnNotes: null,
1326
1751
  description: 'Output variable for response headers',
1327
1752
  type: 'string',
1328
1753
  },
1329
1754
  { name: 'maxRetries', description: 'Maximum number of retry attempts', type: 'number' },
1330
1755
  {
1331
1756
  name: 'retryDelay',
1757
+ mcnSince: null,
1758
+ mcnNotes: null,
1332
1759
  description: 'Delay between retries in milliseconds',
1333
1760
  type: 'number',
1334
1761
  },
@@ -1338,6 +1765,10 @@ export const FUNCTIONS = [
1338
1765
  },
1339
1766
  {
1340
1767
  name: 'HTTPRequestHeader',
1768
+ mcnSince: null,
1769
+ mcnNotes: null,
1770
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-request-header.html',
1771
+ guideUrl: 'https://ampscript.guide/httprequestheader/',
1341
1772
  minArgs: 1,
1342
1773
  maxArgs: 1,
1343
1774
  category: 'HTTP',
@@ -1350,6 +1781,10 @@ export const FUNCTIONS = [
1350
1781
  },
1351
1782
  {
1352
1783
  name: 'IIf',
1784
+ mcnSince: 67,
1785
+ mcnNotes: null,
1786
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-iif.html',
1787
+ guideUrl: 'https://ampscript.guide/iif/',
1353
1788
  minArgs: 3,
1354
1789
  maxArgs: 3,
1355
1790
  category: 'Utility',
@@ -1365,6 +1800,10 @@ export const FUNCTIONS = [
1365
1800
  },
1366
1801
  {
1367
1802
  name: 'Image',
1803
+ mcnSince: null,
1804
+ mcnNotes: null,
1805
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image.html',
1806
+ guideUrl: 'https://ampscript.guide/image/',
1368
1807
  minArgs: 2,
1369
1808
  maxArgs: 2,
1370
1809
  category: 'Content',
@@ -1373,11 +1812,15 @@ export const FUNCTIONS = [
1373
1812
  params: [
1374
1813
  {
1375
1814
  name: 'customerKey',
1815
+ mcnSince: null,
1816
+ mcnNotes: null,
1376
1817
  description: 'Customer/external key of the image',
1377
1818
  type: 'string',
1378
1819
  },
1379
1820
  {
1380
1821
  name: 'fallbackKey',
1822
+ mcnSince: null,
1823
+ mcnNotes: null,
1381
1824
  description:
1382
1825
  'Customer/external key of the fallback image if the primary is not found',
1383
1826
  type: 'string',
@@ -1388,6 +1831,10 @@ export const FUNCTIONS = [
1388
1831
  },
1389
1832
  {
1390
1833
  name: 'IndexOf',
1834
+ mcnSince: 67,
1835
+ mcnNotes: null,
1836
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-index-of.html',
1837
+ guideUrl: 'https://ampscript.guide/indexof/',
1391
1838
  minArgs: 2,
1392
1839
  maxArgs: 2,
1393
1840
  category: 'String',
@@ -1402,6 +1849,10 @@ export const FUNCTIONS = [
1402
1849
  },
1403
1850
  {
1404
1851
  name: 'InsertData',
1852
+ mcnSince: null,
1853
+ mcnNotes: null,
1854
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-data.html',
1855
+ guideUrl: 'https://ampscript.guide/insertdata/',
1405
1856
  minArgs: 3,
1406
1857
  maxArgs: INF,
1407
1858
  category: 'Data Extension',
@@ -1412,6 +1863,8 @@ export const FUNCTIONS = [
1412
1863
  { name: 'value1', description: 'First column value' },
1413
1864
  {
1414
1865
  name: 'columnN',
1866
+ mcnSince: null,
1867
+ mcnNotes: null,
1415
1868
  description: 'Additional column name',
1416
1869
  type: 'string',
1417
1870
  optional: true,
@@ -1423,6 +1876,10 @@ export const FUNCTIONS = [
1423
1876
  },
1424
1877
  {
1425
1878
  name: 'InsertDE',
1879
+ mcnSince: null,
1880
+ mcnNotes: null,
1881
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-de.html',
1882
+ guideUrl: 'https://ampscript.guide/insertde/',
1426
1883
  minArgs: 3,
1427
1884
  maxArgs: INF,
1428
1885
  category: 'Data Extension',
@@ -1433,6 +1890,8 @@ export const FUNCTIONS = [
1433
1890
  { name: 'value1', description: 'First column value' },
1434
1891
  {
1435
1892
  name: 'columnN',
1893
+ mcnSince: null,
1894
+ mcnNotes: null,
1436
1895
  description: 'Additional column name',
1437
1896
  type: 'string',
1438
1897
  optional: true,
@@ -1444,6 +1903,10 @@ export const FUNCTIONS = [
1444
1903
  },
1445
1904
  {
1446
1905
  name: 'InvokeCreate',
1906
+ mcnSince: null,
1907
+ mcnNotes: null,
1908
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-create.html',
1909
+ guideUrl: 'https://ampscript.guide/invokecreate/',
1447
1910
  minArgs: 3,
1448
1911
  maxArgs: 4,
1449
1912
  category: 'Marketing Cloud API',
@@ -1452,16 +1915,22 @@ export const FUNCTIONS = [
1452
1915
  { name: 'apiObject', description: 'API object to create' },
1453
1916
  {
1454
1917
  name: 'statusMessage',
1918
+ mcnSince: null,
1919
+ mcnNotes: null,
1455
1920
  description: 'Output variable for the resulting status message',
1456
1921
  type: 'string',
1457
1922
  },
1458
1923
  {
1459
1924
  name: 'errorCode',
1925
+ mcnSince: null,
1926
+ mcnNotes: null,
1460
1927
  description: 'Output variable for the resulting error code',
1461
1928
  type: 'string',
1462
1929
  },
1463
1930
  {
1464
1931
  name: 'createOptions',
1932
+ mcnSince: null,
1933
+ mcnNotes: null,
1465
1934
  description: 'Optional CreateOptions API object',
1466
1935
  optional: true,
1467
1936
  },
@@ -1471,6 +1940,10 @@ export const FUNCTIONS = [
1471
1940
  },
1472
1941
  {
1473
1942
  name: 'InvokeDelete',
1943
+ mcnSince: null,
1944
+ mcnNotes: null,
1945
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-delete.html',
1946
+ guideUrl: 'https://ampscript.guide/invokedelete/',
1474
1947
  minArgs: 3,
1475
1948
  maxArgs: 4,
1476
1949
  category: 'Marketing Cloud API',
@@ -1479,16 +1952,22 @@ export const FUNCTIONS = [
1479
1952
  { name: 'apiObject', description: 'API object to delete' },
1480
1953
  {
1481
1954
  name: 'statusMessage',
1955
+ mcnSince: null,
1956
+ mcnNotes: null,
1482
1957
  description: 'Output variable for the resulting status message',
1483
1958
  type: 'string',
1484
1959
  },
1485
1960
  {
1486
1961
  name: 'errorCode',
1962
+ mcnSince: null,
1963
+ mcnNotes: null,
1487
1964
  description: 'Output variable for the resulting error code',
1488
1965
  type: 'string',
1489
1966
  },
1490
1967
  {
1491
1968
  name: 'deleteOptions',
1969
+ mcnSince: null,
1970
+ mcnNotes: null,
1492
1971
  description: 'Optional DeleteOptions API object',
1493
1972
  optional: true,
1494
1973
  },
@@ -1498,6 +1977,10 @@ export const FUNCTIONS = [
1498
1977
  },
1499
1978
  {
1500
1979
  name: 'InvokeExecute',
1980
+ mcnSince: null,
1981
+ mcnNotes: null,
1982
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-execute.html',
1983
+ guideUrl: 'https://ampscript.guide/invokeexecute/',
1501
1984
  minArgs: 3,
1502
1985
  maxArgs: 3,
1503
1986
  category: 'Marketing Cloud API',
@@ -1506,6 +1989,8 @@ export const FUNCTIONS = [
1506
1989
  { name: 'apiObject', description: 'API object to execute' },
1507
1990
  {
1508
1991
  name: 'statusMessage',
1992
+ mcnSince: null,
1993
+ mcnNotes: null,
1509
1994
  description: 'Output variable for status message',
1510
1995
  type: 'string',
1511
1996
  },
@@ -1516,6 +2001,10 @@ export const FUNCTIONS = [
1516
2001
  },
1517
2002
  {
1518
2003
  name: 'InvokePerform',
2004
+ mcnSince: null,
2005
+ mcnNotes: null,
2006
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-perform.html',
2007
+ guideUrl: 'https://ampscript.guide/invokeperform/',
1519
2008
  minArgs: 2,
1520
2009
  maxArgs: 3,
1521
2010
  category: 'Marketing Cloud API',
@@ -1525,6 +2014,8 @@ export const FUNCTIONS = [
1525
2014
  { name: 'action', description: 'Action to perform (e.g. start, stop)', type: 'string' },
1526
2015
  {
1527
2016
  name: 'statusMessage',
2017
+ mcnSince: null,
2018
+ mcnNotes: null,
1528
2019
  description: 'Output variable for the resulting status message',
1529
2020
  type: 'string',
1530
2021
  optional: true,
@@ -1535,6 +2026,10 @@ export const FUNCTIONS = [
1535
2026
  },
1536
2027
  {
1537
2028
  name: 'InvokeRetrieve',
2029
+ mcnSince: null,
2030
+ mcnNotes: null,
2031
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-retrieve.html',
2032
+ guideUrl: 'https://ampscript.guide/invokeretrieve/',
1538
2033
  minArgs: 1,
1539
2034
  maxArgs: 3,
1540
2035
  category: 'Marketing Cloud API',
@@ -1543,12 +2038,16 @@ export const FUNCTIONS = [
1543
2038
  { name: 'apiObject', description: 'API object defining the retrieve filter' },
1544
2039
  {
1545
2040
  name: 'statusMessage',
2041
+ mcnSince: null,
2042
+ mcnNotes: null,
1546
2043
  description: 'Output variable for the resulting status message',
1547
2044
  type: 'string',
1548
2045
  optional: true,
1549
2046
  },
1550
2047
  {
1551
2048
  name: 'requestId',
2049
+ mcnSince: null,
2050
+ mcnNotes: null,
1552
2051
  description: 'Output variable for the resulting RequestID',
1553
2052
  type: 'string',
1554
2053
  optional: true,
@@ -1559,6 +2058,10 @@ export const FUNCTIONS = [
1559
2058
  },
1560
2059
  {
1561
2060
  name: 'InvokeUpdate',
2061
+ mcnSince: null,
2062
+ mcnNotes: null,
2063
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-update.html',
2064
+ guideUrl: 'https://ampscript.guide/invokeupdate/',
1562
2065
  minArgs: 1,
1563
2066
  maxArgs: 4,
1564
2067
  category: 'Marketing Cloud API',
@@ -1567,18 +2070,24 @@ export const FUNCTIONS = [
1567
2070
  { name: 'apiObject', description: 'API object to update' },
1568
2071
  {
1569
2072
  name: 'statusMessage',
2073
+ mcnSince: null,
2074
+ mcnNotes: null,
1570
2075
  description: 'Output variable for the resulting status message',
1571
2076
  type: 'string',
1572
2077
  optional: true,
1573
2078
  },
1574
2079
  {
1575
2080
  name: 'errorCode',
2081
+ mcnSince: null,
2082
+ mcnNotes: null,
1576
2083
  description: 'Output variable for the resulting error code',
1577
2084
  type: 'string',
1578
2085
  optional: true,
1579
2086
  },
1580
2087
  {
1581
2088
  name: 'updateOptions',
2089
+ mcnSince: null,
2090
+ mcnNotes: null,
1582
2091
  description: 'Optional UpdateOptions API object',
1583
2092
  optional: true,
1584
2093
  },
@@ -1588,6 +2097,10 @@ export const FUNCTIONS = [
1588
2097
  },
1589
2098
  {
1590
2099
  name: 'IsCHTMLBrowser',
2100
+ mcnSince: null,
2101
+ mcnNotes: null,
2102
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-is-chtml-browser.html',
2103
+ guideUrl: 'https://ampscript.guide/ischtmlbrowser/',
1591
2104
  minArgs: 1,
1592
2105
  maxArgs: 1,
1593
2106
  category: 'Utility',
@@ -1599,6 +2112,10 @@ export const FUNCTIONS = [
1599
2112
  },
1600
2113
  {
1601
2114
  name: 'IsEmailAddress',
2115
+ mcnSince: null,
2116
+ mcnNotes: null,
2117
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-email-address.html',
2118
+ guideUrl: 'https://ampscript.guide/isemailaddress/',
1602
2119
  minArgs: 1,
1603
2120
  maxArgs: 1,
1604
2121
  category: 'Utility',
@@ -1610,6 +2127,10 @@ export const FUNCTIONS = [
1610
2127
  },
1611
2128
  {
1612
2129
  name: 'IsNull',
2130
+ mcnSince: 67,
2131
+ mcnNotes: null,
2132
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-null.html',
2133
+ guideUrl: 'https://ampscript.guide/isnull/',
1613
2134
  minArgs: 1,
1614
2135
  maxArgs: 1,
1615
2136
  category: 'Utility',
@@ -1620,6 +2141,10 @@ export const FUNCTIONS = [
1620
2141
  },
1621
2142
  {
1622
2143
  name: 'IsNullDefault',
2144
+ mcnSince: null,
2145
+ mcnNotes: null,
2146
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-is-null-default.html',
2147
+ guideUrl: 'https://ampscript.guide/isnulldefault/',
1623
2148
  minArgs: 2,
1624
2149
  maxArgs: 2,
1625
2150
  category: 'Utility',
@@ -1634,6 +2159,10 @@ export const FUNCTIONS = [
1634
2159
  },
1635
2160
  {
1636
2161
  name: 'IsPhoneNumber',
2162
+ mcnSince: null,
2163
+ mcnNotes: null,
2164
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-phone-number.html',
2165
+ guideUrl: 'https://ampscript.guide/isphonenumber/',
1637
2166
  minArgs: 1,
1638
2167
  maxArgs: 1,
1639
2168
  category: 'Utility',
@@ -1644,6 +2173,10 @@ export const FUNCTIONS = [
1644
2173
  },
1645
2174
  {
1646
2175
  name: 'Length',
2176
+ mcnSince: 67,
2177
+ mcnNotes: null,
2178
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-length.html',
2179
+ guideUrl: 'https://ampscript.guide/length/',
1647
2180
  minArgs: 1,
1648
2181
  maxArgs: 1,
1649
2182
  category: 'String',
@@ -1655,6 +2188,10 @@ export const FUNCTIONS = [
1655
2188
  },
1656
2189
  {
1657
2190
  name: 'LiveContentMicrositeURL',
2191
+ mcnSince: null,
2192
+ mcnNotes: null,
2193
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-live-content-microsite-url.html',
2194
+ guideUrl: 'https://ampscript.guide/livecontentmicrositeurl/',
1658
2195
  minArgs: 2,
1659
2196
  maxArgs: 2,
1660
2197
  category: 'Content',
@@ -1668,6 +2205,10 @@ export const FUNCTIONS = [
1668
2205
  },
1669
2206
  {
1670
2207
  name: 'LocalDateToSystemDate',
2208
+ mcnSince: null,
2209
+ mcnNotes: null,
2210
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-local-date-to-system-date.html',
2211
+ guideUrl: 'https://ampscript.guide/localdatetosystemdate/',
1671
2212
  minArgs: 1,
1672
2213
  maxArgs: 1,
1673
2214
  category: 'Date and Time',
@@ -1678,6 +2219,10 @@ export const FUNCTIONS = [
1678
2219
  },
1679
2220
  {
1680
2221
  name: 'LongSFID',
2222
+ mcnSince: null,
2223
+ mcnNotes: null,
2224
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-long-sfid.html',
2225
+ guideUrl: 'https://ampscript.guide/longsfid/',
1681
2226
  minArgs: 1,
1682
2227
  maxArgs: 1,
1683
2228
  category: 'Sales and Service Cloud',
@@ -1689,6 +2234,11 @@ export const FUNCTIONS = [
1689
2234
  },
1690
2235
  {
1691
2236
  name: 'Lookup',
2237
+ mcnSince: 67,
2238
+ mcnNotes:
2239
+ 'In MCN, search arguments must be provided in column/value pairs — an odd count causes an error. All filter keys must fully specify the composite primary key.',
2240
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup.html',
2241
+ guideUrl: 'https://ampscript.guide/lookup/',
1692
2242
  minArgs: 4,
1693
2243
  maxArgs: INF,
1694
2244
  category: 'Data Extension',
@@ -1701,6 +2251,8 @@ export const FUNCTIONS = [
1701
2251
  { name: 'lookupValue', description: 'Filter column value' },
1702
2252
  {
1703
2253
  name: 'additionalColumn',
2254
+ mcnSince: null,
2255
+ mcnNotes: null,
1704
2256
  description: 'Additional filter column',
1705
2257
  type: 'string',
1706
2258
  optional: true,
@@ -1713,6 +2265,10 @@ export const FUNCTIONS = [
1713
2265
  },
1714
2266
  {
1715
2267
  name: 'LookupOrderedRows',
2268
+ mcnSince: null,
2269
+ mcnNotes: null,
2270
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows.html',
2271
+ guideUrl: 'https://ampscript.guide/lookuporderedrows/',
1716
2272
  minArgs: 5,
1717
2273
  maxArgs: INF,
1718
2274
  category: 'Data Extension',
@@ -1722,6 +2278,8 @@ export const FUNCTIONS = [
1722
2278
  { name: 'maxRows', description: 'Maximum rows to return', type: 'number' },
1723
2279
  {
1724
2280
  name: 'sortColumn',
2281
+ mcnSince: null,
2282
+ mcnNotes: null,
1725
2283
  description: "Sort column and direction (e.g. 'Date DESC')",
1726
2284
  type: 'string',
1727
2285
  },
@@ -1729,6 +2287,8 @@ export const FUNCTIONS = [
1729
2287
  { name: 'lookupValue', description: 'Filter column value' },
1730
2288
  {
1731
2289
  name: 'additionalColumn',
2290
+ mcnSince: null,
2291
+ mcnNotes: null,
1732
2292
  description: 'Additional filter column',
1733
2293
  type: 'string',
1734
2294
  optional: true,
@@ -1740,6 +2300,10 @@ export const FUNCTIONS = [
1740
2300
  },
1741
2301
  {
1742
2302
  name: 'LookupOrderedRowsCS',
2303
+ mcnSince: null,
2304
+ mcnNotes: null,
2305
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows-cs.html',
2306
+ guideUrl: 'https://ampscript.guide/lookuporderedrowscs/',
1743
2307
  minArgs: 5,
1744
2308
  maxArgs: INF,
1745
2309
  category: 'Data Extension',
@@ -1753,6 +2317,8 @@ export const FUNCTIONS = [
1753
2317
  { name: 'lookupValue', description: 'Filter column value' },
1754
2318
  {
1755
2319
  name: 'additionalColumn',
2320
+ mcnSince: null,
2321
+ mcnNotes: null,
1756
2322
  description: 'Additional filter column',
1757
2323
  type: 'string',
1758
2324
  optional: true,
@@ -1764,6 +2330,10 @@ export const FUNCTIONS = [
1764
2330
  },
1765
2331
  {
1766
2332
  name: 'LookupRows',
2333
+ mcnSince: null,
2334
+ mcnNotes: null,
2335
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows.html',
2336
+ guideUrl: 'https://ampscript.guide/lookuprows/',
1767
2337
  minArgs: 3,
1768
2338
  maxArgs: INF,
1769
2339
  category: 'Data Extension',
@@ -1774,6 +2344,8 @@ export const FUNCTIONS = [
1774
2344
  { name: 'lookupValue', description: 'Filter column value' },
1775
2345
  {
1776
2346
  name: 'additionalColumn',
2347
+ mcnSince: null,
2348
+ mcnNotes: null,
1777
2349
  description: 'Additional filter column',
1778
2350
  type: 'string',
1779
2351
  optional: true,
@@ -1786,6 +2358,10 @@ export const FUNCTIONS = [
1786
2358
  },
1787
2359
  {
1788
2360
  name: 'LookupRowsCS',
2361
+ mcnSince: null,
2362
+ mcnNotes: null,
2363
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows-cs.html',
2364
+ guideUrl: 'https://ampscript.guide/lookuprowscs/',
1789
2365
  minArgs: 3,
1790
2366
  maxArgs: INF,
1791
2367
  category: 'Data Extension',
@@ -1796,6 +2372,8 @@ export const FUNCTIONS = [
1796
2372
  { name: 'lookupValue', description: 'Filter column value' },
1797
2373
  {
1798
2374
  name: 'additionalColumn',
2375
+ mcnSince: null,
2376
+ mcnNotes: null,
1799
2377
  description: 'Additional filter column',
1800
2378
  type: 'string',
1801
2379
  optional: true,
@@ -1807,6 +2385,10 @@ export const FUNCTIONS = [
1807
2385
  },
1808
2386
  {
1809
2387
  name: 'Lowercase',
2388
+ mcnSince: 67,
2389
+ mcnNotes: null,
2390
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-lowercase.html',
2391
+ guideUrl: 'https://ampscript.guide/lowercase/',
1810
2392
  minArgs: 1,
1811
2393
  maxArgs: 1,
1812
2394
  category: 'String',
@@ -1818,6 +2400,10 @@ export const FUNCTIONS = [
1818
2400
  },
1819
2401
  {
1820
2402
  name: 'MD5',
2403
+ mcnSince: null,
2404
+ mcnNotes: null,
2405
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-md5.html',
2406
+ guideUrl: 'https://ampscript.guide/md5/',
1821
2407
  minArgs: 1,
1822
2408
  maxArgs: 2,
1823
2409
  category: 'Encryption and Encoding',
@@ -1826,6 +2412,8 @@ export const FUNCTIONS = [
1826
2412
  { name: 'value', description: 'Value to hash', type: 'string' },
1827
2413
  {
1828
2414
  name: 'encoding',
2415
+ mcnSince: null,
2416
+ mcnNotes: null,
1829
2417
  description: 'Output encoding (hex, base64)',
1830
2418
  type: 'string',
1831
2419
  optional: true,
@@ -1836,6 +2424,10 @@ export const FUNCTIONS = [
1836
2424
  },
1837
2425
  {
1838
2426
  name: 'MicrositeURL',
2427
+ mcnSince: null,
2428
+ mcnNotes: null,
2429
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-microsite-url.html',
2430
+ guideUrl: 'https://ampscript.guide/micrositeurl/',
1839
2431
  minArgs: 1,
1840
2432
  maxArgs: INF,
1841
2433
  category: 'Utility',
@@ -1844,12 +2436,16 @@ export const FUNCTIONS = [
1844
2436
  { name: 'pageId', description: 'Microsite page ID', type: 'number' },
1845
2437
  {
1846
2438
  name: 'paramName',
2439
+ mcnSince: null,
2440
+ mcnNotes: null,
1847
2441
  description: 'Query parameter name',
1848
2442
  type: 'string',
1849
2443
  optional: true,
1850
2444
  },
1851
2445
  {
1852
2446
  name: 'paramValue',
2447
+ mcnSince: null,
2448
+ mcnNotes: null,
1853
2449
  description: 'Query parameter value',
1854
2450
  type: 'string',
1855
2451
  optional: true,
@@ -1860,6 +2456,10 @@ export const FUNCTIONS = [
1860
2456
  },
1861
2457
  {
1862
2458
  name: 'Mod',
2459
+ mcnSince: 67,
2460
+ mcnNotes: null,
2461
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-mod.html',
2462
+ guideUrl: 'https://ampscript.guide/mod/',
1863
2463
  minArgs: 2,
1864
2464
  maxArgs: 2,
1865
2465
  category: 'Math',
@@ -1875,6 +2475,10 @@ export const FUNCTIONS = [
1875
2475
  },
1876
2476
  {
1877
2477
  name: 'Multiply',
2478
+ mcnSince: 67,
2479
+ mcnNotes: null,
2480
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-multiply.html',
2481
+ guideUrl: 'https://ampscript.guide/multiply/',
1878
2482
  minArgs: 2,
1879
2483
  maxArgs: 2,
1880
2484
  category: 'Math',
@@ -1889,6 +2493,10 @@ export const FUNCTIONS = [
1889
2493
  },
1890
2494
  {
1891
2495
  name: 'Now',
2496
+ mcnSince: 67,
2497
+ mcnNotes: null,
2498
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-now.html',
2499
+ guideUrl: 'https://ampscript.guide/now/',
1892
2500
  minArgs: 0,
1893
2501
  maxArgs: 1,
1894
2502
  category: 'Date and Time',
@@ -1897,6 +2505,8 @@ export const FUNCTIONS = [
1897
2505
  params: [
1898
2506
  {
1899
2507
  name: 'persistFormat',
2508
+ mcnSince: null,
2509
+ mcnNotes: null,
1900
2510
  description: 'Pass 1 to persist value',
1901
2511
  type: 'boolean',
1902
2512
  optional: true,
@@ -1908,6 +2518,10 @@ export const FUNCTIONS = [
1908
2518
  },
1909
2519
  {
1910
2520
  name: 'Output',
2521
+ mcnSince: 67,
2522
+ mcnNotes: null,
2523
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output.html',
2524
+ guideUrl: 'https://ampscript.guide/output/',
1911
2525
  minArgs: 1,
1912
2526
  maxArgs: 1,
1913
2527
  category: 'Utility',
@@ -1919,6 +2533,10 @@ export const FUNCTIONS = [
1919
2533
  },
1920
2534
  {
1921
2535
  name: 'OutputLine',
2536
+ mcnSince: 67,
2537
+ mcnNotes: null,
2538
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output-line.html',
2539
+ guideUrl: 'https://ampscript.guide/outputline/',
1922
2540
  minArgs: 1,
1923
2541
  maxArgs: 1,
1924
2542
  category: 'Utility',
@@ -1929,6 +2547,10 @@ export const FUNCTIONS = [
1929
2547
  },
1930
2548
  {
1931
2549
  name: 'ProperCase',
2550
+ mcnSince: 67,
2551
+ mcnNotes: null,
2552
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-propercase.html',
2553
+ guideUrl: 'https://ampscript.guide/propercase/',
1932
2554
  minArgs: 1,
1933
2555
  maxArgs: 1,
1934
2556
  category: 'String',
@@ -1941,6 +2563,10 @@ export const FUNCTIONS = [
1941
2563
  },
1942
2564
  {
1943
2565
  name: 'QueryParameter',
2566
+ mcnSince: null,
2567
+ mcnNotes: null,
2568
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-query-parameter.html',
2569
+ guideUrl: 'https://ampscript.guide/queryparameter/',
1944
2570
  minArgs: 1,
1945
2571
  maxArgs: 1,
1946
2572
  category: 'Utility',
@@ -1952,6 +2578,10 @@ export const FUNCTIONS = [
1952
2578
  },
1953
2579
  {
1954
2580
  name: 'RaiseError',
2581
+ mcnSince: 67,
2582
+ mcnNotes: null,
2583
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-raise-error.html',
2584
+ guideUrl: 'https://ampscript.guide/raiseerror/',
1955
2585
  minArgs: 1,
1956
2586
  maxArgs: 5,
1957
2587
  category: 'Utility',
@@ -1961,24 +2591,32 @@ export const FUNCTIONS = [
1961
2591
  { name: 'message', description: 'Error message', type: 'string' },
1962
2592
  {
1963
2593
  name: 'skipSubscriber',
2594
+ mcnSince: null,
2595
+ mcnNotes: null,
1964
2596
  description: 'Skip subscriber without failing the job',
1965
2597
  type: 'boolean',
1966
2598
  optional: true,
1967
2599
  },
1968
2600
  {
1969
2601
  name: 'apiErrorCode',
2602
+ mcnSince: null,
2603
+ mcnNotes: null,
1970
2604
  description: 'Custom API error code',
1971
2605
  type: 'string',
1972
2606
  optional: true,
1973
2607
  },
1974
2608
  {
1975
2609
  name: 'apiErrorMessage',
2610
+ mcnSince: null,
2611
+ mcnNotes: null,
1976
2612
  description: 'Custom API error message',
1977
2613
  type: 'string',
1978
2614
  optional: true,
1979
2615
  },
1980
2616
  {
1981
2617
  name: 'statusCode',
2618
+ mcnSince: null,
2619
+ mcnNotes: null,
1982
2620
  description: 'HTTP status code for landing pages',
1983
2621
  type: 'number',
1984
2622
  optional: true,
@@ -1989,6 +2627,10 @@ export const FUNCTIONS = [
1989
2627
  },
1990
2628
  {
1991
2629
  name: 'Random',
2630
+ mcnSince: 67,
2631
+ mcnNotes: null,
2632
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-random.html',
2633
+ guideUrl: 'https://ampscript.guide/random/',
1992
2634
  minArgs: 2,
1993
2635
  maxArgs: 2,
1994
2636
  category: 'Math',
@@ -2003,6 +2645,9 @@ export const FUNCTIONS = [
2003
2645
  },
2004
2646
  {
2005
2647
  name: 'RatingStars',
2648
+ mcnSince: null,
2649
+ mcnNotes: null,
2650
+ guideUrl: 'https://ampscript.guide/ratingstars/',
2006
2651
  minArgs: 3,
2007
2652
  maxArgs: 3,
2008
2653
  category: 'Einstein Email Recommendations',
@@ -2017,6 +2662,10 @@ export const FUNCTIONS = [
2017
2662
  },
2018
2663
  {
2019
2664
  name: 'Redirect',
2665
+ mcnSince: null,
2666
+ mcnNotes: null,
2667
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-redirect.html',
2668
+ guideUrl: 'https://ampscript.guide/redirect/',
2020
2669
  minArgs: 1,
2021
2670
  maxArgs: 1,
2022
2671
  category: 'Utility',
@@ -2027,6 +2676,10 @@ export const FUNCTIONS = [
2027
2676
  },
2028
2677
  {
2029
2678
  name: 'RedirectTo',
2679
+ mcnSince: null,
2680
+ mcnNotes: null,
2681
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-redirect-to.html',
2682
+ guideUrl: 'https://ampscript.guide/redirectto/',
2030
2683
  minArgs: 1,
2031
2684
  maxArgs: 1,
2032
2685
  category: 'Utility',
@@ -2038,6 +2691,10 @@ export const FUNCTIONS = [
2038
2691
  },
2039
2692
  {
2040
2693
  name: 'RegExMatch',
2694
+ mcnSince: null,
2695
+ mcnNotes: null,
2696
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-regex-match.html',
2697
+ guideUrl: 'https://ampscript.guide/regexmatch/',
2041
2698
  minArgs: 3,
2042
2699
  maxArgs: INF,
2043
2700
  category: 'String',
@@ -2048,11 +2705,15 @@ export const FUNCTIONS = [
2048
2705
  { name: 'pattern', description: 'Regular expression pattern', type: 'string' },
2049
2706
  {
2050
2707
  name: 'match1',
2708
+ mcnSince: null,
2709
+ mcnNotes: null,
2051
2710
  description: 'Output variable for first capture group',
2052
2711
  type: 'string',
2053
2712
  },
2054
2713
  {
2055
2714
  name: 'matchN',
2715
+ mcnSince: null,
2716
+ mcnNotes: null,
2056
2717
  description: 'Output variable for additional capture groups',
2057
2718
  type: 'string',
2058
2719
  optional: true,
@@ -2063,6 +2724,10 @@ export const FUNCTIONS = [
2063
2724
  },
2064
2725
  {
2065
2726
  name: 'Replace',
2727
+ mcnSince: 67,
2728
+ mcnNotes: null,
2729
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace.html',
2730
+ guideUrl: 'https://ampscript.guide/replace/',
2066
2731
  minArgs: 3,
2067
2732
  maxArgs: 3,
2068
2733
  category: 'String',
@@ -2078,6 +2743,10 @@ export const FUNCTIONS = [
2078
2743
  },
2079
2744
  {
2080
2745
  name: 'ReplaceList',
2746
+ mcnSince: 67,
2747
+ mcnNotes: null,
2748
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace-list.html',
2749
+ guideUrl: 'https://ampscript.guide/replacelist/',
2081
2750
  minArgs: 3,
2082
2751
  maxArgs: INF,
2083
2752
  category: 'String',
@@ -2088,6 +2757,8 @@ export const FUNCTIONS = [
2088
2757
  { name: 'oldValue1', description: 'First value to replace', type: 'string' },
2089
2758
  {
2090
2759
  name: 'oldValueN',
2760
+ mcnSince: null,
2761
+ mcnNotes: null,
2091
2762
  description: 'Additional value to replace',
2092
2763
  type: 'string',
2093
2764
  optional: true,
@@ -2098,6 +2769,10 @@ export const FUNCTIONS = [
2098
2769
  },
2099
2770
  {
2100
2771
  name: 'RequestParameter',
2772
+ mcnSince: null,
2773
+ mcnNotes: null,
2774
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-request-parameter.html',
2775
+ guideUrl: 'https://ampscript.guide/requestparameter/',
2101
2776
  minArgs: 1,
2102
2777
  maxArgs: 1,
2103
2778
  category: 'Utility',
@@ -2109,6 +2784,10 @@ export const FUNCTIONS = [
2109
2784
  },
2110
2785
  {
2111
2786
  name: 'RetrieveMSCRMRecords',
2787
+ mcnSince: null,
2788
+ mcnNotes: null,
2789
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records.html',
2790
+ guideUrl: 'https://ampscript.guide/retrievemscrmrecords/',
2112
2791
  minArgs: 5,
2113
2792
  maxArgs: 5,
2114
2793
  category: 'Microsoft Dynamics CRM',
@@ -2117,6 +2796,8 @@ export const FUNCTIONS = [
2117
2796
  { name: 'entityType', description: 'CRM entity type name', type: 'string' },
2118
2797
  {
2119
2798
  name: 'fieldList',
2799
+ mcnSince: null,
2800
+ mcnNotes: null,
2120
2801
  description: 'Comma-separated field names to retrieve',
2121
2802
  type: 'string',
2122
2803
  },
@@ -2129,6 +2810,10 @@ export const FUNCTIONS = [
2129
2810
  },
2130
2811
  {
2131
2812
  name: 'RetrieveMSCRMRecordsFetchXML',
2813
+ mcnSince: null,
2814
+ mcnNotes: null,
2815
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records-fetch-xml.html',
2816
+ guideUrl: 'https://ampscript.guide/retrievemscrmrecordsfetchxml/',
2132
2817
  minArgs: 1,
2133
2818
  maxArgs: 1,
2134
2819
  category: 'Microsoft Dynamics CRM',
@@ -2139,6 +2824,10 @@ export const FUNCTIONS = [
2139
2824
  },
2140
2825
  {
2141
2826
  name: 'RetrieveSalesforceJobSources',
2827
+ mcnSince: null,
2828
+ mcnNotes: null,
2829
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-job-sources.html',
2830
+ guideUrl: 'https://ampscript.guide/retrievesalesforcejobsources/',
2142
2831
  minArgs: 1,
2143
2832
  maxArgs: 1,
2144
2833
  category: 'Sales and Service Cloud',
@@ -2149,6 +2838,10 @@ export const FUNCTIONS = [
2149
2838
  },
2150
2839
  {
2151
2840
  name: 'RetrieveSalesforceObjects',
2841
+ mcnSince: 67,
2842
+ mcnNotes: null,
2843
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-objects.html',
2844
+ guideUrl: 'https://ampscript.guide/retrievesalesforceobjects/',
2152
2845
  minArgs: 5,
2153
2846
  maxArgs: INF,
2154
2847
  category: 'Sales and Service Cloud',
@@ -2161,18 +2854,24 @@ export const FUNCTIONS = [
2161
2854
  { name: 'filterValue', description: 'Filter value' },
2162
2855
  {
2163
2856
  name: 'additionalFilterField',
2857
+ mcnSince: null,
2858
+ mcnNotes: null,
2164
2859
  description: 'Additional filter field',
2165
2860
  type: 'string',
2166
2861
  optional: true,
2167
2862
  },
2168
2863
  {
2169
2864
  name: 'additionalOperator',
2865
+ mcnSince: null,
2866
+ mcnNotes: null,
2170
2867
  description: 'Additional operator',
2171
2868
  type: 'string',
2172
2869
  optional: true,
2173
2870
  },
2174
2871
  {
2175
2872
  name: 'additionalFilterValue',
2873
+ mcnSince: null,
2874
+ mcnNotes: null,
2176
2875
  description: 'Additional filter value',
2177
2876
  optional: true,
2178
2877
  },
@@ -2182,6 +2881,10 @@ export const FUNCTIONS = [
2182
2881
  },
2183
2882
  {
2184
2883
  name: 'Row',
2884
+ mcnSince: 67,
2885
+ mcnNotes: null,
2886
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row.html',
2887
+ guideUrl: 'https://ampscript.guide/row/',
2185
2888
  minArgs: 2,
2186
2889
  maxArgs: 2,
2187
2890
  category: 'Data Extension',
@@ -2196,6 +2899,10 @@ export const FUNCTIONS = [
2196
2899
  },
2197
2900
  {
2198
2901
  name: 'RowCount',
2902
+ mcnSince: 67,
2903
+ mcnNotes: null,
2904
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row-count.html',
2905
+ guideUrl: 'https://ampscript.guide/rowcount/',
2199
2906
  minArgs: 1,
2200
2907
  maxArgs: 1,
2201
2908
  category: 'Data Extension',
@@ -2207,6 +2914,10 @@ export const FUNCTIONS = [
2207
2914
  },
2208
2915
  {
2209
2916
  name: 'SetObjectProperty',
2917
+ mcnSince: null,
2918
+ mcnNotes: null,
2919
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-set-object-property.html',
2920
+ guideUrl: 'https://ampscript.guide/setobjectproperty/',
2210
2921
  minArgs: 3,
2211
2922
  maxArgs: 3,
2212
2923
  category: 'Marketing Cloud API',
@@ -2221,6 +2932,9 @@ export const FUNCTIONS = [
2221
2932
  },
2222
2933
  {
2223
2934
  name: 'SetSmsConversationNextKeyword',
2935
+ mcnSince: null,
2936
+ mcnNotes: null,
2937
+ guideUrl: 'https://ampscript.guide/setsmsconversationnextkeyword/',
2224
2938
  minArgs: 3,
2225
2939
  maxArgs: 3,
2226
2940
  category: 'MobileConnect',
@@ -2235,6 +2949,10 @@ export const FUNCTIONS = [
2235
2949
  },
2236
2950
  {
2237
2951
  name: 'SetStateMSCRMRecord',
2952
+ mcnSince: null,
2953
+ mcnNotes: null,
2954
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-set-state-record.html',
2955
+ guideUrl: 'https://ampscript.guide/setstatemscrmrecord/',
2238
2956
  minArgs: 4,
2239
2957
  maxArgs: 4,
2240
2958
  category: 'Microsoft Dynamics CRM',
@@ -2250,6 +2968,10 @@ export const FUNCTIONS = [
2250
2968
  },
2251
2969
  {
2252
2970
  name: 'SHA1',
2971
+ mcnSince: null,
2972
+ mcnNotes: null,
2973
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha1.html',
2974
+ guideUrl: 'https://ampscript.guide/sha1/',
2253
2975
  minArgs: 1,
2254
2976
  maxArgs: 2,
2255
2977
  category: 'Encryption and Encoding',
@@ -2258,6 +2980,8 @@ export const FUNCTIONS = [
2258
2980
  { name: 'value', description: 'Value to hash', type: 'string' },
2259
2981
  {
2260
2982
  name: 'encoding',
2983
+ mcnSince: null,
2984
+ mcnNotes: null,
2261
2985
  description: 'Output encoding (hex, base64)',
2262
2986
  type: 'string',
2263
2987
  optional: true,
@@ -2268,6 +2992,10 @@ export const FUNCTIONS = [
2268
2992
  },
2269
2993
  {
2270
2994
  name: 'SHA256',
2995
+ mcnSince: null,
2996
+ mcnNotes: null,
2997
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha256.html',
2998
+ guideUrl: 'https://ampscript.guide/sha256/',
2271
2999
  minArgs: 1,
2272
3000
  maxArgs: 2,
2273
3001
  category: 'Encryption and Encoding',
@@ -2276,6 +3004,8 @@ export const FUNCTIONS = [
2276
3004
  { name: 'value', description: 'Value to hash', type: 'string' },
2277
3005
  {
2278
3006
  name: 'encoding',
3007
+ mcnSince: null,
3008
+ mcnNotes: null,
2279
3009
  description: 'Output encoding (hex, base64)',
2280
3010
  type: 'string',
2281
3011
  optional: true,
@@ -2287,6 +3017,10 @@ export const FUNCTIONS = [
2287
3017
  },
2288
3018
  {
2289
3019
  name: 'SHA512',
3020
+ mcnSince: null,
3021
+ mcnNotes: null,
3022
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha512.html',
3023
+ guideUrl: 'https://ampscript.guide/sha512/',
2290
3024
  minArgs: 1,
2291
3025
  maxArgs: 2,
2292
3026
  category: 'Encryption and Encoding',
@@ -2295,6 +3029,8 @@ export const FUNCTIONS = [
2295
3029
  { name: 'value', description: 'Value to hash', type: 'string' },
2296
3030
  {
2297
3031
  name: 'encoding',
3032
+ mcnSince: null,
3033
+ mcnNotes: null,
2298
3034
  description: 'Output encoding (hex, base64)',
2299
3035
  type: 'string',
2300
3036
  optional: true,
@@ -2305,6 +3041,11 @@ export const FUNCTIONS = [
2305
3041
  },
2306
3042
  {
2307
3043
  name: 'StringToDate',
3044
+ mcnSince: 67,
3045
+ mcnNotes:
3046
+ 'In MCN, returns a locale-formatted string (G standard format, e.g. "5/15/2026 1:23:45 PM") instead of a dateTime object. Cannot be reliably passed to FormatDate() or other date functions in MCN — use FormatDate() directly instead.',
3047
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-string-to-date.html',
3048
+ guideUrl: 'https://ampscript.guide/stringtodate/',
2308
3049
  minArgs: 1,
2309
3050
  maxArgs: 2,
2310
3051
  category: 'Date and Time',
@@ -2318,6 +3059,10 @@ export const FUNCTIONS = [
2318
3059
  },
2319
3060
  {
2320
3061
  name: 'StringToHex',
3062
+ mcnSince: null,
3063
+ mcnNotes: null,
3064
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-to-hex.html',
3065
+ guideUrl: 'https://ampscript.guide/stringtohex/',
2321
3066
  minArgs: 1,
2322
3067
  maxArgs: 2,
2323
3068
  category: 'Encryption and Encoding',
@@ -2331,6 +3076,10 @@ export const FUNCTIONS = [
2331
3076
  },
2332
3077
  {
2333
3078
  name: 'Substring',
3079
+ mcnSince: 67,
3080
+ mcnNotes: null,
3081
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-substring.html',
3082
+ guideUrl: 'https://ampscript.guide/substring/',
2334
3083
  minArgs: 2,
2335
3084
  maxArgs: 3,
2336
3085
  category: 'String',
@@ -2341,6 +3090,8 @@ export const FUNCTIONS = [
2341
3090
  { name: 'startIndex', description: '1-based start position', type: 'number' },
2342
3091
  {
2343
3092
  name: 'length',
3093
+ mcnSince: 67,
3094
+ mcnNotes: null,
2344
3095
  description:
2345
3096
  'Number of characters to extract. If omitted, returns the remainder of the string.',
2346
3097
  type: 'number',
@@ -2353,6 +3104,10 @@ export const FUNCTIONS = [
2353
3104
  },
2354
3105
  {
2355
3106
  name: 'Subtract',
3107
+ mcnSince: 67,
3108
+ mcnNotes: null,
3109
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-subtract.html',
3110
+ guideUrl: 'https://ampscript.guide/subtract/',
2356
3111
  minArgs: 2,
2357
3112
  maxArgs: 2,
2358
3113
  category: 'Math',
@@ -2367,6 +3122,10 @@ export const FUNCTIONS = [
2367
3122
  },
2368
3123
  {
2369
3124
  name: 'SystemDateToLocalDate',
3125
+ mcnSince: null,
3126
+ mcnNotes: null,
3127
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-system-date-to-local-date.html',
3128
+ guideUrl: 'https://ampscript.guide/systemdatetolocaldate/',
2370
3129
  minArgs: 1,
2371
3130
  maxArgs: 1,
2372
3131
  category: 'Date and Time',
@@ -2378,6 +3137,10 @@ export const FUNCTIONS = [
2378
3137
  },
2379
3138
  {
2380
3139
  name: 'TransformXML',
3140
+ mcnSince: null,
3141
+ mcnNotes: null,
3142
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-transform-xml.html',
3143
+ guideUrl: 'https://ampscript.guide/transformxml/',
2381
3144
  minArgs: 2,
2382
3145
  maxArgs: 2,
2383
3146
  category: 'Content',
@@ -2391,6 +3154,10 @@ export const FUNCTIONS = [
2391
3154
  },
2392
3155
  {
2393
3156
  name: 'TreatAsContent',
3157
+ mcnSince: null,
3158
+ mcnNotes: null,
3159
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content.html',
3160
+ guideUrl: 'https://ampscript.guide/treatascontent/',
2394
3161
  minArgs: 1,
2395
3162
  maxArgs: 1,
2396
3163
  category: 'Content',
@@ -2399,6 +3166,8 @@ export const FUNCTIONS = [
2399
3166
  params: [
2400
3167
  {
2401
3168
  name: 'content',
3169
+ mcnSince: null,
3170
+ mcnNotes: null,
2402
3171
  description: 'String containing AMPscript to evaluate',
2403
3172
  type: 'string',
2404
3173
  },
@@ -2408,6 +3177,10 @@ export const FUNCTIONS = [
2408
3177
  },
2409
3178
  {
2410
3179
  name: 'TreatAsContentArea',
3180
+ mcnSince: null,
3181
+ mcnNotes: null,
3182
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content-area.html',
3183
+ guideUrl: 'https://ampscript.guide/treatascontentarea/',
2411
3184
  minArgs: 2,
2412
3185
  maxArgs: 3,
2413
3186
  category: 'Content',
@@ -2418,6 +3191,8 @@ export const FUNCTIONS = [
2418
3191
  { name: 'content', description: 'HTML/AMPscript content', type: 'string' },
2419
3192
  {
2420
3193
  name: 'impressionRegion',
3194
+ mcnSince: null,
3195
+ mcnNotes: null,
2421
3196
  description: 'Impression region name',
2422
3197
  type: 'string',
2423
3198
  optional: true,
@@ -2428,6 +3203,10 @@ export const FUNCTIONS = [
2428
3203
  },
2429
3204
  {
2430
3205
  name: 'Trim',
3206
+ mcnSince: 67,
3207
+ mcnNotes: null,
3208
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-trim.html',
3209
+ guideUrl: 'https://ampscript.guide/trim/',
2431
3210
  minArgs: 1,
2432
3211
  maxArgs: 1,
2433
3212
  category: 'String',
@@ -2439,6 +3218,10 @@ export const FUNCTIONS = [
2439
3218
  },
2440
3219
  {
2441
3220
  name: 'UpdateData',
3221
+ mcnSince: null,
3222
+ mcnNotes: null,
3223
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-data.html',
3224
+ guideUrl: 'https://ampscript.guide/updatedata/',
2442
3225
  minArgs: 6,
2443
3226
  maxArgs: INF,
2444
3227
  category: 'Data Extension',
@@ -2457,6 +3240,10 @@ export const FUNCTIONS = [
2457
3240
  },
2458
3241
  {
2459
3242
  name: 'UpdateDE',
3243
+ mcnSince: null,
3244
+ mcnNotes: null,
3245
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-de.html',
3246
+ guideUrl: 'https://ampscript.guide/updatede/',
2460
3247
  minArgs: 6,
2461
3248
  maxArgs: INF,
2462
3249
  category: 'Data Extension',
@@ -2474,6 +3261,10 @@ export const FUNCTIONS = [
2474
3261
  },
2475
3262
  {
2476
3263
  name: 'UpdateMSCRMRecords',
3264
+ mcnSince: null,
3265
+ mcnNotes: null,
3266
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-update-records.html',
3267
+ guideUrl: 'https://ampscript.guide/updatemscrmrecords/',
2477
3268
  minArgs: 4,
2478
3269
  maxArgs: 4,
2479
3270
  category: 'Microsoft Dynamics CRM',
@@ -2489,6 +3280,10 @@ export const FUNCTIONS = [
2489
3280
  },
2490
3281
  {
2491
3282
  name: 'UpdateSingleSalesforceObject',
3283
+ mcnSince: null,
3284
+ mcnNotes: null,
3285
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-update-single-object.html',
3286
+ guideUrl: 'https://ampscript.guide/updatesinglesalesforceobject/',
2492
3287
  minArgs: 4,
2493
3288
  maxArgs: INF,
2494
3289
  category: 'Sales and Service Cloud',
@@ -2500,6 +3295,8 @@ export const FUNCTIONS = [
2500
3295
  { name: 'value1', description: 'First field value' },
2501
3296
  {
2502
3297
  name: 'fieldN',
3298
+ mcnSince: null,
3299
+ mcnNotes: null,
2503
3300
  description: 'Additional field API name',
2504
3301
  type: 'string',
2505
3302
  optional: true,
@@ -2511,6 +3308,10 @@ export const FUNCTIONS = [
2511
3308
  },
2512
3309
  {
2513
3310
  name: 'Uppercase',
3311
+ mcnSince: 67,
3312
+ mcnNotes: null,
3313
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-uppercase.html',
3314
+ guideUrl: 'https://ampscript.guide/uppercase/',
2514
3315
  minArgs: 1,
2515
3316
  maxArgs: 1,
2516
3317
  category: 'String',
@@ -2522,6 +3323,10 @@ export const FUNCTIONS = [
2522
3323
  },
2523
3324
  {
2524
3325
  name: 'UpsertContact',
3326
+ mcnSince: null,
3327
+ mcnNotes: null,
3328
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-contacts/mc-ampscript-reference-contacts-upsert-contact.html',
3329
+ guideUrl: 'https://ampscript.guide/upsertcontact/',
2525
3330
  minArgs: 5,
2526
3331
  maxArgs: INF,
2527
3332
  category: 'MobileConnect',
@@ -2534,6 +3339,8 @@ export const FUNCTIONS = [
2534
3339
  { name: 'value1', description: 'First attribute value' },
2535
3340
  {
2536
3341
  name: 'fieldN',
3342
+ mcnSince: null,
3343
+ mcnNotes: null,
2537
3344
  description: 'Additional attribute name',
2538
3345
  type: 'string',
2539
3346
  optional: true,
@@ -2545,6 +3352,10 @@ export const FUNCTIONS = [
2545
3352
  },
2546
3353
  {
2547
3354
  name: 'UpsertData',
3355
+ mcnSince: null,
3356
+ mcnNotes: null,
3357
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-data.html',
3358
+ guideUrl: 'https://ampscript.guide/upsertdata/',
2548
3359
  minArgs: 6,
2549
3360
  maxArgs: INF,
2550
3361
  category: 'Data Extension',
@@ -2563,6 +3374,10 @@ export const FUNCTIONS = [
2563
3374
  },
2564
3375
  {
2565
3376
  name: 'UpsertDE',
3377
+ mcnSince: null,
3378
+ mcnNotes: null,
3379
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-de.html',
3380
+ guideUrl: 'https://ampscript.guide/upsertde/',
2566
3381
  minArgs: 6,
2567
3382
  maxArgs: INF,
2568
3383
  category: 'Data Extension',
@@ -2580,6 +3395,10 @@ export const FUNCTIONS = [
2580
3395
  },
2581
3396
  {
2582
3397
  name: 'UpsertMSCRMRecord',
3398
+ mcnSince: null,
3399
+ mcnNotes: null,
3400
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-upsert-record.html',
3401
+ guideUrl: 'https://ampscript.guide/upsertmscrmrecord/',
2583
3402
  minArgs: 9,
2584
3403
  maxArgs: 9,
2585
3404
  category: 'Microsoft Dynamics CRM',
@@ -2588,6 +3407,8 @@ export const FUNCTIONS = [
2588
3407
  { name: 'entityType', description: 'CRM entity type name', type: 'string' },
2589
3408
  {
2590
3409
  name: 'matchField',
3410
+ mcnSince: null,
3411
+ mcnNotes: null,
2591
3412
  description: 'Field used to find existing record',
2592
3413
  type: 'string',
2593
3414
  },
@@ -2604,6 +3425,10 @@ export const FUNCTIONS = [
2604
3425
  },
2605
3426
  {
2606
3427
  name: 'URLEncode',
3428
+ mcnSince: null,
3429
+ mcnNotes: null,
3430
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-url-encode.html',
3431
+ guideUrl: 'https://ampscript.guide/urlencode/',
2607
3432
  minArgs: 1,
2608
3433
  maxArgs: 3,
2609
3434
  category: 'Encryption and Encoding',
@@ -2612,6 +3437,8 @@ export const FUNCTIONS = [
2612
3437
  { name: 'url', description: 'String to encode', type: 'string' },
2613
3438
  {
2614
3439
  name: 'preserveEntities',
3440
+ mcnSince: null,
3441
+ mcnNotes: null,
2615
3442
  description: 'Preserve HTML entities',
2616
3443
  type: 'boolean',
2617
3444
  optional: true,
@@ -2623,7 +3450,11 @@ export const FUNCTIONS = [
2623
3450
  example: "%%=URLEncode('hello world')=%%",
2624
3451
  },
2625
3452
  {
2626
- name: 'V',
3453
+ name: 'v',
3454
+ mcnSince: 67,
3455
+ mcnNotes: null,
3456
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-v.html',
3457
+ guideUrl: 'https://ampscript.guide/v/',
2627
3458
  minArgs: 1,
2628
3459
  maxArgs: 1,
2629
3460
  category: 'Utility',
@@ -2631,11 +3462,15 @@ export const FUNCTIONS = [
2631
3462
  'Short alias for retrieving a variable value inline. Equivalent to %%=v(@var)=%%.',
2632
3463
  params: [{ name: 'variableName', description: 'Variable reference' }],
2633
3464
  returnType: 'string',
2634
- syntax: 'V(variableName)',
2635
- example: '%%=V(@myVar)=%%',
3465
+ syntax: 'v(variableName)',
3466
+ example: '%%=v(@myVar)=%%',
2636
3467
  },
2637
3468
  {
2638
3469
  name: 'WAT',
3470
+ mcnSince: null,
3471
+ mcnNotes: null,
3472
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
3473
+ guideUrl: 'https://ampscript.guide/wat/',
2639
3474
  minArgs: 1,
2640
3475
  maxArgs: INF,
2641
3476
  category: 'Utility',
@@ -2649,6 +3484,10 @@ export const FUNCTIONS = [
2649
3484
  },
2650
3485
  {
2651
3486
  name: 'WATP',
3487
+ mcnSince: null,
3488
+ mcnNotes: null,
3489
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
3490
+ guideUrl: 'https://ampscript.guide/watp/',
2652
3491
  minArgs: 1,
2653
3492
  maxArgs: 1,
2654
3493
  category: 'Utility',
@@ -2659,6 +3498,10 @@ export const FUNCTIONS = [
2659
3498
  },
2660
3499
  {
2661
3500
  name: 'WrapLongURL',
3501
+ mcnSince: null,
3502
+ mcnNotes: null,
3503
+ docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-wrap-long-url.html',
3504
+ guideUrl: 'https://ampscript.guide/wraplongurl/',
2662
3505
  minArgs: 1,
2663
3506
  maxArgs: 1,
2664
3507
  category: 'Utility',
@@ -2710,6 +3553,41 @@ export function isEmailExcluded(functionName) {
2710
3553
  return entry ? EMAIL_EXCLUDED_CATEGORIES.has(entry.category) : false;
2711
3554
  }
2712
3555
 
3556
+ // ── Marketing Cloud Next (MCN) helpers ───────────────────────────────────────
3557
+
3558
+ /**
3559
+ * Returns the API version from which this AMPscript function is supported in
3560
+ * Marketing Cloud Next, or null if it is not supported in MCN.
3561
+ *
3562
+ * @param {string} name - AMPscript function name (case-insensitive).
3563
+ * @returns {number | null} API version number (e.g. 67) or null.
3564
+ */
3565
+ export function getMcnApiVersion(name) {
3566
+ return functionLookup.get(name.toLowerCase())?.mcnSince ?? null;
3567
+ }
3568
+
3569
+ /**
3570
+ * Returns true when the given AMPscript function is supported in Marketing
3571
+ * Cloud Next (i.e. mcnSince is a non-null API version number).
3572
+ *
3573
+ * @param {string} name - AMPscript function name (case-insensitive).
3574
+ * @returns {boolean}
3575
+ */
3576
+ export function isMcnSupported(name) {
3577
+ return getMcnApiVersion(name) !== null;
3578
+ }
3579
+
3580
+ /**
3581
+ * Returns the MCN behavioral difference notes for the given function, or null
3582
+ * if there are no differences or the function is not MCN-supported.
3583
+ *
3584
+ * @param {string} name - AMPscript function name (case-insensitive).
3585
+ * @returns {string | null} Behavioral difference notes, or null.
3586
+ */
3587
+ export function getMcnNotes(name) {
3588
+ return functionLookup.get(name.toLowerCase())?.mcnNotes ?? null;
3589
+ }
3590
+
2713
3591
  // ── Deprecated functions ─────────────────────────────────────────────────────
2714
3592
  // Functions that have been superseded by newer alternatives. They still work
2715
3593
  // at runtime but should be avoided in new code.
@@ -2717,36 +3595,50 @@ export function isEmailExcluded(functionName) {
2717
3595
  export const DEPRECATED_FUNCTIONS = [
2718
3596
  {
2719
3597
  name: 'LookupValue',
3598
+ mcnSince: null,
3599
+ mcnNotes: null,
2720
3600
  replacement: 'Lookup',
2721
3601
  reason: 'LookupValue was the original name; Lookup is the current standard.',
2722
3602
  },
2723
3603
  {
2724
3604
  name: 'InsertDE',
3605
+ mcnSince: null,
3606
+ mcnNotes: null,
2725
3607
  replacement: 'InsertData',
2726
3608
  reason: 'InsertDE is a legacy alias for InsertData.',
2727
3609
  },
2728
3610
  {
2729
3611
  name: 'UpdateDE',
3612
+ mcnSince: null,
3613
+ mcnNotes: null,
2730
3614
  replacement: 'UpdateData',
2731
3615
  reason: 'UpdateDE is a legacy alias for UpdateData.',
2732
3616
  },
2733
3617
  {
2734
3618
  name: 'UpsertDE',
3619
+ mcnSince: null,
3620
+ mcnNotes: null,
2735
3621
  replacement: 'UpsertData',
2736
3622
  reason: 'UpsertDE is a legacy alias for UpsertData.',
2737
3623
  },
2738
3624
  {
2739
3625
  name: 'DeleteDE',
3626
+ mcnSince: null,
3627
+ mcnNotes: null,
2740
3628
  replacement: 'DeleteData',
2741
3629
  reason: 'DeleteDE is a legacy alias for DeleteData.',
2742
3630
  },
2743
3631
  {
2744
3632
  name: 'ContentArea',
3633
+ mcnSince: null,
3634
+ mcnNotes: null,
2745
3635
  replacement: 'ContentBlockByKey or ContentBlockByName',
2746
3636
  reason: 'ContentArea references classic content areas which are being phased out in favor of Content Builder.',
2747
3637
  },
2748
3638
  {
2749
3639
  name: 'ContentAreaByName',
3640
+ mcnSince: null,
3641
+ mcnNotes: null,
2750
3642
  replacement: 'ContentBlockByName',
2751
3643
  reason: 'ContentAreaByName references classic content areas which are being phased out.',
2752
3644
  },
@@ -2783,6 +3675,8 @@ export const AMPSCRIPT_KEYWORDS = [
2783
3675
  export const PERSONALIZATION_STRINGS = [
2784
3676
  {
2785
3677
  name: '_subscriberKey',
3678
+ mcnSince: null,
3679
+ mcnNotes: null,
2786
3680
  description: 'Unique identifier for the current subscriber or contact',
2787
3681
  },
2788
3682
  { name: 'emailaddr', description: 'Email address associated with the current subscriber' },
@@ -2798,11 +3692,15 @@ export const PERSONALIZATION_STRINGS = [
2798
3692
  { name: '_DataSourceName', description: 'Name of the data source driving the current send' },
2799
3693
  {
2800
3694
  name: '_messageContext',
3695
+ mcnSince: null,
3696
+ mcnNotes: null,
2801
3697
  description: 'Render context indicator: SEND, PREVIEW, VAWP, or FTAF',
2802
3698
  },
2803
3699
  { name: '_isTestSend', description: 'Flag indicating whether this is a test send' },
2804
3700
  {
2805
3701
  name: '_messagetypepreference',
3702
+ mcnSince: null,
3703
+ mcnNotes: null,
2806
3704
  description: 'Subscriber preference for HTML or plain-text messages',
2807
3705
  },
2808
3706
  { name: 'listid', description: 'Numeric identifier of the current send list' },
@@ -2819,6 +3717,8 @@ export const PERSONALIZATION_STRINGS = [
2819
3717
  { name: 'replyname', description: 'Reply-to display name configured for the current send' },
2820
3718
  {
2821
3719
  name: 'replyemailaddress',
3720
+ mcnSince: null,
3721
+ mcnNotes: null,
2822
3722
  description: 'Reply-to email address configured for the current send',
2823
3723
  },
2824
3724
  { name: 'memberid', description: 'Member ID (MID) of the sending business unit' },
@@ -2836,11 +3736,15 @@ export const PERSONALIZATION_STRINGS = [
2836
3736
  { name: 'double_opt_in_url', description: 'URL for double opt-in confirmation' },
2837
3737
  {
2838
3738
  name: '_replycontent',
3739
+ mcnSince: null,
3740
+ mcnNotes: null,
2839
3741
  description: 'Body content of a subscriber reply via Reply Mail Management',
2840
3742
  },
2841
3743
  { name: 'linkname', description: 'Alias or name assigned to the current tracked link' },
2842
3744
  {
2843
3745
  name: '_ImpressionRegionID',
3746
+ mcnSince: null,
3747
+ mcnNotes: null,
2844
3748
  description: 'Numeric identifier of the current impression region',
2845
3749
  },
2846
3750
  { name: '_ImpressionRegionName', description: 'Display name of the current impression region' },
@@ -2865,15 +3769,21 @@ export const PERSONALIZATION_STRINGS = [
2865
3769
  { name: '_ModifiedBy', description: 'User who last modified the MobileConnect contact' },
2866
3770
  {
2867
3771
  name: '_ModifiedDate',
3772
+ mcnSince: null,
3773
+ mcnNotes: null,
2868
3774
  description: 'Timestamp of the last modification to the MobileConnect contact',
2869
3775
  },
2870
3776
  { name: '_Priority', description: 'Message priority for the MobileConnect contact' },
2871
3777
  {
2872
3778
  name: '_Source',
3779
+ mcnSince: null,
3780
+ mcnNotes: null,
2873
3781
  description: 'Origin channel through which the MobileConnect contact was added',
2874
3782
  },
2875
3783
  {
2876
3784
  name: '_SourceObjectID',
3785
+ mcnSince: null,
3786
+ mcnNotes: null,
2877
3787
  description: 'Source object identifier for the MobileConnect contact',
2878
3788
  },
2879
3789
  { name: '_State', description: 'State from MobileConnect contact demographics' },
@@ -2883,6 +3793,8 @@ export const PERSONALIZATION_STRINGS = [
2883
3793
  { name: 'LINE_ADDRESS_ID', description: 'LINE user address identifier for GroupConnect' },
2884
3794
  {
2885
3795
  name: '@@ExecCtx',
3796
+ mcnSince: null,
3797
+ mcnNotes: null,
2886
3798
  description: 'Execution context indicator: returns load or post on web pages',
2887
3799
  },
2888
3800
  ];