@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
package/build/cjs/index.js
CHANGED
|
@@ -1367,13 +1367,10 @@ async function createExperience2(experience) {
|
|
|
1367
1367
|
"experience.configuration.displayInfo.richContent"
|
|
1368
1368
|
]),
|
|
1369
1369
|
[
|
|
1370
|
-
{
|
|
1371
|
-
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1372
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1373
|
-
},
|
|
1374
1370
|
{
|
|
1375
1371
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
1376
1372
|
paths: [
|
|
1373
|
+
{ path: "experience.experiencePageUrl" },
|
|
1377
1374
|
{
|
|
1378
1375
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1379
1376
|
},
|
|
@@ -1381,6 +1378,10 @@ async function createExperience2(experience) {
|
|
|
1381
1378
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1382
1379
|
}
|
|
1383
1380
|
]
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1384
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1384
1385
|
}
|
|
1385
1386
|
]
|
|
1386
1387
|
);
|
|
@@ -1391,13 +1392,10 @@ async function createExperience2(experience) {
|
|
|
1391
1392
|
sideEffects?.onSuccess?.(result);
|
|
1392
1393
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1393
1394
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1394
|
-
{
|
|
1395
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1396
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1397
|
-
},
|
|
1398
1395
|
{
|
|
1399
1396
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1400
1397
|
paths: [
|
|
1398
|
+
{ path: "experience.experiencePageUrl" },
|
|
1401
1399
|
{
|
|
1402
1400
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1403
1401
|
},
|
|
@@ -1405,6 +1403,10 @@ async function createExperience2(experience) {
|
|
|
1405
1403
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1406
1404
|
}
|
|
1407
1405
|
]
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1409
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1408
1410
|
}
|
|
1409
1411
|
]),
|
|
1410
1412
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1436,13 +1438,10 @@ async function getExperience2(experienceId) {
|
|
|
1436
1438
|
sideEffects?.onSuccess?.(result);
|
|
1437
1439
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1438
1440
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1439
|
-
{
|
|
1440
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1441
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1442
|
-
},
|
|
1443
1441
|
{
|
|
1444
1442
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1445
1443
|
paths: [
|
|
1444
|
+
{ path: "experience.experiencePageUrl" },
|
|
1446
1445
|
{
|
|
1447
1446
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1448
1447
|
},
|
|
@@ -1450,6 +1449,10 @@ async function getExperience2(experienceId) {
|
|
|
1450
1449
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1451
1450
|
}
|
|
1452
1451
|
]
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1455
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1453
1456
|
}
|
|
1454
1457
|
]),
|
|
1455
1458
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1476,13 +1479,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1476
1479
|
["experience.configuration.displayInfo.richContent"]
|
|
1477
1480
|
),
|
|
1478
1481
|
[
|
|
1479
|
-
{
|
|
1480
|
-
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1481
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1482
|
-
},
|
|
1483
1482
|
{
|
|
1484
1483
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
1485
1484
|
paths: [
|
|
1485
|
+
{ path: "experience.experiencePageUrl" },
|
|
1486
1486
|
{
|
|
1487
1487
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1488
1488
|
},
|
|
@@ -1490,6 +1490,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1490
1490
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1491
1491
|
}
|
|
1492
1492
|
]
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1496
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1493
1497
|
}
|
|
1494
1498
|
]
|
|
1495
1499
|
);
|
|
@@ -1500,13 +1504,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1500
1504
|
sideEffects?.onSuccess?.(result);
|
|
1501
1505
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1502
1506
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1503
|
-
{
|
|
1504
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1505
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1506
|
-
},
|
|
1507
1507
|
{
|
|
1508
1508
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1509
1509
|
paths: [
|
|
1510
|
+
{ path: "experience.experiencePageUrl" },
|
|
1510
1511
|
{
|
|
1511
1512
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1512
1513
|
},
|
|
@@ -1514,6 +1515,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1514
1515
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1515
1516
|
}
|
|
1516
1517
|
]
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1521
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1517
1522
|
}
|
|
1518
1523
|
]),
|
|
1519
1524
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1557,15 +1562,10 @@ function queryExperiences2() {
|
|
|
1557
1562
|
responseTransformer: ({ data }) => {
|
|
1558
1563
|
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1559
1564
|
(0, import_transform_paths2.transformPaths)(data, [
|
|
1560
|
-
{
|
|
1561
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1562
|
-
paths: [
|
|
1563
|
-
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1564
|
-
]
|
|
1565
|
-
},
|
|
1566
1565
|
{
|
|
1567
1566
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1568
1567
|
paths: [
|
|
1568
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1569
1569
|
{
|
|
1570
1570
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1571
1571
|
},
|
|
@@ -1573,6 +1573,12 @@ function queryExperiences2() {
|
|
|
1573
1573
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1574
1574
|
}
|
|
1575
1575
|
]
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1579
|
+
paths: [
|
|
1580
|
+
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1581
|
+
]
|
|
1576
1582
|
}
|
|
1577
1583
|
]),
|
|
1578
1584
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1604,13 +1610,10 @@ async function typedQueryExperiences(query) {
|
|
|
1604
1610
|
sideEffects?.onSuccess?.(result);
|
|
1605
1611
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1606
1612
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1607
|
-
{
|
|
1608
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1609
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1610
|
-
},
|
|
1611
1613
|
{
|
|
1612
1614
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1613
1615
|
paths: [
|
|
1616
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1614
1617
|
{
|
|
1615
1618
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1616
1619
|
},
|
|
@@ -1618,6 +1621,10 @@ async function typedQueryExperiences(query) {
|
|
|
1618
1621
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1619
1622
|
}
|
|
1620
1623
|
]
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1627
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1621
1628
|
}
|
|
1622
1629
|
]),
|
|
1623
1630
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1646,13 +1653,10 @@ async function searchExperiences2(search) {
|
|
|
1646
1653
|
sideEffects?.onSuccess?.(result);
|
|
1647
1654
|
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
1648
1655
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1649
|
-
{
|
|
1650
|
-
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1651
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1652
|
-
},
|
|
1653
1656
|
{
|
|
1654
1657
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1655
1658
|
paths: [
|
|
1659
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1656
1660
|
{
|
|
1657
1661
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1658
1662
|
},
|
|
@@ -1660,6 +1664,10 @@ async function searchExperiences2(search) {
|
|
|
1660
1664
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1661
1665
|
}
|
|
1662
1666
|
]
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1670
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1663
1671
|
}
|
|
1664
1672
|
]),
|
|
1665
1673
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1829,6 +1837,16 @@ var onExperienceCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1829
1837
|
{ path: "metadata.eventTime" }
|
|
1830
1838
|
]
|
|
1831
1839
|
},
|
|
1840
|
+
{
|
|
1841
|
+
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1842
|
+
paths: [
|
|
1843
|
+
{ path: "entity.experiencePageUrl" },
|
|
1844
|
+
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1845
|
+
{
|
|
1846
|
+
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1832
1850
|
{
|
|
1833
1851
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1834
1852
|
paths: [{ path: "entity.configuration.displayInfo.coverImage" }]
|
|
@@ -1888,15 +1906,6 @@ var onExperienceCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1888
1906
|
path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1889
1907
|
}
|
|
1890
1908
|
]
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1894
|
-
paths: [
|
|
1895
|
-
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1896
|
-
{
|
|
1897
|
-
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1898
|
-
}
|
|
1899
|
-
]
|
|
1900
1909
|
}
|
|
1901
1910
|
])
|
|
1902
1911
|
)
|
|
@@ -1920,6 +1929,18 @@ var onExperienceTagsModified = (0, import_sdk_types.EventDefinition)(
|
|
|
1920
1929
|
{ path: "metadata.eventTime" }
|
|
1921
1930
|
]
|
|
1922
1931
|
},
|
|
1932
|
+
{
|
|
1933
|
+
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1934
|
+
paths: [
|
|
1935
|
+
{ path: "data.experience.experiencePageUrl" },
|
|
1936
|
+
{
|
|
1937
|
+
path: "data.experience.configuration.reservationForm.privacyPolicy.url"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
path: "data.experience.configuration.reservationForm.termsAndConditions.url"
|
|
1941
|
+
}
|
|
1942
|
+
]
|
|
1943
|
+
},
|
|
1923
1944
|
{
|
|
1924
1945
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1925
1946
|
paths: [
|
|
@@ -1981,17 +2002,6 @@ var onExperienceTagsModified = (0, import_sdk_types.EventDefinition)(
|
|
|
1981
2002
|
path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1982
2003
|
}
|
|
1983
2004
|
]
|
|
1984
|
-
},
|
|
1985
|
-
{
|
|
1986
|
-
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1987
|
-
paths: [
|
|
1988
|
-
{
|
|
1989
|
-
path: "data.experience.configuration.reservationForm.privacyPolicy.url"
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
path: "data.experience.configuration.reservationForm.termsAndConditions.url"
|
|
1993
|
-
}
|
|
1994
|
-
]
|
|
1995
2005
|
}
|
|
1996
2006
|
])
|
|
1997
2007
|
)
|
|
@@ -2015,6 +2025,16 @@ var onExperienceUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2015
2025
|
{ path: "metadata.eventTime" }
|
|
2016
2026
|
]
|
|
2017
2027
|
},
|
|
2028
|
+
{
|
|
2029
|
+
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2030
|
+
paths: [
|
|
2031
|
+
{ path: "entity.experiencePageUrl" },
|
|
2032
|
+
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
2033
|
+
{
|
|
2034
|
+
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
2035
|
+
}
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2018
2038
|
{
|
|
2019
2039
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2020
2040
|
paths: [{ path: "entity.configuration.displayInfo.coverImage" }]
|
|
@@ -2074,15 +2094,6 @@ var onExperienceUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
2074
2094
|
path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
2075
2095
|
}
|
|
2076
2096
|
]
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2080
|
-
paths: [
|
|
2081
|
-
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
2082
|
-
{
|
|
2083
|
-
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
2084
|
-
}
|
|
2085
|
-
]
|
|
2086
2097
|
}
|
|
2087
2098
|
])
|
|
2088
2099
|
)
|