@rollershop/capacitor-emarsys-sdk 1.1.0 → 1.2.1-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.
- package/README.md +146 -108
- package/dist/docs.json +329 -329
- package/dist/plugin.cjs.js +0 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +0 -2
- package/dist/plugin.js.map +1 -1
- package/package.json +35 -33
package/dist/docs.json
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"methods": [
|
|
8
8
|
{
|
|
9
9
|
"name": "checkPermissions",
|
|
10
|
-
"signature": "() =>
|
|
10
|
+
"signature": "() => any",
|
|
11
11
|
"parameters": [],
|
|
12
|
-
"returns": "
|
|
12
|
+
"returns": "any",
|
|
13
13
|
"tags": [
|
|
14
14
|
{
|
|
15
15
|
"name": "example",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "requestPermissions",
|
|
31
|
-
"signature": "() =>
|
|
31
|
+
"signature": "() => any",
|
|
32
32
|
"parameters": [],
|
|
33
|
-
"returns": "
|
|
33
|
+
"returns": "any",
|
|
34
34
|
"tags": [
|
|
35
35
|
{
|
|
36
36
|
"name": "since",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "register",
|
|
48
|
-
"signature": "() =>
|
|
48
|
+
"signature": "() => any",
|
|
49
49
|
"parameters": [],
|
|
50
|
-
"returns": "
|
|
50
|
+
"returns": "any",
|
|
51
51
|
"tags": [
|
|
52
52
|
{
|
|
53
53
|
"name": "since",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "setContact",
|
|
65
|
-
"signature": "(options: SetContactOptions) =>
|
|
65
|
+
"signature": "(options: SetContactOptions) => any",
|
|
66
66
|
"parameters": [
|
|
67
67
|
{
|
|
68
68
|
"name": "options",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"type": "SetContactOptions"
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
|
-
"returns": "
|
|
73
|
+
"returns": "any",
|
|
74
74
|
"tags": [
|
|
75
75
|
{
|
|
76
76
|
"name": "since",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"name": "setAuthenticatedContact",
|
|
88
|
-
"signature": "(options: SetAuthenticatedContactOptions) =>
|
|
88
|
+
"signature": "(options: SetAuthenticatedContactOptions) => any",
|
|
89
89
|
"parameters": [
|
|
90
90
|
{
|
|
91
91
|
"name": "options",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"type": "SetAuthenticatedContactOptions"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
|
-
"returns": "
|
|
96
|
+
"returns": "any",
|
|
97
97
|
"tags": [
|
|
98
98
|
{
|
|
99
99
|
"name": "since",
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"name": "clearContact",
|
|
111
|
-
"signature": "() =>
|
|
111
|
+
"signature": "() => any",
|
|
112
112
|
"parameters": [],
|
|
113
|
-
"returns": "
|
|
113
|
+
"returns": "any",
|
|
114
114
|
"tags": [
|
|
115
115
|
{
|
|
116
116
|
"name": "since",
|
|
@@ -123,9 +123,9 @@
|
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"name": "getPushToken",
|
|
126
|
-
"signature": "() =>
|
|
126
|
+
"signature": "() => any",
|
|
127
127
|
"parameters": [],
|
|
128
|
-
"returns": "
|
|
128
|
+
"returns": "any",
|
|
129
129
|
"tags": [
|
|
130
130
|
{
|
|
131
131
|
"name": "since",
|
|
@@ -140,9 +140,9 @@
|
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"name": "clearPushToken",
|
|
143
|
-
"signature": "() =>
|
|
143
|
+
"signature": "() => any",
|
|
144
144
|
"parameters": [],
|
|
145
|
-
"returns": "
|
|
145
|
+
"returns": "any",
|
|
146
146
|
"tags": [
|
|
147
147
|
{
|
|
148
148
|
"name": "since",
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"name": "pauseInApp",
|
|
158
|
-
"signature": "() =>
|
|
158
|
+
"signature": "() => any",
|
|
159
159
|
"parameters": [],
|
|
160
|
-
"returns": "
|
|
160
|
+
"returns": "any",
|
|
161
161
|
"tags": [
|
|
162
162
|
{
|
|
163
163
|
"name": "since",
|
|
@@ -170,9 +170,9 @@
|
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"name": "isInAppPaused",
|
|
173
|
-
"signature": "() =>
|
|
173
|
+
"signature": "() => any",
|
|
174
174
|
"parameters": [],
|
|
175
|
-
"returns": "
|
|
175
|
+
"returns": "any",
|
|
176
176
|
"tags": [
|
|
177
177
|
{
|
|
178
178
|
"name": "since",
|
|
@@ -185,9 +185,9 @@
|
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
"name": "resumeInApp",
|
|
188
|
-
"signature": "() =>
|
|
188
|
+
"signature": "() => any",
|
|
189
189
|
"parameters": [],
|
|
190
|
-
"returns": "
|
|
190
|
+
"returns": "any",
|
|
191
191
|
"tags": [
|
|
192
192
|
{
|
|
193
193
|
"name": "since",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"name": "trackItem",
|
|
203
|
-
"signature": "(options: { itemId: string; }) =>
|
|
203
|
+
"signature": "(options: { itemId: string; }) => any",
|
|
204
204
|
"parameters": [
|
|
205
205
|
{
|
|
206
206
|
"name": "options",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"type": "{ itemId: string; }"
|
|
209
209
|
}
|
|
210
210
|
],
|
|
211
|
-
"returns": "
|
|
211
|
+
"returns": "any",
|
|
212
212
|
"tags": [
|
|
213
213
|
{
|
|
214
214
|
"name": "since",
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
"name": "trackCategory",
|
|
224
|
-
"signature": "(options: { categoryPath: string; }) =>
|
|
224
|
+
"signature": "(options: { categoryPath: string; }) => any",
|
|
225
225
|
"parameters": [
|
|
226
226
|
{
|
|
227
227
|
"name": "options",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"type": "{ categoryPath: string; }"
|
|
230
230
|
}
|
|
231
231
|
],
|
|
232
|
-
"returns": "
|
|
232
|
+
"returns": "any",
|
|
233
233
|
"tags": [
|
|
234
234
|
{
|
|
235
235
|
"name": "since",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "trackSearch",
|
|
245
|
-
"signature": "(options: { searchTerm: string; }) =>
|
|
245
|
+
"signature": "(options: { searchTerm: string; }) => any",
|
|
246
246
|
"parameters": [
|
|
247
247
|
{
|
|
248
248
|
"name": "options",
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
"type": "{ searchTerm: string; }"
|
|
251
251
|
}
|
|
252
252
|
],
|
|
253
|
-
"returns": "
|
|
253
|
+
"returns": "any",
|
|
254
254
|
"tags": [
|
|
255
255
|
{
|
|
256
256
|
"name": "since",
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
"name": "trackTag",
|
|
266
|
-
"signature": "(options: { tag: string; }) =>
|
|
266
|
+
"signature": "(options: { tag: string; }) => any",
|
|
267
267
|
"parameters": [
|
|
268
268
|
{
|
|
269
269
|
"name": "options",
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
"type": "{ tag: string; }"
|
|
272
272
|
}
|
|
273
273
|
],
|
|
274
|
-
"returns": "
|
|
274
|
+
"returns": "any",
|
|
275
275
|
"tags": [
|
|
276
276
|
{
|
|
277
277
|
"name": "since",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"name": "trackCard",
|
|
287
|
-
"signature": "(options: CardItems) =>
|
|
287
|
+
"signature": "(options: CardItems) => any",
|
|
288
288
|
"parameters": [
|
|
289
289
|
{
|
|
290
290
|
"name": "options",
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"type": "CardItems"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
|
-
"returns": "
|
|
295
|
+
"returns": "any",
|
|
296
296
|
"tags": [
|
|
297
297
|
{
|
|
298
298
|
"name": "since",
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"name": "trackPurchase",
|
|
310
|
-
"signature": "(options: Purchase) =>
|
|
310
|
+
"signature": "(options: Purchase) => any",
|
|
311
311
|
"parameters": [
|
|
312
312
|
{
|
|
313
313
|
"name": "options",
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
"type": "Purchase"
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
|
-
"returns": "
|
|
318
|
+
"returns": "any",
|
|
319
319
|
"tags": [
|
|
320
320
|
{
|
|
321
321
|
"name": "since",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
},
|
|
331
331
|
{
|
|
332
332
|
"name": "trackCustomEvent",
|
|
333
|
-
"signature": "(event: CustomEvent) =>
|
|
333
|
+
"signature": "(event: CustomEvent) => any",
|
|
334
334
|
"parameters": [
|
|
335
335
|
{
|
|
336
336
|
"name": "event",
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
"type": "CustomEvent"
|
|
339
339
|
}
|
|
340
340
|
],
|
|
341
|
-
"returns": "
|
|
341
|
+
"returns": "any",
|
|
342
342
|
"tags": [],
|
|
343
343
|
"docs": "",
|
|
344
344
|
"complexTypes": [
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
"name": "recommendProducts",
|
|
351
|
-
"signature": "(options: RecommendedProductOptions) =>
|
|
351
|
+
"signature": "(options: RecommendedProductOptions) => any",
|
|
352
352
|
"parameters": [
|
|
353
353
|
{
|
|
354
354
|
"name": "options",
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
"type": "RecommendedProductOptions"
|
|
357
357
|
}
|
|
358
358
|
],
|
|
359
|
-
"returns": "
|
|
359
|
+
"returns": "any",
|
|
360
360
|
"tags": [
|
|
361
361
|
{
|
|
362
362
|
"name": "since",
|
|
@@ -365,14 +365,14 @@
|
|
|
365
365
|
],
|
|
366
366
|
"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!",
|
|
367
367
|
"complexTypes": [
|
|
368
|
-
"
|
|
369
|
-
"
|
|
368
|
+
"RecommendedProductOptions",
|
|
369
|
+
"RecommendedProducts"
|
|
370
370
|
],
|
|
371
371
|
"slug": "recommendproducts"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
374
|
"name": "trackRecommendationClick",
|
|
375
|
-
"signature": "(product: Product) =>
|
|
375
|
+
"signature": "(product: Product) => any",
|
|
376
376
|
"parameters": [
|
|
377
377
|
{
|
|
378
378
|
"name": "product",
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"type": "Product"
|
|
381
381
|
}
|
|
382
382
|
],
|
|
383
|
-
"returns": "
|
|
383
|
+
"returns": "any",
|
|
384
384
|
"tags": [
|
|
385
385
|
{
|
|
386
386
|
"name": "since",
|
|
@@ -395,9 +395,9 @@
|
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
397
|
"name": "fetchMessages",
|
|
398
|
-
"signature": "() =>
|
|
398
|
+
"signature": "() => any",
|
|
399
399
|
"parameters": [],
|
|
400
|
-
"returns": "
|
|
400
|
+
"returns": "any",
|
|
401
401
|
"tags": [
|
|
402
402
|
{
|
|
403
403
|
"name": "since",
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
412
|
"name": "addTag",
|
|
413
|
-
"signature": "(options: InboxTag) =>
|
|
413
|
+
"signature": "(options: InboxTag) => any",
|
|
414
414
|
"parameters": [
|
|
415
415
|
{
|
|
416
416
|
"name": "options",
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"type": "InboxTag"
|
|
419
419
|
}
|
|
420
420
|
],
|
|
421
|
-
"returns": "
|
|
421
|
+
"returns": "any",
|
|
422
422
|
"tags": [
|
|
423
423
|
{
|
|
424
424
|
"name": "since",
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
435
|
"name": "removeTag",
|
|
436
|
-
"signature": "(options: InboxTag) =>
|
|
436
|
+
"signature": "(options: InboxTag) => any",
|
|
437
437
|
"parameters": [
|
|
438
438
|
{
|
|
439
439
|
"name": "options",
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
"type": "InboxTag"
|
|
442
442
|
}
|
|
443
443
|
],
|
|
444
|
-
"returns": "
|
|
444
|
+
"returns": "any",
|
|
445
445
|
"tags": [
|
|
446
446
|
{
|
|
447
447
|
"name": "since",
|
|
@@ -456,9 +456,9 @@
|
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
"name": "getApplicationCode",
|
|
459
|
-
"signature": "() =>
|
|
459
|
+
"signature": "() => any",
|
|
460
460
|
"parameters": [],
|
|
461
|
-
"returns": "
|
|
461
|
+
"returns": "any",
|
|
462
462
|
"tags": [
|
|
463
463
|
{
|
|
464
464
|
"name": "since",
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
475
|
"name": "setApplicationCode",
|
|
476
|
-
"signature": "(options: ApplicationCode) =>
|
|
476
|
+
"signature": "(options: ApplicationCode) => any",
|
|
477
477
|
"parameters": [
|
|
478
478
|
{
|
|
479
479
|
"name": "options",
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"type": "ApplicationCode"
|
|
482
482
|
}
|
|
483
483
|
],
|
|
484
|
-
"returns": "
|
|
484
|
+
"returns": "any",
|
|
485
485
|
"tags": [
|
|
486
486
|
{
|
|
487
487
|
"name": "since",
|
|
@@ -496,9 +496,9 @@
|
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
498
|
"name": "getMerchantId",
|
|
499
|
-
"signature": "() =>
|
|
499
|
+
"signature": "() => any",
|
|
500
500
|
"parameters": [],
|
|
501
|
-
"returns": "
|
|
501
|
+
"returns": "any",
|
|
502
502
|
"tags": [
|
|
503
503
|
{
|
|
504
504
|
"name": "since",
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
515
|
"name": "setMerchantId",
|
|
516
|
-
"signature": "(options: MerchantId) =>
|
|
516
|
+
"signature": "(options: MerchantId) => any",
|
|
517
517
|
"parameters": [
|
|
518
518
|
{
|
|
519
519
|
"name": "options",
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"type": "MerchantId"
|
|
522
522
|
}
|
|
523
523
|
],
|
|
524
|
-
"returns": "
|
|
524
|
+
"returns": "any",
|
|
525
525
|
"tags": [
|
|
526
526
|
{
|
|
527
527
|
"name": "since",
|
|
@@ -536,9 +536,9 @@
|
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
538
|
"name": "getContactFieldId",
|
|
539
|
-
"signature": "() =>
|
|
539
|
+
"signature": "() => any",
|
|
540
540
|
"parameters": [],
|
|
541
|
-
"returns": "
|
|
541
|
+
"returns": "any",
|
|
542
542
|
"tags": [
|
|
543
543
|
{
|
|
544
544
|
"name": "since",
|
|
@@ -553,9 +553,9 @@
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
"name": "getHardwareId",
|
|
556
|
-
"signature": "() =>
|
|
556
|
+
"signature": "() => any",
|
|
557
557
|
"parameters": [],
|
|
558
|
-
"returns": "
|
|
558
|
+
"returns": "any",
|
|
559
559
|
"tags": [
|
|
560
560
|
{
|
|
561
561
|
"name": "since",
|
|
@@ -568,9 +568,9 @@
|
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
570
|
"name": "getLanguageCode",
|
|
571
|
-
"signature": "() =>
|
|
571
|
+
"signature": "() => any",
|
|
572
572
|
"parameters": [],
|
|
573
|
-
"returns": "
|
|
573
|
+
"returns": "any",
|
|
574
574
|
"tags": [
|
|
575
575
|
{
|
|
576
576
|
"name": "since",
|
|
@@ -583,9 +583,9 @@
|
|
|
583
583
|
},
|
|
584
584
|
{
|
|
585
585
|
"name": "getSdkVersion",
|
|
586
|
-
"signature": "() =>
|
|
586
|
+
"signature": "() => any",
|
|
587
587
|
"parameters": [],
|
|
588
|
-
"returns": "
|
|
588
|
+
"returns": "any",
|
|
589
589
|
"tags": [
|
|
590
590
|
{
|
|
591
591
|
"name": "since",
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
"type": "(event: PushMessageEvent) => void"
|
|
612
612
|
}
|
|
613
613
|
],
|
|
614
|
-
"returns": "
|
|
614
|
+
"returns": "any",
|
|
615
615
|
"tags": [
|
|
616
616
|
{
|
|
617
617
|
"name": "since",
|
|
@@ -620,8 +620,8 @@
|
|
|
620
620
|
],
|
|
621
621
|
"docs": "Called when a event is received",
|
|
622
622
|
"complexTypes": [
|
|
623
|
-
"
|
|
624
|
-
"
|
|
623
|
+
"PushMessageEvent",
|
|
624
|
+
"PluginListenerHandle"
|
|
625
625
|
],
|
|
626
626
|
"slug": "addlistenerpushmessageevent"
|
|
627
627
|
},
|
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
"type": "(information: SilentPushMessageInformation) => void"
|
|
641
641
|
}
|
|
642
642
|
],
|
|
643
|
-
"returns": "
|
|
643
|
+
"returns": "any",
|
|
644
644
|
"tags": [
|
|
645
645
|
{
|
|
646
646
|
"name": "since",
|
|
@@ -649,16 +649,16 @@
|
|
|
649
649
|
],
|
|
650
650
|
"docs": "Called when a silent push message is received",
|
|
651
651
|
"complexTypes": [
|
|
652
|
-
"
|
|
653
|
-
"
|
|
652
|
+
"SilentPushMessageInformation",
|
|
653
|
+
"PluginListenerHandle"
|
|
654
654
|
],
|
|
655
655
|
"slug": "addlistenersilentpushmessageinformation"
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
658
|
"name": "removeAllListeners",
|
|
659
|
-
"signature": "() =>
|
|
659
|
+
"signature": "() => any",
|
|
660
660
|
"parameters": [],
|
|
661
|
-
"returns": "
|
|
661
|
+
"returns": "any",
|
|
662
662
|
"tags": [
|
|
663
663
|
{
|
|
664
664
|
"name": "since",
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
"complexTypes": [
|
|
774
774
|
"CardItem"
|
|
775
775
|
],
|
|
776
|
-
"type": "
|
|
776
|
+
"type": "{}"
|
|
777
777
|
}
|
|
778
778
|
]
|
|
779
779
|
},
|
|
@@ -877,73 +877,79 @@
|
|
|
877
877
|
]
|
|
878
878
|
},
|
|
879
879
|
{
|
|
880
|
-
"name": "
|
|
881
|
-
"slug": "
|
|
880
|
+
"name": "RecommendedProductOptions",
|
|
881
|
+
"slug": "recommendedproductoptions",
|
|
882
882
|
"docs": "",
|
|
883
883
|
"tags": [],
|
|
884
884
|
"methods": [],
|
|
885
885
|
"properties": [
|
|
886
886
|
{
|
|
887
|
-
"name": "
|
|
887
|
+
"name": "logic",
|
|
888
888
|
"tags": [
|
|
889
889
|
{
|
|
890
890
|
"text": "1.0.0",
|
|
891
891
|
"name": "since"
|
|
892
892
|
}
|
|
893
893
|
],
|
|
894
|
-
"docs": "",
|
|
894
|
+
"docs": "The logic that should be used.",
|
|
895
895
|
"complexTypes": [
|
|
896
|
-
"
|
|
896
|
+
"RecommendedProductLogic"
|
|
897
897
|
],
|
|
898
|
-
"type": "
|
|
899
|
-
}
|
|
900
|
-
]
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"name": "Product",
|
|
904
|
-
"slug": "product",
|
|
905
|
-
"docs": "",
|
|
906
|
-
"tags": [],
|
|
907
|
-
"methods": [],
|
|
908
|
-
"properties": [
|
|
898
|
+
"type": "RecommendedProductLogic"
|
|
899
|
+
},
|
|
909
900
|
{
|
|
910
|
-
"name": "
|
|
901
|
+
"name": "filter",
|
|
911
902
|
"tags": [
|
|
912
903
|
{
|
|
913
904
|
"text": "1.0.0",
|
|
914
905
|
"name": "since"
|
|
915
906
|
}
|
|
916
907
|
],
|
|
917
|
-
"docs": "",
|
|
918
|
-
"complexTypes": [
|
|
919
|
-
|
|
908
|
+
"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.",
|
|
909
|
+
"complexTypes": [
|
|
910
|
+
"RecommendedProductFilter"
|
|
911
|
+
],
|
|
912
|
+
"type": "{} | undefined"
|
|
920
913
|
},
|
|
921
914
|
{
|
|
922
|
-
"name": "
|
|
915
|
+
"name": "limit",
|
|
923
916
|
"tags": [
|
|
917
|
+
{
|
|
918
|
+
"text": "5",
|
|
919
|
+
"name": "default"
|
|
920
|
+
},
|
|
924
921
|
{
|
|
925
922
|
"text": "1.0.0",
|
|
926
923
|
"name": "since"
|
|
927
924
|
}
|
|
928
925
|
],
|
|
929
|
-
"docs": "",
|
|
926
|
+
"docs": "You can limit the number of recommended products received by defining a `limit`.",
|
|
930
927
|
"complexTypes": [],
|
|
931
|
-
"type": "
|
|
928
|
+
"type": "number | undefined"
|
|
932
929
|
},
|
|
933
930
|
{
|
|
934
|
-
"name": "
|
|
931
|
+
"name": "availabilityZone",
|
|
935
932
|
"tags": [
|
|
936
933
|
{
|
|
937
934
|
"text": "1.0.0",
|
|
938
935
|
"name": "since"
|
|
939
936
|
}
|
|
940
937
|
],
|
|
941
|
-
"docs": "",
|
|
938
|
+
"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.",
|
|
942
939
|
"complexTypes": [],
|
|
943
|
-
"type": "string"
|
|
944
|
-
}
|
|
940
|
+
"type": "string | undefined"
|
|
941
|
+
}
|
|
942
|
+
]
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "RecommendedProductSearchLogic",
|
|
946
|
+
"slug": "recommendedproductsearchlogic",
|
|
947
|
+
"docs": "Based on `searchTerm`",
|
|
948
|
+
"tags": [],
|
|
949
|
+
"methods": [],
|
|
950
|
+
"properties": [
|
|
945
951
|
{
|
|
946
|
-
"name": "
|
|
952
|
+
"name": "type",
|
|
947
953
|
"tags": [
|
|
948
954
|
{
|
|
949
955
|
"text": "1.0.0",
|
|
@@ -952,10 +958,10 @@
|
|
|
952
958
|
],
|
|
953
959
|
"docs": "",
|
|
954
960
|
"complexTypes": [],
|
|
955
|
-
"type": "
|
|
961
|
+
"type": "'search'"
|
|
956
962
|
},
|
|
957
963
|
{
|
|
958
|
-
"name": "
|
|
964
|
+
"name": "value",
|
|
959
965
|
"tags": [
|
|
960
966
|
{
|
|
961
967
|
"text": "1.0.0",
|
|
@@ -965,9 +971,18 @@
|
|
|
965
971
|
"docs": "",
|
|
966
972
|
"complexTypes": [],
|
|
967
973
|
"type": "string"
|
|
968
|
-
}
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "RecommendedProductCartLogic",
|
|
979
|
+
"slug": "recommendedproductcartlogic",
|
|
980
|
+
"docs": "Based on `cartItems`",
|
|
981
|
+
"tags": [],
|
|
982
|
+
"methods": [],
|
|
983
|
+
"properties": [
|
|
969
984
|
{
|
|
970
|
-
"name": "
|
|
985
|
+
"name": "type",
|
|
971
986
|
"tags": [
|
|
972
987
|
{
|
|
973
988
|
"text": "1.0.0",
|
|
@@ -976,10 +991,10 @@
|
|
|
976
991
|
],
|
|
977
992
|
"docs": "",
|
|
978
993
|
"complexTypes": [],
|
|
979
|
-
"type": "
|
|
994
|
+
"type": "'cart'"
|
|
980
995
|
},
|
|
981
996
|
{
|
|
982
|
-
"name": "
|
|
997
|
+
"name": "value",
|
|
983
998
|
"tags": [
|
|
984
999
|
{
|
|
985
1000
|
"text": "1.0.0",
|
|
@@ -987,11 +1002,22 @@
|
|
|
987
1002
|
}
|
|
988
1003
|
],
|
|
989
1004
|
"docs": "",
|
|
990
|
-
"complexTypes": [
|
|
991
|
-
|
|
992
|
-
|
|
1005
|
+
"complexTypes": [
|
|
1006
|
+
"CardItem"
|
|
1007
|
+
],
|
|
1008
|
+
"type": "{}"
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "RecommendedProductRelatedLogic",
|
|
1014
|
+
"slug": "recommendedproductrelatedlogic",
|
|
1015
|
+
"docs": "Based on `itemViewId`",
|
|
1016
|
+
"tags": [],
|
|
1017
|
+
"methods": [],
|
|
1018
|
+
"properties": [
|
|
993
1019
|
{
|
|
994
|
-
"name": "
|
|
1020
|
+
"name": "type",
|
|
995
1021
|
"tags": [
|
|
996
1022
|
{
|
|
997
1023
|
"text": "1.0.0",
|
|
@@ -1000,10 +1026,10 @@
|
|
|
1000
1026
|
],
|
|
1001
1027
|
"docs": "",
|
|
1002
1028
|
"complexTypes": [],
|
|
1003
|
-
"type": "
|
|
1029
|
+
"type": "'related'"
|
|
1004
1030
|
},
|
|
1005
1031
|
{
|
|
1006
|
-
"name": "
|
|
1032
|
+
"name": "value",
|
|
1007
1033
|
"tags": [
|
|
1008
1034
|
{
|
|
1009
1035
|
"text": "1.0.0",
|
|
@@ -1012,10 +1038,19 @@
|
|
|
1012
1038
|
],
|
|
1013
1039
|
"docs": "",
|
|
1014
1040
|
"complexTypes": [],
|
|
1015
|
-
"type": "string
|
|
1016
|
-
}
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
}
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "RecommendedProductCategoryLogic",
|
|
1047
|
+
"slug": "recommendedproductcategorylogic",
|
|
1048
|
+
"docs": "Based on `categoryPath`",
|
|
1049
|
+
"tags": [],
|
|
1050
|
+
"methods": [],
|
|
1051
|
+
"properties": [
|
|
1017
1052
|
{
|
|
1018
|
-
"name": "
|
|
1053
|
+
"name": "type",
|
|
1019
1054
|
"tags": [
|
|
1020
1055
|
{
|
|
1021
1056
|
"text": "1.0.0",
|
|
@@ -1024,10 +1059,10 @@
|
|
|
1024
1059
|
],
|
|
1025
1060
|
"docs": "",
|
|
1026
1061
|
"complexTypes": [],
|
|
1027
|
-
"type": "
|
|
1062
|
+
"type": "'category'"
|
|
1028
1063
|
},
|
|
1029
1064
|
{
|
|
1030
|
-
"name": "
|
|
1065
|
+
"name": "value",
|
|
1031
1066
|
"tags": [
|
|
1032
1067
|
{
|
|
1033
1068
|
"text": "1.0.0",
|
|
@@ -1036,10 +1071,19 @@
|
|
|
1036
1071
|
],
|
|
1037
1072
|
"docs": "",
|
|
1038
1073
|
"complexTypes": [],
|
|
1039
|
-
"type": "string
|
|
1040
|
-
}
|
|
1074
|
+
"type": "string"
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "RecommendedProductAlsoBoughtLogic",
|
|
1080
|
+
"slug": "recommendedproductalsoboughtlogic",
|
|
1081
|
+
"docs": "Based on `itemViewId`",
|
|
1082
|
+
"tags": [],
|
|
1083
|
+
"methods": [],
|
|
1084
|
+
"properties": [
|
|
1041
1085
|
{
|
|
1042
|
-
"name": "
|
|
1086
|
+
"name": "type",
|
|
1043
1087
|
"tags": [
|
|
1044
1088
|
{
|
|
1045
1089
|
"text": "1.0.0",
|
|
@@ -1048,10 +1092,10 @@
|
|
|
1048
1092
|
],
|
|
1049
1093
|
"docs": "",
|
|
1050
1094
|
"complexTypes": [],
|
|
1051
|
-
"type": "
|
|
1095
|
+
"type": "'also_bought'"
|
|
1052
1096
|
},
|
|
1053
1097
|
{
|
|
1054
|
-
"name": "
|
|
1098
|
+
"name": "value",
|
|
1055
1099
|
"tags": [
|
|
1056
1100
|
{
|
|
1057
1101
|
"text": "1.0.0",
|
|
@@ -1060,10 +1104,19 @@
|
|
|
1060
1104
|
],
|
|
1061
1105
|
"docs": "",
|
|
1062
1106
|
"complexTypes": [],
|
|
1063
|
-
"type": "
|
|
1064
|
-
}
|
|
1107
|
+
"type": "string"
|
|
1108
|
+
}
|
|
1109
|
+
]
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"name": "RecommendedProductPopularLogic",
|
|
1113
|
+
"slug": "recommendedproductpopularlogic",
|
|
1114
|
+
"docs": "Based on `categoryPath`",
|
|
1115
|
+
"tags": [],
|
|
1116
|
+
"methods": [],
|
|
1117
|
+
"properties": [
|
|
1065
1118
|
{
|
|
1066
|
-
"name": "
|
|
1119
|
+
"name": "type",
|
|
1067
1120
|
"tags": [
|
|
1068
1121
|
{
|
|
1069
1122
|
"text": "1.0.0",
|
|
@@ -1072,10 +1125,10 @@
|
|
|
1072
1125
|
],
|
|
1073
1126
|
"docs": "",
|
|
1074
1127
|
"complexTypes": [],
|
|
1075
|
-
"type": "
|
|
1128
|
+
"type": "'popular'"
|
|
1076
1129
|
},
|
|
1077
1130
|
{
|
|
1078
|
-
"name": "
|
|
1131
|
+
"name": "value",
|
|
1079
1132
|
"tags": [
|
|
1080
1133
|
{
|
|
1081
1134
|
"text": "1.0.0",
|
|
@@ -1084,10 +1137,19 @@
|
|
|
1084
1137
|
],
|
|
1085
1138
|
"docs": "",
|
|
1086
1139
|
"complexTypes": [],
|
|
1087
|
-
"type": "string
|
|
1088
|
-
}
|
|
1140
|
+
"type": "string"
|
|
1141
|
+
}
|
|
1142
|
+
]
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "RecommendedProductPersonalLogic",
|
|
1146
|
+
"slug": "recommendedproductpersonallogic",
|
|
1147
|
+
"docs": "Based on based on current browsing and activity\n\nOptionally based on the variants",
|
|
1148
|
+
"tags": [],
|
|
1149
|
+
"methods": [],
|
|
1150
|
+
"properties": [
|
|
1089
1151
|
{
|
|
1090
|
-
"name": "
|
|
1152
|
+
"name": "type",
|
|
1091
1153
|
"tags": [
|
|
1092
1154
|
{
|
|
1093
1155
|
"text": "1.0.0",
|
|
@@ -1096,10 +1158,10 @@
|
|
|
1096
1158
|
],
|
|
1097
1159
|
"docs": "",
|
|
1098
1160
|
"complexTypes": [],
|
|
1099
|
-
"type": "
|
|
1161
|
+
"type": "'personal'"
|
|
1100
1162
|
},
|
|
1101
1163
|
{
|
|
1102
|
-
"name": "
|
|
1164
|
+
"name": "value",
|
|
1103
1165
|
"tags": [
|
|
1104
1166
|
{
|
|
1105
1167
|
"text": "1.0.0",
|
|
@@ -1108,10 +1170,19 @@
|
|
|
1108
1170
|
],
|
|
1109
1171
|
"docs": "",
|
|
1110
1172
|
"complexTypes": [],
|
|
1111
|
-
"type": "
|
|
1112
|
-
}
|
|
1173
|
+
"type": "{} | undefined"
|
|
1174
|
+
}
|
|
1175
|
+
]
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "RecommendedProductHomeLogic",
|
|
1179
|
+
"slug": "recommendedproducthomelogic",
|
|
1180
|
+
"docs": "Based on most recent browsing behaviour\n\nOptionally based on the variants",
|
|
1181
|
+
"tags": [],
|
|
1182
|
+
"methods": [],
|
|
1183
|
+
"properties": [
|
|
1113
1184
|
{
|
|
1114
|
-
"name": "
|
|
1185
|
+
"name": "type",
|
|
1115
1186
|
"tags": [
|
|
1116
1187
|
{
|
|
1117
1188
|
"text": "1.0.0",
|
|
@@ -1120,10 +1191,10 @@
|
|
|
1120
1191
|
],
|
|
1121
1192
|
"docs": "",
|
|
1122
1193
|
"complexTypes": [],
|
|
1123
|
-
"type": "
|
|
1194
|
+
"type": "'home'"
|
|
1124
1195
|
},
|
|
1125
1196
|
{
|
|
1126
|
-
"name": "
|
|
1197
|
+
"name": "value",
|
|
1127
1198
|
"tags": [
|
|
1128
1199
|
{
|
|
1129
1200
|
"text": "1.0.0",
|
|
@@ -1132,84 +1203,80 @@
|
|
|
1132
1203
|
],
|
|
1133
1204
|
"docs": "",
|
|
1134
1205
|
"complexTypes": [],
|
|
1135
|
-
"type": "
|
|
1206
|
+
"type": "{} | undefined"
|
|
1136
1207
|
}
|
|
1137
1208
|
]
|
|
1138
1209
|
},
|
|
1139
1210
|
{
|
|
1140
|
-
"name": "
|
|
1141
|
-
"slug": "
|
|
1211
|
+
"name": "RecommendedProductValueFilter",
|
|
1212
|
+
"slug": "recommendedproductvaluefilter",
|
|
1142
1213
|
"docs": "",
|
|
1143
1214
|
"tags": [],
|
|
1144
1215
|
"methods": [],
|
|
1145
1216
|
"properties": [
|
|
1146
1217
|
{
|
|
1147
|
-
"name": "
|
|
1218
|
+
"name": "filterType",
|
|
1148
1219
|
"tags": [
|
|
1149
1220
|
{
|
|
1150
1221
|
"text": "1.0.0",
|
|
1151
1222
|
"name": "since"
|
|
1152
1223
|
}
|
|
1153
1224
|
],
|
|
1154
|
-
"docs": "
|
|
1225
|
+
"docs": "",
|
|
1155
1226
|
"complexTypes": [
|
|
1156
|
-
"
|
|
1227
|
+
"RecommendedProductFilterType"
|
|
1157
1228
|
],
|
|
1158
|
-
"type": "
|
|
1229
|
+
"type": "RecommendedProductFilterType"
|
|
1159
1230
|
},
|
|
1160
1231
|
{
|
|
1161
|
-
"name": "
|
|
1232
|
+
"name": "comparatorType",
|
|
1162
1233
|
"tags": [
|
|
1163
1234
|
{
|
|
1164
1235
|
"text": "1.0.0",
|
|
1165
1236
|
"name": "since"
|
|
1166
1237
|
}
|
|
1167
1238
|
],
|
|
1168
|
-
"docs": "
|
|
1239
|
+
"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)",
|
|
1169
1240
|
"complexTypes": [
|
|
1170
|
-
"
|
|
1241
|
+
"RecommendedProductValueFilterComparatorType"
|
|
1171
1242
|
],
|
|
1172
|
-
"type": "
|
|
1243
|
+
"type": "RecommendedProductValueFilterComparatorType"
|
|
1173
1244
|
},
|
|
1174
1245
|
{
|
|
1175
|
-
"name": "
|
|
1246
|
+
"name": "field",
|
|
1176
1247
|
"tags": [
|
|
1177
|
-
{
|
|
1178
|
-
"text": "5",
|
|
1179
|
-
"name": "default"
|
|
1180
|
-
},
|
|
1181
1248
|
{
|
|
1182
1249
|
"text": "1.0.0",
|
|
1183
1250
|
"name": "since"
|
|
1184
1251
|
}
|
|
1185
1252
|
],
|
|
1186
|
-
"docs": "
|
|
1253
|
+
"docs": "",
|
|
1187
1254
|
"complexTypes": [],
|
|
1188
|
-
"type": "
|
|
1255
|
+
"type": "string"
|
|
1189
1256
|
},
|
|
1190
1257
|
{
|
|
1191
|
-
"name": "
|
|
1258
|
+
"name": "value",
|
|
1192
1259
|
"tags": [
|
|
1193
1260
|
{
|
|
1194
1261
|
"text": "1.0.0",
|
|
1195
1262
|
"name": "since"
|
|
1196
1263
|
}
|
|
1197
1264
|
],
|
|
1198
|
-
"docs": "
|
|
1265
|
+
"docs": "",
|
|
1199
1266
|
"complexTypes": [],
|
|
1200
|
-
"type": "string
|
|
1267
|
+
"type": "string"
|
|
1201
1268
|
}
|
|
1202
1269
|
]
|
|
1203
1270
|
},
|
|
1204
1271
|
{
|
|
1205
|
-
"name": "
|
|
1206
|
-
"slug": "
|
|
1207
|
-
"docs": "
|
|
1272
|
+
"name": "RecommendedProductArrayFilter",
|
|
1273
|
+
"slug": "recommendedproductarrayfilter",
|
|
1274
|
+
"docs": "",
|
|
1208
1275
|
"tags": [],
|
|
1209
1276
|
"methods": [],
|
|
1210
1277
|
"properties": [
|
|
1211
1278
|
{
|
|
1212
|
-
"name": "
|
|
1279
|
+
"name": "filterType",
|
|
1213
1280
|
"tags": [
|
|
1214
1281
|
{
|
|
1215
1282
|
"text": "1.0.0",
|
|
@@ -1217,32 +1284,27 @@
|
|
|
1217
1284
|
}
|
|
1218
1285
|
],
|
|
1219
1286
|
"docs": "",
|
|
1220
|
-
"complexTypes": [
|
|
1221
|
-
|
|
1287
|
+
"complexTypes": [
|
|
1288
|
+
"RecommendedProductFilterType"
|
|
1289
|
+
],
|
|
1290
|
+
"type": "RecommendedProductFilterType"
|
|
1222
1291
|
},
|
|
1223
1292
|
{
|
|
1224
|
-
"name": "
|
|
1293
|
+
"name": "comparatorType",
|
|
1225
1294
|
"tags": [
|
|
1226
1295
|
{
|
|
1227
1296
|
"text": "1.0.0",
|
|
1228
1297
|
"name": "since"
|
|
1229
1298
|
}
|
|
1230
1299
|
],
|
|
1231
|
-
"docs": "",
|
|
1232
|
-
"complexTypes": [
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
{
|
|
1238
|
-
"name": "RecommendedProductCartLogic",
|
|
1239
|
-
"slug": "recommendedproductcartlogic",
|
|
1240
|
-
"docs": "Based on `cartItems`",
|
|
1241
|
-
"tags": [],
|
|
1242
|
-
"methods": [],
|
|
1243
|
-
"properties": [
|
|
1300
|
+
"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)",
|
|
1301
|
+
"complexTypes": [
|
|
1302
|
+
"RecommendedProductArrayFilterComparatorType"
|
|
1303
|
+
],
|
|
1304
|
+
"type": "RecommendedProductArrayFilterComparatorType"
|
|
1305
|
+
},
|
|
1244
1306
|
{
|
|
1245
|
-
"name": "
|
|
1307
|
+
"name": "field",
|
|
1246
1308
|
"tags": [
|
|
1247
1309
|
{
|
|
1248
1310
|
"text": "1.0.0",
|
|
@@ -1251,7 +1313,7 @@
|
|
|
1251
1313
|
],
|
|
1252
1314
|
"docs": "",
|
|
1253
1315
|
"complexTypes": [],
|
|
1254
|
-
"type": "
|
|
1316
|
+
"type": "string"
|
|
1255
1317
|
},
|
|
1256
1318
|
{
|
|
1257
1319
|
"name": "value",
|
|
@@ -1262,22 +1324,20 @@
|
|
|
1262
1324
|
}
|
|
1263
1325
|
],
|
|
1264
1326
|
"docs": "",
|
|
1265
|
-
"complexTypes": [
|
|
1266
|
-
|
|
1267
|
-
],
|
|
1268
|
-
"type": "CardItem[]"
|
|
1327
|
+
"complexTypes": [],
|
|
1328
|
+
"type": "{}"
|
|
1269
1329
|
}
|
|
1270
1330
|
]
|
|
1271
1331
|
},
|
|
1272
1332
|
{
|
|
1273
|
-
"name": "
|
|
1274
|
-
"slug": "
|
|
1275
|
-
"docs": "
|
|
1333
|
+
"name": "RecommendedProducts",
|
|
1334
|
+
"slug": "recommendedproducts",
|
|
1335
|
+
"docs": "",
|
|
1276
1336
|
"tags": [],
|
|
1277
1337
|
"methods": [],
|
|
1278
1338
|
"properties": [
|
|
1279
1339
|
{
|
|
1280
|
-
"name": "
|
|
1340
|
+
"name": "products",
|
|
1281
1341
|
"tags": [
|
|
1282
1342
|
{
|
|
1283
1343
|
"text": "1.0.0",
|
|
@@ -1285,11 +1345,22 @@
|
|
|
1285
1345
|
}
|
|
1286
1346
|
],
|
|
1287
1347
|
"docs": "",
|
|
1288
|
-
"complexTypes": [
|
|
1289
|
-
|
|
1290
|
-
|
|
1348
|
+
"complexTypes": [
|
|
1349
|
+
"Product"
|
|
1350
|
+
],
|
|
1351
|
+
"type": "{}"
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "Product",
|
|
1357
|
+
"slug": "product",
|
|
1358
|
+
"docs": "",
|
|
1359
|
+
"tags": [],
|
|
1360
|
+
"methods": [],
|
|
1361
|
+
"properties": [
|
|
1291
1362
|
{
|
|
1292
|
-
"name": "
|
|
1363
|
+
"name": "productId",
|
|
1293
1364
|
"tags": [
|
|
1294
1365
|
{
|
|
1295
1366
|
"text": "1.0.0",
|
|
@@ -1299,18 +1370,9 @@
|
|
|
1299
1370
|
"docs": "",
|
|
1300
1371
|
"complexTypes": [],
|
|
1301
1372
|
"type": "string"
|
|
1302
|
-
}
|
|
1303
|
-
]
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"name": "RecommendedProductCategoryLogic",
|
|
1307
|
-
"slug": "recommendedproductcategorylogic",
|
|
1308
|
-
"docs": "Based on `categoryPath`",
|
|
1309
|
-
"tags": [],
|
|
1310
|
-
"methods": [],
|
|
1311
|
-
"properties": [
|
|
1373
|
+
},
|
|
1312
1374
|
{
|
|
1313
|
-
"name": "
|
|
1375
|
+
"name": "title",
|
|
1314
1376
|
"tags": [
|
|
1315
1377
|
{
|
|
1316
1378
|
"text": "1.0.0",
|
|
@@ -1319,10 +1381,10 @@
|
|
|
1319
1381
|
],
|
|
1320
1382
|
"docs": "",
|
|
1321
1383
|
"complexTypes": [],
|
|
1322
|
-
"type": "
|
|
1384
|
+
"type": "string"
|
|
1323
1385
|
},
|
|
1324
1386
|
{
|
|
1325
|
-
"name": "
|
|
1387
|
+
"name": "linkUrl",
|
|
1326
1388
|
"tags": [
|
|
1327
1389
|
{
|
|
1328
1390
|
"text": "1.0.0",
|
|
@@ -1332,18 +1394,9 @@
|
|
|
1332
1394
|
"docs": "",
|
|
1333
1395
|
"complexTypes": [],
|
|
1334
1396
|
"type": "string"
|
|
1335
|
-
}
|
|
1336
|
-
]
|
|
1337
|
-
},
|
|
1338
|
-
{
|
|
1339
|
-
"name": "RecommendedProductAlsoBoughtLogic",
|
|
1340
|
-
"slug": "recommendedproductalsoboughtlogic",
|
|
1341
|
-
"docs": "Based on `itemViewId`",
|
|
1342
|
-
"tags": [],
|
|
1343
|
-
"methods": [],
|
|
1344
|
-
"properties": [
|
|
1397
|
+
},
|
|
1345
1398
|
{
|
|
1346
|
-
"name": "
|
|
1399
|
+
"name": "customFields",
|
|
1347
1400
|
"tags": [
|
|
1348
1401
|
{
|
|
1349
1402
|
"text": "1.0.0",
|
|
@@ -1352,10 +1405,10 @@
|
|
|
1352
1405
|
],
|
|
1353
1406
|
"docs": "",
|
|
1354
1407
|
"complexTypes": [],
|
|
1355
|
-
"type": "
|
|
1408
|
+
"type": "{ [key: string]: any; }"
|
|
1356
1409
|
},
|
|
1357
1410
|
{
|
|
1358
|
-
"name": "
|
|
1411
|
+
"name": "feature",
|
|
1359
1412
|
"tags": [
|
|
1360
1413
|
{
|
|
1361
1414
|
"text": "1.0.0",
|
|
@@ -1365,18 +1418,9 @@
|
|
|
1365
1418
|
"docs": "",
|
|
1366
1419
|
"complexTypes": [],
|
|
1367
1420
|
"type": "string"
|
|
1368
|
-
}
|
|
1369
|
-
]
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "RecommendedProductPopularLogic",
|
|
1373
|
-
"slug": "recommendedproductpopularlogic",
|
|
1374
|
-
"docs": "Based on `categoryPath`",
|
|
1375
|
-
"tags": [],
|
|
1376
|
-
"methods": [],
|
|
1377
|
-
"properties": [
|
|
1421
|
+
},
|
|
1378
1422
|
{
|
|
1379
|
-
"name": "
|
|
1423
|
+
"name": "cohort",
|
|
1380
1424
|
"tags": [
|
|
1381
1425
|
{
|
|
1382
1426
|
"text": "1.0.0",
|
|
@@ -1385,10 +1429,10 @@
|
|
|
1385
1429
|
],
|
|
1386
1430
|
"docs": "",
|
|
1387
1431
|
"complexTypes": [],
|
|
1388
|
-
"type": "
|
|
1432
|
+
"type": "string"
|
|
1389
1433
|
},
|
|
1390
1434
|
{
|
|
1391
|
-
"name": "
|
|
1435
|
+
"name": "imageUrl",
|
|
1392
1436
|
"tags": [
|
|
1393
1437
|
{
|
|
1394
1438
|
"text": "1.0.0",
|
|
@@ -1397,19 +1441,10 @@
|
|
|
1397
1441
|
],
|
|
1398
1442
|
"docs": "",
|
|
1399
1443
|
"complexTypes": [],
|
|
1400
|
-
"type": "string"
|
|
1401
|
-
}
|
|
1402
|
-
]
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
"name": "RecommendedProductPersonalLogic",
|
|
1406
|
-
"slug": "recommendedproductpersonallogic",
|
|
1407
|
-
"docs": "Based on based on current browsing and activity\n\nOptionally based on the variants",
|
|
1408
|
-
"tags": [],
|
|
1409
|
-
"methods": [],
|
|
1410
|
-
"properties": [
|
|
1444
|
+
"type": "string | undefined"
|
|
1445
|
+
},
|
|
1411
1446
|
{
|
|
1412
|
-
"name": "
|
|
1447
|
+
"name": "zoomImageUrl",
|
|
1413
1448
|
"tags": [
|
|
1414
1449
|
{
|
|
1415
1450
|
"text": "1.0.0",
|
|
@@ -1418,10 +1453,10 @@
|
|
|
1418
1453
|
],
|
|
1419
1454
|
"docs": "",
|
|
1420
1455
|
"complexTypes": [],
|
|
1421
|
-
"type": "
|
|
1456
|
+
"type": "string | undefined"
|
|
1422
1457
|
},
|
|
1423
1458
|
{
|
|
1424
|
-
"name": "
|
|
1459
|
+
"name": "categoryPath",
|
|
1425
1460
|
"tags": [
|
|
1426
1461
|
{
|
|
1427
1462
|
"text": "1.0.0",
|
|
@@ -1430,19 +1465,10 @@
|
|
|
1430
1465
|
],
|
|
1431
1466
|
"docs": "",
|
|
1432
1467
|
"complexTypes": [],
|
|
1433
|
-
"type": "string
|
|
1434
|
-
}
|
|
1435
|
-
]
|
|
1436
|
-
},
|
|
1437
|
-
{
|
|
1438
|
-
"name": "RecommendedProductHomeLogic",
|
|
1439
|
-
"slug": "recommendedproducthomelogic",
|
|
1440
|
-
"docs": "Based on most recent browsing behaviour\n\nOptionally based on the variants",
|
|
1441
|
-
"tags": [],
|
|
1442
|
-
"methods": [],
|
|
1443
|
-
"properties": [
|
|
1468
|
+
"type": "string | undefined"
|
|
1469
|
+
},
|
|
1444
1470
|
{
|
|
1445
|
-
"name": "
|
|
1471
|
+
"name": "available",
|
|
1446
1472
|
"tags": [
|
|
1447
1473
|
{
|
|
1448
1474
|
"text": "1.0.0",
|
|
@@ -1451,10 +1477,10 @@
|
|
|
1451
1477
|
],
|
|
1452
1478
|
"docs": "",
|
|
1453
1479
|
"complexTypes": [],
|
|
1454
|
-
"type": "
|
|
1480
|
+
"type": "number | undefined"
|
|
1455
1481
|
},
|
|
1456
1482
|
{
|
|
1457
|
-
"name": "
|
|
1483
|
+
"name": "productDescription",
|
|
1458
1484
|
"tags": [
|
|
1459
1485
|
{
|
|
1460
1486
|
"text": "1.0.0",
|
|
@@ -1463,19 +1489,10 @@
|
|
|
1463
1489
|
],
|
|
1464
1490
|
"docs": "",
|
|
1465
1491
|
"complexTypes": [],
|
|
1466
|
-
"type": "string
|
|
1467
|
-
}
|
|
1468
|
-
]
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"name": "RecommendedProductValueFilter",
|
|
1472
|
-
"slug": "recommendedproductvaluefilter",
|
|
1473
|
-
"docs": "",
|
|
1474
|
-
"tags": [],
|
|
1475
|
-
"methods": [],
|
|
1476
|
-
"properties": [
|
|
1492
|
+
"type": "string | undefined"
|
|
1493
|
+
},
|
|
1477
1494
|
{
|
|
1478
|
-
"name": "
|
|
1495
|
+
"name": "price",
|
|
1479
1496
|
"tags": [
|
|
1480
1497
|
{
|
|
1481
1498
|
"text": "1.0.0",
|
|
@@ -1483,27 +1500,23 @@
|
|
|
1483
1500
|
}
|
|
1484
1501
|
],
|
|
1485
1502
|
"docs": "",
|
|
1486
|
-
"complexTypes": [
|
|
1487
|
-
|
|
1488
|
-
],
|
|
1489
|
-
"type": "RecommendedProductFilterType"
|
|
1503
|
+
"complexTypes": [],
|
|
1504
|
+
"type": "number | undefined"
|
|
1490
1505
|
},
|
|
1491
1506
|
{
|
|
1492
|
-
"name": "
|
|
1507
|
+
"name": "msrp",
|
|
1493
1508
|
"tags": [
|
|
1494
1509
|
{
|
|
1495
1510
|
"text": "1.0.0",
|
|
1496
1511
|
"name": "since"
|
|
1497
1512
|
}
|
|
1498
1513
|
],
|
|
1499
|
-
"docs": "
|
|
1500
|
-
"complexTypes": [
|
|
1501
|
-
|
|
1502
|
-
],
|
|
1503
|
-
"type": "RecommendedProductValueFilterComparatorType"
|
|
1514
|
+
"docs": "",
|
|
1515
|
+
"complexTypes": [],
|
|
1516
|
+
"type": "number | undefined"
|
|
1504
1517
|
},
|
|
1505
1518
|
{
|
|
1506
|
-
"name": "
|
|
1519
|
+
"name": "album",
|
|
1507
1520
|
"tags": [
|
|
1508
1521
|
{
|
|
1509
1522
|
"text": "1.0.0",
|
|
@@ -1512,10 +1525,10 @@
|
|
|
1512
1525
|
],
|
|
1513
1526
|
"docs": "",
|
|
1514
1527
|
"complexTypes": [],
|
|
1515
|
-
"type": "string"
|
|
1528
|
+
"type": "string | undefined"
|
|
1516
1529
|
},
|
|
1517
1530
|
{
|
|
1518
|
-
"name": "
|
|
1531
|
+
"name": "actor",
|
|
1519
1532
|
"tags": [
|
|
1520
1533
|
{
|
|
1521
1534
|
"text": "1.0.0",
|
|
@@ -1524,19 +1537,10 @@
|
|
|
1524
1537
|
],
|
|
1525
1538
|
"docs": "",
|
|
1526
1539
|
"complexTypes": [],
|
|
1527
|
-
"type": "string"
|
|
1528
|
-
}
|
|
1529
|
-
]
|
|
1530
|
-
},
|
|
1531
|
-
{
|
|
1532
|
-
"name": "RecommendedProductArrayFilter",
|
|
1533
|
-
"slug": "recommendedproductarrayfilter",
|
|
1534
|
-
"docs": "",
|
|
1535
|
-
"tags": [],
|
|
1536
|
-
"methods": [],
|
|
1537
|
-
"properties": [
|
|
1540
|
+
"type": "string | undefined"
|
|
1541
|
+
},
|
|
1538
1542
|
{
|
|
1539
|
-
"name": "
|
|
1543
|
+
"name": "artist",
|
|
1540
1544
|
"tags": [
|
|
1541
1545
|
{
|
|
1542
1546
|
"text": "1.0.0",
|
|
@@ -1544,27 +1548,23 @@
|
|
|
1544
1548
|
}
|
|
1545
1549
|
],
|
|
1546
1550
|
"docs": "",
|
|
1547
|
-
"complexTypes": [
|
|
1548
|
-
|
|
1549
|
-
],
|
|
1550
|
-
"type": "RecommendedProductFilterType"
|
|
1551
|
+
"complexTypes": [],
|
|
1552
|
+
"type": "string | undefined"
|
|
1551
1553
|
},
|
|
1552
1554
|
{
|
|
1553
|
-
"name": "
|
|
1555
|
+
"name": "author",
|
|
1554
1556
|
"tags": [
|
|
1555
1557
|
{
|
|
1556
1558
|
"text": "1.0.0",
|
|
1557
1559
|
"name": "since"
|
|
1558
1560
|
}
|
|
1559
1561
|
],
|
|
1560
|
-
"docs": "
|
|
1561
|
-
"complexTypes": [
|
|
1562
|
-
|
|
1563
|
-
],
|
|
1564
|
-
"type": "RecommendedProductArrayFilterComparatorType"
|
|
1562
|
+
"docs": "",
|
|
1563
|
+
"complexTypes": [],
|
|
1564
|
+
"type": "string | undefined"
|
|
1565
1565
|
},
|
|
1566
1566
|
{
|
|
1567
|
-
"name": "
|
|
1567
|
+
"name": "brand",
|
|
1568
1568
|
"tags": [
|
|
1569
1569
|
{
|
|
1570
1570
|
"text": "1.0.0",
|
|
@@ -1573,10 +1573,10 @@
|
|
|
1573
1573
|
],
|
|
1574
1574
|
"docs": "",
|
|
1575
1575
|
"complexTypes": [],
|
|
1576
|
-
"type": "string"
|
|
1576
|
+
"type": "string | undefined"
|
|
1577
1577
|
},
|
|
1578
1578
|
{
|
|
1579
|
-
"name": "
|
|
1579
|
+
"name": "year",
|
|
1580
1580
|
"tags": [
|
|
1581
1581
|
{
|
|
1582
1582
|
"text": "1.0.0",
|
|
@@ -1585,7 +1585,7 @@
|
|
|
1585
1585
|
],
|
|
1586
1586
|
"docs": "",
|
|
1587
1587
|
"complexTypes": [],
|
|
1588
|
-
"type": "
|
|
1588
|
+
"type": "number | undefined"
|
|
1589
1589
|
}
|
|
1590
1590
|
]
|
|
1591
1591
|
},
|
|
@@ -1685,22 +1685,6 @@
|
|
|
1685
1685
|
}
|
|
1686
1686
|
]
|
|
1687
1687
|
},
|
|
1688
|
-
{
|
|
1689
|
-
"name": "PluginListenerHandle",
|
|
1690
|
-
"slug": "pluginlistenerhandle",
|
|
1691
|
-
"docs": "",
|
|
1692
|
-
"tags": [],
|
|
1693
|
-
"methods": [],
|
|
1694
|
-
"properties": [
|
|
1695
|
-
{
|
|
1696
|
-
"name": "remove",
|
|
1697
|
-
"tags": [],
|
|
1698
|
-
"docs": "",
|
|
1699
|
-
"complexTypes": [],
|
|
1700
|
-
"type": "() => Promise<void>"
|
|
1701
|
-
}
|
|
1702
|
-
]
|
|
1703
|
-
},
|
|
1704
1688
|
{
|
|
1705
1689
|
"name": "PushMessageEvent",
|
|
1706
1690
|
"slug": "pushmessageevent",
|
|
@@ -1730,7 +1714,23 @@
|
|
|
1730
1714
|
],
|
|
1731
1715
|
"docs": "",
|
|
1732
1716
|
"complexTypes": [],
|
|
1733
|
-
"type": "{
|
|
1717
|
+
"type": "{}"
|
|
1718
|
+
}
|
|
1719
|
+
]
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"name": "PluginListenerHandle",
|
|
1723
|
+
"slug": "pluginlistenerhandle",
|
|
1724
|
+
"docs": "",
|
|
1725
|
+
"tags": [],
|
|
1726
|
+
"methods": [],
|
|
1727
|
+
"properties": [
|
|
1728
|
+
{
|
|
1729
|
+
"name": "remove",
|
|
1730
|
+
"tags": [],
|
|
1731
|
+
"docs": "",
|
|
1732
|
+
"complexTypes": [],
|
|
1733
|
+
"type": "() => any"
|
|
1734
1734
|
}
|
|
1735
1735
|
]
|
|
1736
1736
|
},
|
|
@@ -1954,7 +1954,7 @@
|
|
|
1954
1954
|
"complexTypes": [
|
|
1955
1955
|
"ConsoleLogLevels"
|
|
1956
1956
|
],
|
|
1957
|
-
"type": "
|
|
1957
|
+
"type": "{} | undefined"
|
|
1958
1958
|
}
|
|
1959
1959
|
],
|
|
1960
1960
|
"docs": "The following options are available to initialize the SDK:"
|