@wix/auto_sdk_data_collections 1.0.86 → 1.0.88

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +1236 -70
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +222 -1
  5. package/build/cjs/index.typings.js +1132 -69
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +203 -2
  8. package/build/cjs/meta.js +947 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +1220 -70
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +222 -1
  14. package/build/es/index.typings.mjs +1116 -69
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +203 -2
  17. package/build/es/meta.mjs +931 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +135 -3
  20. package/build/internal/cjs/index.js +1236 -70
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +358 -1
  23. package/build/internal/cjs/index.typings.js +1132 -69
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +203 -2
  26. package/build/internal/cjs/meta.js +947 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +135 -3
  29. package/build/internal/es/index.mjs +1220 -70
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +358 -1
  32. package/build/internal/es/index.typings.mjs +1116 -69
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +203 -2
  35. package/build/internal/es/meta.mjs +931 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -25,15 +25,19 @@ __export(index_typings_exports, {
25
25
  CollectionType: () => CollectionType,
26
26
  DataOperation: () => DataOperation,
27
27
  Direction: () => Direction,
28
+ DraftItemsPluginConflictAction: () => DraftItemsPluginConflictAction,
29
+ DraftItemsRemovalAction: () => DraftItemsRemovalAction,
28
30
  FieldPluginType: () => FieldPluginType,
29
31
  Format: () => Format,
30
32
  IndexSource: () => IndexSource,
31
33
  IndexStatus: () => IndexStatus,
34
+ LifecycleStatus: () => LifecycleStatus,
32
35
  Order: () => Order,
33
36
  PageLinkType: () => PageLinkType,
34
37
  PagingMode: () => PagingMode,
35
38
  Permission: () => Permission,
36
39
  PluginType: () => PluginType,
40
+ PublishPluginConflictAction: () => PublishPluginConflictAction,
37
41
  QueryOperator: () => QueryOperator,
38
42
  Role: () => Role,
39
43
  Segment: () => Segment,
@@ -42,12 +46,24 @@ __export(index_typings_exports, {
42
46
  TenantMode: () => TenantMode,
43
47
  Type: () => Type,
44
48
  WebhookIdentityType: () => WebhookIdentityType,
49
+ addCatalogPlugin: () => addCatalogPlugin2,
50
+ addCmsPlugin: () => addCmsPlugin2,
45
51
  addDataCollectionPlugin: () => addDataCollectionPlugin2,
52
+ addDraftItemsPlugin: () => addDraftItemsPlugin2,
53
+ addMultilingualPlugin: () => addMultilingualPlugin2,
54
+ addPublishPlugin: () => addPublishPlugin2,
55
+ addUrlizedPlugin: () => addUrlizedPlugin2,
46
56
  createDataCollection: () => createDataCollection2,
47
57
  createDataCollectionField: () => createDataCollectionField2,
58
+ deleteCatalogPlugin: () => deleteCatalogPlugin2,
59
+ deleteCmsPlugin: () => deleteCmsPlugin2,
48
60
  deleteDataCollection: () => deleteDataCollection2,
49
61
  deleteDataCollectionField: () => deleteDataCollectionField2,
50
62
  deleteDataCollectionPlugin: () => deleteDataCollectionPlugin2,
63
+ deleteDraftItemsPlugin: () => deleteDraftItemsPlugin2,
64
+ deleteMultilingualPlugin: () => deleteMultilingualPlugin2,
65
+ deletePublishPlugin: () => deletePublishPlugin2,
66
+ deleteUrlizedPlugin: () => deleteUrlizedPlugin2,
51
67
  getDataCollection: () => getDataCollection2,
52
68
  listDataCollections: () => listDataCollections2,
53
69
  patchDataCollection: () => patchDataCollection2,
@@ -1182,6 +1198,682 @@ function deleteDataCollectionPlugin(payload) {
1182
1198
  }
1183
1199
  return __deleteDataCollectionPlugin;
1184
1200
  }
1201
+ function addPublishPlugin(payload) {
1202
+ function __addPublishPlugin({ host }) {
1203
+ const metadata = {
1204
+ entityFqdn: "wix.data.v2.data_collection",
1205
+ method: "POST",
1206
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddPublishPlugin",
1207
+ packageName: PACKAGE_NAME,
1208
+ migrationOptions: {
1209
+ optInTransformResponse: true
1210
+ },
1211
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1212
+ { protoPath: "/v2/collections/add-publish-plugin", data: payload, host }
1213
+ ),
1214
+ data: payload,
1215
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1216
+ {
1217
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1218
+ paths: [
1219
+ { path: "dataCollection.createdDate" },
1220
+ { path: "dataCollection.updatedDate" },
1221
+ {
1222
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1223
+ },
1224
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1225
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1226
+ {
1227
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1228
+ },
1229
+ {
1230
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1231
+ },
1232
+ {
1233
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1239
+ paths: [
1240
+ { path: "dataCollection.fields.numberRange.min" },
1241
+ { path: "dataCollection.fields.numberRange.max" },
1242
+ {
1243
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1244
+ },
1245
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1246
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1247
+ ]
1248
+ }
1249
+ ])
1250
+ };
1251
+ return metadata;
1252
+ }
1253
+ return __addPublishPlugin;
1254
+ }
1255
+ function deletePublishPlugin(payload) {
1256
+ function __deletePublishPlugin({ host }) {
1257
+ const metadata = {
1258
+ entityFqdn: "wix.data.v2.data_collection",
1259
+ method: "POST",
1260
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeletePublishPlugin",
1261
+ packageName: PACKAGE_NAME,
1262
+ migrationOptions: {
1263
+ optInTransformResponse: true
1264
+ },
1265
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1266
+ {
1267
+ protoPath: "/v2/collections/delete-publish-plugin",
1268
+ data: payload,
1269
+ host
1270
+ }
1271
+ ),
1272
+ data: payload,
1273
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1274
+ {
1275
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1276
+ paths: [
1277
+ { path: "dataCollection.createdDate" },
1278
+ { path: "dataCollection.updatedDate" },
1279
+ {
1280
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1281
+ },
1282
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1283
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1284
+ {
1285
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1286
+ },
1287
+ {
1288
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1289
+ },
1290
+ {
1291
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1292
+ }
1293
+ ]
1294
+ },
1295
+ {
1296
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1297
+ paths: [
1298
+ { path: "dataCollection.fields.numberRange.min" },
1299
+ { path: "dataCollection.fields.numberRange.max" },
1300
+ {
1301
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1302
+ },
1303
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1304
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1305
+ ]
1306
+ }
1307
+ ])
1308
+ };
1309
+ return metadata;
1310
+ }
1311
+ return __deletePublishPlugin;
1312
+ }
1313
+ function addUrlizedPlugin(payload) {
1314
+ function __addUrlizedPlugin({ host }) {
1315
+ const metadata = {
1316
+ entityFqdn: "wix.data.v2.data_collection",
1317
+ method: "POST",
1318
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddUrlizedPlugin",
1319
+ packageName: PACKAGE_NAME,
1320
+ migrationOptions: {
1321
+ optInTransformResponse: true
1322
+ },
1323
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1324
+ { protoPath: "/v2/collections/add-urlized-plugin", data: payload, host }
1325
+ ),
1326
+ data: payload,
1327
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1328
+ {
1329
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1330
+ paths: [
1331
+ { path: "dataCollection.createdDate" },
1332
+ { path: "dataCollection.updatedDate" },
1333
+ {
1334
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1335
+ },
1336
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1337
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1338
+ {
1339
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1340
+ },
1341
+ {
1342
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1343
+ },
1344
+ {
1345
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1346
+ }
1347
+ ]
1348
+ },
1349
+ {
1350
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1351
+ paths: [
1352
+ { path: "dataCollection.fields.numberRange.min" },
1353
+ { path: "dataCollection.fields.numberRange.max" },
1354
+ {
1355
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1356
+ },
1357
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1358
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1359
+ ]
1360
+ }
1361
+ ])
1362
+ };
1363
+ return metadata;
1364
+ }
1365
+ return __addUrlizedPlugin;
1366
+ }
1367
+ function deleteUrlizedPlugin(payload) {
1368
+ function __deleteUrlizedPlugin({ host }) {
1369
+ const metadata = {
1370
+ entityFqdn: "wix.data.v2.data_collection",
1371
+ method: "POST",
1372
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteUrlizedPlugin",
1373
+ packageName: PACKAGE_NAME,
1374
+ migrationOptions: {
1375
+ optInTransformResponse: true
1376
+ },
1377
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1378
+ {
1379
+ protoPath: "/v2/collections/delete-urlized-plugin",
1380
+ data: payload,
1381
+ host
1382
+ }
1383
+ ),
1384
+ data: payload,
1385
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1386
+ {
1387
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1388
+ paths: [
1389
+ { path: "dataCollection.createdDate" },
1390
+ { path: "dataCollection.updatedDate" },
1391
+ {
1392
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1393
+ },
1394
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1395
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1396
+ {
1397
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1398
+ },
1399
+ {
1400
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1401
+ },
1402
+ {
1403
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1409
+ paths: [
1410
+ { path: "dataCollection.fields.numberRange.min" },
1411
+ { path: "dataCollection.fields.numberRange.max" },
1412
+ {
1413
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1414
+ },
1415
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1416
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1417
+ ]
1418
+ }
1419
+ ])
1420
+ };
1421
+ return metadata;
1422
+ }
1423
+ return __deleteUrlizedPlugin;
1424
+ }
1425
+ function addMultilingualPlugin(payload) {
1426
+ function __addMultilingualPlugin({ host }) {
1427
+ const metadata = {
1428
+ entityFqdn: "wix.data.v2.data_collection",
1429
+ method: "POST",
1430
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddMultilingualPlugin",
1431
+ packageName: PACKAGE_NAME,
1432
+ migrationOptions: {
1433
+ optInTransformResponse: true
1434
+ },
1435
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1436
+ {
1437
+ protoPath: "/v2/collections/add-multilingual-plugin",
1438
+ data: payload,
1439
+ host
1440
+ }
1441
+ ),
1442
+ data: payload,
1443
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1444
+ {
1445
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1446
+ paths: [
1447
+ { path: "dataCollection.createdDate" },
1448
+ { path: "dataCollection.updatedDate" },
1449
+ {
1450
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1451
+ },
1452
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1453
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1454
+ {
1455
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1456
+ },
1457
+ {
1458
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1459
+ },
1460
+ {
1461
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1462
+ }
1463
+ ]
1464
+ },
1465
+ {
1466
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1467
+ paths: [
1468
+ { path: "dataCollection.fields.numberRange.min" },
1469
+ { path: "dataCollection.fields.numberRange.max" },
1470
+ {
1471
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1472
+ },
1473
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1474
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1475
+ ]
1476
+ }
1477
+ ])
1478
+ };
1479
+ return metadata;
1480
+ }
1481
+ return __addMultilingualPlugin;
1482
+ }
1483
+ function deleteMultilingualPlugin(payload) {
1484
+ function __deleteMultilingualPlugin({ host }) {
1485
+ const metadata = {
1486
+ entityFqdn: "wix.data.v2.data_collection",
1487
+ method: "POST",
1488
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteMultilingualPlugin",
1489
+ packageName: PACKAGE_NAME,
1490
+ migrationOptions: {
1491
+ optInTransformResponse: true
1492
+ },
1493
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1494
+ {
1495
+ protoPath: "/v2/collections/delete-multilingual-plugin",
1496
+ data: payload,
1497
+ host
1498
+ }
1499
+ ),
1500
+ data: payload,
1501
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1502
+ {
1503
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1504
+ paths: [
1505
+ { path: "dataCollection.createdDate" },
1506
+ { path: "dataCollection.updatedDate" },
1507
+ {
1508
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1509
+ },
1510
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1511
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1512
+ {
1513
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1514
+ },
1515
+ {
1516
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1517
+ },
1518
+ {
1519
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1525
+ paths: [
1526
+ { path: "dataCollection.fields.numberRange.min" },
1527
+ { path: "dataCollection.fields.numberRange.max" },
1528
+ {
1529
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1530
+ },
1531
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1532
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1533
+ ]
1534
+ }
1535
+ ])
1536
+ };
1537
+ return metadata;
1538
+ }
1539
+ return __deleteMultilingualPlugin;
1540
+ }
1541
+ function addCmsPlugin(payload) {
1542
+ function __addCmsPlugin({ host }) {
1543
+ const metadata = {
1544
+ entityFqdn: "wix.data.v2.data_collection",
1545
+ method: "POST",
1546
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCmsPlugin",
1547
+ packageName: PACKAGE_NAME,
1548
+ migrationOptions: {
1549
+ optInTransformResponse: true
1550
+ },
1551
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1552
+ { protoPath: "/v2/collections/add-cms-plugin", data: payload, host }
1553
+ ),
1554
+ data: payload,
1555
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1556
+ {
1557
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1558
+ paths: [
1559
+ { path: "dataCollection.createdDate" },
1560
+ { path: "dataCollection.updatedDate" },
1561
+ {
1562
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1563
+ },
1564
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1565
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1566
+ {
1567
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1568
+ },
1569
+ {
1570
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1571
+ },
1572
+ {
1573
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1574
+ }
1575
+ ]
1576
+ },
1577
+ {
1578
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1579
+ paths: [
1580
+ { path: "dataCollection.fields.numberRange.min" },
1581
+ { path: "dataCollection.fields.numberRange.max" },
1582
+ {
1583
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1584
+ },
1585
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1586
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1587
+ ]
1588
+ }
1589
+ ])
1590
+ };
1591
+ return metadata;
1592
+ }
1593
+ return __addCmsPlugin;
1594
+ }
1595
+ function deleteCmsPlugin(payload) {
1596
+ function __deleteCmsPlugin({ host }) {
1597
+ const metadata = {
1598
+ entityFqdn: "wix.data.v2.data_collection",
1599
+ method: "POST",
1600
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteCmsPlugin",
1601
+ packageName: PACKAGE_NAME,
1602
+ migrationOptions: {
1603
+ optInTransformResponse: true
1604
+ },
1605
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1606
+ { protoPath: "/v2/collections/delete-cms-plugin", data: payload, host }
1607
+ ),
1608
+ data: payload,
1609
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1610
+ {
1611
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1612
+ paths: [
1613
+ { path: "dataCollection.createdDate" },
1614
+ { path: "dataCollection.updatedDate" },
1615
+ {
1616
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1617
+ },
1618
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1619
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1620
+ {
1621
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1622
+ },
1623
+ {
1624
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1625
+ },
1626
+ {
1627
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1628
+ }
1629
+ ]
1630
+ },
1631
+ {
1632
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1633
+ paths: [
1634
+ { path: "dataCollection.fields.numberRange.min" },
1635
+ { path: "dataCollection.fields.numberRange.max" },
1636
+ {
1637
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1638
+ },
1639
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1640
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1641
+ ]
1642
+ }
1643
+ ])
1644
+ };
1645
+ return metadata;
1646
+ }
1647
+ return __deleteCmsPlugin;
1648
+ }
1649
+ function addCatalogPlugin(payload) {
1650
+ function __addCatalogPlugin({ host }) {
1651
+ const metadata = {
1652
+ entityFqdn: "wix.data.v2.data_collection",
1653
+ method: "POST",
1654
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCatalogPlugin",
1655
+ packageName: PACKAGE_NAME,
1656
+ migrationOptions: {
1657
+ optInTransformResponse: true
1658
+ },
1659
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1660
+ { protoPath: "/v2/collections/add-catalog-plugin", data: payload, host }
1661
+ ),
1662
+ data: payload,
1663
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1664
+ {
1665
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1666
+ paths: [
1667
+ { path: "dataCollection.createdDate" },
1668
+ { path: "dataCollection.updatedDate" },
1669
+ {
1670
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1671
+ },
1672
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1673
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1674
+ {
1675
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1676
+ },
1677
+ {
1678
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1679
+ },
1680
+ {
1681
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1687
+ paths: [
1688
+ { path: "dataCollection.fields.numberRange.min" },
1689
+ { path: "dataCollection.fields.numberRange.max" },
1690
+ {
1691
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1692
+ },
1693
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1694
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1695
+ ]
1696
+ }
1697
+ ])
1698
+ };
1699
+ return metadata;
1700
+ }
1701
+ return __addCatalogPlugin;
1702
+ }
1703
+ function deleteCatalogPlugin(payload) {
1704
+ function __deleteCatalogPlugin({ host }) {
1705
+ const metadata = {
1706
+ entityFqdn: "wix.data.v2.data_collection",
1707
+ method: "POST",
1708
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteCatalogPlugin",
1709
+ packageName: PACKAGE_NAME,
1710
+ migrationOptions: {
1711
+ optInTransformResponse: true
1712
+ },
1713
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1714
+ {
1715
+ protoPath: "/v2/collections/delete-catalog-plugin",
1716
+ data: payload,
1717
+ host
1718
+ }
1719
+ ),
1720
+ data: payload,
1721
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1722
+ {
1723
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1724
+ paths: [
1725
+ { path: "dataCollection.createdDate" },
1726
+ { path: "dataCollection.updatedDate" },
1727
+ {
1728
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1729
+ },
1730
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1731
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1732
+ {
1733
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1734
+ },
1735
+ {
1736
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1737
+ },
1738
+ {
1739
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1740
+ }
1741
+ ]
1742
+ },
1743
+ {
1744
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1745
+ paths: [
1746
+ { path: "dataCollection.fields.numberRange.min" },
1747
+ { path: "dataCollection.fields.numberRange.max" },
1748
+ {
1749
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1750
+ },
1751
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1752
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1753
+ ]
1754
+ }
1755
+ ])
1756
+ };
1757
+ return metadata;
1758
+ }
1759
+ return __deleteCatalogPlugin;
1760
+ }
1761
+ function addDraftItemsPlugin(payload) {
1762
+ function __addDraftItemsPlugin({ host }) {
1763
+ const metadata = {
1764
+ entityFqdn: "wix.data.v2.data_collection",
1765
+ method: "POST",
1766
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddDraftItemsPlugin",
1767
+ packageName: PACKAGE_NAME,
1768
+ migrationOptions: {
1769
+ optInTransformResponse: true
1770
+ },
1771
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1772
+ {
1773
+ protoPath: "/v2/collections/add-draft-items-plugin",
1774
+ data: payload,
1775
+ host
1776
+ }
1777
+ ),
1778
+ data: payload,
1779
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1780
+ {
1781
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1782
+ paths: [
1783
+ { path: "dataCollection.createdDate" },
1784
+ { path: "dataCollection.updatedDate" },
1785
+ {
1786
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1787
+ },
1788
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1789
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1790
+ {
1791
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1792
+ },
1793
+ {
1794
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1795
+ },
1796
+ {
1797
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1798
+ }
1799
+ ]
1800
+ },
1801
+ {
1802
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1803
+ paths: [
1804
+ { path: "dataCollection.fields.numberRange.min" },
1805
+ { path: "dataCollection.fields.numberRange.max" },
1806
+ {
1807
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1808
+ },
1809
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1810
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1811
+ ]
1812
+ }
1813
+ ])
1814
+ };
1815
+ return metadata;
1816
+ }
1817
+ return __addDraftItemsPlugin;
1818
+ }
1819
+ function deleteDraftItemsPlugin(payload) {
1820
+ function __deleteDraftItemsPlugin({ host }) {
1821
+ const metadata = {
1822
+ entityFqdn: "wix.data.v2.data_collection",
1823
+ method: "POST",
1824
+ methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDraftItemsPlugin",
1825
+ packageName: PACKAGE_NAME,
1826
+ migrationOptions: {
1827
+ optInTransformResponse: true
1828
+ },
1829
+ url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
1830
+ {
1831
+ protoPath: "/v2/collections/delete-draft-items-plugin",
1832
+ data: payload,
1833
+ host
1834
+ }
1835
+ ),
1836
+ data: payload,
1837
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1838
+ {
1839
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1840
+ paths: [
1841
+ { path: "dataCollection.createdDate" },
1842
+ { path: "dataCollection.updatedDate" },
1843
+ {
1844
+ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
1845
+ },
1846
+ { path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
1847
+ { path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
1848
+ {
1849
+ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
1850
+ },
1851
+ {
1852
+ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
1853
+ },
1854
+ {
1855
+ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1861
+ paths: [
1862
+ { path: "dataCollection.fields.numberRange.min" },
1863
+ { path: "dataCollection.fields.numberRange.max" },
1864
+ {
1865
+ path: "dataCollection.fields.typeMetadata.number.defaultValue"
1866
+ },
1867
+ { path: "dataCollection.fields.typeMetadata.number.min" },
1868
+ { path: "dataCollection.fields.typeMetadata.number.max" }
1869
+ ]
1870
+ }
1871
+ ])
1872
+ };
1873
+ return metadata;
1874
+ }
1875
+ return __deleteDraftItemsPlugin;
1876
+ }
1185
1877
  function patchDataCollectionField(payload) {
1186
1878
  function __patchDataCollectionField({ host }) {
1187
1879
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1391,6 +2083,11 @@ var Status = /* @__PURE__ */ ((Status2) => {
1391
2083
  Status2["DRAFT"] = "DRAFT";
1392
2084
  return Status2;
1393
2085
  })(Status || {});
2086
+ var LifecycleStatus = /* @__PURE__ */ ((LifecycleStatus2) => {
2087
+ LifecycleStatus2["ACTIVE"] = "ACTIVE";
2088
+ LifecycleStatus2["MIGRATING_TO_DRAFT_ITEMS"] = "MIGRATING_TO_DRAFT_ITEMS";
2089
+ return LifecycleStatus2;
2090
+ })(LifecycleStatus || {});
1394
2091
  var Format = /* @__PURE__ */ ((Format2) => {
1395
2092
  Format2["ORIGINAL"] = "ORIGINAL";
1396
2093
  Format2["PLAIN"] = "PLAIN";
@@ -1431,6 +2128,24 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1431
2128
  SortOrder2["DESC"] = "DESC";
1432
2129
  return SortOrder2;
1433
2130
  })(SortOrder || {});
2131
+ var DraftItemsPluginConflictAction = /* @__PURE__ */ ((DraftItemsPluginConflictAction2) => {
2132
+ DraftItemsPluginConflictAction2["FAIL_WHEN_DRAFT_ITEMS_INSTALLED"] = "FAIL_WHEN_DRAFT_ITEMS_INSTALLED";
2133
+ DraftItemsPluginConflictAction2["DISCARD_DRAFT_ITEMS"] = "DISCARD_DRAFT_ITEMS";
2134
+ DraftItemsPluginConflictAction2["PUBLISH_DRAFT_ITEMS"] = "PUBLISH_DRAFT_ITEMS";
2135
+ DraftItemsPluginConflictAction2["COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS"] = "COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS";
2136
+ return DraftItemsPluginConflictAction2;
2137
+ })(DraftItemsPluginConflictAction || {});
2138
+ var PublishPluginConflictAction = /* @__PURE__ */ ((PublishPluginConflictAction2) => {
2139
+ PublishPluginConflictAction2["FAIL_WHEN_PUBLISH_INSTALLED"] = "FAIL_WHEN_PUBLISH_INSTALLED";
2140
+ PublishPluginConflictAction2["COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS"] = "COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS";
2141
+ return PublishPluginConflictAction2;
2142
+ })(PublishPluginConflictAction || {});
2143
+ var DraftItemsRemovalAction = /* @__PURE__ */ ((DraftItemsRemovalAction2) => {
2144
+ DraftItemsRemovalAction2["FAIL_IF_DRAFT_ITEMS_EXIST"] = "FAIL_IF_DRAFT_ITEMS_EXIST";
2145
+ DraftItemsRemovalAction2["DISCARD_EXISTING_DRAFT_ITEMS"] = "DISCARD_EXISTING_DRAFT_ITEMS";
2146
+ DraftItemsRemovalAction2["PUBLISH_EXISTING_DRAFT_ITEMS"] = "PUBLISH_EXISTING_DRAFT_ITEMS";
2147
+ return DraftItemsRemovalAction2;
2148
+ })(DraftItemsRemovalAction || {});
1434
2149
  var TenantMode = /* @__PURE__ */ ((TenantMode2) => {
1435
2150
  TenantMode2["META_SITE"] = "META_SITE";
1436
2151
  TenantMode2["ACCOUNT"] = "ACCOUNT";
@@ -1469,42 +2184,236 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1469
2184
  async function createDataCollection2(collection) {
1470
2185
  const { httpClient, sideEffects } = arguments[1];
1471
2186
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1472
- collection
2187
+ collection
2188
+ });
2189
+ const reqOpts = createDataCollection(payload);
2190
+ sideEffects?.onSiteCall?.();
2191
+ try {
2192
+ const result = await httpClient.request(reqOpts);
2193
+ sideEffects?.onSuccess?.(result);
2194
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2195
+ } catch (err) {
2196
+ const transformedError = (0, import_transform_error.transformError)(
2197
+ err,
2198
+ {
2199
+ spreadPathsToArguments: {},
2200
+ explicitPathsToArguments: { collection: "$[0]" },
2201
+ singleArgumentUnchanged: false
2202
+ },
2203
+ ["collection"]
2204
+ );
2205
+ sideEffects?.onError?.(err);
2206
+ throw transformedError;
2207
+ }
2208
+ }
2209
+ async function getDataCollection2(dataCollectionId, options) {
2210
+ const { httpClient, sideEffects } = arguments[2];
2211
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2212
+ dataCollectionId,
2213
+ consistentRead: options?.consistentRead,
2214
+ includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
2215
+ fields: options?.fields
2216
+ });
2217
+ const reqOpts = getDataCollection(payload);
2218
+ sideEffects?.onSiteCall?.();
2219
+ try {
2220
+ const result = await httpClient.request(reqOpts);
2221
+ sideEffects?.onSuccess?.(result);
2222
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2223
+ } catch (err) {
2224
+ const transformedError = (0, import_transform_error.transformError)(
2225
+ err,
2226
+ {
2227
+ spreadPathsToArguments: {},
2228
+ explicitPathsToArguments: {
2229
+ dataCollectionId: "$[0]",
2230
+ consistentRead: "$[1].consistentRead",
2231
+ includeAllowedDataPermissions: "$[1].includeAllowedDataPermissions",
2232
+ fields: "$[1].fields"
2233
+ },
2234
+ singleArgumentUnchanged: false
2235
+ },
2236
+ ["dataCollectionId", "options"]
2237
+ );
2238
+ sideEffects?.onError?.(err);
2239
+ throw transformedError;
2240
+ }
2241
+ }
2242
+ async function listDataCollections2(options) {
2243
+ const { httpClient, sideEffects } = arguments[1];
2244
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2245
+ sort: options?.sort,
2246
+ paging: options?.paging,
2247
+ consistentRead: options?.consistentRead,
2248
+ includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
2249
+ fields: options?.fields
2250
+ });
2251
+ const reqOpts = listDataCollections(payload);
2252
+ sideEffects?.onSiteCall?.();
2253
+ try {
2254
+ const result = await httpClient.request(reqOpts);
2255
+ sideEffects?.onSuccess?.(result);
2256
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2257
+ } catch (err) {
2258
+ const transformedError = (0, import_transform_error.transformError)(
2259
+ err,
2260
+ {
2261
+ spreadPathsToArguments: {},
2262
+ explicitPathsToArguments: {
2263
+ sort: "$[0].sort",
2264
+ paging: "$[0].paging",
2265
+ consistentRead: "$[0].consistentRead",
2266
+ includeAllowedDataPermissions: "$[0].includeAllowedDataPermissions",
2267
+ fields: "$[0].fields"
2268
+ },
2269
+ singleArgumentUnchanged: false
2270
+ },
2271
+ ["options"]
2272
+ );
2273
+ sideEffects?.onError?.(err);
2274
+ throw transformedError;
2275
+ }
2276
+ }
2277
+ async function updateDataCollection2(collection) {
2278
+ const { httpClient, sideEffects } = arguments[1];
2279
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2280
+ collection
2281
+ });
2282
+ const reqOpts = updateDataCollection(payload);
2283
+ sideEffects?.onSiteCall?.();
2284
+ try {
2285
+ const result = await httpClient.request(reqOpts);
2286
+ sideEffects?.onSuccess?.(result);
2287
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2288
+ } catch (err) {
2289
+ const transformedError = (0, import_transform_error.transformError)(
2290
+ err,
2291
+ {
2292
+ spreadPathsToArguments: {},
2293
+ explicitPathsToArguments: { collection: "$[0]" },
2294
+ singleArgumentUnchanged: false
2295
+ },
2296
+ ["collection"]
2297
+ );
2298
+ sideEffects?.onError?.(err);
2299
+ throw transformedError;
2300
+ }
2301
+ }
2302
+ async function deleteDataCollection2(dataCollectionId) {
2303
+ const { httpClient, sideEffects } = arguments[1];
2304
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2305
+ dataCollectionId
2306
+ });
2307
+ const reqOpts = deleteDataCollection(payload);
2308
+ sideEffects?.onSiteCall?.();
2309
+ try {
2310
+ const result = await httpClient.request(reqOpts);
2311
+ sideEffects?.onSuccess?.(result);
2312
+ } catch (err) {
2313
+ const transformedError = (0, import_transform_error.transformError)(
2314
+ err,
2315
+ {
2316
+ spreadPathsToArguments: {},
2317
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2318
+ singleArgumentUnchanged: false
2319
+ },
2320
+ ["dataCollectionId"]
2321
+ );
2322
+ sideEffects?.onError?.(err);
2323
+ throw transformedError;
2324
+ }
2325
+ }
2326
+ async function restoreDataCollection2(dataCollectionId) {
2327
+ const { httpClient, sideEffects } = arguments[1];
2328
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2329
+ dataCollectionId
2330
+ });
2331
+ const reqOpts = restoreDataCollection(payload);
2332
+ sideEffects?.onSiteCall?.();
2333
+ try {
2334
+ const result = await httpClient.request(reqOpts);
2335
+ sideEffects?.onSuccess?.(result);
2336
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2337
+ } catch (err) {
2338
+ const transformedError = (0, import_transform_error.transformError)(
2339
+ err,
2340
+ {
2341
+ spreadPathsToArguments: {},
2342
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2343
+ singleArgumentUnchanged: false
2344
+ },
2345
+ ["dataCollectionId"]
2346
+ );
2347
+ sideEffects?.onError?.(err);
2348
+ throw transformedError;
2349
+ }
2350
+ }
2351
+ async function patchDataCollection2(_id, dataCollection) {
2352
+ const { httpClient, sideEffects } = arguments[2];
2353
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2354
+ dataCollection: { ...dataCollection, id: _id }
2355
+ });
2356
+ const reqOpts = patchDataCollection(payload);
2357
+ sideEffects?.onSiteCall?.();
2358
+ try {
2359
+ const result = await httpClient.request(reqOpts);
2360
+ sideEffects?.onSuccess?.(result);
2361
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2362
+ } catch (err) {
2363
+ const transformedError = (0, import_transform_error.transformError)(
2364
+ err,
2365
+ {
2366
+ spreadPathsToArguments: { dataCollection: "$[1]" },
2367
+ explicitPathsToArguments: { "dataCollection.id": "$[0]" },
2368
+ singleArgumentUnchanged: false
2369
+ },
2370
+ ["_id", "dataCollection"]
2371
+ );
2372
+ sideEffects?.onError?.(err);
2373
+ throw transformedError;
2374
+ }
2375
+ }
2376
+ async function createDataCollectionField2(dataCollectionId, options) {
2377
+ const { httpClient, sideEffects } = arguments[2];
2378
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2379
+ dataCollectionId,
2380
+ field: options?.field
1473
2381
  });
