@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/es/index.mjs
CHANGED
|
@@ -1273,13 +1273,10 @@ async function createExperience2(experience) {
|
|
|
1273
1273
|
"experience.configuration.displayInfo.richContent"
|
|
1274
1274
|
]),
|
|
1275
1275
|
[
|
|
1276
|
-
{
|
|
1277
|
-
transformFn: transformSDKImageToRESTImage,
|
|
1278
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1279
|
-
},
|
|
1280
1276
|
{
|
|
1281
1277
|
transformFn: transformSDKPageURLV2ToRESTPageURLV2,
|
|
1282
1278
|
paths: [
|
|
1279
|
+
{ path: "experience.experiencePageUrl" },
|
|
1283
1280
|
{
|
|
1284
1281
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1285
1282
|
},
|
|
@@ -1287,6 +1284,10 @@ async function createExperience2(experience) {
|
|
|
1287
1284
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1288
1285
|
}
|
|
1289
1286
|
]
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
transformFn: transformSDKImageToRESTImage,
|
|
1290
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1290
1291
|
}
|
|
1291
1292
|
]
|
|
1292
1293
|
);
|
|
@@ -1297,13 +1298,10 @@ async function createExperience2(experience) {
|
|
|
1297
1298
|
sideEffects?.onSuccess?.(result);
|
|
1298
1299
|
return renameKeysFromRESTResponseToSDKResponse(
|
|
1299
1300
|
transformPaths2(result.data, [
|
|
1300
|
-
{
|
|
1301
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1302
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1303
|
-
},
|
|
1304
1301
|
{
|
|
1305
1302
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1306
1303
|
paths: [
|
|
1304
|
+
{ path: "experience.experiencePageUrl" },
|
|
1307
1305
|
{
|
|
1308
1306
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1309
1307
|
},
|
|
@@ -1311,6 +1309,10 @@ async function createExperience2(experience) {
|
|
|
1311
1309
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1312
1310
|
}
|
|
1313
1311
|
]
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1315
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1314
1316
|
}
|
|
1315
1317
|
]),
|
|
1316
1318
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1342,13 +1344,10 @@ async function getExperience2(experienceId) {
|
|
|
1342
1344
|
sideEffects?.onSuccess?.(result);
|
|
1343
1345
|
return renameKeysFromRESTResponseToSDKResponse(
|
|
1344
1346
|
transformPaths2(result.data, [
|
|
1345
|
-
{
|
|
1346
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1347
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1348
|
-
},
|
|
1349
1347
|
{
|
|
1350
1348
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1351
1349
|
paths: [
|
|
1350
|
+
{ path: "experience.experiencePageUrl" },
|
|
1352
1351
|
{
|
|
1353
1352
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1354
1353
|
},
|
|
@@ -1356,6 +1355,10 @@ async function getExperience2(experienceId) {
|
|
|
1356
1355
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1357
1356
|
}
|
|
1358
1357
|
]
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1361
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1359
1362
|
}
|
|
1360
1363
|
]),
|
|
1361
1364
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1382,13 +1385,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1382
1385
|
["experience.configuration.displayInfo.richContent"]
|
|
1383
1386
|
),
|
|
1384
1387
|
[
|
|
1385
|
-
{
|
|
1386
|
-
transformFn: transformSDKImageToRESTImage,
|
|
1387
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1388
|
-
},
|
|
1389
1388
|
{
|
|
1390
1389
|
transformFn: transformSDKPageURLV2ToRESTPageURLV2,
|
|
1391
1390
|
paths: [
|
|
1391
|
+
{ path: "experience.experiencePageUrl" },
|
|
1392
1392
|
{
|
|
1393
1393
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1394
1394
|
},
|
|
@@ -1396,6 +1396,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1396
1396
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1397
1397
|
}
|
|
1398
1398
|
]
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
transformFn: transformSDKImageToRESTImage,
|
|
1402
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1399
1403
|
}
|
|
1400
1404
|
]
|
|
1401
1405
|
);
|
|
@@ -1406,13 +1410,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1406
1410
|
sideEffects?.onSuccess?.(result);
|
|
1407
1411
|
return renameKeysFromRESTResponseToSDKResponse(
|
|
1408
1412
|
transformPaths2(result.data, [
|
|
1409
|
-
{
|
|
1410
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1411
|
-
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1412
|
-
},
|
|
1413
1413
|
{
|
|
1414
1414
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1415
1415
|
paths: [
|
|
1416
|
+
{ path: "experience.experiencePageUrl" },
|
|
1416
1417
|
{
|
|
1417
1418
|
path: "experience.configuration.reservationForm.privacyPolicy.url"
|
|
1418
1419
|
},
|
|
@@ -1420,6 +1421,10 @@ async function updateExperience2(_id, experience) {
|
|
|
1420
1421
|
path: "experience.configuration.reservationForm.termsAndConditions.url"
|
|
1421
1422
|
}
|
|
1422
1423
|
]
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1427
|
+
paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
|
|
1423
1428
|
}
|
|
1424
1429
|
]),
|
|
1425
1430
|
["experience.configuration.displayInfo.richContent"]
|
|
@@ -1463,15 +1468,10 @@ function queryExperiences2() {
|
|
|
1463
1468
|
responseTransformer: ({ data }) => {
|
|
1464
1469
|
const transformedData = renameKeysFromRESTResponseToSDKResponse(
|
|
1465
1470
|
transformPaths2(data, [
|
|
1466
|
-
{
|
|
1467
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1468
|
-
paths: [
|
|
1469
|
-
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1470
|
-
]
|
|
1471
|
-
},
|
|
1472
1471
|
{
|
|
1473
1472
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1474
1473
|
paths: [
|
|
1474
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1475
1475
|
{
|
|
1476
1476
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1477
1477
|
},
|
|
@@ -1479,6 +1479,12 @@ function queryExperiences2() {
|
|
|
1479
1479
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1480
1480
|
}
|
|
1481
1481
|
]
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1485
|
+
paths: [
|
|
1486
|
+
{ path: "experiences.configuration.displayInfo.coverImage" }
|
|
1487
|
+
]
|
|
1482
1488
|
}
|
|
1483
1489
|
]),
|
|
1484
1490
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1510,13 +1516,10 @@ async function typedQueryExperiences(query) {
|
|
|
1510
1516
|
sideEffects?.onSuccess?.(result);
|
|
1511
1517
|
return renameKeysFromRESTResponseToSDKResponse(
|
|
1512
1518
|
transformPaths2(result.data, [
|
|
1513
|
-
{
|
|
1514
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1515
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1516
|
-
},
|
|
1517
1519
|
{
|
|
1518
1520
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1519
1521
|
paths: [
|
|
1522
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1520
1523
|
{
|
|
1521
1524
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1522
1525
|
},
|
|
@@ -1524,6 +1527,10 @@ async function typedQueryExperiences(query) {
|
|
|
1524
1527
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1525
1528
|
}
|
|
1526
1529
|
]
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1533
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1527
1534
|
}
|
|
1528
1535
|
]),
|
|
1529
1536
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1552,13 +1559,10 @@ async function searchExperiences2(search) {
|
|
|
1552
1559
|
sideEffects?.onSuccess?.(result);
|
|
1553
1560
|
return renameKeysFromRESTResponseToSDKResponse(
|
|
1554
1561
|
transformPaths2(result.data, [
|
|
1555
|
-
{
|
|
1556
|
-
transformFn: transformRESTImageToSDKImage,
|
|
1557
|
-
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1558
|
-
},
|
|
1559
1562
|
{
|
|
1560
1563
|
transformFn: transformRESTPageURLV2ToSDKPageURLV2,
|
|
1561
1564
|
paths: [
|
|
1565
|
+
{ path: "experiences.experiencePageUrl" },
|
|
1562
1566
|
{
|
|
1563
1567
|
path: "experiences.configuration.reservationForm.privacyPolicy.url"
|
|
1564
1568
|
},
|
|
@@ -1566,6 +1570,10 @@ async function searchExperiences2(search) {
|
|
|
1566
1570
|
path: "experiences.configuration.reservationForm.termsAndConditions.url"
|
|
1567
1571
|
}
|
|
1568
1572
|
]
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
transformFn: transformRESTImageToSDKImage,
|
|
1576
|
+
paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
|
|
1569
1577
|
}
|
|
1570
1578
|
]),
|
|
1571
1579
|
["experiences.configuration.displayInfo.richContent"]
|
|
@@ -1735,6 +1743,16 @@ var onExperienceCreated = EventDefinition(
|
|
|
1735
1743
|
{ path: "metadata.eventTime" }
|
|
1736
1744
|
]
|
|
1737
1745
|
},
|
|
1746
|
+
{
|
|
1747
|
+
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1748
|
+
paths: [
|
|
1749
|
+
{ path: "entity.experiencePageUrl" },
|
|
1750
|
+
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1751
|
+
{
|
|
1752
|
+
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1753
|
+
}
|
|
1754
|
+
]
|
|
1755
|
+
},
|
|
1738
1756
|
{
|
|
1739
1757
|
transformFn: transformRESTImageToSDKImage2,
|
|
1740
1758
|
paths: [{ path: "entity.configuration.displayInfo.coverImage" }]
|
|
@@ -1794,15 +1812,6 @@ var onExperienceCreated = EventDefinition(
|
|
|
1794
1812
|
path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1795
1813
|
}
|
|
1796
1814
|
]
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1800
|
-
paths: [
|
|
1801
|
-
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1802
|
-
{
|
|
1803
|
-
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1804
|
-
}
|
|
1805
|
-
]
|
|
1806
1815
|
}
|
|
1807
1816
|
])
|
|
1808
1817
|
)
|
|
@@ -1826,6 +1835,18 @@ var onExperienceTagsModified = EventDefinition(
|
|
|
1826
1835
|
{ path: "metadata.eventTime" }
|
|
1827
1836
|
]
|
|
1828
1837
|
},
|
|
1838
|
+
{
|
|
1839
|
+
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1840
|
+
paths: [
|
|
1841
|
+
{ path: "data.experience.experiencePageUrl" },
|
|
1842
|
+
{
|
|
1843
|
+
path: "data.experience.configuration.reservationForm.privacyPolicy.url"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
path: "data.experience.configuration.reservationForm.termsAndConditions.url"
|
|
1847
|
+
}
|
|
1848
|
+
]
|
|
1849
|
+
},
|
|
1829
1850
|
{
|
|
1830
1851
|
transformFn: transformRESTImageToSDKImage2,
|
|
1831
1852
|
paths: [
|
|
@@ -1887,17 +1908,6 @@ var onExperienceTagsModified = EventDefinition(
|
|
|
1887
1908
|
path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1888
1909
|
}
|
|
1889
1910
|
]
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1893
|
-
paths: [
|
|
1894
|
-
{
|
|
1895
|
-
path: "data.experience.configuration.reservationForm.privacyPolicy.url"
|
|
1896
|
-
},
|
|
1897
|
-
{
|
|
1898
|
-
path: "data.experience.configuration.reservationForm.termsAndConditions.url"
|
|
1899
|
-
}
|
|
1900
|
-
]
|
|
1901
1911
|
}
|
|
1902
1912
|
])
|
|
1903
1913
|
)
|
|
@@ -1921,6 +1931,16 @@ var onExperienceUpdated = EventDefinition(
|
|
|
1921
1931
|
{ path: "metadata.eventTime" }
|
|
1922
1932
|
]
|
|
1923
1933
|
},
|
|
1934
|
+
{
|
|
1935
|
+
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1936
|
+
paths: [
|
|
1937
|
+
{ path: "entity.experiencePageUrl" },
|
|
1938
|
+
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1939
|
+
{
|
|
1940
|
+
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1941
|
+
}
|
|
1942
|
+
]
|
|
1943
|
+
},
|
|
1924
1944
|
{
|
|
1925
1945
|
transformFn: transformRESTImageToSDKImage2,
|
|
1926
1946
|
paths: [{ path: "entity.configuration.displayInfo.coverImage" }]
|
|
@@ -1980,15 +2000,6 @@ var onExperienceUpdated = EventDefinition(
|
|
|
1980
2000
|
path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
1981
2001
|
}
|
|
1982
2002
|
]
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
transformFn: transformRESTPageURLV2ToSDKPageURLV22,
|
|
1986
|
-
paths: [
|
|
1987
|
-
{ path: "entity.configuration.reservationForm.privacyPolicy.url" },
|
|
1988
|
-
{
|
|
1989
|
-
path: "entity.configuration.reservationForm.termsAndConditions.url"
|
|
1990
|
-
}
|
|
1991
|
-
]
|
|
1992
2003
|
}
|
|
1993
2004
|
])
|
|
1994
2005
|
)
|