@rollershop/capacitor-emarsys-sdk 1.0.0-beta.1

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 (43) hide show
  1. package/README.md +1076 -0
  2. package/RollershopCapacitorEmarsysSdk.podspec +18 -0
  3. package/android/build.gradle +58 -0
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/java/de/roller/emarsys/Emarsys.java +8 -0
  6. package/android/src/main/java/de/roller/emarsys/EmarsysPlugin.java +22 -0
  7. package/android/src/main/res/.gitkeep +0 -0
  8. package/dist/docs.json +1912 -0
  9. package/dist/esm/definitions.d.ts +266 -0
  10. package/dist/esm/definitions.js +3 -0
  11. package/dist/esm/definitions.js.map +1 -0
  12. package/dist/esm/index.d.ts +4 -0
  13. package/dist/esm/index.js +5 -0
  14. package/dist/esm/index.js.map +1 -0
  15. package/dist/esm/interfaces/base.d.ts +25 -0
  16. package/dist/esm/interfaces/base.js +2 -0
  17. package/dist/esm/interfaces/base.js.map +1 -0
  18. package/dist/esm/interfaces/config.d.ts +12 -0
  19. package/dist/esm/interfaces/config.js +2 -0
  20. package/dist/esm/interfaces/config.js.map +1 -0
  21. package/dist/esm/interfaces/inbox.d.ts +108 -0
  22. package/dist/esm/interfaces/inbox.js +2 -0
  23. package/dist/esm/interfaces/inbox.js.map +1 -0
  24. package/dist/esm/interfaces/predict.d.ts +297 -0
  25. package/dist/esm/interfaces/predict.js +2 -0
  26. package/dist/esm/interfaces/predict.js.map +1 -0
  27. package/dist/esm/interfaces/push.d.ts +25 -0
  28. package/dist/esm/interfaces/push.js +2 -0
  29. package/dist/esm/interfaces/push.js.map +1 -0
  30. package/dist/plugin.cjs.js +10 -0
  31. package/dist/plugin.cjs.js.map +1 -0
  32. package/dist/plugin.js +13 -0
  33. package/dist/plugin.js.map +1 -0
  34. package/ios/Plugin/EmarsysConfig.swift +51 -0
  35. package/ios/Plugin/EmarsysDelegate.swift +16 -0
  36. package/ios/Plugin/EmarsysInbox.swift +110 -0
  37. package/ios/Plugin/EmarsysPlugin.h +10 -0
  38. package/ios/Plugin/EmarsysPlugin.m +36 -0
  39. package/ios/Plugin/EmarsysPlugin.swift +335 -0
  40. package/ios/Plugin/EmarsysPredict.swift +195 -0
  41. package/ios/Plugin/EmarsysTypes.swift +18 -0
  42. package/ios/Plugin/Info.plist +24 -0
  43. package/package.json +102 -0