1474
- const reqOpts = createDataCollection(payload);
2382
+ const reqOpts = createDataCollectionField(payload);
1475
2383
  sideEffects?.onSiteCall?.();
1476
2384
  try {
1477
2385
  const result = await httpClient.request(reqOpts);
1478
2386
  sideEffects?.onSuccess?.(result);
1479
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2387
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1480
2388
  } catch (err) {
1481
2389
  const transformedError = (0, import_transform_error.transformError)(
1482
2390
  err,
1483
2391
  {
1484
2392
  spreadPathsToArguments: {},
1485
- explicitPathsToArguments: { collection: "$[0]" },
2393
+ explicitPathsToArguments: {
2394
+ dataCollectionId: "$[0]",
2395
+ field: "$[1].field"
2396
+ },
1486
2397
  singleArgumentUnchanged: false
1487
2398
  },
1488
- ["collection"]
2399
+ ["dataCollectionId", "options"]
1489
2400
  );
1490
2401
  sideEffects?.onError?.(err);
1491
2402
  throw transformedError;
1492
2403
  }
1493
2404
  }
1494
- async function getDataCollection2(dataCollectionId, options) {
2405
+ async function updateDataCollectionField2(dataCollectionId, options) {
1495
2406
  const { httpClient, sideEffects } = arguments[2];
1496
2407
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1497
2408
  dataCollectionId,
1498
- consistentRead: options?.consistentRead,
1499
- includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
1500
- fields: options?.fields
2409
+ field: options?.field
1501
2410
  });
