@wix/auto_sdk_data_collections 1.0.87 → 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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1229 -70
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +216 -1
- package/build/cjs/index.typings.js +1125 -69
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +197 -2
- package/build/cjs/meta.js +940 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1214 -70
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +216 -1
- package/build/es/index.typings.mjs +1110 -69
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +197 -2
- package/build/es/meta.mjs +925 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +135 -3
- package/build/internal/cjs/index.js +1229 -70
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +346 -1
- package/build/internal/cjs/index.typings.js +1125 -69
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +197 -2
- package/build/internal/cjs/meta.js +940 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +135 -3
- package/build/internal/es/index.mjs +1214 -70
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +346 -1
- package/build/internal/es/index.typings.mjs +1110 -69
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +197 -2
- package/build/internal/es/meta.mjs +925 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -25,6 +25,8 @@ __export(index_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,
|
|
@@ -35,6 +37,7 @@ __export(index_exports, {
|
|
|
35
37
|
PagingMode: () => PagingMode,
|
|
36
38
|
Permission: () => Permission,
|
|
37
39
|
PluginType: () => PluginType,
|
|
40
|
+
PublishPluginConflictAction: () => PublishPluginConflictAction,
|
|
38
41
|
QueryOperator: () => QueryOperator,
|
|
39
42
|
Role: () => Role,
|
|
40
43
|
Segment: () => Segment,
|
|
@@ -43,12 +46,24 @@ __export(index_exports, {
|
|
|
43
46
|
TenantMode: () => TenantMode,
|
|
44
47
|
Type: () => Type,
|
|
45
48
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
49
|
+
addCatalogPlugin: () => addCatalogPlugin4,
|
|
50
|
+
addCmsPlugin: () => addCmsPlugin4,
|
|
46
51
|
addDataCollectionPlugin: () => addDataCollectionPlugin4,
|
|
52
|
+
addDraftItemsPlugin: () => addDraftItemsPlugin4,
|
|
53
|
+
addMultilingualPlugin: () => addMultilingualPlugin4,
|
|
54
|
+
addPublishPlugin: () => addPublishPlugin4,
|
|
55
|
+
addUrlizedPlugin: () => addUrlizedPlugin4,
|
|
47
56
|
createDataCollection: () => createDataCollection4,
|
|
48
57
|
createDataCollectionField: () => createDataCollectionField4,
|
|
58
|
+
deleteCatalogPlugin: () => deleteCatalogPlugin4,
|
|
59
|
+
deleteCmsPlugin: () => deleteCmsPlugin4,
|
|
49
60
|
deleteDataCollection: () => deleteDataCollection4,
|
|
50
61
|
deleteDataCollectionField: () => deleteDataCollectionField4,
|
|
51
62
|
deleteDataCollectionPlugin: () => deleteDataCollectionPlugin4,
|
|
63
|
+
deleteDraftItemsPlugin: () => deleteDraftItemsPlugin4,
|
|
64
|
+
deleteMultilingualPlugin: () => deleteMultilingualPlugin4,
|
|
65
|
+
deletePublishPlugin: () => deletePublishPlugin4,
|
|
66
|
+
deleteUrlizedPlugin: () => deleteUrlizedPlugin4,
|
|
52
67
|
getDataCollection: () => getDataCollection4,
|
|
53
68
|
listDataCollections: () => listDataCollections4,
|
|
54
69
|
patchDataCollection: () => patchDataCollection4,
|
|
@@ -1183,6 +1198,682 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
1183
1198
|
}
|
|
1184
1199
|
return __deleteDataCollectionPlugin;
|
|
1185
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
|
+
}
|
|
1186
1877
|
function patchDataCollectionField(payload) {
|
|
1187
1878
|
function __patchDataCollectionField({ host }) {
|
|
1188
1879
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1437,6 +2128,24 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1437
2128
|
SortOrder2["DESC"] = "DESC";
|
|
1438
2129
|
return SortOrder2;
|
|
1439
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 || {});
|
|
1440
2149
|
var TenantMode = /* @__PURE__ */ ((TenantMode2) => {
|
|
1441
2150
|
TenantMode2["META_SITE"] = "META_SITE";
|
|
1442
2151
|
TenantMode2["ACCOUNT"] = "ACCOUNT";
|
|
@@ -1475,42 +2184,294 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1475
2184
|
async function createDataCollection2(collection) {
|
|
1476
2185
|
const { httpClient, sideEffects } = arguments[1];
|
|
1477
2186
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1478
|
-
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
|
|
2381
|
+
});
|
|
2382
|
+
const reqOpts = createDataCollectionField(payload);
|
|
2383
|
+
sideEffects?.onSiteCall?.();
|
|
2384
|
+
try {
|
|
2385
|
+
const result = await httpClient.request(reqOpts);
|
|
2386
|
+
sideEffects?.onSuccess?.(result);
|
|
2387
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2388
|
+
} catch (err) {
|
|
2389
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2390
|
+
err,
|
|
2391
|
+
{
|
|
2392
|
+
spreadPathsToArguments: {},
|
|
2393
|
+
explicitPathsToArguments: {
|
|
2394
|
+
dataCollectionId: "$[0]",
|
|
2395
|
+
field: "$[1].field"
|
|
2396
|
+
},
|
|
2397
|
+
singleArgumentUnchanged: false
|
|
2398
|
+
},
|
|
2399
|
+
["dataCollectionId", "options"]
|
|
2400
|
+
);
|
|
2401
|
+
sideEffects?.onError?.(err);
|
|
2402
|
+
throw transformedError;
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
async function updateDataCollectionField2(dataCollectionId, options) {
|
|
2406
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2407
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2408
|
+
dataCollectionId,
|
|
2409
|
+
field: options?.field
|
|
2410
|
+
});
|
|
2411
|
+
const reqOpts = updateDataCollectionField(payload);
|
|
2412
|
+
sideEffects?.onSiteCall?.();
|
|
2413
|
+
try {
|
|
2414
|
+
const result = await httpClient.request(reqOpts);
|
|
2415
|
+
sideEffects?.onSuccess?.(result);
|
|
2416
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2417
|
+
} catch (err) {
|
|
2418
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2419
|
+
err,
|
|
2420
|
+
{
|
|
2421
|
+
spreadPathsToArguments: {},
|
|
2422
|
+
explicitPathsToArguments: {
|
|
2423
|
+
dataCollectionId: "$[0]",
|
|
2424
|
+
field: "$[1].field"
|
|
2425
|
+
},
|
|
2426
|
+
singleArgumentUnchanged: false
|
|
2427
|
+
},
|
|
2428
|
+
["dataCollectionId", "options"]
|
|
2429
|
+
);
|
|
2430
|
+
sideEffects?.onError?.(err);
|
|
2431
|
+
throw transformedError;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
async function deleteDataCollectionField2(dataCollectionId, options) {
|
|
2435
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2436
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2437
|
+
dataCollectionId,
|
|
2438
|
+
fieldKey: options?.fieldKey
|
|
1479
2439
|
});
|
|
1480
|
-
const reqOpts =
|
|
2440
|
+
const reqOpts = deleteDataCollectionField(payload);
|
|
1481
2441
|
sideEffects?.onSiteCall?.();
|
|
1482
2442
|
try {
|
|
1483
2443
|
const result = await httpClient.request(reqOpts);
|
|
1484
2444
|
sideEffects?.onSuccess?.(result);
|
|
1485
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2445
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1486
2446
|
} catch (err) {
|
|
1487
2447
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1488
2448
|
err,
|
|
1489
2449
|
{
|
|
1490
2450
|
spreadPathsToArguments: {},
|
|
1491
|
-
explicitPathsToArguments: {
|
|
2451
|
+
explicitPathsToArguments: {
|
|
2452
|
+
dataCollectionId: "$[0]",
|
|
2453
|
+
fieldKey: "$[1].fieldKey"
|
|
2454
|
+
},
|
|
1492
2455
|
singleArgumentUnchanged: false
|
|
1493
2456
|
},
|
|
1494
|
-
["
|
|
2457
|
+
["dataCollectionId", "options"]
|
|
1495
2458
|
);
|
|
1496
2459
|
sideEffects?.onError?.(err);
|
|
1497
2460
|
throw transformedError;
|
|
1498
2461
|
}
|
|
1499
2462
|
}
|
|
1500
|
-
async function
|
|
2463
|
+
async function addDataCollectionPlugin2(dataCollectionId, options) {
|
|
1501
2464
|
const { httpClient, sideEffects } = arguments[2];
|
|
1502
2465
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1503
2466
|
dataCollectionId,
|
|
1504
|
-
|
|
1505
|
-
includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
|
|
1506
|
-
fields: options?.fields
|
|
2467
|
+
plugin: options?.plugin
|
|
1507
2468
|
});
|
|
1508
|
-
const reqOpts =
|
|
2469
|
+
const reqOpts = addDataCollectionPlugin(payload);
|
|
1509
2470
|
sideEffects?.onSiteCall?.();
|
|
1510
2471
|
try {
|
|
1511
2472
|
const result = await httpClient.request(reqOpts);
|
|
1512
2473
|
sideEffects?.onSuccess?.(result);
|
|
1513
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2474
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1514
2475
|
} catch (err) {
|
|
1515
2476
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1516
2477
|
err,
|
|
@@ -1518,9 +2479,7 @@ async function getDataCollection2(dataCollectionId, options) {
|
|
|
1518
2479
|
spreadPathsToArguments: {},
|
|
1519
2480
|
explicitPathsToArguments: {
|
|
1520
2481
|
dataCollectionId: "$[0]",
|
|
1521
|
-
|
|
1522
|
-
includeAllowedDataPermissions: "$[1].includeAllowedDataPermissions",
|
|
1523
|
-
fields: "$[1].fields"
|
|
2482
|
+
plugin: "$[1].plugin"
|
|
1524
2483
|
},
|
|
1525
2484
|
singleArgumentUnchanged: false
|
|
1526
2485
|
},
|
|
@@ -1530,16 +2489,13 @@ async function getDataCollection2(dataCollectionId, options) {
|
|
|
1530
2489
|
throw transformedError;
|
|
1531
2490
|
}
|
|
1532
2491
|
}
|
|
1533
|
-
async function
|
|
1534
|
-
const { httpClient, sideEffects } = arguments[
|
|
2492
|
+
async function deleteDataCollectionPlugin2(dataCollectionId, options) {
|
|
2493
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1535
2494
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
consistentRead: options?.consistentRead,
|
|
1539
|
-
includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
|
|
1540
|
-
fields: options?.fields
|
|
2495
|
+
dataCollectionId,
|
|
2496
|
+
pluginType: options?.pluginType
|
|
1541
2497
|
});
|
|
1542
|
-
const reqOpts =
|
|
2498
|
+
const reqOpts = deleteDataCollectionPlugin(payload);
|
|
1543
2499
|
sideEffects?.onSiteCall?.();
|
|
1544
2500
|
try {
|
|
1545
2501
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1551,55 +2507,59 @@ async function listDataCollections2(options) {
|
|
|
1551
2507
|
{
|
|
1552
2508
|
spreadPathsToArguments: {},
|
|
1553
2509
|
explicitPathsToArguments: {
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
consistentRead: "$[0].consistentRead",
|
|
1557
|
-
includeAllowedDataPermissions: "$[0].includeAllowedDataPermissions",
|
|
1558
|
-
fields: "$[0].fields"
|
|
2510
|
+
dataCollectionId: "$[0]",
|
|
2511
|
+
pluginType: "$[1].pluginType"
|
|
1559
2512
|
},
|
|
1560
2513
|
singleArgumentUnchanged: false
|
|
1561
2514
|
},
|
|
1562
|
-
["options"]
|
|
2515
|
+
["dataCollectionId", "options"]
|
|
1563
2516
|
);
|
|
1564
2517
|
sideEffects?.onError?.(err);
|
|
1565
2518
|
throw transformedError;
|
|
1566
2519
|
}
|
|
1567
2520
|
}
|
|
1568
|
-
async function
|
|
1569
|
-
const { httpClient, sideEffects } = arguments[
|
|
2521
|
+
async function addPublishPlugin2(dataCollectionId, options) {
|
|
2522
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1570
2523
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1571
|
-
|
|
2524
|
+
dataCollectionId,
|
|
2525
|
+
publishOptions: options?.publishOptions,
|
|
2526
|
+
draftItemsPluginConflictAction: options?.draftItemsPluginConflictAction
|
|
1572
2527
|
});
|
|
1573
|
-
const reqOpts =
|
|
2528
|
+
const reqOpts = addPublishPlugin(payload);
|
|
1574
2529
|
sideEffects?.onSiteCall?.();
|
|
1575
2530
|
try {
|
|
1576
2531
|
const result = await httpClient.request(reqOpts);
|
|
1577
2532
|
sideEffects?.onSuccess?.(result);
|
|
1578
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2533
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1579
2534
|
} catch (err) {
|
|
1580
2535
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1581
2536
|
err,
|
|
1582
2537
|
{
|
|
1583
2538
|
spreadPathsToArguments: {},
|
|
1584
|
-
explicitPathsToArguments: {
|
|
2539
|
+
explicitPathsToArguments: {
|
|
2540
|
+
dataCollectionId: "$[0]",
|
|
2541
|
+
publishOptions: "$[1].publishOptions",
|
|
2542
|
+
draftItemsPluginConflictAction: "$[1].draftItemsPluginConflictAction"
|
|
2543
|
+
},
|
|
1585
2544
|
singleArgumentUnchanged: false
|
|
1586
2545
|
},
|
|
1587
|
-
["
|
|
2546
|
+
["dataCollectionId", "options"]
|
|
1588
2547
|
);
|
|
1589
2548
|
sideEffects?.onError?.(err);
|
|
1590
2549
|
throw transformedError;
|
|
1591
2550
|
}
|
|
1592
2551
|
}
|
|
1593
|
-
async function
|
|
2552
|
+
async function deletePublishPlugin2(dataCollectionId) {
|
|
1594
2553
|
const { httpClient, sideEffects } = arguments[1];
|
|
1595
2554
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1596
2555
|
dataCollectionId
|
|
1597
2556
|
});
|
|
1598
|
-
const reqOpts =
|
|
2557
|
+
const reqOpts = deletePublishPlugin(payload);
|
|
1599
2558
|
sideEffects?.onSiteCall?.();
|
|
1600
2559
|
try {
|
|
1601
2560
|
const result = await httpClient.request(reqOpts);
|
|
1602
2561
|
sideEffects?.onSuccess?.(result);
|
|
2562
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1603
2563
|
} catch (err) {
|
|
1604
2564
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1605
2565
|
err,
|
|
@@ -1614,12 +2574,13 @@ async function deleteDataCollection2(dataCollectionId) {
|
|
|
1614
2574
|
throw transformedError;
|
|
1615
2575
|
}
|
|
1616
2576
|
}
|
|
1617
|
-
async function
|
|
1618
|
-
const { httpClient, sideEffects } = arguments[
|
|
2577
|
+
async function addUrlizedPlugin2(dataCollectionId, options) {
|
|
2578
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1619
2579
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1620
|
-
dataCollectionId
|
|
2580
|
+
dataCollectionId,
|
|
2581
|
+
urlizedOptions: options?.urlizedOptions
|
|
1621
2582
|
});
|
|
1622
|
-
const reqOpts =
|
|
2583
|
+
const reqOpts = addUrlizedPlugin(payload);
|
|
1623
2584
|
sideEffects?.onSiteCall?.();
|
|
1624
2585
|
try {
|
|
1625
2586
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1630,21 +2591,24 @@ async function restoreDataCollection2(dataCollectionId) {
|
|
|
1630
2591
|
err,
|
|
1631
2592
|
{
|
|
1632
2593
|
spreadPathsToArguments: {},
|
|
1633
|
-
explicitPathsToArguments: {
|
|
2594
|
+
explicitPathsToArguments: {
|
|
2595
|
+
dataCollectionId: "$[0]",
|
|
2596
|
+
urlizedOptions: "$[1].urlizedOptions"
|
|
2597
|
+
},
|
|
1634
2598
|
singleArgumentUnchanged: false
|
|
1635
2599
|
},
|
|
1636
|
-
["dataCollectionId"]
|
|
2600
|
+
["dataCollectionId", "options"]
|
|
1637
2601
|
);
|
|
1638
2602
|
sideEffects?.onError?.(err);
|
|
1639
2603
|
throw transformedError;
|
|
1640
2604
|
}
|
|
1641
2605
|
}
|
|
1642
|
-
async function
|
|
1643
|
-
const { httpClient, sideEffects } = arguments[
|
|
2606
|
+
async function deleteUrlizedPlugin2(dataCollectionId) {
|
|
2607
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1644
2608
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1645
|
-
|
|
2609
|
+
dataCollectionId
|
|
1646
2610
|
});
|
|
1647
|
-
const reqOpts =
|
|
2611
|
+
const reqOpts = deleteUrlizedPlugin(payload);
|
|
1648
2612
|
sideEffects?.onSiteCall?.();
|
|
1649
2613
|
try {
|
|
1650
2614
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1654,23 +2618,23 @@ async function patchDataCollection2(_id, dataCollection) {
|
|
|
1654
2618
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1655
2619
|
err,
|
|
1656
2620
|
{
|
|
1657
|
-
spreadPathsToArguments: {
|
|
1658
|
-
explicitPathsToArguments: {
|
|
2621
|
+
spreadPathsToArguments: {},
|
|
2622
|
+
explicitPathsToArguments: { dataCollectionId: "$[0]" },
|
|
1659
2623
|
singleArgumentUnchanged: false
|
|
1660
2624
|
},
|
|
1661
|
-
["
|
|
2625
|
+
["dataCollectionId"]
|
|
1662
2626
|
);
|
|
1663
2627
|
sideEffects?.onError?.(err);
|
|
1664
2628
|
throw transformedError;
|
|
1665
2629
|
}
|
|
1666
2630
|
}
|
|
1667
|
-
async function
|
|
2631
|
+
async function addMultilingualPlugin2(dataCollectionId, options) {
|
|
1668
2632
|
const { httpClient, sideEffects } = arguments[2];
|
|
1669
2633
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1670
2634
|
dataCollectionId,
|
|
1671
|
-
|
|
2635
|
+
multilingualOptions: options?.multilingualOptions
|
|
1672
2636
|
});
|
|
1673
|
-
const reqOpts =
|
|
2637
|
+
const reqOpts = addMultilingualPlugin(payload);
|
|
1674
2638
|
sideEffects?.onSiteCall?.();
|
|
1675
2639
|
try {
|
|
1676
2640
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1683,7 +2647,7 @@ async function createDataCollectionField2(dataCollectionId, options) {
|
|
|
1683
2647
|
spreadPathsToArguments: {},
|
|
1684
2648
|
explicitPathsToArguments: {
|
|
1685
2649
|
dataCollectionId: "$[0]",
|
|
1686
|
-
|
|
2650
|
+
multilingualOptions: "$[1].multilingualOptions"
|
|
1687
2651
|
},
|
|
1688
2652
|
singleArgumentUnchanged: false
|
|
1689
2653
|
},
|
|
@@ -1693,13 +2657,38 @@ async function createDataCollectionField2(dataCollectionId, options) {
|
|
|
1693
2657
|
throw transformedError;
|
|
1694
2658
|
}
|
|
1695
2659
|
}
|
|
1696
|
-
async function
|
|
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) {
|
|
1697
2686
|
const { httpClient, sideEffects } = arguments[2];
|
|
1698
2687
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1699
2688
|
dataCollectionId,
|
|
1700
|
-
|
|
2689
|
+
cmsOptions: options?.cmsOptions
|
|
1701
2690
|
});
|
|
1702
|
-
const reqOpts =
|
|
2691
|
+
const reqOpts = addCmsPlugin(payload);
|
|
1703
2692
|
sideEffects?.onSiteCall?.();
|
|
1704
2693
|
try {
|
|
1705
2694
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1712,7 +2701,7 @@ async function updateDataCollectionField2(dataCollectionId, options) {
|
|
|
1712
2701
|
spreadPathsToArguments: {},
|
|
1713
2702
|
explicitPathsToArguments: {
|
|
1714
2703
|
dataCollectionId: "$[0]",
|
|
1715
|
-
|
|
2704
|
+
cmsOptions: "$[1].cmsOptions"
|
|
1716
2705
|
},
|
|
1717
2706
|
singleArgumentUnchanged: false
|
|
1718
2707
|
},
|
|
@@ -1722,13 +2711,38 @@ async function updateDataCollectionField2(dataCollectionId, options) {
|
|
|
1722
2711
|
throw transformedError;
|
|
1723
2712
|
}
|
|
1724
2713
|
}
|
|
1725
|
-
async function
|
|
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) {
|
|
1726
2740
|
const { httpClient, sideEffects } = arguments[2];
|
|
1727
2741
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1728
2742
|
dataCollectionId,
|
|
1729
|
-
|
|
2743
|
+
catalogOptions: options?.catalogOptions
|
|
1730
2744
|
});
|
|
1731
|
-
const reqOpts =
|
|
2745
|
+
const reqOpts = addCatalogPlugin(payload);
|
|
1732
2746
|
sideEffects?.onSiteCall?.();
|
|
1733
2747
|
try {
|
|
1734
2748
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1741,7 +2755,7 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
|
|
|
1741
2755
|
spreadPathsToArguments: {},
|
|
1742
2756
|
explicitPathsToArguments: {
|
|
1743
2757
|
dataCollectionId: "$[0]",
|
|
1744
|
-
|
|
2758
|
+
catalogOptions: "$[1].catalogOptions"
|
|
1745
2759
|
},
|
|
1746
2760
|
singleArgumentUnchanged: false
|
|
1747
2761
|
},
|
|
@@ -1751,13 +2765,39 @@ async function deleteDataCollectionField2(dataCollectionId, options) {
|
|
|
1751
2765
|
throw transformedError;
|
|
1752
2766
|
}
|
|
1753
2767
|
}
|
|
1754
|
-
async function
|
|
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) {
|
|
1755
2794
|
const { httpClient, sideEffects } = arguments[2];
|
|
1756
2795
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1757
2796
|
dataCollectionId,
|
|
1758
|
-
|
|
2797
|
+
draftItemsOptions: options?.draftItemsOptions,
|
|
2798
|
+
publishPluginConflictAction: options?.publishPluginConflictAction
|
|
1759
2799
|
});
|
|
1760
|
-
const reqOpts =
|
|
2800
|
+
const reqOpts = addDraftItemsPlugin(payload);
|
|
1761
2801
|
sideEffects?.onSiteCall?.();
|
|
1762
2802
|
try {
|
|
1763
2803
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1770,7 +2810,8 @@ async function addDataCollectionPlugin2(dataCollectionId, options) {
|
|
|
1770
2810
|
spreadPathsToArguments: {},
|
|
1771
2811
|
explicitPathsToArguments: {
|
|
1772
2812
|
dataCollectionId: "$[0]",
|
|
1773
|
-
|
|
2813
|
+
draftItemsOptions: "$[1].draftItemsOptions",
|
|
2814
|
+
publishPluginConflictAction: "$[1].publishPluginConflictAction"
|
|
1774
2815
|
},
|
|
1775
2816
|
singleArgumentUnchanged: false
|
|
1776
2817
|
},
|
|
@@ -1780,13 +2821,13 @@ async function addDataCollectionPlugin2(dataCollectionId, options) {
|
|
|
1780
2821
|
throw transformedError;
|
|
1781
2822
|
}
|
|
1782
2823
|
}
|
|
1783
|
-
async function
|
|
2824
|
+
async function deleteDraftItemsPlugin2(dataCollectionId, options) {
|
|
1784
2825
|
const { httpClient, sideEffects } = arguments[2];
|
|
1785
2826
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1786
2827
|
dataCollectionId,
|
|
1787
|
-
|
|
2828
|
+
draftItemsRemovalAction: options?.draftItemsRemovalAction
|
|
1788
2829
|
});
|
|
1789
|
-
const reqOpts =
|
|
2830
|
+
const reqOpts = deleteDraftItemsPlugin(payload);
|
|
1790
2831
|
sideEffects?.onSiteCall?.();
|
|
1791
2832
|
try {
|
|
1792
2833
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1799,7 +2840,7 @@ async function deleteDataCollectionPlugin2(dataCollectionId, options) {
|
|
|
1799
2840
|
spreadPathsToArguments: {},
|
|
1800
2841
|
explicitPathsToArguments: {
|
|
1801
2842
|
dataCollectionId: "$[0]",
|
|
1802
|
-
|
|
2843
|
+
draftItemsRemovalAction: "$[1].draftItemsRemovalAction"
|
|
1803
2844
|
},
|
|
1804
2845
|
singleArgumentUnchanged: false
|
|
1805
2846
|
},
|
|
@@ -1928,6 +2969,97 @@ function deleteDataCollectionPlugin3(httpClient) {
|
|
|
1928
2969
|
{ httpClient }
|
|
1929
2970
|
);
|
|
1930
2971
|
}
|
|
2972
|
+
function addPublishPlugin3(httpClient) {
|
|
2973
|
+
return (dataCollectionId, options) => addPublishPlugin2(
|
|
2974
|
+
dataCollectionId,
|
|
2975
|
+
options,
|
|
2976
|
+
// @ts-ignore
|
|
2977
|
+
{ httpClient }
|
|
2978
|
+
);
|
|
2979
|
+
}
|
|
2980
|
+
function deletePublishPlugin3(httpClient) {
|
|
2981
|
+
return (dataCollectionId) => deletePublishPlugin2(
|
|
2982
|
+
dataCollectionId,
|
|
2983
|
+
// @ts-ignore
|
|
2984
|
+
{ httpClient }
|
|
2985
|
+
);
|
|
2986
|
+
}
|
|
2987
|
+
function addUrlizedPlugin3(httpClient) {
|
|
2988
|
+
return (dataCollectionId, options) => addUrlizedPlugin2(
|
|
2989
|
+
dataCollectionId,
|
|
2990
|
+
options,
|
|
2991
|
+
// @ts-ignore
|
|
2992
|
+
{ httpClient }
|
|
2993
|
+
);
|
|
2994
|
+
}
|
|
2995
|
+
function deleteUrlizedPlugin3(httpClient) {
|
|
2996
|
+
return (dataCollectionId) => deleteUrlizedPlugin2(
|
|
2997
|
+
dataCollectionId,
|
|
2998
|
+
// @ts-ignore
|
|
2999
|
+
{ httpClient }
|
|
3000
|
+
);
|
|
3001
|
+
}
|
|
3002
|
+
function addMultilingualPlugin3(httpClient) {
|
|
3003
|
+
return (dataCollectionId, options) => addMultilingualPlugin2(
|
|
3004
|
+
dataCollectionId,
|
|
3005
|
+
options,
|
|
3006
|
+
// @ts-ignore
|
|
3007
|
+
{ httpClient }
|
|
3008
|
+
);
|
|
3009
|
+
}
|
|
3010
|
+
function deleteMultilingualPlugin3(httpClient) {
|
|
3011
|
+
return (dataCollectionId) => deleteMultilingualPlugin2(
|
|
3012
|
+
dataCollectionId,
|
|
3013
|
+
// @ts-ignore
|
|
3014
|
+
{ httpClient }
|
|
3015
|
+
);
|
|
3016
|
+
}
|
|
3017
|
+
function addCmsPlugin3(httpClient) {
|
|
3018
|
+
return (dataCollectionId, options) => addCmsPlugin2(
|
|
3019
|
+
dataCollectionId,
|
|
3020
|
+
options,
|
|
3021
|
+
// @ts-ignore
|
|
3022
|
+
{ httpClient }
|
|
3023
|
+
);
|
|
3024
|
+
}
|
|
3025
|
+
function deleteCmsPlugin3(httpClient) {
|
|
3026
|
+
return (dataCollectionId) => deleteCmsPlugin2(
|
|
3027
|
+
dataCollectionId,
|
|
3028
|
+
// @ts-ignore
|
|
3029
|
+
{ httpClient }
|
|
3030
|
+
);
|
|
3031
|
+
}
|
|
3032
|
+
function addCatalogPlugin3(httpClient) {
|
|
3033
|
+
return (dataCollectionId, options) => addCatalogPlugin2(
|
|
3034
|
+
dataCollectionId,
|
|
3035
|
+
options,
|
|
3036
|
+
// @ts-ignore
|
|
3037
|
+
{ httpClient }
|
|
3038
|
+
);
|
|
3039
|
+
}
|
|
3040
|
+
function deleteCatalogPlugin3(httpClient) {
|
|
3041
|
+
return (dataCollectionId) => deleteCatalogPlugin2(
|
|
3042
|
+
dataCollectionId,
|
|
3043
|
+
// @ts-ignore
|
|
3044
|
+
{ httpClient }
|
|
3045
|
+
);
|
|
3046
|
+
}
|
|
3047
|
+
function addDraftItemsPlugin3(httpClient) {
|
|
3048
|
+
return (dataCollectionId, options) => addDraftItemsPlugin2(
|
|
3049
|
+
dataCollectionId,
|
|
3050
|
+
options,
|
|
3051
|
+
// @ts-ignore
|
|
3052
|
+
{ httpClient }
|
|
3053
|
+
);
|
|
3054
|
+
}
|
|
3055
|
+
function deleteDraftItemsPlugin3(httpClient) {
|
|
3056
|
+
return (dataCollectionId, options) => deleteDraftItemsPlugin2(
|
|
3057
|
+
dataCollectionId,
|
|
3058
|
+
options,
|
|
3059
|
+
// @ts-ignore
|
|
3060
|
+
{ httpClient }
|
|
3061
|
+
);
|
|
3062
|
+
}
|
|
1931
3063
|
function patchDataCollectionField3(httpClient) {
|
|
1932
3064
|
return (dataCollectionId, field) => patchDataCollectionField2(
|
|
1933
3065
|
dataCollectionId,
|
|
@@ -1951,6 +3083,18 @@ var updateDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1951
3083
|
var deleteDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDataCollectionField3);
|
|
1952
3084
|
var addDataCollectionPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addDataCollectionPlugin3);
|
|
1953
3085
|
var deleteDataCollectionPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDataCollectionPlugin3);
|
|
3086
|
+
var addPublishPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addPublishPlugin3);
|
|
3087
|
+
var deletePublishPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deletePublishPlugin3);
|
|
3088
|
+
var addUrlizedPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addUrlizedPlugin3);
|
|
3089
|
+
var deleteUrlizedPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteUrlizedPlugin3);
|
|
3090
|
+
var addMultilingualPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addMultilingualPlugin3);
|
|
3091
|
+
var deleteMultilingualPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteMultilingualPlugin3);
|
|
3092
|
+
var addCmsPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addCmsPlugin3);
|
|
3093
|
+
var deleteCmsPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteCmsPlugin3);
|
|
3094
|
+
var addCatalogPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addCatalogPlugin3);
|
|
3095
|
+
var deleteCatalogPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteCatalogPlugin3);
|
|
3096
|
+
var addDraftItemsPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addDraftItemsPlugin3);
|
|
3097
|
+
var deleteDraftItemsPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDraftItemsPlugin3);
|
|
1954
3098
|
var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(patchDataCollectionField3);
|
|
1955
3099
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1956
3100
|
0 && (module.exports = {
|
|
@@ -1959,6 +3103,8 @@ var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
1959
3103
|
CollectionType,
|
|
1960
3104
|
DataOperation,
|
|
1961
3105
|
Direction,
|
|
3106
|
+
DraftItemsPluginConflictAction,
|
|
3107
|
+
DraftItemsRemovalAction,
|
|
1962
3108
|
FieldPluginType,
|
|
1963
3109
|
Format,
|
|
1964
3110
|
IndexSource,
|
|
@@ -1969,6 +3115,7 @@ var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
1969
3115
|
PagingMode,
|
|
1970
3116
|
Permission,
|
|
1971
3117
|
PluginType,
|
|
3118
|
+
PublishPluginConflictAction,
|
|
1972
3119
|
QueryOperator,
|
|
1973
3120
|
Role,
|
|
1974
3121
|
Segment,
|
|
@@ -1977,12 +3124,24 @@ var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
1977
3124
|
TenantMode,
|
|
1978
3125
|
Type,
|
|
1979
3126
|
WebhookIdentityType,
|
|
3127
|
+
addCatalogPlugin,
|
|
3128
|
+
addCmsPlugin,
|
|
1980
3129
|
addDataCollectionPlugin,
|
|
3130
|
+
addDraftItemsPlugin,
|
|
3131
|
+
addMultilingualPlugin,
|
|
3132
|
+
addPublishPlugin,
|
|
3133
|
+
addUrlizedPlugin,
|
|
1981
3134
|
createDataCollection,
|
|
1982
3135
|
createDataCollectionField,
|
|
3136
|
+
deleteCatalogPlugin,
|
|
3137
|
+
deleteCmsPlugin,
|
|
1983
3138
|
deleteDataCollection,
|
|
1984
3139
|
deleteDataCollectionField,
|
|
1985
3140
|
deleteDataCollectionPlugin,
|
|
3141
|
+
deleteDraftItemsPlugin,
|
|
3142
|
+
deleteMultilingualPlugin,
|
|
3143
|
+
deletePublishPlugin,
|
|
3144
|
+
deleteUrlizedPlugin,
|
|
1986
3145
|
getDataCollection,
|
|
1987
3146
|
listDataCollections,
|
|
1988
3147
|
patchDataCollection,
|