Skip to content

Commit f15385c

Browse files
chore(deps): update dependency @har-sdk/oas to v2.11.0 (#4575) (generated)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 50456f0 commit f15385c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/bundled/insights-snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
},
223223
"pushEvents": {
224224
"pushEvents": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'click',\n eventName: 'Product Clicked',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1641290601962,\n objectIDs: ['9780545139700', '9780439784542'],\n queryID: '43b15df305339e827f0ac0bdc5ebcaa7',\n positions: [7, 6],\n },\n ],\n});",
225-
"Many events type": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'conversion',\n eventName: 'Product Purchased',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1741046400000,\n objectIDs: ['9780545139700', '9780439784542'],\n queryID: '43b15df305339e827f0ac0bdc5ebcaa7',\n },\n {\n eventType: 'view',\n eventName: 'Product Detail Page Viewed',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1741046400000,\n objectIDs: ['9780545139700', '9780439784542'],\n },\n ],\n});",
225+
"Many events type": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'conversion',\n eventName: 'Product Purchased',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1741305600000,\n objectIDs: ['9780545139700', '9780439784542'],\n queryID: '43b15df305339e827f0ac0bdc5ebcaa7',\n },\n {\n eventType: 'view',\n eventName: 'Product Detail Page Viewed',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1741305600000,\n objectIDs: ['9780545139700', '9780439784542'],\n },\n ],\n});",
226226
"ConvertedObjectIDsAfterSearch": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'conversion',\n eventName: 'Product Purchased',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1641290601962,\n objectIDs: ['9780545139700', '9780439784542'],\n queryID: '43b15df305339e827f0ac0bdc5ebcaa7',\n },\n ],\n});",
227227
"ViewedObjectIDs": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'view',\n eventName: 'Product Detail Page Viewed',\n index: 'products',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1641290601962,\n objectIDs: ['9780545139700', '9780439784542'],\n },\n ],\n});",
228228
"AddedToCartObjectIDs": "const response = await client.pushEvents({\n events: [\n {\n eventType: 'conversion',\n eventSubtype: 'addToCart',\n eventName: 'Product Added To Cart',\n index: 'products',\n queryID: '43b15df305339e827f0ac0bdc5ebcaa7',\n userToken: 'user-123456',\n authenticatedUserToken: 'user-123456',\n timestamp: 1641290601962,\n objectIDs: ['9780545139700', '9780439784542'],\n objectData: [\n { price: 19.99, quantity: 10, discount: 2.5 },\n { price: '8$', quantity: 7, discount: '30%' },\n ],\n currency: 'USD',\n },\n ],\n});"

docs/snippets/javascript/src/insights.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export async function snippetForPushEvents1(): Promise<void> {
453453
index: 'products',
454454
userToken: 'user-123456',
455455
authenticatedUserToken: 'user-123456',
456-
timestamp: 1741046400000,
456+
timestamp: 1741305600000,
457457
objectIDs: ['9780545139700', '9780439784542'],
458458
queryID: '43b15df305339e827f0ac0bdc5ebcaa7',
459459
},
@@ -463,7 +463,7 @@ export async function snippetForPushEvents1(): Promise<void> {
463463
index: 'products',
464464
userToken: 'user-123456',
465465
authenticatedUserToken: 'user-123456',
466-
timestamp: 1741046400000,
466+
timestamp: 1741305600000,
467467
objectIDs: ['9780545139700', '9780439784542'],
468468
},
469469
],

tests/output/javascript/src/e2e/insights.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('pushEvents', () => {
3030
index: 'products',
3131
userToken: 'user-123456',
3232
authenticatedUserToken: 'user-123456',
33-
timestamp: 1741046400000,
33+
timestamp: 1741305600000,
3434
objectIDs: ['9780545139700', '9780439784542'],
3535
queryID: '43b15df305339e827f0ac0bdc5ebcaa7',
3636
},
@@ -40,7 +40,7 @@ describe('pushEvents', () => {
4040
index: 'products',
4141
userToken: 'user-123456',
4242
authenticatedUserToken: 'user-123456',
43-
timestamp: 1741046400000,
43+
timestamp: 1741305600000,
4444
objectIDs: ['9780545139700', '9780439784542'],
4545
},
4646
],

tests/output/javascript/src/requests/insights.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ describe('pushEvents', () => {
311311
index: 'products',
312312
userToken: 'user-123456',
313313
authenticatedUserToken: 'user-123456',
314-
timestamp: 1741046400000,
314+
timestamp: 1741305600000,
315315
objectIDs: ['9780545139700', '9780439784542'],
316316
queryID: '43b15df305339e827f0ac0bdc5ebcaa7',
317317
},
@@ -321,7 +321,7 @@ describe('pushEvents', () => {
321321
index: 'products',
322322
userToken: 'user-123456',
323323
authenticatedUserToken: 'user-123456',
324-
timestamp: 1741046400000,
324+
timestamp: 1741305600000,
325325
objectIDs: ['9780545139700', '9780439784542'],
326326
},
327327
],
@@ -337,7 +337,7 @@ describe('pushEvents', () => {
337337
index: 'products',
338338
userToken: 'user-123456',
339339
authenticatedUserToken: 'user-123456',
340-
timestamp: 1741046400000,
340+
timestamp: 1741305600000,
341341
objectIDs: ['9780545139700', '9780439784542'],
342342
queryID: '43b15df305339e827f0ac0bdc5ebcaa7',
343343
},
@@ -347,7 +347,7 @@ describe('pushEvents', () => {
347347
index: 'products',
348348
userToken: 'user-123456',
349349
authenticatedUserToken: 'user-123456',
350-
timestamp: 1741046400000,
350+
timestamp: 1741305600000,
351351
objectIDs: ['9780545139700', '9780439784542'],
352352
},
353353
],

0 commit comments

Comments
 (0)