1502
- const reqOpts = getDataCollection(payload);
2411
+ const reqOpts = updateDataCollectionField(payload);
1503
2412
  sideEffects?.onSiteCall?.();
1504
2413
  try {
1505
2414
  const result = await httpClient.request(reqOpts);
1506
2415
  sideEffects?.onSuccess?.(result);
1507
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2416
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1508
2417
  } catch (err) {
1509
2418
  const transformedError = (0, import_transform_error.transformError)(
1510
2419
  err,
@@ -1512,9 +2421,7 @@ async function getDataCollection2(dataCollectionId, options) {
1512
2421
  spreadPathsToArguments: {},
1513
2422
  explicitPathsToArguments: {
1514
2423
  dataCollectionId: "$[0]",
1515
- consistentRead: "$[1].consistentRead",
1516
- includeAllowedDataPermissions: "$[1].includeAllowedDataPermissions",
1517
- fields: "$[1].fields"
2424
+ field: "$[1].field"
1518
2425
  },
1519
2426
  singleArgumentUnchanged: false
1520
2427
  },
@@ -1524,16 +2431,13 @@ async function getDataCollection2(dataCollectionId, options) {
1524
2431
  throw transformedError;
1525
2432
  }
1526
2433
  }
1527
- async function listDataCollections2(options) {
1528
- const { httpClient, sideEffects } = arguments[1];
2434
+ async function deleteDataCollectionField2(dataCollectionId, options) {
2435
+ const { httpClient, sideEffects } = arguments[2];
1529
2436
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1530
- sort: options?.sort,
1531
- paging: options?.paging,
1532
- consistentRead: options?.consistentRead,
1533
- includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
1534
- fields: options?.fields
2437
+ dataCollectionId,
2438
+ fieldKey: options?.fieldKey
1535
2439
  });
1536
- const reqOpts = listDataCollections(payload);
2440
+ const reqOpts = deleteDataCollectionField(payload);
1537
2441
  sideEffects?.onSiteCall?.();
1538
2442
  try {
1539
2443
  const result = await httpClient.request(reqOpts);
@@ -1545,75 +2449,112 @@ async function listDataCollections2(options) {
1545
2449
  {
1546
2450
  spreadPathsToArguments: {},
1547
2451
  explicitPathsToArguments: {
1548
- sort: "$[0].sort",
1549
- paging: "$[0].paging",
1550
- consistentRead: "$[0].consistentRead",
1551
- includeAllowedDataPermissions: "$[0].includeAllowedDataPermissions",
1552
- fields: "$[0].fields"
2452
+ dataCollectionId: "$[0]",
2453
+ fieldKey: "$[1].fieldKey"
1553
2454
  },
1554
2455
  singleArgumentUnchanged: false
1555
2456
  },
1556
- ["options"]
2457
+ ["dataCollectionId", "options"]
1557
2458
  );
1558
2459
  sideEffects?.onError?.(err);
1559
2460
  throw transformedError;
1560
2461
  }
1561
2462
  }