package/dist/docs.json ADDED
@@ -0,0 +1,1912 @@
1
+ {
2
+ "api": {
3
+ "name": "EmarsysPlugin",
4
+ "slug": "emarsysplugin",
5
+ "docs": "",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "checkPermissions",
10
+ "signature": "() => Promise<PermissionStatus>",
11
+ "parameters": [],
12
+ "returns": "Promise<PermissionStatus>",
13
+ "tags": [
14
+ {
15
+ "name": "example",
16
+ "text": "Test"
17
+ },
18
+ {
19
+ "name": "since",
20
+ "text": "1.0.0"
21
+ }
22
+ ],
23
+ "docs": "Check permission to receive push notifications.",
24
+ "complexTypes": [
25
+ "PermissionStatus"
26
+ ],
27
+ "slug": "checkpermissions"
28
+ },
29
+ {
30
+ "name": "requestPermissions",
31
+ "signature": "() => Promise<PermissionStatus>",
32
+ "parameters": [],
33
+ "returns": "Promise<PermissionStatus>",
34
+ "tags": [
35
+ {
36
+ "name": "since",
37
+ "text": "1.0.0"
38
+ }
39
+ ],
40
+ "docs": "Request permission to receive push notifications.",
41
+ "complexTypes": [
42
+ "PermissionStatus"
43
+ ],
44
+ "slug": "requestpermissions"
45
+ },
46
+ {
47
+ "name": "register",
48
+ "signature": "() => Promise<TokenResult>",
49
+ "parameters": [],
50
+ "returns": "Promise<TokenResult>",
51
+ "tags": [
52
+ {
53
+ "name": "since",
54
+ "text": "1.0.0"
55
+ }
56
+ ],
57
+ "docs": "Register the app to receive push notifications.\n\nThis method will resolve with the push token or reject if there was a problem. It does not prompt the user for notification permissions, use `requestPermissions()` first.",
58
+ "complexTypes": [
59
+ "TokenResult"
60
+ ],
61
+ "slug": "register"
62
+ },
63
+ {
64
+ "name": "setContact",
65
+ "signature": "(options: SetContactOptions) => Promise<void>",
66
+ "parameters": [
67
+ {
68
+ "name": "options",
69
+ "docs": "",
70
+ "type": "SetContactOptions"
71
+ }
72
+ ],
73
+ "returns": "Promise<void>",
74
+ "tags": [
75
+ {
76
+ "name": "since",
77
+ "text": "1.0.0"
78
+ }
79
+ ],
80
+ "docs": "After application setup is finished, you can use this method to identify the user with `contactFieldValue`.\n\nWithout contact identification all tracked events will be linked to an anonymous contact in Mobile Engage and will rely on visitor cookies in case of Predict.",
81
+ "complexTypes": [
82
+ "SetContactOptions"
83
+ ],
84
+ "slug": "setcontact"
85
+ },
86
+ {
87
+ "name": "setAuthenticatedContact",
88
+ "signature": "(options: SetAuthenticatedContactOptions) => Promise<void>",
89
+ "parameters": [
90
+ {
91
+ "name": "options",
92
+ "docs": "",
93
+ "type": "SetAuthenticatedContactOptions"
94
+ }
95
+ ],
96
+ "returns": "Promise<void>",
97
+ "tags": [
98
+ {
99
+ "name": "since",
100
+ "text": "1.0.0"
101
+ }
102
+ ],
103
+ "docs": "After the application setup is finished, you can use this method to identify the user with an `openIdToken`.\n\nWithout contact identification all tracked events will be linked to an anonymous contact in Mobile Engage and will rely on visitor cookies in case of Predict.",
104
+ "complexTypes": [
105
+ "SetAuthenticatedContactOptions"
106
+ ],
107
+ "slug": "setauthenticatedcontact"
108
+ },
109
+ {
110
+ "name": "clearContact",
111
+ "signature": "() => Promise<void>",
112
+ "parameters": [],
113
+ "returns": "Promise<void>",
114
+ "tags": [
115
+ {
116
+ "name": "since",
117
+ "text": "1.0.0"
118
+ }
119
+ ],
120
+ "docs": "When the user signs out, this method should be used.\n\nYou only need to call `clearContact` when you explicitly want to sign out the contact from Emarsys even if the user isn’t logged in into your application.",
121
+ "complexTypes": [],
122
+ "slug": "clearcontact"
123
+ },
124
+ {
125
+ "name": "getPushToken",
126
+ "signature": "() => Promise<TokenResult>",
127
+ "parameters": [],
128
+ "returns": "Promise<TokenResult>",
129
+ "tags": [
130
+ {
131
+ "name": "since",
132
+ "text": "1.0.0"
133
+ }
134
+ ],
135
+ "docs": "Use this method to get the current push token.",
136
+ "complexTypes": [
137
+ "TokenResult"
138
+ ],
139
+ "slug": "getpushtoken"
140
+ },
141
+ {
142
+ "name": "clearPushToken",
143
+ "signature": "() => Promise<void>",
144
+ "parameters": [],
145
+ "returns": "Promise<void>",
146
+ "tags": [
147
+ {
148
+ "name": "since",
149
+ "text": "1.0.0"
150
+ }
151
+ ],
152
+ "docs": "Use this method to remove the push token of the contact.",
153
+ "complexTypes": [],
154
+ "slug": "clearpushtoken"
155
+ },
156
+ {
157
+ "name": "pauseInApp",
158
+ "signature": "() => Promise<void>",
159
+ "parameters": [],
160
+ "returns": "Promise<void>",
161
+ "tags": [
162
+ {
163
+ "name": "since",
164
+ "text": "1.0.0"
165
+ }
166
+ ],
167
+ "docs": "When a critical activity starts and should not be interrupted by In-App, pause In-App messages.",
168
+ "complexTypes": [],
169
+ "slug": "pauseinapp"
170
+ },
171
+ {
172
+ "name": "isInAppPaused",
173
+ "signature": "() => Promise<{ isPaused: boolean; }>",
174
+ "parameters": [],
175
+ "returns": "Promise<{ isPaused: boolean; }>",
176
+ "tags": [
177
+ {
178
+ "name": "since",
179
+ "text": "1.0.0"
180
+ }
181
+ ],
182
+ "docs": "Use this method to check if in app messages are paused.",
183
+ "complexTypes": [],
184
+ "slug": "isinapppaused"
185
+ },
186
+ {
187
+ "name": "resumeInApp",
188
+ "signature": "() => Promise<void>",
189
+ "parameters": [],
190
+ "returns": "Promise<void>",
191
+ "tags": [
192
+ {
193
+ "name": "since",
194
+ "text": "1.0.0"
195
+ }
196
+ ],
197
+ "docs": "In order to show In-App messages after being paused, use the resume method.",
198
+ "complexTypes": [],
199
+ "slug": "resumeinapp"
200
+ },
201
+ {
202
+ "name": "trackItem",
203
+ "signature": "(options: { itemId: string; }) => Promise<void>",
204
+ "parameters": [
205
+ {
206
+ "name": "options",
207
+ "docs": "",
208
+ "type": "{ itemId: string; }"
209
+ }
210
+ ],
211
+ "returns": "Promise<void>",
212
+ "tags": [
213
+ {
214
+ "name": "since",
215
+ "text": "1.0.0"
216
+ }
217
+ ],
218
+ "docs": "If an item was viewed use the `trackItemView` method with an itemId.",
219
+ "complexTypes": [],
220
+ "slug": "trackitem"
221
+ },
222
+ {
223
+ "name": "trackCategory",
224
+ "signature": "(options: { categoryPath: string; }) => Promise<void>",
225
+ "parameters": [
226
+ {
227
+ "name": "options",
228
+ "docs": "",
229
+ "type": "{ categoryPath: string; }"
230
+ }
231
+ ],
232
+ "returns": "Promise<void>",
233
+ "tags": [
234
+ {
235
+ "name": "since",
236
+ "text": "1.0.0"
237
+ }
238
+ ],
239
+ "docs": "When the user navigates between the categories you should call `trackCategoryView` in every navigation. Be aware to send `categoryPath` in the required format. Please visit [Predict's documentation](https://dev.emarsys.com/v2/web-extend-command-reference) for more information.",
240
+ "complexTypes": [],
241
+ "slug": "trackcategory"
242
+ },
243
+ {
244
+ "name": "trackSearch",
245
+ "signature": "(options: { searchTerm: string; }) => Promise<void>",
246
+ "parameters": [
247
+ {
248
+ "name": "options",
249
+ "docs": "",
250
+ "type": "{ searchTerm: string; }"
251
+ }
252
+ ],
253
+ "returns": "Promise<void>",
254
+ "tags": [
255
+ {
256
+ "name": "since",
257
+ "text": "1.0.0"
258
+ }
259
+ ],
260
+ "docs": "To report search terms entered by the contact use `trackSearchTerm` method.",
261
+ "complexTypes": [],
262
+ "slug": "tracksearch"
263
+ },
264
+ {
265
+ "name": "trackTag",
266
+ "signature": "(options: { tag: string; }) => Promise<void>",
267
+ "parameters": [
268
+ {
269
+ "name": "options",
270
+ "docs": "",
271
+ "type": "{ tag: string; }"
272
+ }
273
+ ],
274
+ "returns": "Promise<void>",
275
+ "tags": [
276
+ {
277
+ "name": "since",
278
+ "text": "1.0.0"
279
+ }
280
+ ],
281
+ "docs": "To report search terms entered by the contact use `trackSearchTerm` method.",
282
+ "complexTypes": [],
283
+ "slug": "tracktag"
284
+ },
285
+ {
286
+ "name": "trackCard",
287
+ "signature": "(options: CardItems) => Promise<void>",
288
+ "parameters": [
289
+ {
290
+ "name": "options",
291
+ "docs": "",
292
+ "type": "CardItems"
293
+ }
294
+ ],
295
+ "returns": "Promise<void>",
296
+ "tags": [
297
+ {
298
+ "name": "since",
299
+ "text": "1.0.0"
300
+ }
301
+ ],
302
+ "docs": "When you want to track the cart items in the basket you can call this method with a list of CartItems.",
303
+ "complexTypes": [
304
+ "CardItems"
305
+ ],
306
+ "slug": "trackcard"
307
+ },
308
+ {
309
+ "name": "trackPurchase",
310
+ "signature": "(options: Purchase) => Promise<void>",
311
+ "parameters": [
312
+ {
313
+ "name": "options",
314
+ "docs": "",
315
+ "type": "Purchase"
316
+ }
317
+ ],
318
+ "returns": "Promise<void>",
319
+ "tags": [
320
+ {
321
+ "name": "since",
322
+ "text": "1.0.0"
323
+ }
324
+ ],
325
+ "docs": "To report a purchase event you should call this method with the items purchased and with an `orderId`.",
326
+ "complexTypes": [
327
+ "Purchase"
328
+ ],
329
+ "slug": "trackpurchase"
330
+ },
331
+ {
332
+ "name": "recommendProducts",
333
+ "signature": "(options: RecommendedProductOptions) => Promise<RecommendedProducts>",
334
+ "parameters": [
335
+ {
336
+ "name": "options",
337
+ "docs": "",
338
+ "type": "RecommendedProductOptions"
339
+ }
340
+ ],
341
+ "returns": "Promise<RecommendedProducts>",
342
+ "tags": [
343
+ {
344
+ "name": "since",
345
+ "text": "1.0.0"
346
+ }
347
+ ],
348
+ "docs": "With the Emarsys SDK you can ask for product recommendations based on different recommendation logics.\n\nThis method is also going to track the value attached to the logic on the backend, so no additional tracking needed when using recommendations!",
349
+ "complexTypes": [
350
+ "RecommendedProducts",
351
+ "RecommendedProductOptions"
352
+ ],
353
+ "slug": "recommendproducts"
354
+ },
355
+ {
356
+ "name": "trackRecommendationClick",
357
+ "signature": "(product: Product) => Promise<void>",
358
+ "parameters": [
359
+ {
360
+ "name": "product",
361
+ "docs": "",
362
+ "type": "Product"
363
+ }
364
+ ],
365
+ "returns": "Promise<void>",
366
+ "tags": [
367
+ {
368
+ "name": "since",
369
+ "text": "1.0.0"
370
+ }
371
+ ],
372
+ "docs": "The Emarsys SDK doesn't track automatically recommendationClicks, so you have to call manually `trackRecommendationClick` when an interaction happens with any of the recommended `products`.",
373
+ "complexTypes": [
374
+ "Product"
375
+ ],
376
+ "slug": "trackrecommendationclick"
377
+ },
378
+ {
379
+ "name": "fetchMessages",
380
+ "signature": "() => Promise<any>",
381
+ "parameters": [],
382
+ "returns": "Promise<any>",
383
+ "tags": [
384
+ {
385
+ "name": "since",
386
+ "text": "1.0.0"
387
+ }
388
+ ],
389
+ "docs": "In order to receive the messageInbox content, you can use this method.",
390
+ "complexTypes": [],
391
+ "slug": "fetchmessages"
392
+ },
393
+ {
394
+ "name": "addTag",
395
+ "signature": "(options: InboxTag) => Promise<void>",
396
+ "parameters": [
397
+ {
398
+ "name": "options",
399
+ "docs": "",
400
+ "type": "InboxTag"
401
+ }
402
+ ],
403
+ "returns": "Promise<void>",
404
+ "tags": [
405
+ {
406
+ "name": "since",
407
+ "text": "1.0.0"
408
+ }
409
+ ],
410
+ "docs": "To label a message with a tag, you can use this method. (for example: \"READ\", \"SEEN\" etc)",
411
+ "complexTypes": [
412
+ "InboxTag"
413
+ ],
414
+ "slug": "addtag"
415
+ },
416
+ {
417
+ "name": "removeTag",
418
+ "signature": "(options: InboxTag) => Promise<void>",
419
+ "parameters": [
420
+ {
421
+ "name": "options",
422
+ "docs": "",
423
+ "type": "InboxTag"
424
+ }
425
+ ],
426
+ "returns": "Promise<void>",
427
+ "tags": [
428
+ {
429
+ "name": "since",
430
+ "text": "1.0.0"
431
+ }
432
+ ],
433
+ "docs": "To remove a label from a message, you can use this method.",
434
+ "complexTypes": [
435
+ "InboxTag"
436
+ ],
437
+ "slug": "removetag"
438
+ },
439
+ {
440
+ "name": "getApplicationCode",
441
+ "signature": "() => Promise<ApplicationCode>",
442
+ "parameters": [],
443
+ "returns": "Promise<ApplicationCode>",
444
+ "tags": [
445
+ {
446
+ "name": "since",
447
+ "text": "1.0.0"
448
+ }
449
+ ],
450
+ "docs": "Provides what is the actual `applicationCode` set in the SDK.",
451
+ "complexTypes": [
452
+ "ApplicationCode"
453
+ ],
454
+ "slug": "getapplicationcode"
455
+ },
456
+ {
457
+ "name": "setApplicationCode",
458
+ "signature": "(options: ApplicationCode) => Promise<void>",
459
+ "parameters": [
460
+ {
461
+ "name": "options",
462
+ "docs": "",
463
+ "type": "ApplicationCode"
464
+ }
465
+ ],
466
+ "returns": "Promise<void>",
467
+ "tags": [
468
+ {
469
+ "name": "since",
470
+ "text": "1.0.0"
471
+ }
472
+ ],
473
+ "docs": "If any error occurs during the change process, the Mobile Engage feature will be turned off.",
474
+ "complexTypes": [
475
+ "ApplicationCode"
476
+ ],
477
+ "slug": "setapplicationcode"
478
+ },
479
+ {
480
+ "name": "getMerchantId",
481
+ "signature": "() => Promise<MerchantId>",
482
+ "parameters": [],
483
+ "returns": "Promise<MerchantId>",
484
+ "tags": [
485
+ {
486
+ "name": "since",
487
+ "text": "1.0.0"
488
+ }
489
+ ],
490
+ "docs": "Provides what is the actual `merchantId` set in the SDK.",
491
+ "complexTypes": [
492
+ "MerchantId"
493
+ ],
494
+ "slug": "getmerchantid"
495
+ },
496
+ {
497
+ "name": "setMerchantId",
498
+ "signature": "(options: MerchantId) => Promise<void>",
499
+ "parameters": [
500
+ {
501
+ "name": "options",
502
+ "docs": "",
503
+ "type": "MerchantId"
504
+ }
505
+ ],
506
+ "returns": "Promise<void>",
507
+ "tags": [
508
+ {
509
+ "name": "since",
510
+ "text": "1.0.0"
511
+ }
512
+ ],
513
+ "docs": "Change the actual `merchantId` that is set in the SDK.",
514
+ "complexTypes": [
515
+ "MerchantId"
516
+ ],
517
+ "slug": "setmerchantid"
518
+ },
519
+ {
520
+ "name": "getContactFieldId",
521
+ "signature": "() => Promise<ContactFieldId>",
522
+ "parameters": [],
523
+ "returns": "Promise<ContactFieldId>",
524
+ "tags": [
525
+ {
526
+ "name": "since",
527
+ "text": "1.0.0"
528
+ }
529
+ ],
530
+ "docs": "Provides what is the actual `contactFieldId` set in the SDK.",
531
+ "complexTypes": [
532
+ "ContactFieldId"
533
+ ],
534
+ "slug": "getcontactfieldid"
535
+ },
536
+ {
537
+ "name": "getHardwareId",
538
+ "signature": "() => Promise<{ hardwareId: string; }>",
539
+ "parameters": [],
540
+ "returns": "Promise<{ hardwareId: string; }>",
541
+ "tags": [
542
+ {
543
+ "name": "since",
544
+ "text": "1.0.0"
545
+ }
546
+ ],
547
+ "docs": "Provides what is the actual `hardwareId` set in the SDK.",
548
+ "complexTypes": [],
549
+ "slug": "gethardwareid"
550
+ },
551
+ {
552
+ "name": "getLanguageCode",
553
+ "signature": "() => Promise<{ languageCode: string; }>",
554
+ "parameters": [],
555
+ "returns": "Promise<{ languageCode: string; }>",
556
+ "tags": [
557
+ {
558
+ "name": "since",
559
+ "text": "1.0.0"
560
+ }
561
+ ],
562
+ "docs": "Provides what is the actual language of the application.",
563
+ "complexTypes": [],
564
+ "slug": "getlanguagecode"
565
+ },
566
+ {
567
+ "name": "getSdkVersion",
568
+ "signature": "() => Promise<{ sdkVersion: string; }>",
569
+ "parameters": [],
570
+ "returns": "Promise<{ sdkVersion: string; }>",
571
+ "tags": [
572
+ {
573
+ "name": "since",
574
+ "text": "1.0.0"
575
+ }
576
+ ],
577
+ "docs": "Provides the actual `sdkVersion`",
578
+ "complexTypes": [],
579
+ "slug": "getsdkversion"
580
+ },
581
+ {
582
+ "name": "addListener",
583
+ "signature": "(eventName: 'pushMessageEvent', listenerFunc: (event: PushMessageEvent) => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
584
+ "parameters": [
585
+ {
586
+ "name": "eventName",
587
+ "docs": "",
588
+ "type": "'pushMessageEvent'"
589
+ },
590
+ {
591
+ "name": "listenerFunc",
592
+ "docs": "",
593
+ "type": "(event: PushMessageEvent) => void"
594
+ }
595
+ ],
596
+ "returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
597
+ "tags": [
598
+ {
599
+ "name": "since",
600
+ "text": "1.0.0"
601
+ }
602
+ ],
603
+ "docs": "Called when a event is received",
604
+ "complexTypes": [
605
+ "PluginListenerHandle",
606
+ "PushMessageEvent"
607
+ ],
608
+ "slug": "addlistenerpushmessageevent"
609
+ },
610
+ {
611
+ "name": "addListener",
612
+ "signature": "(eventName: 'silentPushMessageInformation', listenerFunc: (information: SilentPushMessageInformation) => void) => Promise<PluginListenerHandle> & PluginListenerHandle",
613
+ "parameters": [
614
+ {
615
+ "name": "eventName",
616
+ "docs": "",
617
+ "type": "'silentPushMessageInformation'"
618
+ },
619
+ {
620
+ "name": "listenerFunc",
621
+ "docs": "",
622
+ "type": "(information: SilentPushMessageInformation) => void"
623
+ }
624
+ ],
625
+ "returns": "Promise<PluginListenerHandle> & PluginListenerHandle",
626
+ "tags": [
627
+ {
628
+ "name": "since",
629
+ "text": "1.0.0"
630
+ }
631
+ ],
632
+ "docs": "Called when a silent push message is received",
633
+ "complexTypes": [
634
+ "PluginListenerHandle",
635
+ "SilentPushMessageInformation"
636
+ ],
637
+ "slug": "addlistenersilentpushmessageinformation"
638
+ },
639
+ {
640
+ "name": "removeAllListeners",
641
+ "signature": "() => Promise<void>",
642
+ "parameters": [],
643
+ "returns": "Promise<void>",
644
+ "tags": [
645
+ {
646
+ "name": "since",
647
+ "text": "1.0.0"
648
+ }
649
+ ],
650
+ "docs": "Remove all native listeners for this plugin.",
651
+ "complexTypes": [],
652
+ "slug": "removealllisteners"
653
+ }
654
+ ],
655
+ "properties": []
656
+ },
657
+ "interfaces": [
658
+ {
659
+ "name": "PermissionStatus",
660
+ "slug": "permissionstatus",
661
+ "docs": "",
662
+ "tags": [],
663
+ "methods": [],
664
+ "properties": [
665
+ {
666
+ "name": "receive",
667
+ "tags": [
668
+ {
669
+ "text": "1.0.0",
670
+ "name": "since"
671
+ }
672
+ ],
673
+ "docs": "",
674
+ "complexTypes": [
675
+ "PermissionState"
676
+ ],
677
+ "type": "PermissionState"
678
+ }
679
+ ]
680
+ },
681
+ {
682
+ "name": "TokenResult",
683
+ "slug": "tokenresult",
684
+ "docs": "",
685
+ "tags": [],
686
+ "methods": [],
687
+ "properties": [
688
+ {
689
+ "name": "token",
690
+ "tags": [
691
+ {
692
+ "text": "1.0.0",
693
+ "name": "since"
694
+ }
695
+ ],
696
+ "docs": "",
697
+ "complexTypes": [],
698
+ "type": "string"
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "name": "SetContactOptions",
704
+ "slug": "setcontactoptions",
705
+ "docs": "",
706
+ "tags": [],
707
+ "methods": [],
708
+ "properties": [
709
+ {
710
+ "name": "contactFieldValue",
711
+ "tags": [
712
+ {
713
+ "text": "1.0.0",
714
+ "name": "since"
715
+ }
716
+ ],
717
+ "docs": "",
718
+ "complexTypes": [],
719
+ "type": "string"
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "name": "SetAuthenticatedContactOptions",
725
+ "slug": "setauthenticatedcontactoptions",
726
+ "docs": "",
727
+ "tags": [],
728
+ "methods": [],
729
+ "properties": [
730
+ {
731
+ "name": "openIdToken",
732
+ "tags": [
733
+ {
734
+ "text": "1.0.0",
735
+ "name": "since"
736
+ }
737
+ ],
738
+ "docs": "",
739
+ "complexTypes": [],
740
+ "type": "string"
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "name": "CardItems",
746
+ "slug": "carditems",
747
+ "docs": "",
748
+ "tags": [],
749
+ "methods": [],
750
+ "properties": [
751
+ {
752
+ "name": "items",
753
+ "tags": [],
754
+ "docs": "",
755
+ "complexTypes": [
756
+ "CardItem"
757
+ ],
758
+ "type": "CardItem[]"
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ "name": "CardItem",
764
+ "slug": "carditem",
765
+ "docs": "",
766
+ "tags": [],
767
+ "methods": [],
768
+ "properties": [
769
+ {
770
+ "name": "itemId",
771
+ "tags": [
772
+ {
773
+ "text": "1.0.0",
774
+ "name": "since"
775
+ }
776
+ ],
777
+ "docs": "",
778
+ "complexTypes": [],
779
+ "type": "string"
780
+ },
781
+ {
782
+ "name": "price",
783
+ "tags": [
784
+ {
785
+ "text": "1.0.0",
786
+ "name": "since"
787
+ }
788
+ ],
789
+ "docs": "",
790
+ "complexTypes": [],
791
+ "type": "number"
792
+ },
793
+ {
794
+ "name": "quantity",
795
+ "tags": [
796
+ {
797
+ "text": "1.0.0",
798
+ "name": "since"
799
+ }
800
+ ],
801
+ "docs": "",
802
+ "complexTypes": [],
803
+ "type": "number"
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "name": "Purchase",
809
+ "slug": "purchase",
810
+ "docs": "",
811
+ "tags": [],
812
+ "methods": [],
813
+ "properties": [
814
+ {
815
+ "name": "orderId",
816
+ "tags": [
817
+ {
818
+ "text": "1.0.0",
819
+ "name": "since"
820
+ }
821
+ ],
822
+ "docs": "",
823
+ "complexTypes": [],
824
+ "type": "string"
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ "name": "RecommendedProducts",
830
+ "slug": "recommendedproducts",
831
+ "docs": "",
832
+ "tags": [],
833
+ "methods": [],
834
+ "properties": [
835
+ {
836
+ "name": "products",
837
+ "tags": [
838
+ {
839
+ "text": "1.0.0",
840
+ "name": "since"
841
+ }
842
+ ],
843
+ "docs": "",
844
+ "complexTypes": [
845
+ "Product"
846
+ ],
847
+ "type": "Product[]"
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "name": "Product",
853
+ "slug": "product",
854
+ "docs": "",
855
+ "tags": [],
856
+ "methods": [],
857
+ "properties": [
858
+ {
859
+ "name": "productId",
860
+ "tags": [
861
+ {
862
+ "text": "1.0.0",
863
+ "name": "since"
864
+ }
865
+ ],
866
+ "docs": "",
867
+ "complexTypes": [],
868
+ "type": "string"
869
+ },
870
+ {
871
+ "name": "title",
872
+ "tags": [
873
+ {
874
+ "text": "1.0.0",
875
+ "name": "since"
876
+ }
877
+ ],
878
+ "docs": "",
879
+ "complexTypes": [],
880
+ "type": "string"
881
+ },
882
+ {
883
+ "name": "linkUrl",
884
+ "tags": [
885
+ {
886
+ "text": "1.0.0",
887
+ "name": "since"
888
+ }
889
+ ],
890
+ "docs": "",
891
+ "complexTypes": [],
892
+ "type": "string"
893
+ },
894
+ {
895
+ "name": "customFields",
896
+ "tags": [
897
+ {
898
+ "text": "1.0.0",
899
+ "name": "since"
900
+ }
901
+ ],
902
+ "docs": "",
903
+ "complexTypes": [],
904
+ "type": "{ [key: string]: any; }"
905
+ },
906
+ {
907
+ "name": "feature",
908
+ "tags": [
909
+ {
910
+ "text": "1.0.0",
911
+ "name": "since"
912
+ }
913
+ ],
914
+ "docs": "",
915
+ "complexTypes": [],
916
+ "type": "string"
917
+ },
918
+ {
919
+ "name": "cohort",
920
+ "tags": [
921
+ {
922
+ "text": "1.0.0",
923
+ "name": "since"
924
+ }
925
+ ],
926
+ "docs": "",
927
+ "complexTypes": [],
928
+ "type": "string"
929
+ },
930
+ {
931
+ "name": "imageUrl",
932
+ "tags": [
933
+ {
934
+ "text": "1.0.0",
935
+ "name": "since"
936
+ }
937
+ ],
938
+ "docs": "",
939
+ "complexTypes": [],
940
+ "type": "string | undefined"
941
+ },
942
+ {
943
+ "name": "zoomImageUrl",
944
+ "tags": [
945
+ {
946
+ "text": "1.0.0",
947
+ "name": "since"
948
+ }
949
+ ],
950
+ "docs": "",
951
+ "complexTypes": [],
952
+ "type": "string | undefined"
953
+ },
954
+ {
955
+ "name": "categoryPath",
956
+ "tags": [
957
+ {
958
+ "text": "1.0.0",
959
+ "name": "since"
960
+ }
961
+ ],
962
+ "docs": "",
963
+ "complexTypes": [],
964
+ "type": "string | undefined"
965
+ },
966
+ {
967
+ "name": "available",
968
+ "tags": [
969
+ {
970
+ "text": "1.0.0",
971
+ "name": "since"
972
+ }
973
+ ],
974
+ "docs": "",
975
+ "complexTypes": [],
976
+ "type": "number | undefined"
977
+ },
978
+ {
979
+ "name": "productDescription",
980
+ "tags": [
981
+ {
982
+ "text": "1.0.0",
983
+ "name": "since"
984
+ }
985
+ ],
986
+ "docs": "",
987
+ "complexTypes": [],
988
+ "type": "string | undefined"
989
+ },
990
+ {
991
+ "name": "price",
992
+ "tags": [
993
+ {
994
+ "text": "1.0.0",
995
+ "name": "since"
996
+ }
997
+ ],
998
+ "docs": "",
999
+ "complexTypes": [],
1000
+ "type": "number | undefined"
1001
+ },
1002
+ {
1003
+ "name": "msrp",
1004
+ "tags": [
1005
+ {
1006
+ "text": "1.0.0",
1007
+ "name": "since"
1008
+ }
1009
+ ],
1010
+ "docs": "",
1011
+ "complexTypes": [],
1012
+ "type": "number | undefined"
1013
+ },
1014
+ {
1015
+ "name": "album",
1016
+ "tags": [
1017
+ {
1018
+ "text": "1.0.0",
1019
+ "name": "since"
1020
+ }
1021
+ ],
1022
+ "docs": "",
1023
+ "complexTypes": [],
1024
+ "type": "string | undefined"
1025
+ },
1026
+ {
1027
+ "name": "actor",
1028
+ "tags": [
1029
+ {
1030
+ "text": "1.0.0",
1031
+ "name": "since"
1032
+ }
1033
+ ],
1034
+ "docs": "",
1035
+ "complexTypes": [],
1036
+ "type": "string | undefined"
1037
+ },
1038
+ {
1039
+ "name": "artist",
1040
+ "tags": [
1041
+ {
1042
+ "text": "1.0.0",
1043
+ "name": "since"
1044
+ }
1045
+ ],
1046
+ "docs": "",
1047
+ "complexTypes": [],
1048
+ "type": "string | undefined"
1049
+ },
1050
+ {
1051
+ "name": "author",
1052
+ "tags": [
1053
+ {
1054
+ "text": "1.0.0",
1055
+ "name": "since"
1056
+ }
1057
+ ],
1058
+ "docs": "",
1059
+ "complexTypes": [],
1060
+ "type": "string | undefined"
1061
+ },
1062
+ {
1063
+ "name": "brand",
1064
+ "tags": [
1065
+ {
1066
+ "text": "1.0.0",
1067
+ "name": "since"
1068
+ }
1069
+ ],
1070
+ "docs": "",
1071
+ "complexTypes": [],
1072
+ "type": "string | undefined"
1073
+ },
1074
+ {
1075
+ "name": "year",
1076
+ "tags": [
1077
+ {
1078
+ "text": "1.0.0",
1079
+ "name": "since"
1080
+ }
1081
+ ],
1082
+ "docs": "",
1083
+ "complexTypes": [],
1084
+ "type": "number | undefined"
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "name": "RecommendedProductOptions",
1090
+ "slug": "recommendedproductoptions",
1091
+ "docs": "",
1092
+ "tags": [],
1093
+ "methods": [],
1094
+ "properties": [
1095
+ {
1096
+ "name": "logic",
1097
+ "tags": [
1098
+ {
1099
+ "text": "1.0.0",
1100
+ "name": "since"
1101
+ }
1102
+ ],
1103
+ "docs": "The logic that should be used.",
1104
+ "complexTypes": [
1105
+ "RecommendedProductLogic"
1106
+ ],
1107
+ "type": "RecommendedProductLogic"
1108
+ },
1109
+ {
1110
+ "name": "filter",
1111
+ "tags": [
1112
+ {
1113
+ "text": "1.0.0",
1114
+ "name": "since"
1115
+ }
1116
+ ],
1117
+ "docs": "You can filter product recommendations with the SDK. There are two types of filters: `Exclude` or `Include`. In every case there are four types of comparators you can use to compare your chosen field to the `value`.\n\nThis is an optional parameter.",
1118
+ "complexTypes": [
1119
+ "RecommendedProductFilter"
1120
+ ],
1121
+ "type": "RecommendedProductFilter[] | undefined"
1122
+ },
1123
+ {
1124
+ "name": "limit",
1125
+ "tags": [
1126
+ {
1127
+ "text": "5",
1128
+ "name": "default"
1129
+ },
1130
+ {
1131
+ "text": "1.0.0",
1132
+ "name": "since"
1133
+ }
1134
+ ],
1135
+ "docs": "You can limit the number of recommended products received by defining a `limit`.",
1136
+ "complexTypes": [],
1137
+ "type": "number | undefined"
1138
+ },
1139
+ {
1140
+ "name": "availabilityZone",
1141
+ "tags": [
1142
+ {
1143
+ "text": "1.0.0",
1144
+ "name": "since"
1145
+ }
1146
+ ],
1147
+ "docs": "You can personalize the recommendation further by setting the `availabilityZones` parameter of the recommendation, to only recommend the locally available products. This is an optional parameter.",
1148
+ "complexTypes": [],
1149
+ "type": "string | undefined"
1150
+ }
1151
+ ]
1152
+ },
1153
+ {
1154
+ "name": "RecommendedProductSearchLogic",
1155
+ "slug": "recommendedproductsearchlogic",
1156
+ "docs": "Based on `searchTerm`",
1157
+ "tags": [],
1158
+ "methods": [],
1159
+ "properties": [
1160
+ {
1161
+ "name": "type",
1162
+ "tags": [
1163
+ {
1164
+ "text": "1.0.0",
1165
+ "name": "since"
1166
+ }
1167
+ ],
1168
+ "docs": "",
1169
+ "complexTypes": [],
1170
+ "type": "'search'"
1171
+ },
1172
+ {
1173
+ "name": "value",
1174
+ "tags": [
1175
+ {
1176
+ "text": "1.0.0",
1177
+ "name": "since"
1178
+ }
1179
+ ],
1180
+ "docs": "",
1181
+ "complexTypes": [],
1182
+ "type": "string"
1183
+ }
1184
+ ]
1185
+ },
1186
+ {
1187
+ "name": "RecommendedProductCartLogic",
1188
+ "slug": "recommendedproductcartlogic",
1189
+ "docs": "Based on `cartItems`",
1190
+ "tags": [],
1191
+ "methods": [],
1192
+ "properties": [
1193
+ {
1194
+ "name": "type",
1195
+ "tags": [
1196
+ {
1197
+ "text": "1.0.0",
1198
+ "name": "since"
1199
+ }
1200
+ ],
1201
+ "docs": "",
1202
+ "complexTypes": [],
1203
+ "type": "'cart'"
1204
+ },
1205
+ {
1206
+ "name": "value",
1207
+ "tags": [
1208
+ {
1209
+ "text": "1.0.0",
1210
+ "name": "since"
1211
+ }
1212
+ ],
1213
+ "docs": "",
1214
+ "complexTypes": [
1215
+ "CardItem"
1216
+ ],
1217
+ "type": "CardItem[]"
1218
+ }
1219
+ ]
1220
+ },
1221
+ {
1222
+ "name": "RecommendedProductRelatedLogic",
1223
+ "slug": "recommendedproductrelatedlogic",
1224
+ "docs": "Based on `itemViewId`",
1225
+ "tags": [],
1226
+ "methods": [],
1227
+ "properties": [
1228
+ {
1229
+ "name": "type",
1230
+ "tags": [
1231
+ {
1232
+ "text": "1.0.0",
1233
+ "name": "since"
1234
+ }
1235
+ ],
1236
+ "docs": "",
1237
+ "complexTypes": [],
1238
+ "type": "'related'"
1239
+ },
1240
+ {
1241
+ "name": "value",
1242
+ "tags": [
1243
+ {
1244
+ "text": "1.0.0",
1245
+ "name": "since"
1246
+ }
1247
+ ],
1248
+ "docs": "",
1249
+ "complexTypes": [],
1250
+ "type": "string"
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "name": "RecommendedProductCategoryLogic",
1256
+ "slug": "recommendedproductcategorylogic",
1257
+ "docs": "Based on `categoryPath`",
1258
+ "tags": [],
1259
+ "methods": [],
1260
+ "properties": [
1261
+ {
1262
+ "name": "type",
1263
+ "tags": [
1264
+ {
1265
+ "text": "1.0.0",
1266
+ "name": "since"
1267
+ }
1268
+ ],
1269
+ "docs": "",
1270
+ "complexTypes": [],
1271
+ "type": "'category'"
1272
+ },
1273
+ {
1274
+ "name": "value",
1275
+ "tags": [
1276
+ {
1277
+ "text": "1.0.0",
1278
+ "name": "since"
1279
+ }
1280
+ ],
1281
+ "docs": "",
1282
+ "complexTypes": [],
1283
+ "type": "string"
1284
+ }
1285
+ ]
1286
+ },
1287
+ {
1288
+ "name": "RecommendedProductAlsoBoughtLogic",
1289
+ "slug": "recommendedproductalsoboughtlogic",
1290
+ "docs": "Based on `itemViewId`",
1291
+ "tags": [],
1292
+ "methods": [],
1293
+ "properties": [
1294
+ {
1295
+ "name": "type",
1296
+ "tags": [
1297
+ {
1298
+ "text": "1.0.0",
1299
+ "name": "since"
1300
+ }
1301
+ ],
1302
+ "docs": "",
1303
+ "complexTypes": [],
1304
+ "type": "'also_bought'"
1305
+ },
1306
+ {
1307
+ "name": "value",
1308
+ "tags": [
1309
+ {
1310
+ "text": "1.0.0",
1311
+ "name": "since"
1312
+ }
1313
+ ],
1314
+ "docs": "",
1315
+ "complexTypes": [],
1316
+ "type": "string"
1317
+ }
1318
+ ]
1319
+ },
1320
+ {
1321
+ "name": "RecommendedProductPopularLogic",
1322
+ "slug": "recommendedproductpopularlogic",
1323
+ "docs": "Based on `categoryPath`",
1324
+ "tags": [],
1325
+ "methods": [],
1326
+ "properties": [
1327
+ {
1328
+ "name": "type",
1329
+ "tags": [
1330
+ {
1331
+ "text": "1.0.0",
1332
+ "name": "since"
1333
+ }
1334
+ ],
1335
+ "docs": "",
1336
+ "complexTypes": [],
1337
+ "type": "'popular'"
1338
+ },
1339
+ {
1340
+ "name": "value",
1341
+ "tags": [
1342
+ {
1343
+ "text": "1.0.0",
1344
+ "name": "since"
1345
+ }
1346
+ ],
1347
+ "docs": "",
1348
+ "complexTypes": [],
1349
+ "type": "string"
1350
+ }
1351
+ ]
1352
+ },
1353
+ {
1354
+ "name": "RecommendedProductPersonalLogic",
1355
+ "slug": "recommendedproductpersonallogic",
1356
+ "docs": "Based on based on current browsing and activity\n\nOptionally based on the variants",
1357
+ "tags": [],
1358
+ "methods": [],
1359
+ "properties": [
1360
+ {
1361
+ "name": "type",
1362
+ "tags": [
1363
+ {
1364
+ "text": "1.0.0",
1365
+ "name": "since"
1366
+ }
1367
+ ],
1368
+ "docs": "",
1369
+ "complexTypes": [],
1370
+ "type": "'personal'"
1371
+ },
1372
+ {
1373
+ "name": "value",
1374
+ "tags": [
1375
+ {
1376
+ "text": "1.0.0",
1377
+ "name": "since"
1378
+ }
1379
+ ],
1380
+ "docs": "",
1381
+ "complexTypes": [],
1382
+ "type": "string[] | undefined"
1383
+ }
1384
+ ]
1385
+ },
1386
+ {
1387
+ "name": "RecommendedProductHomeLogic",
1388
+ "slug": "recommendedproducthomelogic",
1389
+ "docs": "Based on most recent browsing behaviour\n\nOptionally based on the variants",
1390
+ "tags": [],
1391
+ "methods": [],
1392
+ "properties": [
1393
+ {
1394
+ "name": "type",
1395
+ "tags": [
1396
+ {
1397
+ "text": "1.0.0",
1398
+ "name": "since"
1399
+ }
1400
+ ],
1401
+ "docs": "",
1402
+ "complexTypes": [],
1403
+ "type": "'home'"
1404
+ },
1405
+ {
1406
+ "name": "value",
1407
+ "tags": [
1408
+ {
1409
+ "text": "1.0.0",
1410
+ "name": "since"
1411
+ }
1412
+ ],
1413
+ "docs": "",
1414
+ "complexTypes": [],
1415
+ "type": "string[] | undefined"
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "name": "RecommendedProductValueFilter",
1421
+ "slug": "recommendedproductvaluefilter",
1422
+ "docs": "",
1423
+ "tags": [],
1424
+ "methods": [],
1425
+ "properties": [
1426
+ {
1427
+ "name": "filterType",
1428
+ "tags": [
1429
+ {
1430
+ "text": "1.0.0",
1431
+ "name": "since"
1432
+ }
1433
+ ],
1434
+ "docs": "",
1435
+ "complexTypes": [
1436
+ "RecommendedProductFilterType"
1437
+ ],
1438
+ "type": "RecommendedProductFilterType"
1439
+ },
1440
+ {
1441
+ "name": "comparatorType",
1442
+ "tags": [
1443
+ {
1444
+ "text": "1.0.0",
1445
+ "name": "since"
1446
+ }
1447
+ ],
1448
+ "docs": "`isValue`: checking if the `field` is matching the `value`,\n\n`hasValue`: One of the `field` values is equal to `expectation value` (applicable only to fields containing multiple values)",
1449
+ "complexTypes": [
1450
+ "RecommendedProductValueFilterComparatorType"
1451
+ ],
1452
+ "type": "RecommendedProductValueFilterComparatorType"
1453
+ },
1454
+ {
1455
+ "name": "field",
1456
+ "tags": [
1457
+ {
1458
+ "text": "1.0.0",
1459
+ "name": "since"
1460
+ }
1461
+ ],
1462
+ "docs": "",
1463
+ "complexTypes": [],
1464
+ "type": "string"
1465
+ },
1466
+ {
1467
+ "name": "value",
1468
+ "tags": [
1469
+ {
1470
+ "text": "1.0.0",
1471
+ "name": "since"
1472
+ }
1473
+ ],
1474
+ "docs": "",
1475
+ "complexTypes": [],
1476
+ "type": "string"
1477
+ }
1478
+ ]
1479
+ },
1480
+ {
1481
+ "name": "RecommendedProductArrayFilter",
1482
+ "slug": "recommendedproductarrayfilter",
1483
+ "docs": "",
1484
+ "tags": [],
1485
+ "methods": [],
1486
+ "properties": [
1487
+ {
1488
+ "name": "filterType",
1489
+ "tags": [
1490
+ {
1491
+ "text": "1.0.0",
1492
+ "name": "since"
1493
+ }
1494
+ ],
1495
+ "docs": "",
1496
+ "complexTypes": [
1497
+ "RecommendedProductFilterType"
1498
+ ],
1499
+ "type": "RecommendedProductFilterType"
1500
+ },
1501
+ {
1502
+ "name": "comparatorType",
1503
+ "tags": [
1504
+ {
1505
+ "text": "1.0.0",
1506
+ "name": "since"
1507
+ }
1508
+ ],
1509
+ "docs": "`inValues`: any of the `values` has a match with the `field`,\n\n`overlapsValues`: One or more of the `field` values are found in `expectation values` (applicable only to fields containing multiple values)",
1510
+ "complexTypes": [
1511
+ "RecommendedProductArrayFilterComparatorType"
1512
+ ],
1513
+ "type": "RecommendedProductArrayFilterComparatorType"
1514
+ },
1515
+ {
1516
+ "name": "field",
1517
+ "tags": [
1518
+ {
1519
+ "text": "1.0.0",
1520
+ "name": "since"
1521
+ }
1522
+ ],
1523
+ "docs": "",
1524
+ "complexTypes": [],
1525
+ "type": "string"
1526
+ },
1527
+ {
1528
+ "name": "value",
1529
+ "tags": [
1530
+ {
1531
+ "text": "1.0.0",
1532
+ "name": "since"
1533
+ }
1534
+ ],
1535
+ "docs": "",
1536
+ "complexTypes": [],
1537
+ "type": "string[]"
1538
+ }
1539
+ ]
1540
+ },
1541
+ {
1542
+ "name": "InboxTag",
1543
+ "slug": "inboxtag",
1544
+ "docs": "",
1545
+ "tags": [],
1546
+ "methods": [],
1547
+ "properties": [
1548
+ {
1549
+ "name": "tag",
1550
+ "tags": [
1551
+ {
1552
+ "text": "1.0.0",
1553
+ "name": "since"
1554
+ }
1555
+ ],
1556
+ "docs": "",
1557
+ "complexTypes": [],
1558
+ "type": "string"
1559
+ },
1560
+ {
1561
+ "name": "messageId",
1562
+ "tags": [
1563
+ {
1564
+ "text": "1.0.0",
1565
+ "name": "since"
1566
+ }
1567
+ ],
1568
+ "docs": "",
1569
+ "complexTypes": [],
1570
+ "type": "string"
1571
+ }
1572
+ ]
1573
+ },
1574
+ {
1575
+ "name": "ApplicationCode",
1576
+ "slug": "applicationcode",
1577
+ "docs": "",
1578
+ "tags": [],
1579
+ "methods": [],
1580
+ "properties": [
1581
+ {
1582
+ "name": "applicationCode",
1583
+ "tags": [
1584
+ {
1585
+ "text": "1.0.0",
1586
+ "name": "since"
1587
+ }
1588
+ ],
1589
+ "docs": "",
1590
+ "complexTypes": [],
1591
+ "type": "string"
1592
+ }
1593
+ ]
1594
+ },
1595
+ {
1596
+ "name": "MerchantId",
1597
+ "slug": "merchantid",
1598
+ "docs": "",
1599
+ "tags": [],
1600
+ "methods": [],
1601
+ "properties": [
1602
+ {
1603
+ "name": "merchantId",
1604
+ "tags": [
1605
+ {
1606
+ "text": "1.0.0",
1607
+ "name": "since"
1608
+ }
1609
+ ],
1610
+ "docs": "",
1611
+ "complexTypes": [],
1612
+ "type": "string"
1613
+ }
1614
+ ]
1615
+ },
1616
+ {
1617
+ "name": "ContactFieldId",
1618
+ "slug": "contactfieldid",
1619
+ "docs": "",
1620
+ "tags": [],
1621
+ "methods": [],
1622
+ "properties": [
1623
+ {
1624
+ "name": "contactFieldId",
1625
+ "tags": [
1626
+ {
1627
+ "text": "1.0.0",
1628
+ "name": "since"
1629
+ }
1630
+ ],
1631
+ "docs": "",
1632
+ "complexTypes": [],
1633
+ "type": "number"
1634
+ }
1635
+ ]
1636
+ },
1637
+ {
1638
+ "name": "PluginListenerHandle",
1639
+ "slug": "pluginlistenerhandle",
1640
+ "docs": "",
1641
+ "tags": [],
1642
+ "methods": [],
1643
+ "properties": [
1644
+ {
1645
+ "name": "remove",
1646
+ "tags": [],
1647
+ "docs": "",
1648
+ "complexTypes": [],
1649
+ "type": "() => Promise<void>"
1650
+ }
1651
+ ]
1652
+ },
1653
+ {
1654
+ "name": "PushMessageEvent",
1655
+ "slug": "pushmessageevent",
1656
+ "docs": "",
1657
+ "tags": [],
1658
+ "methods": [],
1659
+ "properties": [
1660
+ {
1661
+ "name": "eventName",
1662
+ "tags": [
1663
+ {
1664
+ "text": "1.0.0",
1665
+ "name": "since"
1666
+ }
1667
+ ],
1668
+ "docs": "",
1669
+ "complexTypes": [],
1670
+ "type": "string"
1671
+ },
1672
+ {
1673
+ "name": "data",
1674
+ "tags": [
1675
+ {
1676
+ "text": "1.0.0",
1677
+ "name": "since"
1678
+ }
1679
+ ],
1680
+ "docs": "",
1681
+ "complexTypes": [],
1682
+ "type": "{ key: string; value: string; }[]"
1683
+ }
1684
+ ]
1685
+ },
1686
+ {
1687
+ "name": "SilentPushMessageInformation",
1688
+ "slug": "silentpushmessageinformation",
1689
+ "docs": "",
1690
+ "tags": [],
1691
+ "methods": [],
1692
+ "properties": [
1693
+ {
1694
+ "name": "campaignId",
1695
+ "tags": [
1696
+ {
1697
+ "text": "1.0.0",
1698
+ "name": "since"
1699
+ }
1700
+ ],
1701
+ "docs": "",
1702
+ "complexTypes": [],
1703
+ "type": "string"
1704
+ }
1705
+ ]
1706
+ }
1707
+ ],
1708
+ "enums": [],
1709
+ "typeAliases": [
1710
+ {
1711
+ "name": "PermissionState",
1712
+ "slug": "permissionstate",
1713
+ "docs": "",
1714
+ "types": [
1715
+ {
1716
+ "text": "'prompt'",
1717
+ "complexTypes": []
1718
+ },
1719
+ {
1720
+ "text": "'prompt-with-rationale'",
1721
+ "complexTypes": []
1722
+ },
1723
+ {
1724
+ "text": "'granted'",
1725
+ "complexTypes": []
1726
+ },
1727
+ {
1728
+ "text": "'denied'",
1729
+ "complexTypes": []
1730
+ }
1731
+ ]
1732
+ },
1733
+ {
1734
+ "name": "RecommendedProductLogic",
1735
+ "slug": "recommendedproductlogic",
1736
+ "docs": "",
1737
+ "types": [
1738
+ {
1739
+ "text": "RecommendedProductSearchLogic",
1740
+ "complexTypes": [
1741
+ "RecommendedProductSearchLogic"
1742
+ ]
1743
+ },
1744
+ {
1745
+ "text": "RecommendedProductCartLogic",
1746
+ "complexTypes": [
1747
+ "RecommendedProductCartLogic"
1748
+ ]
1749
+ },
1750
+ {
1751
+ "text": "RecommendedProductRelatedLogic",
1752
+ "complexTypes": [
1753
+ "RecommendedProductRelatedLogic"
1754
+ ]
1755
+ },
1756
+ {
1757
+ "text": "RecommendedProductCategoryLogic",
1758
+ "complexTypes": [
1759
+ "RecommendedProductCategoryLogic"
1760
+ ]
1761
+ },
1762
+ {
1763
+ "text": "RecommendedProductAlsoBoughtLogic",
1764
+ "complexTypes": [
1765
+ "RecommendedProductAlsoBoughtLogic"
1766
+ ]
1767
+ },
1768
+ {
1769
+ "text": "RecommendedProductPopularLogic",
1770
+ "complexTypes": [
1771
+ "RecommendedProductPopularLogic"
1772
+ ]
1773
+ },
1774
+ {
1775
+ "text": "RecommendedProductPersonalLogic",
1776
+ "complexTypes": [
1777
+ "RecommendedProductPersonalLogic"
1778
+ ]
1779
+ },
1780
+ {
1781
+ "text": "RecommendedProductHomeLogic",
1782
+ "complexTypes": [
1783
+ "RecommendedProductHomeLogic"
1784
+ ]
1785
+ }
1786
+ ]
1787
+ },
1788
+ {
1789
+ "name": "RecommendedProductFilter",
1790
+ "slug": "recommendedproductfilter",
1791
+ "docs": "",
1792
+ "types": [
1793
+ {
1794
+ "text": "RecommendedProductValueFilter",
1795
+ "complexTypes": [
1796
+ "RecommendedProductValueFilter"
1797
+ ]
1798
+ },
1799
+ {
1800
+ "text": "RecommendedProductArrayFilter",
1801
+ "complexTypes": [
1802
+ "RecommendedProductArrayFilter"
1803
+ ]
1804
+ }
1805
+ ]
1806
+ },
1807
+ {
1808
+ "name": "RecommendedProductFilterType",
1809
+ "slug": "recommendedproductfiltertype",
1810
+ "docs": "",
1811
+ "types": [
1812
+ {
1813
+ "text": "'include'",
1814
+ "complexTypes": []
1815
+ },
1816
+ {
1817
+ "text": "'exclude'",
1818
+ "complexTypes": []
1819
+ }
1820
+ ]
1821
+ },
1822
+ {
1823
+ "name": "RecommendedProductValueFilterComparatorType",
1824
+ "slug": "recommendedproductvaluefiltercomparatortype",
1825
+ "docs": "",
1826
+ "types": [
1827
+ {
1828
+ "text": "'isValue'",
1829
+ "complexTypes": []
1830
+ },
1831
+ {
1832
+ "text": "'hasValue'",
1833
+ "complexTypes": []
1834
+ }
1835
+ ]
1836
+ },
1837
+ {
1838
+ "name": "RecommendedProductArrayFilterComparatorType",
1839
+ "slug": "recommendedproductarrayfiltercomparatortype",
1840
+ "docs": "",
1841
+ "types": [
1842
+ {
1843
+ "text": "'inValues'",
1844
+ "complexTypes": []
1845
+ },
1846
+ {
1847
+ "text": "'overlapsValues'",
1848
+ "complexTypes": []
1849
+ }
1850
+ ]
1851
+ }
1852
+ ],
1853
+ "pluginConfigs": [
1854
+ {
1855
+ "name": "Emarsys",
1856
+ "slug": "emarsys",
1857
+ "properties": [
1858
+ {
1859
+ "name": "mobileEngageApplicationCode",
1860
+ "tags": [
1861
+ {
1862
+ "text": "1.0.0",
1863
+ "name": "since"
1864
+ },
1865
+ {
1866
+ "text": "'yourApplicationCode'",
1867
+ "name": "example"
1868
+ }
1869
+ ],
1870
+ "docs": "Emarsys App code, which is generated when the app is added to the account.",
1871
+ "complexTypes": [],
1872
+ "type": "string | undefined"
1873
+ },
1874
+ {
1875
+ "name": "merchantId",
1876
+ "tags": [
1877
+ {
1878
+ "text": "1.0.0",
1879
+ "name": "since"
1880
+ },
1881
+ {
1882
+ "text": "'yourMerchantId'",
1883
+ "name": "example"
1884
+ }
1885
+ ],
1886
+ "docs": "Emarsys Predict Merchant ID (If the Predict feature is enabled on the Emarsys account).",
1887
+ "complexTypes": [],
1888
+ "type": "string | undefined"
1889
+ },
1890
+ {
1891
+ "name": "consoleLogLevels",
1892
+ "tags": [
1893
+ {
1894
+ "text": "1.0.0",
1895
+ "name": "since"
1896
+ },
1897
+ {
1898
+ "text": "['info', 'debug', '...']",
1899
+ "name": "example"
1900
+ }
1901
+ ],
1902
+ "docs": "The default console logging is only showing logs when you call an unallowed method.\nYou are able to modify the allowed loglevels for console logging, by setting it during the setup.",
1903
+ "complexTypes": [
1904
+ "ConsoleLogLevels"
1905
+ ],
1906
+ "type": "ConsoleLogLevels[] | undefined"
1907
+ }
1908
+ ],
1909
+ "docs": "The following options are available to initialize the SDK:"
1910
+ }
1911
+ ]
1912
+ }