@wix/auto_sdk_table-reservations_experiences 1.0.15 → 1.0.16
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/build/cjs/index.js +74 -63
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +42 -34
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs +74 -63
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +42 -34
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js +74 -63
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +42 -34
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs +74 -63
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +42 -34
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1356,13 +1356,10 @@ async function createExperience2(experience) {
|
|
|
1356
1356
|
"experience.configuration.displayInfo.richContent"
|
|
1357
1357
|
]),
|
|
1358
1358
|
[
|
|
1359
|
-
{
|
|
1360
|
-
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1361
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1362
|
-
},
|
|
1363
1359
|
{
|
|
1364
1360
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
1365
1361
|
paths: [
|
|
1362
|
+
{ path: "experience.experiencePageUrl" },
|
|
1366
1363
|
{
|
|
1367
1364
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1368
1365
|
},
|
|
@@ -1370,6 +1367,10 @@ async function createExperience2(experience) {
|
|
|
1370
1367
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1371
1368
|
}
|
|
1372
1369
|
]
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1373
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1373
1374
|
}
|
|
1374
1375
|
]
|
|
1375
1376
|
);
|
|
@@ -1380,13 +1381,10 @@ async function createExperience2(experience) {
|
|
|
1380
1381
|
sideEffects?.onSuccess?.(result);
|
|
1381
1382
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1382
1383
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1383
|
-
{
|
|
1384
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1385
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1386
|
-
},
|
|
1387
1384
|
{
|
|
1388
1385
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1389
1386
|
paths: [
|
|
1387
|
+
{ path: "experience.experiencePageUrl" },
|
|
1390
1388
|
{
|
|
1391
1389
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1392
1390
|
},
|
|
@@ -1394,6 +1392,10 @@ async function createExperience2(experience) {
|
|
|
1394
1392
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1395
1393
|
}
|
|
1396
1394
|
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1398
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1397
1399
|
}
|
|
1398
1400
|
]),
|
|
1399
1401
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1425,13 +1427,10 @@ async function getExperience2(experienceId) {
|
|
|
1425
1427
|
sideEffects?.onSuccess?.(result);
|
|
1426
1428
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1427
1429
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1428
|
-
{
|
|
1429
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1430
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1431
|
-
},
|
|
1432
1430
|
{
|
|
1433
1431
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1434
1432
|
paths: [
|
|
1433
|
+
{ path: "experience.experiencePageUrl" },
|
|
1435
1434
|
{
|
|
1436
1435
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1437
1436
|
},
|
|
@@ -1439,6 +1438,10 @@ async function getExperience2(experienceId) {
|
|
|
1439
1438
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1440
1439
|
}
|
|
1441
1440
|
]
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1444
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1442
1445
|
}
|
|
1443
1446
|
]),
|
|
1444
1447
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1465,13 +1468,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1465
1468
|
["experience.configuration.displayInfo.richContent"]
|
|
1466
1469
|
),
|
|
1467
1470
|
[
|
|
1468
|
-
{
|
|
1469
|
-
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1470
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1471
|
-
},
|
|
1472
1471
|
{
|
|
1473
1472
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
1474
1473
|
paths: [
|
|
1474
|
+
{ path: "experience.experiencePageUrl" },
|
|
1475
1475
|
{
|
|
1476
1476
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1477
1477
|
},
|
|
@@ -1479,6 +1479,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1479
1479
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1480
1480
|
}
|
|
1481
1481
|
]
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1485
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1482
1486
|
}
|
|
1483
1487
|
]
|
|
1484
1488
|
);
|
|
@@ -1489,13 +1493,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1489
1493
|
sideEffects?.onSuccess?.(result);
|
|
1490
1494
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1491
1495
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1492
|
-
{
|
|
1493
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1494
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1495
|
-
},
|
|
1496
1496
|
{
|
|
1497
1497
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1498
1498
|
paths: [
|
|
1499
|
+
{ path: "experience.experiencePageUrl" },
|
|
1499
1500
|
{
|
|
1500
1501
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1501
1502
|
},
|
|
@@ -1503,6 +1504,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1503
1504
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1504
1505
|
}
|
|
1505
1506
|
]
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1510
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1506
1511
|
}
|
|
1507
1512
|
]),
|
|
1508
1513
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1546,15 +1551,10 @@ function queryExperiences2() {
|
|
|
1546
1551
|
responseTransformer: ({ data }) => {
|
|
1547
1552
|
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1548
1553
|
(0, import_transform_paths2.transformPaths)(data, [
|
|
1549
|
-
{
|
|
1550
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1551
|
-
paths: [
|
|
1552
|
-
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1553
|
-
]
|
|
1554
|
-
},
|
|
1555
1554
|
{
|
|
1556
1555
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1557
1556
|
paths: [
|
|
1557
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1558
1558
|
{
|
|
1559
1559
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1560
1560
|
},
|
|
@@ -1562,6 +1562,12 @@ function queryExperiences2() {
|
|
|
1562
1562
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1563
1563
|
}
|
|
1564
1564
|
]
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1568
|
+
paths: [
|
|
1569
|
+
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1570
|
+
]
|
|
1565
1571
|
}
|
|
1566
1572
|
]),
|
|
1567
1573
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1593,13 +1599,10 @@ async function typedQueryExperiences(query) {
|
|
|
1593
1599
|
sideEffects?.onSuccess?.(result);
|
|
1594
1600
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1595
1601
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1596
|
-
{
|
|
1597
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1598
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1599
|
-
},
|
|
1600
1602
|
{
|
|
1601
1603
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1602
1604
|
paths: [
|
|
1605
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1603
1606
|
{
|
|
1604
1607
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1605
1608
|
},
|
|
@@ -1607,6 +1610,10 @@ async function typedQueryExperiences(query) {
|
|
|
1607
1610
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1608
1611
|
}
|
|
1609
1612
|
]
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1616
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1610
1617
|
}
|
|
1611
1618
|
]),
|
|
1612
1619
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1635,13 +1642,10 @@ async function searchExperiences2(search) {
|
|
|
1635
1642
|
sideEffects?.onSuccess?.(result);
|
|
1636
1643
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1637
1644
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1638
|
-
{
|
|
1639
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1640
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1641
|
-
},
|
|
1642
1645
|
{
|
|
1643
1646
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1644
1647
|
paths: [
|
|
1648
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1645
1649
|
{
|
|
1646
1650
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1647
1651
|
},
|
|
@@ -1649,6 +1653,10 @@ async function searchExperiences2(search) {
|
|
|
1649
1653
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1650
1654
|
}
|
|
1651
1655
|
]
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1659
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1652
1660
|
}
|
|
1653
1661
|
]),
|
|
1654
1662
|
["experiences.configuration.displayInfo.richContent"]
|