1562
- async function updateDataCollection2(collection) {
1563
- const { httpClient, sideEffects } = arguments[1];
2463
+ async function addDataCollectionPlugin2(dataCollectionId, options) {
2464
+ const { httpClient, sideEffects } = arguments[2];
1564
2465
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1565
- collection
2466
+ dataCollectionId,
2467
+ plugin: options?.plugin
1566
2468
  });
1567
- const reqOpts = updateDataCollection(payload);
2469
+ const reqOpts = addDataCollectionPlugin(payload);
1568
2470
  sideEffects?.onSiteCall?.();
1569
2471
  try {
1570
2472
  const result = await httpClient.request(reqOpts);
1571
2473
  sideEffects?.onSuccess?.(result);
1572
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
2474
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1573
2475
  } catch (err) {
1574
2476
  const transformedError = (0, import_transform_error.transformError)(
1575
2477
  err,
1576
2478
  {
1577
2479
  spreadPathsToArguments: {},
1578
- explicitPathsToArguments: { collection: "$[0]" },
2480
+ explicitPathsToArguments: {
2481
+ dataCollectionId: "$[0]",
2482
+ plugin: "$[1].plugin"
2483
+ },
1579
2484
  singleArgumentUnchanged: false
1580
2485
  },
1581
- ["collection"]
2486
+ ["dataCollectionId", "options"]
1582
2487
  );
1583
2488
  sideEffects?.onError?.(err);
1584
2489
  throw transformedError;
1585
2490
  }
