@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1236 -70
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +222 -1
- package/build/cjs/index.typings.js +1132 -69
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +203 -2
- package/build/cjs/meta.js +947 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1220 -70
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +222 -1
- package/build/es/index.typings.mjs +1116 -69
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +203 -2
- package/build/es/meta.mjs +931 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +135 -3
- package/build/internal/cjs/index.js +1236 -70
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +358 -1
- package/build/internal/cjs/index.typings.js +1132 -69
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +203 -2
- package/build/internal/cjs/meta.js +947 -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 +1220 -70
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +358 -1
- package/build/internal/es/index.typings.mjs +1116 -69
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +203 -2
- package/build/internal/es/meta.mjs +931 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -25,15 +25,19 @@ __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,
|
|
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_exports, {
|
|
|
42
46
|
TenantMode: () => TenantMode,
|
|
43
47
|
Type: () => Type,
|
|
44
48
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
49
|
+
addCatalogPlugin: () => addCatalogPlugin4,
|
|
50
|
+
addCmsPlugin: () => addCmsPlugin4,
|
|
45
51
|
addDataCollectionPlugin: () => addDataCollectionPlugin4,
|
|
52
|
+
addDraftItemsPlugin: () => addDraftItemsPlugin4,
|
|
53
|
+
addMultilingualPlugin: () => addMultilingualPlugin4,
|
|
54
|
+
addPublishPlugin: () => addPublishPlugin4,
|
|
55
|
+
addUrlizedPlugin: () => addUrlizedPlugin4,
|
|
46
56
|
createDataCollection: () => createDataCollection4,
|
|
47
57
|
createDataCollectionField: () => createDataCollectionField4,
|
|
58
|
+
deleteCatalogPlugin: () => deleteCatalogPlugin4,
|
|
59
|
+
deleteCmsPlugin: () => deleteCmsPlugin4,
|
|
48
60
|
deleteDataCollection: () => deleteDataCollection4,
|
|
49
61
|
deleteDataCollectionField: () => deleteDataCollectionField4,
|
|
50
62
|
deleteDataCollectionPlugin: () => deleteDataCollectionPlugin4,
|
|
63
|
+
deleteDraftItemsPlugin: () => deleteDraftItemsPlugin4,
|
|
64
|
+
deleteMultilingualPlugin: () => deleteMultilingualPlugin4,
|
|
65
|
+
deletePublishPlugin: () => deletePublishPlugin4,
|
|
66
|
+
deleteUrlizedPlugin: () => deleteUrlizedPlugin4,
|
|
51
67
|
getDataCollection: () => getDataCollection4,
|
|
52
68
|
listDataCollections: () => listDataCollections4,
|
|
53
69
|
patchDataCollection: () => patchDataCollection4,
|
|
@@ -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,294 @@ 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
|
|
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
|
|
1473
2439
|
});
|
|
1474
|
-
const reqOpts =
|
|
2440
|
+
const reqOpts = deleteDataCollectionField(payload);
|
|
1475
2441
|
sideEffects?.onSiteCall?.();
|
|
1476
2442
|
try {
|
|
1477
2443
|
const result = await httpClient.request(reqOpts);
|
|
1478
2444
|
sideEffects?.onSuccess?.(result);
|
|
1479
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2445
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1480
2446
|
} catch (err) {
|
|
1481
2447
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1482
2448
|
err,
|
|
1483
2449
|
{
|
|
1484
2450
|
spreadPathsToArguments: {},
|
|
1485
|
-
explicitPathsToArguments: {
|
|
2451
|
+
explicitPathsToArguments: {
|
|
2452
|
+
dataCollectionId: "$[0]",
|
|
2453
|
+
fieldKey: "$[1].fieldKey"
|
|
2454
|
+
},
|
|
1486
2455
|
singleArgumentUnchanged: false
|
|
1487
2456
|
},
|
|
1488
|
-
["
|
|
2457
|
+
["dataCollectionId", "options"]
|
|
1489
2458
|
);
|
|
1490
2459
|
sideEffects?.onError?.(err);
|
|
1491
2460
|
throw transformedError;
|
|
1492
2461
|
}
|
|
1493
2462
|
}
|
|
1494
|
-
async function
|
|
2463
|
+
async function addDataCollectionPlugin2(dataCollectionId, options) {
|
|
1495
2464
|
const { httpClient, sideEffects } = arguments[2];
|
|
1496
2465
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1497
2466
|
dataCollectionId,
|
|
1498
|
-
|
|
1499
|
-
includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
|
|
1500
|
-
fields: options?.fields
|
|
2467
|
+
plugin: options?.plugin
|
|
1501
2468
|
});
|
|
1502
|
-
const reqOpts =
|
|
2469
|
+
const reqOpts = addDataCollectionPlugin(payload);
|
|
1503
2470
|
sideEffects?.onSiteCall?.();
|
|
1504
2471
|
try {
|
|
1505
2472
|
const result = await httpClient.request(reqOpts);
|
|
1506
2473
|
sideEffects?.onSuccess?.(result);
|
|
1507
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2474
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1508
2475
|
} catch (err) {
|
|
1509
2476
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1510
2477
|
err,
|
|
@@ -1512,9 +2479,7 @@ async function getDataCollection2(dataCollectionId, options) {
|
|
|
1512
2479
|
spreadPathsToArguments: {},
|
|
1513
2480
|
explicitPathsToArguments: {
|
|
1514
2481
|
dataCollectionId: "$[0]",
|
|
1515
|
-
|
|
1516
|
-
includeAllowedDataPermissions: "$[1].includeAllowedDataPermissions",
|
|
1517
|
-
fields: "$[1].fields"
|
|
2482
|
+
plugin: "$[1].plugin"
|
|
1518
2483
|
},
|
|
1519
2484
|
singleArgumentUnchanged: false
|
|
1520
2485
|
},
|
|
@@ -1524,16 +2489,13 @@ async function getDataCollection2(dataCollectionId, options) {
|
|
|
1524
2489
|
throw transformedError;
|
|
1525
2490
|
}
|
|
1526
2491
|
}
|
|
1527
|
-
async function
|
|
1528
|
-
const { httpClient, sideEffects } = arguments[
|
|
2492
|
+
async function deleteDataCollectionPlugin2(dataCollectionId, options) {
|
|
2493
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1529
2494
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
consistentRead: options?.consistentRead,
|
|
1533
|
-
includeAllowedDataPermissions: options?.includeAllowedDataPermissions,
|
|
1534
|
-
fields: options?.fields
|
|
2495
|
+
dataCollectionId,
|
|
2496
|
+
pluginType: options?.pluginType
|
|
1535
2497
|
});
|
|
1536
|
-
const reqOpts =
|
|
2498
|
+
const reqOpts = deleteDataCollectionPlugin(payload);
|
|
1537
2499
|
sideEffects?.onSiteCall?.();
|
|
1538
2500
|
try {
|
|
1539
2501
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1545,55 +2507,59 @@ async function listDataCollections2(options) {
|
|
|
1545
2507
|
{
|
|
1546
2508
|
spreadPathsToArguments: {},
|
|
1547
2509
|
explicitPathsToArguments: {
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
consistentRead: "$[0].consistentRead",
|
|
1551
|
-
includeAllowedDataPermissions: "$[0].includeAllowedDataPermissions",
|
|
1552
|
-
fields: "$[0].fields"
|
|
2510
|
+
dataCollectionId: "$[0]",
|
|
2511
|
+
pluginType: "$[1].pluginType"
|
|
1553
2512
|
},
|
|
1554
2513
|
singleArgumentUnchanged: false
|
|
1555
2514
|
},
|
|
1556
|
-
["options"]
|
|
2515
|
+
["dataCollectionId", "options"]
|
|
1557
2516
|
);
|
|
1558
2517
|
sideEffects?.onError?.(err);
|
|
1559
2518
|
throw transformedError;
|
|
1560
2519
|
}
|
|
1561
2520
|
}
|
|
1562
|
-
async function
|
|
1563
|
-
const { httpClient, sideEffects } = arguments[
|
|
2521
|
+
async function addPublishPlugin2(dataCollectionId, options) {
|
|
2522
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1564
2523
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1565
|
-
|
|
2524
|
+
dataCollectionId,
|
|
2525
|
+
publishOptions: options?.publishOptions,
|
|
2526
|
+
draftItemsPluginConflictAction: options?.draftItemsPluginConflictAction
|
|
1566
2527
|
});
|
|
1567
|
-
const reqOpts =
|
|
2528
|
+
const reqOpts = addPublishPlugin(payload);
|
|
1568
2529
|
sideEffects?.onSiteCall?.();
|
|
1569
2530
|
try {
|
|
1570
2531
|
const result = await httpClient.request(reqOpts);
|
|
1571
2532
|
sideEffects?.onSuccess?.(result);
|
|
1572
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)
|
|
2533
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1573
2534
|
} catch (err) {
|
|
1574
2535
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1575
2536
|
err,
|
|
1576
2537
|
{
|
|
1577
2538
|
spreadPathsToArguments: {},
|
|
1578
|
-
explicitPathsToArguments: {
|
|
2539
|
+
explicitPathsToArguments: {
|
|
2540
|
+
dataCollectionId: "$[0]",
|
|
2541
|
+
publishOptions: "$[1].publishOptions",
|
|
2542
|
+
draftItemsPluginConflictAction: "$[1].draftItemsPluginConflictAction"
|
|
2543
|
+
},
|
|
1579
2544
|
singleArgumentUnchanged: false
|
|
1580
2545
|
},
|
|
1581
|
-
["
|
|
2546
|
+
["dataCollectionId", "options"]
|
|
1582
2547
|
);
|
|
1583
2548
|
sideEffects?.onError?.(err);
|
|
1584
2549
|
throw transformedError;
|
|
1585
2550
|
}
|
|
1586
2551
|
}
|
|
1587
|
-
async function
|
|
2552
|
+
async function deletePublishPlugin2(dataCollectionId) {
|
|
1588
2553
|
const { httpClient, sideEffects } = arguments[1];
|
|
1589
2554
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1590
2555
|
dataCollectionId
|
|
1591
2556
|
});
|
|
1592
|
-
const reqOpts =
|
|
2557
|
+
const reqOpts = deletePublishPlugin(payload);
|
|
1593
2558
|
sideEffects?.onSiteCall?.();
|
|
1594
2559
|
try {
|
|
1595
2560
|
const result = await httpClient.request(reqOpts);
|
|
1596
2561
|
sideEffects?.onSuccess?.(result);
|
|
2562
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1597
2563
|
} catch (err) {
|
|
1598
2564
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1599
2565
|
err,
|
|
@@ -1608,12 +2574,13 @@ async function deleteDataCollection2(dataCollectionId) {
|
|
|
1608
2574
|
throw transformedError;
|
|
1609
2575
|
}
|
|
1610
2576
|
}
|
|
1611
|
-
async function
|
|
1612
|
-
const { httpClient, sideEffects } = arguments[
|
|
2577
|
+
async function addUrlizedPlugin2(dataCollectionId, options) {
|
|
2578
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1613
2579
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1614
|
-
dataCollectionId
|
|
2580
|
+
dataCollectionId,
|
|
2581
|
+
urlizedOptions: options?.urlizedOptions
|
|
1615
2582
|
});
|
|
1616
|
-
const reqOpts =
|
|
2583
|
+
const reqOpts = addUrlizedPlugin(payload);
|
|
1617
2584
|
sideEffects?.onSiteCall?.();
|
|
1618
2585
|
try {
|
|
1619
2586
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1624,21 +2591,24 @@ async function restoreDataCollection2(dataCollectionId) {
|
|
|
1624
2591
|
err,
|
|
1625
2592
|
{
|
|
1626
2593
|
spreadPathsToArguments: {},
|
|
1627
|
-
explicitPathsToArguments: {
|
|
2594
|
+
explicitPathsToArguments: {
|
|
2595
|
+
dataCollectionId: "$[0]",
|
|
2596
|
+
urlizedOptions: "$[1].urlizedOptions"
|
|
2597
|
+
},
|
|
1628
2598
|
singleArgumentUnchanged: false
|
|
1629
2599
|
},
|
|
1630
|
-
["dataCollectionId"]
|
|
2600
|
+
["dataCollectionId", "options"]
|
|
1631
2601
|
);
|
|
1632
2602
|
sideEffects?.onError?.(err);
|
|
1633
2603
|
throw transformedError;
|
|
1634
2604
|
}
|
|
1635
2605
|
}
|
|
1636
|
-
async function
|
|
1637
|
-
const { httpClient, sideEffects } = arguments[
|
|
2606
|
+
async function deleteUrlizedPlugin2(dataCollectionId) {
|
|
2607
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1638
2608
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1639
|
-
|
|
2609
|
+
dataCollectionId
|
|
1640
2610
|
});
|
|
1641
|
-
const reqOpts =
|
|
2611
|
+
const reqOpts = deleteUrlizedPlugin(payload);
|
|
1642
2612
|
sideEffects?.onSiteCall?.();
|
|
1643
2613
|
try {
|
|
1644
2614
|
const result = await httpClient.request(reqOpts);
|
|
@@ -1648,23 +2618,23 @@ async function patchDataCollection2(_id, dataCollection) {
|
|
|
1648
2618
|
const transformedError = (0, import_transform_error.transformError)(
|
|
1649
2619
|
err,
|
|
1650
2620
|
{
|
|
1651
|
-
spreadPathsToArguments: {
|
|
1652
|
-
explicitPathsToArguments: {
|
|
2621
|
+
spreadPathsToArguments: {},
|
|
2622
|
+
explicitPathsToArguments: { dataCollectionId: "$[0]" },
|
|
1653
2623
|
singleArgumentUnchanged: false
|
|
1654
2624
|
},
|
|
1655
|
-
["
|
|
2625
|
+
["dataCollectionId"]
|
|
1656
2626
|
);
|
|
1657
2627
|
sideEffects?.onError?.(err);
|
|
1658
2628
|
throw transformedError;
|
|
1659
2629
|
}
|
|
1660
2630
|
}
|
|
1661
|
-
async function
|
|
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
|
-
|
|
2635
|
+
multilingualOptions: options?.multilingualOptions
|
|
1666
2636
|
});
|
|
1667
|
-
const reqOpts =
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
2689
|
+
cmsOptions: options?.cmsOptions
|
|
1695
2690
|
});
|
|
1696
|
-
const reqOpts =
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
2743
|
+
catalogOptions: options?.catalogOptions
|
|
1724
2744
|
});
|
|
1725
|
-
const reqOpts =
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
2797
|
+
draftItemsOptions: options?.draftItemsOptions,
|
|
2798
|
+
publishPluginConflictAction: options?.publishPluginConflictAction
|
|
1753
2799
|
});
|
|
1754
|
-
const reqOpts =
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
2828
|
+
draftItemsRemovalAction: options?.draftItemsRemovalAction
|
|
1782
2829
|
});
|
|
1783
|
-
const reqOpts =
|
|
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
|
-
|
|
2843
|
+
draftItemsRemovalAction: "$[1].draftItemsRemovalAction"
|
|
1797
2844
|
},
|
|
1798
2845
|
singleArgumentUnchanged: false
|
|
1799
2846
|
},
|
|
@@ -1922,6 +2969,97 @@ function deleteDataCollectionPlugin3(httpClient) {
|
|
|
1922
2969
|
{ httpClient }
|
|
1923
2970
|
);
|
|
1924
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
|
+
}
|
|
1925
3063
|
function patchDataCollectionField3(httpClient) {
|
|
1926
3064
|
return (dataCollectionId, field) => patchDataCollectionField2(
|
|
1927
3065
|
dataCollectionId,
|
|
@@ -1945,6 +3083,18 @@ var updateDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
1945
3083
|
var deleteDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDataCollectionField3);
|
|
1946
3084
|
var addDataCollectionPlugin4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(addDataCollectionPlugin3);
|
|
1947
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);
|
|
1948
3098
|
var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(patchDataCollectionField3);
|
|
1949
3099
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1950
3100
|
0 && (module.exports = {
|
|
@@ -1953,15 +3103,19 @@ var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
1953
3103
|
CollectionType,
|
|
1954
3104
|
DataOperation,
|
|
1955
3105
|
Direction,
|
|
3106
|
+
DraftItemsPluginConflictAction,
|
|
3107
|
+
DraftItemsRemovalAction,
|
|
1956
3108
|
FieldPluginType,
|
|
1957
3109
|
Format,
|
|
1958
3110
|
IndexSource,
|
|
1959
3111
|
IndexStatus,
|
|
3112
|
+
LifecycleStatus,
|
|
1960
3113
|
Order,
|
|
1961
3114
|
PageLinkType,
|
|
1962
3115
|
PagingMode,
|
|
1963
3116
|
Permission,
|
|
1964
3117
|
PluginType,
|
|
3118
|
+
PublishPluginConflictAction,
|
|
1965
3119
|
QueryOperator,
|
|
1966
3120
|
Role,
|
|
1967
3121
|
Segment,
|
|
@@ -1970,12 +3124,24 @@ var patchDataCollectionField4 = /* @__PURE__ */ (0, import_rest_modules3.createR
|
|
|
1970
3124
|
TenantMode,
|
|
1971
3125
|
Type,
|
|
1972
3126
|
WebhookIdentityType,
|
|
3127
|
+
addCatalogPlugin,
|
|
3128
|
+
addCmsPlugin,
|
|
1973
3129
|
addDataCollectionPlugin,
|
|
3130
|
+
addDraftItemsPlugin,
|
|
3131
|
+
addMultilingualPlugin,
|
|
3132
|
+
addPublishPlugin,
|
|
3133
|
+
addUrlizedPlugin,
|
|
1974
3134
|
createDataCollection,
|
|
1975
3135
|
createDataCollectionField,
|
|
3136
|
+
deleteCatalogPlugin,
|
|
3137
|
+
deleteCmsPlugin,
|
|
1976
3138
|
deleteDataCollection,
|
|
1977
3139
|
deleteDataCollectionField,
|
|
1978
3140
|
deleteDataCollectionPlugin,
|
|
3141
|
+
deleteDraftItemsPlugin,
|
|
3142
|
+
deleteMultilingualPlugin,
|
|
3143
|
+
deletePublishPlugin,
|
|
3144
|
+
deleteUrlizedPlugin,
|
|
1979
3145
|
getDataCollection,
|
|
1980
3146
|
listDataCollections,
|
|
1981
3147
|
patchDataCollection,
|