@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
|
@@ -1118,6 +1118,682 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
return __deleteDataCollectionPlugin;
|
|
1120
1120
|
}
|
|
1121
|
+
function addPublishPlugin(payload) {
|
|
1122
|
+
function __addPublishPlugin({ host }) {
|
|
1123
|
+
const metadata = {
|
|
1124
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1125
|
+
method: "POST",
|
|
1126
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddPublishPlugin",
|
|
1127
|
+
packageName: PACKAGE_NAME,
|
|
1128
|
+
migrationOptions: {
|
|
1129
|
+
optInTransformResponse: true
|
|
1130
|
+
},
|
|
1131
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1132
|
+
{ protoPath: "/v2/collections/add-publish-plugin", data: payload, host }
|
|
1133
|
+
),
|
|
1134
|
+
data: payload,
|
|
1135
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1136
|
+
{
|
|
1137
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1138
|
+
paths: [
|
|
1139
|
+
{ path: "dataCollection.createdDate" },
|
|
1140
|
+
{ path: "dataCollection.updatedDate" },
|
|
1141
|
+
{
|
|
1142
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1143
|
+
},
|
|
1144
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1145
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1146
|
+
{
|
|
1147
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1154
|
+
}
|
|
1155
|
+
]
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1159
|
+
paths: [
|
|
1160
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1161
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1162
|
+
{
|
|
1163
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1164
|
+
},
|
|
1165
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1166
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1167
|
+
]
|
|
1168
|
+
}
|
|
1169
|
+
])
|
|
1170
|
+
};
|
|
1171
|
+
return metadata;
|
|
1172
|
+
}
|
|
1173
|
+
return __addPublishPlugin;
|
|
1174
|
+
}
|
|
1175
|
+
function deletePublishPlugin(payload) {
|
|
1176
|
+
function __deletePublishPlugin({ host }) {
|
|
1177
|
+
const metadata = {
|
|
1178
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1179
|
+
method: "POST",
|
|
1180
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeletePublishPlugin",
|
|
1181
|
+
packageName: PACKAGE_NAME,
|
|
1182
|
+
migrationOptions: {
|
|
1183
|
+
optInTransformResponse: true
|
|
1184
|
+
},
|
|
1185
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1186
|
+
{
|
|
1187
|
+
protoPath: "/v2/collections/delete-publish-plugin",
|
|
1188
|
+
data: payload,
|
|
1189
|
+
host
|
|
1190
|
+
}
|
|
1191
|
+
),
|
|
1192
|
+
data: payload,
|
|
1193
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1194
|
+
{
|
|
1195
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1196
|
+
paths: [
|
|
1197
|
+
{ path: "dataCollection.createdDate" },
|
|
1198
|
+
{ path: "dataCollection.updatedDate" },
|
|
1199
|
+
{
|
|
1200
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1201
|
+
},
|
|
1202
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1203
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1204
|
+
{
|
|
1205
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1212
|
+
}
|
|
1213
|
+
]
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1217
|
+
paths: [
|
|
1218
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1219
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1220
|
+
{
|
|
1221
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1222
|
+
},
|
|
1223
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1224
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1225
|
+
]
|
|
1226
|
+
}
|
|
1227
|
+
])
|
|
1228
|
+
};
|
|
1229
|
+
return metadata;
|
|
1230
|
+
}
|
|
1231
|
+
return __deletePublishPlugin;
|
|
1232
|
+
}
|
|
1233
|
+
function addUrlizedPlugin(payload) {
|
|
1234
|
+
function __addUrlizedPlugin({ host }) {
|
|
1235
|
+
const metadata = {
|
|
1236
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1237
|
+
method: "POST",
|
|
1238
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddUrlizedPlugin",
|
|
1239
|
+
packageName: PACKAGE_NAME,
|
|
1240
|
+
migrationOptions: {
|
|
1241
|
+
optInTransformResponse: true
|
|
1242
|
+
},
|
|
1243
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1244
|
+
{ protoPath: "/v2/collections/add-urlized-plugin", data: payload, host }
|
|
1245
|
+
),
|
|
1246
|
+
data: payload,
|
|
1247
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1248
|
+
{
|
|
1249
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1250
|
+
paths: [
|
|
1251
|
+
{ path: "dataCollection.createdDate" },
|
|
1252
|
+
{ path: "dataCollection.updatedDate" },
|
|
1253
|
+
{
|
|
1254
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1255
|
+
},
|
|
1256
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1257
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1258
|
+
{
|
|
1259
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1266
|
+
}
|
|
1267
|
+
]
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1271
|
+
paths: [
|
|
1272
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1273
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1274
|
+
{
|
|
1275
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1276
|
+
},
|
|
1277
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1278
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1279
|
+
]
|
|
1280
|
+
}
|
|
1281
|
+
])
|
|
1282
|
+
};
|
|
1283
|
+
return metadata;
|
|
1284
|
+
}
|
|
1285
|
+
return __addUrlizedPlugin;
|
|
1286
|
+
}
|
|
1287
|
+
function deleteUrlizedPlugin(payload) {
|
|
1288
|
+
function __deleteUrlizedPlugin({ host }) {
|
|
1289
|
+
const metadata = {
|
|
1290
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1291
|
+
method: "POST",
|
|
1292
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteUrlizedPlugin",
|
|
1293
|
+
packageName: PACKAGE_NAME,
|
|
1294
|
+
migrationOptions: {
|
|
1295
|
+
optInTransformResponse: true
|
|
1296
|
+
},
|
|
1297
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1298
|
+
{
|
|
1299
|
+
protoPath: "/v2/collections/delete-urlized-plugin",
|
|
1300
|
+
data: payload,
|
|
1301
|
+
host
|
|
1302
|
+
}
|
|
1303
|
+
),
|
|
1304
|
+
data: payload,
|
|
1305
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1306
|
+
{
|
|
1307
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1308
|
+
paths: [
|
|
1309
|
+
{ path: "dataCollection.createdDate" },
|
|
1310
|
+
{ path: "dataCollection.updatedDate" },
|
|
1311
|
+
{
|
|
1312
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1313
|
+
},
|
|
1314
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1315
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1316
|
+
{
|
|
1317
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1329
|
+
paths: [
|
|
1330
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1331
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1332
|
+
{
|
|
1333
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1334
|
+
},
|
|
1335
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1336
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1337
|
+
]
|
|
1338
|
+
}
|
|
1339
|
+
])
|
|
1340
|
+
};
|
|
1341
|
+
return metadata;
|
|
1342
|
+
}
|
|
1343
|
+
return __deleteUrlizedPlugin;
|
|
1344
|
+
}
|
|
1345
|
+
function addMultilingualPlugin(payload) {
|
|
1346
|
+
function __addMultilingualPlugin({ host }) {
|
|
1347
|
+
const metadata = {
|
|
1348
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1349
|
+
method: "POST",
|
|
1350
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddMultilingualPlugin",
|
|
1351
|
+
packageName: PACKAGE_NAME,
|
|
1352
|
+
migrationOptions: {
|
|
1353
|
+
optInTransformResponse: true
|
|
1354
|
+
},
|
|
1355
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1356
|
+
{
|
|
1357
|
+
protoPath: "/v2/collections/add-multilingual-plugin",
|
|
1358
|
+
data: payload,
|
|
1359
|
+
host
|
|
1360
|
+
}
|
|
1361
|
+
),
|
|
1362
|
+
data: payload,
|
|
1363
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1364
|
+
{
|
|
1365
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1366
|
+
paths: [
|
|
1367
|
+
{ path: "dataCollection.createdDate" },
|
|
1368
|
+
{ path: "dataCollection.updatedDate" },
|
|
1369
|
+
{
|
|
1370
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1371
|
+
},
|
|
1372
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1373
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1374
|
+
{
|
|
1375
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1382
|
+
}
|
|
1383
|
+
]
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1387
|
+
paths: [
|
|
1388
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1389
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1390
|
+
{
|
|
1391
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1392
|
+
},
|
|
1393
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1394
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1395
|
+
]
|
|
1396
|
+
}
|
|
1397
|
+
])
|
|
1398
|
+
};
|
|
1399
|
+
return metadata;
|
|
1400
|
+
}
|
|
1401
|
+
return __addMultilingualPlugin;
|
|
1402
|
+
}
|
|
1403
|
+
function deleteMultilingualPlugin(payload) {
|
|
1404
|
+
function __deleteMultilingualPlugin({ host }) {
|
|
1405
|
+
const metadata = {
|
|
1406
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1407
|
+
method: "POST",
|
|
1408
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteMultilingualPlugin",
|
|
1409
|
+
packageName: PACKAGE_NAME,
|
|
1410
|
+
migrationOptions: {
|
|
1411
|
+
optInTransformResponse: true
|
|
1412
|
+
},
|
|
1413
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1414
|
+
{
|
|
1415
|
+
protoPath: "/v2/collections/delete-multilingual-plugin",
|
|
1416
|
+
data: payload,
|
|
1417
|
+
host
|
|
1418
|
+
}
|
|
1419
|
+
),
|
|
1420
|
+
data: payload,
|
|
1421
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1422
|
+
{
|
|
1423
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1424
|
+
paths: [
|
|
1425
|
+
{ path: "dataCollection.createdDate" },
|
|
1426
|
+
{ path: "dataCollection.updatedDate" },
|
|
1427
|
+
{
|
|
1428
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1429
|
+
},
|
|
1430
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1431
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1432
|
+
{
|
|
1433
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1440
|
+
}
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1445
|
+
paths: [
|
|
1446
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1447
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1448
|
+
{
|
|
1449
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1450
|
+
},
|
|
1451
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1452
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1453
|
+
]
|
|
1454
|
+
}
|
|
1455
|
+
])
|
|
1456
|
+
};
|
|
1457
|
+
return metadata;
|
|
1458
|
+
}
|
|
1459
|
+
return __deleteMultilingualPlugin;
|
|
1460
|
+
}
|
|
1461
|
+
function addCmsPlugin(payload) {
|
|
1462
|
+
function __addCmsPlugin({ host }) {
|
|
1463
|
+
const metadata = {
|
|
1464
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1465
|
+
method: "POST",
|
|
1466
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCmsPlugin",
|
|
1467
|
+
packageName: PACKAGE_NAME,
|
|
1468
|
+
migrationOptions: {
|
|
1469
|
+
optInTransformResponse: true
|
|
1470
|
+
},
|
|
1471
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1472
|
+
{ protoPath: "/v2/collections/add-cms-plugin", data: payload, host }
|
|
1473
|
+
),
|
|
1474
|
+
data: payload,
|
|
1475
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1476
|
+
{
|
|
1477
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1478
|
+
paths: [
|
|
1479
|
+
{ path: "dataCollection.createdDate" },
|
|
1480
|
+
{ path: "dataCollection.updatedDate" },
|
|
1481
|
+
{
|
|
1482
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1483
|
+
},
|
|
1484
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1485
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1486
|
+
{
|
|
1487
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1494
|
+
}
|
|
1495
|
+
]
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1499
|
+
paths: [
|
|
1500
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1501
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1502
|
+
{
|
|
1503
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1504
|
+
},
|
|
1505
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1506
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1507
|
+
]
|
|
1508
|
+
}
|
|
1509
|
+
])
|
|
1510
|
+
};
|
|
1511
|
+
return metadata;
|
|
1512
|
+
}
|
|
1513
|
+
return __addCmsPlugin;
|
|
1514
|
+
}
|
|
1515
|
+
function deleteCmsPlugin(payload) {
|
|
1516
|
+
function __deleteCmsPlugin({ host }) {
|
|
1517
|
+
const metadata = {
|
|
1518
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1519
|
+
method: "POST",
|
|
1520
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteCmsPlugin",
|
|
1521
|
+
packageName: PACKAGE_NAME,
|
|
1522
|
+
migrationOptions: {
|
|
1523
|
+
optInTransformResponse: true
|
|
1524
|
+
},
|
|
1525
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1526
|
+
{ protoPath: "/v2/collections/delete-cms-plugin", data: payload, host }
|
|
1527
|
+
),
|
|
1528
|
+
data: payload,
|
|
1529
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1530
|
+
{
|
|
1531
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1532
|
+
paths: [
|
|
1533
|
+
{ path: "dataCollection.createdDate" },
|
|
1534
|
+
{ path: "dataCollection.updatedDate" },
|
|
1535
|
+
{
|
|
1536
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1537
|
+
},
|
|
1538
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1539
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1540
|
+
{
|
|
1541
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1548
|
+
}
|
|
1549
|
+
]
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1553
|
+
paths: [
|
|
1554
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1555
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1556
|
+
{
|
|
1557
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1558
|
+
},
|
|
1559
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1560
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1561
|
+
]
|
|
1562
|
+
}
|
|
1563
|
+
])
|
|
1564
|
+
};
|
|
1565
|
+
return metadata;
|
|
1566
|
+
}
|
|
1567
|
+
return __deleteCmsPlugin;
|
|
1568
|
+
}
|
|
1569
|
+
function addCatalogPlugin(payload) {
|
|
1570
|
+
function __addCatalogPlugin({ host }) {
|
|
1571
|
+
const metadata = {
|
|
1572
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1573
|
+
method: "POST",
|
|
1574
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddCatalogPlugin",
|
|
1575
|
+
packageName: PACKAGE_NAME,
|
|
1576
|
+
migrationOptions: {
|
|
1577
|
+
optInTransformResponse: true
|
|
1578
|
+
},
|
|
1579
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1580
|
+
{ protoPath: "/v2/collections/add-catalog-plugin", data: payload, host }
|
|
1581
|
+
),
|
|
1582
|
+
data: payload,
|
|
1583
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1584
|
+
{
|
|
1585
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1586
|
+
paths: [
|
|
1587
|
+
{ path: "dataCollection.createdDate" },
|
|
1588
|
+
{ path: "dataCollection.updatedDate" },
|
|
1589
|
+
{
|
|
1590
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1591
|
+
},
|
|
1592
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1593
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1594
|
+
{
|
|
1595
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1602
|
+
}
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1607
|
+
paths: [
|
|
1608
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1609
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1610
|
+
{
|
|
1611
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1612
|
+
},
|
|
1613
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1614
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1615
|
+
]
|
|
1616
|
+
}
|
|
1617
|
+
])
|
|
1618
|
+
};
|
|
1619
|
+
return metadata;
|
|
1620
|
+
}
|
|
1621
|
+
return __addCatalogPlugin;
|
|
1622
|
+
}
|
|
1623
|
+
function deleteCatalogPlugin(payload) {
|
|
1624
|
+
function __deleteCatalogPlugin({ host }) {
|
|
1625
|
+
const metadata = {
|
|
1626
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1627
|
+
method: "POST",
|
|
1628
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteCatalogPlugin",
|
|
1629
|
+
packageName: PACKAGE_NAME,
|
|
1630
|
+
migrationOptions: {
|
|
1631
|
+
optInTransformResponse: true
|
|
1632
|
+
},
|
|
1633
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1634
|
+
{
|
|
1635
|
+
protoPath: "/v2/collections/delete-catalog-plugin",
|
|
1636
|
+
data: payload,
|
|
1637
|
+
host
|
|
1638
|
+
}
|
|
1639
|
+
),
|
|
1640
|
+
data: payload,
|
|
1641
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1642
|
+
{
|
|
1643
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1644
|
+
paths: [
|
|
1645
|
+
{ path: "dataCollection.createdDate" },
|
|
1646
|
+
{ path: "dataCollection.updatedDate" },
|
|
1647
|
+
{
|
|
1648
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1649
|
+
},
|
|
1650
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1651
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1652
|
+
{
|
|
1653
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1660
|
+
}
|
|
1661
|
+
]
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1665
|
+
paths: [
|
|
1666
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1667
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1668
|
+
{
|
|
1669
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1670
|
+
},
|
|
1671
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1672
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1673
|
+
]
|
|
1674
|
+
}
|
|
1675
|
+
])
|
|
1676
|
+
};
|
|
1677
|
+
return metadata;
|
|
1678
|
+
}
|
|
1679
|
+
return __deleteCatalogPlugin;
|
|
1680
|
+
}
|
|
1681
|
+
function addDraftItemsPlugin(payload) {
|
|
1682
|
+
function __addDraftItemsPlugin({ host }) {
|
|
1683
|
+
const metadata = {
|
|
1684
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1685
|
+
method: "POST",
|
|
1686
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.AddDraftItemsPlugin",
|
|
1687
|
+
packageName: PACKAGE_NAME,
|
|
1688
|
+
migrationOptions: {
|
|
1689
|
+
optInTransformResponse: true
|
|
1690
|
+
},
|
|
1691
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1692
|
+
{
|
|
1693
|
+
protoPath: "/v2/collections/add-draft-items-plugin",
|
|
1694
|
+
data: payload,
|
|
1695
|
+
host
|
|
1696
|
+
}
|
|
1697
|
+
),
|
|
1698
|
+
data: payload,
|
|
1699
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1700
|
+
{
|
|
1701
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1702
|
+
paths: [
|
|
1703
|
+
{ path: "dataCollection.createdDate" },
|
|
1704
|
+
{ path: "dataCollection.updatedDate" },
|
|
1705
|
+
{
|
|
1706
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1707
|
+
},
|
|
1708
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1709
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1710
|
+
{
|
|
1711
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1718
|
+
}
|
|
1719
|
+
]
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1723
|
+
paths: [
|
|
1724
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1725
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1726
|
+
{
|
|
1727
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1728
|
+
},
|
|
1729
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1730
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1731
|
+
]
|
|
1732
|
+
}
|
|
1733
|
+
])
|
|
1734
|
+
};
|
|
1735
|
+
return metadata;
|
|
1736
|
+
}
|
|
1737
|
+
return __addDraftItemsPlugin;
|
|
1738
|
+
}
|
|
1739
|
+
function deleteDraftItemsPlugin(payload) {
|
|
1740
|
+
function __deleteDraftItemsPlugin({ host }) {
|
|
1741
|
+
const metadata = {
|
|
1742
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1743
|
+
method: "POST",
|
|
1744
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDraftItemsPlugin",
|
|
1745
|
+
packageName: PACKAGE_NAME,
|
|
1746
|
+
migrationOptions: {
|
|
1747
|
+
optInTransformResponse: true
|
|
1748
|
+
},
|
|
1749
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1750
|
+
{
|
|
1751
|
+
protoPath: "/v2/collections/delete-draft-items-plugin",
|
|
1752
|
+
data: payload,
|
|
1753
|
+
host
|
|
1754
|
+
}
|
|
1755
|
+
),
|
|
1756
|
+
data: payload,
|
|
1757
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1758
|
+
{
|
|
1759
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1760
|
+
paths: [
|
|
1761
|
+
{ path: "dataCollection.createdDate" },
|
|
1762
|
+
{ path: "dataCollection.updatedDate" },
|
|
1763
|
+
{
|
|
1764
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1765
|
+
},
|
|
1766
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1767
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1768
|
+
{
|
|
1769
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1776
|
+
}
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
1781
|
+
paths: [
|
|
1782
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
1783
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1784
|
+
{
|
|
1785
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1786
|
+
},
|
|
1787
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1788
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1789
|
+
]
|
|
1790
|
+
}
|
|
1791
|
+
])
|
|
1792
|
+
};
|
|
1793
|
+
return metadata;
|
|
1794
|
+
}
|
|
1795
|
+
return __deleteDraftItemsPlugin;
|
|
1796
|
+
}
|
|
1121
1797
|
function patchDataCollectionField(payload) {
|
|
1122
1798
|
function __patchDataCollectionField({ host }) {
|
|
1123
1799
|
const serializedData = transformPaths(payload, [
|
|
@@ -1324,6 +2000,11 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
1324
2000
|
Status2["DRAFT"] = "DRAFT";
|
|
1325
2001
|
return Status2;
|
|
1326
2002
|
})(Status || {});
|
|
2003
|
+
var LifecycleStatus = /* @__PURE__ */ ((LifecycleStatus2) => {
|
|
2004
|
+
LifecycleStatus2["ACTIVE"] = "ACTIVE";
|
|
2005
|
+
LifecycleStatus2["MIGRATING_TO_DRAFT_ITEMS"] = "MIGRATING_TO_DRAFT_ITEMS";
|
|
2006
|
+
return LifecycleStatus2;
|
|
2007
|
+
})(LifecycleStatus || {});
|
|
1327
2008
|
var Format = /* @__PURE__ */ ((Format2) => {
|
|
1328
2009
|
Format2["ORIGINAL"] = "ORIGINAL";
|
|
1329
2010
|
Format2["PLAIN"] = "PLAIN";
|
|
@@ -1364,6 +2045,24 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
1364
2045
|
SortOrder2["DESC"] = "DESC";
|
|
1365
2046
|
return SortOrder2;
|
|
1366
2047
|
})(SortOrder || {});
|
|
2048
|
+
var DraftItemsPluginConflictAction = /* @__PURE__ */ ((DraftItemsPluginConflictAction2) => {
|
|
2049
|
+
DraftItemsPluginConflictAction2["FAIL_WHEN_DRAFT_ITEMS_INSTALLED"] = "FAIL_WHEN_DRAFT_ITEMS_INSTALLED";
|
|
2050
|
+
DraftItemsPluginConflictAction2["DISCARD_DRAFT_ITEMS"] = "DISCARD_DRAFT_ITEMS";
|
|
2051
|
+
DraftItemsPluginConflictAction2["PUBLISH_DRAFT_ITEMS"] = "PUBLISH_DRAFT_ITEMS";
|
|
2052
|
+
DraftItemsPluginConflictAction2["COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS"] = "COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS";
|
|
2053
|
+
return DraftItemsPluginConflictAction2;
|
|
2054
|
+
})(DraftItemsPluginConflictAction || {});
|
|
2055
|
+
var PublishPluginConflictAction = /* @__PURE__ */ ((PublishPluginConflictAction2) => {
|
|
2056
|
+
PublishPluginConflictAction2["FAIL_WHEN_PUBLISH_INSTALLED"] = "FAIL_WHEN_PUBLISH_INSTALLED";
|
|
2057
|
+
PublishPluginConflictAction2["COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS"] = "COPY_DRAFT_ITEMS_WITH_DRAFT_STATUS";
|
|
2058
|
+
return PublishPluginConflictAction2;
|
|
2059
|
+
})(PublishPluginConflictAction || {});
|
|
2060
|
+
var DraftItemsRemovalAction = /* @__PURE__ */ ((DraftItemsRemovalAction2) => {
|
|
2061
|
+
DraftItemsRemovalAction2["FAIL_IF_DRAFT_ITEMS_EXIST"] = "FAIL_IF_DRAFT_ITEMS_EXIST";
|
|
2062
|
+
DraftItemsRemovalAction2["DISCARD_EXISTING_DRAFT_ITEMS"] = "DISCARD_EXISTING_DRAFT_ITEMS";
|
|
2063
|
+
DraftItemsRemovalAction2["PUBLISH_EXISTING_DRAFT_ITEMS"] = "PUBLISH_EXISTING_DRAFT_ITEMS";
|
|
2064
|
+
return DraftItemsRemovalAction2;
|
|
2065
|
+
})(DraftItemsRemovalAction || {});
|
|
1367
2066
|
var TenantMode = /* @__PURE__ */ ((TenantMode2) => {
|
|
1368
2067
|
TenantMode2["META_SITE"] = "META_SITE";
|
|
1369
2068
|
TenantMode2["ACCOUNT"] = "ACCOUNT";
|
|
@@ -1617,6 +2316,222 @@ function deleteDataCollectionPlugin2() {
|
|
|
1617
2316
|
__originalResponseType: null
|
|
1618
2317
|
};
|
|
1619
2318
|
}
|
|
2319
|
+
function addPublishPlugin2() {
|
|
2320
|
+
const payload = {};
|
|
2321
|
+
const getRequestOptions = addPublishPlugin(payload);
|
|
2322
|
+
const getUrl = (context) => {
|
|
2323
|
+
const { url } = getRequestOptions(context);
|
|
2324
|
+
return url;
|
|
2325
|
+
};
|
|
2326
|
+
return {
|
|
2327
|
+
getUrl,
|
|
2328
|
+
httpMethod: "POST",
|
|
2329
|
+
path: "/v2/collections/add-publish-plugin",
|
|
2330
|
+
pathParams: {},
|
|
2331
|
+
__requestType: null,
|
|
2332
|
+
__originalRequestType: null,
|
|
2333
|
+
__responseType: null,
|
|
2334
|
+
__originalResponseType: null
|
|
2335
|
+
};
|
|
2336
|
+
}
|
|
2337
|
+
function deletePublishPlugin2() {
|
|
2338
|
+
const payload = {};
|
|
2339
|
+
const getRequestOptions = deletePublishPlugin(payload);
|
|
2340
|
+
const getUrl = (context) => {
|
|
2341
|
+
const { url } = getRequestOptions(context);
|
|
2342
|
+
return url;
|
|
2343
|
+
};
|
|
2344
|
+
return {
|
|
2345
|
+
getUrl,
|
|
2346
|
+
httpMethod: "POST",
|
|
2347
|
+
path: "/v2/collections/delete-publish-plugin",
|
|
2348
|
+
pathParams: {},
|
|
2349
|
+
__requestType: null,
|
|
2350
|
+
__originalRequestType: null,
|
|
2351
|
+
__responseType: null,
|
|
2352
|
+
__originalResponseType: null
|
|
2353
|
+
};
|
|
2354
|
+
}
|
|
2355
|
+
function addUrlizedPlugin2() {
|
|
2356
|
+
const payload = {};
|
|
2357
|
+
const getRequestOptions = addUrlizedPlugin(payload);
|
|
2358
|
+
const getUrl = (context) => {
|
|
2359
|
+
const { url } = getRequestOptions(context);
|
|
2360
|
+
return url;
|
|
2361
|
+
};
|
|
2362
|
+
return {
|
|
2363
|
+
getUrl,
|
|
2364
|
+
httpMethod: "POST",
|
|
2365
|
+
path: "/v2/collections/add-urlized-plugin",
|
|
2366
|
+
pathParams: {},
|
|
2367
|
+
__requestType: null,
|
|
2368
|
+
__originalRequestType: null,
|
|
2369
|
+
__responseType: null,
|
|
2370
|
+
__originalResponseType: null
|
|
2371
|
+
};
|
|
2372
|
+
}
|
|
2373
|
+
function deleteUrlizedPlugin2() {
|
|
2374
|
+
const payload = {};
|
|
2375
|
+
const getRequestOptions = deleteUrlizedPlugin(payload);
|
|
2376
|
+
const getUrl = (context) => {
|
|
2377
|
+
const { url } = getRequestOptions(context);
|
|
2378
|
+
return url;
|
|
2379
|
+
};
|
|
2380
|
+
return {
|
|
2381
|
+
getUrl,
|
|
2382
|
+
httpMethod: "POST",
|
|
2383
|
+
path: "/v2/collections/delete-urlized-plugin",
|
|
2384
|
+
pathParams: {},
|
|
2385
|
+
__requestType: null,
|
|
2386
|
+
__originalRequestType: null,
|
|
2387
|
+
__responseType: null,
|
|
2388
|
+
__originalResponseType: null
|
|
2389
|
+
};
|
|
2390
|
+
}
|
|
2391
|
+
function addMultilingualPlugin2() {
|
|
2392
|
+
const payload = {};
|
|
2393
|
+
const getRequestOptions = addMultilingualPlugin(payload);
|
|
2394
|
+
const getUrl = (context) => {
|
|
2395
|
+
const { url } = getRequestOptions(context);
|
|
2396
|
+
return url;
|
|
2397
|
+
};
|
|
2398
|
+
return {
|
|
2399
|
+
getUrl,
|
|
2400
|
+
httpMethod: "POST",
|
|
2401
|
+
path: "/v2/collections/add-multilingual-plugin",
|
|
2402
|
+
pathParams: {},
|
|
2403
|
+
__requestType: null,
|
|
2404
|
+
__originalRequestType: null,
|
|
2405
|
+
__responseType: null,
|
|
2406
|
+
__originalResponseType: null
|
|
2407
|
+
};
|
|
2408
|
+
}
|
|
2409
|
+
function deleteMultilingualPlugin2() {
|
|
2410
|
+
const payload = {};
|
|
2411
|
+
const getRequestOptions = deleteMultilingualPlugin(payload);
|
|
2412
|
+
const getUrl = (context) => {
|
|
2413
|
+
const { url } = getRequestOptions(context);
|
|
2414
|
+
return url;
|
|
2415
|
+
};
|
|
2416
|
+
return {
|
|
2417
|
+
getUrl,
|
|
2418
|
+
httpMethod: "POST",
|
|
2419
|
+
path: "/v2/collections/delete-multilingual-plugin",
|
|
2420
|
+
pathParams: {},
|
|
2421
|
+
__requestType: null,
|
|
2422
|
+
__originalRequestType: null,
|
|
2423
|
+
__responseType: null,
|
|
2424
|
+
__originalResponseType: null
|
|
2425
|
+
};
|
|
2426
|
+
}
|
|
2427
|
+
function addCmsPlugin2() {
|
|
2428
|
+
const payload = {};
|
|
2429
|
+
const getRequestOptions = addCmsPlugin(payload);
|
|
2430
|
+
const getUrl = (context) => {
|
|
2431
|
+
const { url } = getRequestOptions(context);
|
|
2432
|
+
return url;
|
|
2433
|
+
};
|
|
2434
|
+
return {
|
|
2435
|
+
getUrl,
|
|
2436
|
+
httpMethod: "POST",
|
|
2437
|
+
path: "/v2/collections/add-cms-plugin",
|
|
2438
|
+
pathParams: {},
|
|
2439
|
+
__requestType: null,
|
|
2440
|
+
__originalRequestType: null,
|
|
2441
|
+
__responseType: null,
|
|
2442
|
+
__originalResponseType: null
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
function deleteCmsPlugin2() {
|
|
2446
|
+
const payload = {};
|
|
2447
|
+
const getRequestOptions = deleteCmsPlugin(payload);
|
|
2448
|
+
const getUrl = (context) => {
|
|
2449
|
+
const { url } = getRequestOptions(context);
|
|
2450
|
+
return url;
|
|
2451
|
+
};
|
|
2452
|
+
return {
|
|
2453
|
+
getUrl,
|
|
2454
|
+
httpMethod: "POST",
|
|
2455
|
+
path: "/v2/collections/delete-cms-plugin",
|
|
2456
|
+
pathParams: {},
|
|
2457
|
+
__requestType: null,
|
|
2458
|
+
__originalRequestType: null,
|
|
2459
|
+
__responseType: null,
|
|
2460
|
+
__originalResponseType: null
|
|
2461
|
+
};
|
|
2462
|
+
}
|
|
2463
|
+
function addCatalogPlugin2() {
|
|
2464
|
+
const payload = {};
|
|
2465
|
+
const getRequestOptions = addCatalogPlugin(payload);
|
|
2466
|
+
const getUrl = (context) => {
|
|
2467
|
+
const { url } = getRequestOptions(context);
|
|
2468
|
+
return url;
|
|
2469
|
+
};
|
|
2470
|
+
return {
|
|
2471
|
+
getUrl,
|
|
2472
|
+
httpMethod: "POST",
|
|
2473
|
+
path: "/v2/collections/add-catalog-plugin",
|
|
2474
|
+
pathParams: {},
|
|
2475
|
+
__requestType: null,
|
|
2476
|
+
__originalRequestType: null,
|
|
2477
|
+
__responseType: null,
|
|
2478
|
+
__originalResponseType: null
|
|
2479
|
+
};
|
|
2480
|
+
}
|
|
2481
|
+
function deleteCatalogPlugin2() {
|
|
2482
|
+
const payload = {};
|
|
2483
|
+
const getRequestOptions = deleteCatalogPlugin(payload);
|
|
2484
|
+
const getUrl = (context) => {
|
|
2485
|
+
const { url } = getRequestOptions(context);
|
|
2486
|
+
return url;
|
|
2487
|
+
};
|
|
2488
|
+
return {
|
|
2489
|
+
getUrl,
|
|
2490
|
+
httpMethod: "POST",
|
|
2491
|
+
path: "/v2/collections/delete-catalog-plugin",
|
|
2492
|
+
pathParams: {},
|
|
2493
|
+
__requestType: null,
|
|
2494
|
+
__originalRequestType: null,
|
|
2495
|
+
__responseType: null,
|
|
2496
|
+
__originalResponseType: null
|
|
2497
|
+
};
|
|
2498
|
+
}
|
|
2499
|
+
function addDraftItemsPlugin2() {
|
|
2500
|
+
const payload = {};
|
|
2501
|
+
const getRequestOptions = addDraftItemsPlugin(payload);
|
|
2502
|
+
const getUrl = (context) => {
|
|
2503
|
+
const { url } = getRequestOptions(context);
|
|
2504
|
+
return url;
|
|
2505
|
+
};
|
|
2506
|
+
return {
|
|
2507
|
+
getUrl,
|
|
2508
|
+
httpMethod: "POST",
|
|
2509
|
+
path: "/v2/collections/add-draft-items-plugin",
|
|
2510
|
+
pathParams: {},
|
|
2511
|
+
__requestType: null,
|
|
2512
|
+
__originalRequestType: null,
|
|
2513
|
+
__responseType: null,
|
|
2514
|
+
__originalResponseType: null
|
|
2515
|
+
};
|
|
2516
|
+
}
|
|
2517
|
+
function deleteDraftItemsPlugin2() {
|
|
2518
|
+
const payload = {};
|
|
2519
|
+
const getRequestOptions = deleteDraftItemsPlugin(payload);
|
|
2520
|
+
const getUrl = (context) => {
|
|
2521
|
+
const { url } = getRequestOptions(context);
|
|
2522
|
+
return url;
|
|
2523
|
+
};
|
|
2524
|
+
return {
|
|
2525
|
+
getUrl,
|
|
2526
|
+
httpMethod: "POST",
|
|
2527
|
+
path: "/v2/collections/delete-draft-items-plugin",
|
|
2528
|
+
pathParams: {},
|
|
2529
|
+
__requestType: null,
|
|
2530
|
+
__originalRequestType: null,
|
|
2531
|
+
__responseType: null,
|
|
2532
|
+
__originalResponseType: null
|
|
2533
|
+
};
|
|
2534
|
+
}
|
|
1620
2535
|
function patchDataCollectionField2() {
|
|
1621
2536
|
const payload = { dataCollectionId: ":dataCollectionId" };
|
|
1622
2537
|
const getRequestOptions = patchDataCollectionField(payload);
|
|
@@ -1641,15 +2556,19 @@ export {
|
|
|
1641
2556
|
CollectionType as CollectionTypeOriginal,
|
|
1642
2557
|
DataOperation as DataOperationOriginal,
|
|
1643
2558
|
Direction as DirectionOriginal,
|
|
2559
|
+
DraftItemsPluginConflictAction as DraftItemsPluginConflictActionOriginal,
|
|
2560
|
+
DraftItemsRemovalAction as DraftItemsRemovalActionOriginal,
|
|
1644
2561
|
FieldPluginType as FieldPluginTypeOriginal,
|
|
1645
2562
|
Format as FormatOriginal,
|
|
1646
2563
|
IndexSource as IndexSourceOriginal,
|
|
1647
2564
|
IndexStatus as IndexStatusOriginal,
|
|
2565
|
+
LifecycleStatus as LifecycleStatusOriginal,
|
|
1648
2566
|
Order as OrderOriginal,
|
|
1649
2567
|
PageLinkType as PageLinkTypeOriginal,
|
|
1650
2568
|
PagingMode as PagingModeOriginal,
|
|
1651
2569
|
Permission as PermissionOriginal,
|
|
1652
2570
|
PluginType as PluginTypeOriginal,
|
|
2571
|
+
PublishPluginConflictAction as PublishPluginConflictActionOriginal,
|
|
1653
2572
|
QueryOperator as QueryOperatorOriginal,
|
|
1654
2573
|
Role as RoleOriginal,
|
|
1655
2574
|
Segment as SegmentOriginal,
|
|
@@ -1658,12 +2577,24 @@ export {
|
|
|
1658
2577
|
TenantMode as TenantModeOriginal,
|
|
1659
2578
|
Type as TypeOriginal,
|
|
1660
2579
|
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
2580
|
+
addCatalogPlugin2 as addCatalogPlugin,
|
|
2581
|
+
addCmsPlugin2 as addCmsPlugin,
|
|
1661
2582
|
addDataCollectionPlugin2 as addDataCollectionPlugin,
|
|
2583
|
+
addDraftItemsPlugin2 as addDraftItemsPlugin,
|
|
2584
|
+
addMultilingualPlugin2 as addMultilingualPlugin,
|
|
2585
|
+
addPublishPlugin2 as addPublishPlugin,
|
|
2586
|
+
addUrlizedPlugin2 as addUrlizedPlugin,
|
|
1662
2587
|
createDataCollection2 as createDataCollection,
|
|
1663
2588
|
createDataCollectionField2 as createDataCollectionField,
|
|
2589
|
+
deleteCatalogPlugin2 as deleteCatalogPlugin,
|
|
2590
|
+
deleteCmsPlugin2 as deleteCmsPlugin,
|
|
1664
2591
|
deleteDataCollection2 as deleteDataCollection,
|
|
1665
2592
|
deleteDataCollectionField2 as deleteDataCollectionField,
|
|
1666
2593
|
deleteDataCollectionPlugin2 as deleteDataCollectionPlugin,
|
|
2594
|
+
deleteDraftItemsPlugin2 as deleteDraftItemsPlugin,
|
|
2595
|
+
deleteMultilingualPlugin2 as deleteMultilingualPlugin,
|
|
2596
|
+
deletePublishPlugin2 as deletePublishPlugin,
|
|
2597
|
+
deleteUrlizedPlugin2 as deleteUrlizedPlugin,
|
|
1667
2598
|
getDataCollection2 as getDataCollection,
|
|
1668
2599
|
listDataCollections2 as listDataCollections,
|
|
1669
2600
|
patchDataCollection2 as patchDataCollection,
|