1586
2491
  }
1587
- async function deleteDataCollection2(dataCollectionId) {
1588
- const { httpClient, sideEffects } = arguments[1];
2492
+ async function deleteDataCollectionPlugin2(dataCollectionId, options) {
2493
+ const { httpClient, sideEffects } = arguments[2];
1589
2494
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1590
- dataCollectionId
2495
+ dataCollectionId,
2496
+ pluginType: options?.pluginType
1591
2497
  });
1592
- const reqOpts = deleteDataCollection(payload);
2498
+ const reqOpts = deleteDataCollectionPlugin(payload);
1593
2499
  sideEffects?.onSiteCall?.();
1594
2500
  try {
1595
2501
  const result = await httpClient.request(reqOpts);
1596
2502
  sideEffects?.onSuccess?.(result);
2503
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1597
2504
  } catch (err) {
1598
2505
  const transformedError = (0, import_transform_error.transformError)(
1599
2506
  err,
1600
2507
  {
1601
2508
  spreadPathsToArguments: {},
1602
- explicitPathsToArguments: { dataCollectionId: "$[0]" },
2509
+ explicitPathsToArguments: {
2510
+ dataCollectionId: "$[0]",
2511
+ pluginType: "$[1].pluginType"
2512
+ },
1603
2513
  singleArgumentUnchanged: false
1604
2514
  },
1605
- ["dataCollectionId"]
2515
+ ["dataCollectionId", "options"]
1606
2516
  );
1607
2517
  sideEffects?.onError?.(err);
1608
2518
  throw transformedError;
1609
2519
  }
1610
2520
  }
1611
- async function restoreDataCollection2(dataCollectionId) {
2521
+ async function addPublishPlugin2(dataCollectionId, options) {
2522
+ const { httpClient, sideEffects } = arguments[2];
2523
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2524
+ dataCollectionId,
2525
+ publishOptions: options?.publishOptions,
2526
+ draftItemsPluginConflictAction: options?.draftItemsPluginConflictAction
2527
+ });
2528
+ const reqOpts = addPublishPlugin(payload);
2529
+ sideEffects?.onSiteCall?.();
2530
+ try {
2531
+ const result = await httpClient.request(reqOpts);
2532
+ sideEffects?.onSuccess?.(result);
2533
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2534
+ } catch (err) {
2535
+ const transformedError = (0, import_transform_error.transformError)(
2536
+ err,
2537
+ {
2538
+ spreadPathsToArguments: {},
2539
+ explicitPathsToArguments: {
2540
+ dataCollectionId: "$[0]",
2541
+ publishOptions: "$[1].publishOptions",
2542
+ draftItemsPluginConflictAction: "$[1].draftItemsPluginConflictAction"
2543
+ },
2544
+ singleArgumentUnchanged: false
2545
+ },
2546
+ ["dataCollectionId", "options"]
2547
+ );
2548
+ sideEffects?.onError?.(err);
2549
+ throw transformedError;
2550
+ }
2551
+ }
2552
+ async function deletePublishPlugin2(dataCollectionId) {
1612
2553
  const { httpClient, sideEffects } = arguments[1];
1613
2554
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1614
2555
  dataCollectionId
1615
2556
  });
1616
- const reqOpts = restoreDataCollection(payload);
2557
+ const reqOpts = deletePublishPlugin(payload);
1617
2558
  sideEffects?.onSiteCall?.();
1618
2559
  try {
1619
2560
  const result = await httpClient.request(reqOpts);
@@ -1633,12 +2574,13 @@ async function restoreDataCollection2(dataCollectionId) {
1633
2574
  throw transformedError;
1634
2575
  }
1635
2576
  }
1636
- async function patchDataCollection2(_id, dataCollection) {
2577
+ async function addUrlizedPlugin2(dataCollectionId, options) {
1637
2578
  const { httpClient, sideEffects } = arguments[2];
1638
2579
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1639
- dataCollection: { ...dataCollection, id: _id }
2580
+ dataCollectionId,
2581
+ urlizedOptions: options?.urlizedOptions
1640
2582
  });
1641
- const reqOpts = patchDataCollection(payload);
2583
+ const reqOpts = addUrlizedPlugin(payload);
1642
2584
  sideEffects?.onSiteCall?.();
1643
2585
  try {
1644
2586
  const result = await httpClient.request(reqOpts);
@@ -1648,23 +2590,51 @@ async function patchDataCollection2(_id, dataCollection) {
1648
2590
  const transformedError = (0, import_transform_error.transformError)(
1649
2591
  err,
1650
2592
  {
1651
- spreadPathsToArguments: { dataCollection: "$[1]" },
1652
- explicitPathsToArguments: { "dataCollection.id": "$[0]" },
2593
+ spreadPathsToArguments: {},
2594
+ explicitPathsToArguments: {
2595
+ dataCollectionId: "$[0]",
2596
+ urlizedOptions: "$[1].urlizedOptions"
2597
+ },
1653
2598
  singleArgumentUnchanged: false
1654
2599
  },
1655
- ["_id", "dataCollection"]
2600
+ ["dataCollectionId", "options"]
1656
2601
  );
1657
2602
  sideEffects?.onError?.(err);
1658
2603
  throw transformedError;
1659
2604
  }
1660
2605
  }
1661
- async function createDataCollectionField2(dataCollectionId, options) {
2606
+ async function deleteUrlizedPlugin2(dataCollectionId) {
2607
+ const { httpClient, sideEffects } = arguments[1];
2608
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2609
+ dataCollectionId
2610
+ });
2611
+ const reqOpts = deleteUrlizedPlugin(payload);
2612
+ sideEffects?.onSiteCall?.();
2613
+ try {
2614
+ const result = await httpClient.request(reqOpts);
2615
+ sideEffects?.onSuccess?.(result);
2616
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2617
+ } catch (err) {
2618
+ const transformedError = (0, import_transform_error.transformError)(
2619
+ err,
2620
+ {
2621
+ spreadPathsToArguments: {},
2622
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2623
+ singleArgumentUnchanged: false
2624
+ },
2625
+ ["dataCollectionId"]
2626
+ );
2627
+ sideEffects?.onError?.(err);
2628
+ throw transformedError;
2629
+ }
2630
+ }
2631
+ async function addMultilingualPlugin2(dataCollectionId, options) {
1662
2632
  const { httpClient, sideEffects } = arguments[2];
1663
2633
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1664
2634
  dataCollectionId,
1665
- field: options?.field
2635
+ multilingualOptions: options?.multilingualOptions
1666
2636
  });
1667
- const reqOpts = createDataCollectionField(payload);
2637
+ const reqOpts = addMultilingualPlugin(payload);
1668
2638
  sideEffects?.onSiteCall?.();
1669
2639
  try {
1670
2640
  const result = await httpClient.request(reqOpts);
@@ -1677,7 +2647,7 @@ async function createDataCollectionField2(dataCollectionId, options) {
1677
2647
  spreadPathsToArguments: {},
1678
2648
  explicitPathsToArguments: {
1679
2649
  dataCollectionId: "$[0]",
1680
- field: "$[1].field"
2650
+ multilingualOptions: "$[1].multilingualOptions"
1681
2651
  },
1682
2652
  singleArgumentUnchanged: false
1683
2653
  },
@@ -1687,13 +2657,38 @@ async function createDataCollectionField2(dataCollectionId, options) {
1687
2657
  throw transformedError;
1688
2658
  }
1689
2659
  }
1690
- async function updateDataCollectionField2(dataCollectionId, options) {
2660
+ async function deleteMultilingualPlugin2(dataCollectionId) {
2661
+ const { httpClient, sideEffects } = arguments[1];
2662
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2663
+ dataCollectionId
2664
+ });
2665
+ const reqOpts = deleteMultilingualPlugin(payload);
2666
+ sideEffects?.onSiteCall?.();
2667
+ try {
2668
+ const result = await httpClient.request(reqOpts);
2669
+ sideEffects?.onSuccess?.(result);
2670
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2671
+ } catch (err) {
2672
+ const transformedError = (0, import_transform_error.transformError)(
2673
+ err,
2674
+ {
2675
+ spreadPathsToArguments: {},
2676
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2677
+ singleArgumentUnchanged: false
2678
+ },
2679
+ ["dataCollectionId"]
2680
+ );
2681
+ sideEffects?.onError?.(err);
2682
+ throw transformedError;
2683
+ }
2684
+ }
2685
+ async function addCmsPlugin2(dataCollectionId, options) {
1691
2686
  const { httpClient, sideEffects } = arguments[2];
1692
2687
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1693
2688
  dataCollectionId,
1694
- field: options?.field
2689
+ cmsOptions: options?.cmsOptions
1695
2690
  });
1696
- const reqOpts = updateDataCollectionField(payload);
2691
+ const reqOpts = addCmsPlugin(payload);
1697
2692
  sideEffects?.onSiteCall?.();
1698
2693
  try {
1699
2694
  const result = await httpClient.request(reqOpts);
@@ -1706,7 +2701,7 @@ async function updateDataCollectionField2(dataCollectionId, options) {
1706
2701
  spreadPathsToArguments: {},
1707
2702
  explicitPathsToArguments: {
1708
2703
  dataCollectionId: "$[0]",
1709
- field: "$[1].field"
2704
+ cmsOptions: "$[1].cmsOptions"
1710
2705
  },
1711
2706
  singleArgumentUnchanged: false
1712
2707
  },
@@ -1716,13 +2711,38 @@ async function updateDataCollectionField2(dataCollectionId, options) {
1716
2711
  throw transformedError;
1717
2712
  }
1718
2713
  }
1719
- async function deleteDataCollectionField2(dataCollectionId, options) {
2714
+ async function deleteCmsPlugin2(dataCollectionId) {
2715
+ const { httpClient, sideEffects } = arguments[1];
2716
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2717
+ dataCollectionId
2718
+ });
2719
+ const reqOpts = deleteCmsPlugin(payload);
2720
+ sideEffects?.onSiteCall?.();
2721
+ try {
2722
+ const result = await httpClient.request(reqOpts);
2723
+ sideEffects?.onSuccess?.(result);
2724
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2725
+ } catch (err) {
2726
+ const transformedError = (0, import_transform_error.transformError)(
2727
+ err,
2728
+ {
2729
+ spreadPathsToArguments: {},
2730
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2731
+ singleArgumentUnchanged: false
2732
+ },
2733
+ ["dataCollectionId"]
2734
+ );
2735
+ sideEffects?.onError?.(err);
2736
+ throw transformedError;
2737
+ }
2738
+ }
2739
+ async function addCatalogPlugin2(dataCollectionId, options) {
1720
2740
  const { httpClient, sideEffects } = arguments[2];
1721
2741
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1722
2742
  dataCollectionId,
1723
- fieldKey: options?.fieldKey
2743
+ catalogOptions: options?.catalogOptions
1724
2744
  });
1725
- const reqOpts = deleteDataCollectionField(payload);
2745
+ const reqOpts = addCatalogPlugin(payload);
1726
2746
  sideEffects?.onSiteCall?.();
1727
2747
  try {
1728
2748
  const result = await httpClient.request(reqOpts);
@@ -1735,7 +2755,7 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
1735
2755
  spreadPathsToArguments: {},
1736
2756
  explicitPathsToArguments: {
1737
2757
  dataCollectionId: "$[0]",
1738
- fieldKey: "$[1].fieldKey"
2758
+ catalogOptions: "$[1].catalogOptions"
1739
2759
  },
1740
2760
  singleArgumentUnchanged: false
1741
2761
  },
@@ -1745,13 +2765,39 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
1745
2765
  throw transformedError;
1746
2766
  }
1747
2767
  }
1748
- async function addDataCollectionPlugin2(dataCollectionId, options) {
2768
+ async function deleteCatalogPlugin2(dataCollectionId) {
2769
+ const { httpClient, sideEffects } = arguments[1];
2770
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
2771
+ dataCollectionId
2772
+ });
2773
+ const reqOpts = deleteCatalogPlugin(payload);
2774
+ sideEffects?.onSiteCall?.();
2775
+ try {
2776
+ const result = await httpClient.request(reqOpts);
2777
+ sideEffects?.onSuccess?.(result);
2778
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
2779
+ } catch (err) {
2780
+ const transformedError = (0, import_transform_error.transformError)(
2781
+ err,
2782
+ {
2783
+ spreadPathsToArguments: {},
2784
+ explicitPathsToArguments: { dataCollectionId: "$[0]" },
2785
+ singleArgumentUnchanged: false
2786
+ },
2787
+ ["dataCollectionId"]
2788
+ );
2789
+ sideEffects?.onError?.(err);
2790
+ throw transformedError;
2791
+ }
2792
+ }
2793
+ async function addDraftItemsPlugin2(dataCollectionId, options) {
1749
2794
  const { httpClient, sideEffects } = arguments[2];
1750
2795
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1751
2796
  dataCollectionId,
1752
- plugin: options?.plugin
2797
+ draftItemsOptions: options?.draftItemsOptions,
2798
+ publishPluginConflictAction: options?.publishPluginConflictAction
1753
2799
  });
1754
- const reqOpts = addDataCollectionPlugin(payload);
2800
+ const reqOpts = addDraftItemsPlugin(payload);
1755
2801
  sideEffects?.onSiteCall?.();
1756
2802
  try {
1757
2803
  const result = await httpClient.request(reqOpts);
@@ -1764,7 +2810,8 @@ async function addDataCollectionPlugin2(dataCollectionId, options) {
1764
2810
  spreadPathsToArguments: {},
1765
2811
  explicitPathsToArguments: {
1766
2812
  dataCollectionId: "$[0]",
1767
- plugin: "$[1].plugin"
2813
+ draftItemsOptions: "$[1].draftItemsOptions",
2814
+ publishPluginConflictAction: "$[1].publishPluginConflictAction"
1768
2815
  },
1769
2816
  singleArgumentUnchanged: false
1770
2817
  },
@@ -1774,13 +2821,13 @@ async function addDataCollectionPlugin2(dataCollectionId, options) {
1774
2821
  throw transformedError;
1775
2822
  }
1776
2823
  }
1777
- async function deleteDataCollectionPlugin2(dataCollectionId, options) {
2824
+ async function deleteDraftItemsPlugin2(dataCollectionId, options) {
1778
2825
  const { httpClient, sideEffects } = arguments[2];
1779
2826
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1780
2827
  dataCollectionId,
1781
- pluginType: options?.pluginType
2828
+ draftItemsRemovalAction: options?.draftItemsRemovalAction
1782
2829
  });
1783
- const reqOpts = deleteDataCollectionPlugin(payload);
2830
+ const reqOpts = deleteDraftItemsPlugin(payload);
1784
2831
  sideEffects?.onSiteCall?.();
1785
2832
  try {
1786
2833
  const result = await httpClient.request(reqOpts);
@@ -1793,7 +2840,7 @@ async function deleteDataCollectionPlugin2(dataCollectionId, options) {
1793
2840
  spreadPathsToArguments: {},
1794
2841
  explicitPathsToArguments: {
1795
2842
  dataCollectionId: "$[0]",
1796
- pluginType: "$[1].pluginType"
2843
+ draftItemsRemovalAction: "$[1].draftItemsRemovalAction"
1797
2844
  },
1798
2845
  singleArgumentUnchanged: false
1799
2846
  },
@@ -1836,15 +2883,19 @@ async function patchDataCollectionField2(dataCollectionId, field) {
1836
2883
  CollectionType,
1837
2884
  DataOperation,
1838
2885
  Direction,
2886
+ DraftItemsPluginConflictAction,
2887
+ DraftItemsRemovalAction,
1839
2888
  FieldPluginType,
1840
2889
  Format,
1841
2890
  IndexSource,
1842
2891
  IndexStatus,
2892
+ LifecycleStatus,
1843
2893
  Order,
1844
2894
  PageLinkType,
1845
2895
  PagingMode,
1846
2896
  Permission,
1847
2897
  PluginType,
2898
+ PublishPluginConflictAction,
1848
2899
  QueryOperator,
1849
2900
  Role,
1850
2901
  Segment,
@@ -1853,12 +2904,24 @@ async function patchDataCollectionField2(dataCollectionId, field) {
1853
2904
  TenantMode,
1854
2905
  Type,
1855
2906
  WebhookIdentityType,
2907
+ addCatalogPlugin,
2908
+ addCmsPlugin,
1856
2909
  addDataCollectionPlugin,
2910
+ addDraftItemsPlugin,
2911
+ addMultilingualPlugin,
2912
+ addPublishPlugin,
2913
+ addUrlizedPlugin,
1857
2914
  createDataCollection,
1858
2915
  createDataCollectionField,
2916
+ deleteCatalogPlugin,
2917
+ deleteCmsPlugin,
1859
2918
  deleteDataCollection,
1860
2919
  deleteDataCollectionField,
1861
2920
  deleteDataCollectionPlugin,
2921
+ deleteDraftItemsPlugin,
2922
+ deleteMultilingualPlugin,
2923
+ deletePublishPlugin,
2924
+ deleteUrlizedPlugin,
1862
2925
  getDataCollection,
1863
2926
  listDataCollections,
1864
2927
  patchDataCollection,