@wix/auto_sdk_data_collections 1.0.92 → 1.0.94
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/schemas.js +24 -24
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/schemas.mjs +24 -24
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/schemas.js +24 -24
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/schemas.mjs +24 -24
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -59,7 +59,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
59
59
|
|
|
60
60
|
// src/data-v2-data-collection-collections.schemas.ts
|
|
61
61
|
var z = __toESM(require("zod"));
|
|
62
|
-
var CreateDataCollectionRequest = (() => {
|
|
62
|
+
var CreateDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
63
63
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
64
64
|
z.object({}),
|
|
65
65
|
z.xor([
|
|
@@ -633,7 +633,7 @@ var CreateDataCollectionRequest = (() => {
|
|
|
633
633
|
}).describe("Collection details.")
|
|
634
634
|
});
|
|
635
635
|
})();
|
|
636
|
-
var CreateDataCollectionResponse = (() => {
|
|
636
|
+
var CreateDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
637
637
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
638
638
|
z.object({}),
|
|
639
639
|
z.xor([
|
|
@@ -1199,7 +1199,7 @@ var CreateDataCollectionResponse = (() => {
|
|
|
1199
1199
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
1200
1200
|
});
|
|
1201
1201
|
})();
|
|
1202
|
-
var GetDataCollectionRequest = z.object({
|
|
1202
|
+
var GetDataCollectionRequest = /* @__PURE__ */ z.object({
|
|
1203
1203
|
dataCollectionId: z.string().describe("ID of the collection to retrieve.").max(256),
|
|
1204
1204
|
options: z.object({
|
|
1205
1205
|
consistentRead: z.boolean().describe(
|
|
@@ -1208,7 +1208,7 @@ var GetDataCollectionRequest = z.object({
|
|
|
1208
1208
|
fields: z.array(z.string()).max(100).optional()
|
|
1209
1209
|
}).describe("Options for retrieving a data collection.").optional()
|
|
1210
1210
|
});
|
|
1211
|
-
var GetDataCollectionResponse = (() => {
|
|
1211
|
+
var GetDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
1212
1212
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
1213
1213
|
z.object({}),
|
|
1214
1214
|
z.xor([
|
|
@@ -1774,7 +1774,7 @@ var GetDataCollectionResponse = (() => {
|
|
|
1774
1774
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
1775
1775
|
});
|
|
1776
1776
|
})();
|
|
1777
|
-
var ListDataCollectionsRequest = z.object({
|
|
1777
|
+
var ListDataCollectionsRequest = /* @__PURE__ */ z.object({
|
|
1778
1778
|
options: z.object({
|
|
1779
1779
|
sort: z.object({
|
|
1780
1780
|
fieldName: z.string().describe("Name of the field to sort by.").max(1e3).optional(),
|
|
@@ -1792,7 +1792,7 @@ var ListDataCollectionsRequest = z.object({
|
|
|
1792
1792
|
fields: z.array(z.string()).max(100).optional()
|
|
1793
1793
|
}).describe("Options for retrieving a list of data collections.").optional()
|
|
1794
1794
|
});
|
|
1795
|
-
var ListDataCollectionsResponse = (() => {
|
|
1795
|
+
var ListDataCollectionsResponse = /* @__PURE__ */ (() => {
|
|
1796
1796
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
1797
1797
|
z.object({}),
|
|
1798
1798
|
z.xor([
|
|
@@ -2382,7 +2382,7 @@ var ListDataCollectionsResponse = (() => {
|
|
|
2382
2382
|
}).describe("Paging information.").optional()
|
|
2383
2383
|
});
|
|
2384
2384
|
})();
|
|
2385
|
-
var UpdateDataCollectionRequest = (() => {
|
|
2385
|
+
var UpdateDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
2386
2386
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
2387
2387
|
z.object({}),
|
|
2388
2388
|
z.xor([
|
|
@@ -2958,7 +2958,7 @@ var UpdateDataCollectionRequest = (() => {
|
|
|
2958
2958
|
)
|
|
2959
2959
|
});
|
|
2960
2960
|
})();
|
|
2961
|
-
var UpdateDataCollectionResponse = (() => {
|
|
2961
|
+
var UpdateDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
2962
2962
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
2963
2963
|
z.object({}),
|
|
2964
2964
|
z.xor([
|
|
@@ -3524,11 +3524,11 @@ var UpdateDataCollectionResponse = (() => {
|
|
|
3524
3524
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
3525
3525
|
});
|
|
3526
3526
|
})();
|
|
3527
|
-
var DeleteDataCollectionRequest = z.object({
|
|
3527
|
+
var DeleteDataCollectionRequest = /* @__PURE__ */ z.object({
|
|
3528
3528
|
dataCollectionId: z.string().describe("ID of the collection to delete.").max(256)
|
|
3529
3529
|
});
|
|
3530
|
-
var DeleteDataCollectionResponse = z.object({});
|
|
3531
|
-
var PatchDataCollectionRequest = (() => {
|
|
3530
|
+
var DeleteDataCollectionResponse = /* @__PURE__ */ z.object({});
|
|
3531
|
+
var PatchDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
3532
3532
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
3533
3533
|
z.object({}),
|
|
3534
3534
|
z.xor([
|
|
@@ -4085,7 +4085,7 @@ var PatchDataCollectionRequest = (() => {
|
|
|
4085
4085
|
}).describe("Data collection to update.")
|
|
4086
4086
|
});
|
|
4087
4087
|
})();
|
|
4088
|
-
var PatchDataCollectionResponse = (() => {
|
|
4088
|
+
var PatchDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
4089
4089
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
4090
4090
|
z.object({}),
|
|
4091
4091
|
z.xor([
|
|
@@ -4659,7 +4659,7 @@ var PatchDataCollectionResponse = (() => {
|
|
|
4659
4659
|
}).describe("Updated data collection.").optional()
|
|
4660
4660
|
});
|
|
4661
4661
|
})();
|
|
4662
|
-
var CreateDataCollectionFieldRequest = (() => {
|
|
4662
|
+
var CreateDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
4663
4663
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
4664
4664
|
z.object({}),
|
|
4665
4665
|
z.xor([
|
|
@@ -5023,7 +5023,7 @@ var CreateDataCollectionFieldRequest = (() => {
|
|
|
5023
5023
|
})
|
|
5024
5024
|
});
|
|
5025
5025
|
})();
|
|
5026
|
-
var CreateDataCollectionFieldResponse = (() => {
|
|
5026
|
+
var CreateDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
5027
5027
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5028
5028
|
z.object({}),
|
|
5029
5029
|
z.xor([
|
|
@@ -5597,7 +5597,7 @@ var CreateDataCollectionFieldResponse = (() => {
|
|
|
5597
5597
|
}).describe("Updated data collection.").optional()
|
|
5598
5598
|
});
|
|
5599
5599
|
})();
|
|
5600
|
-
var UpdateDataCollectionFieldRequest = (() => {
|
|
5600
|
+
var UpdateDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
5601
5601
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5602
5602
|
z.object({}),
|
|
5603
5603
|
z.xor([
|
|
@@ -5961,7 +5961,7 @@ var UpdateDataCollectionFieldRequest = (() => {
|
|
|
5961
5961
|
})
|
|
5962
5962
|
});
|
|
5963
5963
|
})();
|
|
5964
|
-
var UpdateDataCollectionFieldResponse = (() => {
|
|
5964
|
+
var UpdateDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
5965
5965
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5966
5966
|
z.object({}),
|
|
5967
5967
|
z.xor([
|
|
@@ -6535,13 +6535,13 @@ var UpdateDataCollectionFieldResponse = (() => {
|
|
|
6535
6535
|
}).describe("Updated data collection.").optional()
|
|
6536
6536
|
});
|
|
6537
6537
|
})();
|
|
6538
|
-
var DeleteDataCollectionFieldRequest = z.object({
|
|
6538
|
+
var DeleteDataCollectionFieldRequest = /* @__PURE__ */ z.object({
|
|
6539
6539
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
6540
6540
|
options: z.object({
|
|
6541
6541
|
fieldKey: z.string().describe("ID of the field to delete.").max(1e3)
|
|
6542
6542
|
})
|
|
6543
6543
|
});
|
|
6544
|
-
var DeleteDataCollectionFieldResponse = (() => {
|
|
6544
|
+
var DeleteDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
6545
6545
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
6546
6546
|
z.object({}),
|
|
6547
6547
|
z.xor([
|
|
@@ -7115,7 +7115,7 @@ var DeleteDataCollectionFieldResponse = (() => {
|
|
|
7115
7115
|
}).describe("Updated data collection.").optional()
|
|
7116
7116
|
});
|
|
7117
7117
|
})();
|
|
7118
|
-
var AddDataCollectionPluginRequest = z.object({
|
|
7118
|
+
var AddDataCollectionPluginRequest = /* @__PURE__ */ z.object({
|
|
7119
7119
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
7120
7120
|
options: z.object({
|
|
7121
7121
|
plugin: z.intersection(
|
|
@@ -7222,7 +7222,7 @@ var AddDataCollectionPluginRequest = z.object({
|
|
|
7222
7222
|
)
|
|
7223
7223
|
})
|
|
7224
7224
|
});
|
|
7225
|
-
var AddDataCollectionPluginResponse = (() => {
|
|
7225
|
+
var AddDataCollectionPluginResponse = /* @__PURE__ */ (() => {
|
|
7226
7226
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
7227
7227
|
z.object({}),
|
|
7228
7228
|
z.xor([
|
|
@@ -7796,7 +7796,7 @@ var AddDataCollectionPluginResponse = (() => {
|
|
|
7796
7796
|
}).describe("Updated data collection.").optional()
|
|
7797
7797
|
});
|
|
7798
7798
|
})();
|
|
7799
|
-
var DeleteDataCollectionPluginRequest = z.object({
|
|
7799
|
+
var DeleteDataCollectionPluginRequest = /* @__PURE__ */ z.object({
|
|
7800
7800
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
7801
7801
|
options: z.object({
|
|
7802
7802
|
pluginType: z.enum([
|
|
@@ -7811,7 +7811,7 @@ var DeleteDataCollectionPluginRequest = z.object({
|
|
|
7811
7811
|
])
|
|
7812
7812
|
})
|
|
7813
7813
|
});
|
|
7814
|
-
var DeleteDataCollectionPluginResponse = (() => {
|
|
7814
|
+
var DeleteDataCollectionPluginResponse = /* @__PURE__ */ (() => {
|
|
7815
7815
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
7816
7816
|
z.object({}),
|
|
7817
7817
|
z.xor([
|
|
@@ -8385,7 +8385,7 @@ var DeleteDataCollectionPluginResponse = (() => {
|
|
|
8385
8385
|
}).describe("Updated data collection.").optional()
|
|
8386
8386
|
});
|
|
8387
8387
|
})();
|
|
8388
|
-
var PatchDataCollectionFieldRequest = (() => {
|
|
8388
|
+
var PatchDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
8389
8389
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
8390
8390
|
z.object({}),
|
|
8391
8391
|
z.xor([
|
|
@@ -8747,7 +8747,7 @@ var PatchDataCollectionFieldRequest = (() => {
|
|
|
8747
8747
|
).describe("Field to update.")
|
|
8748
8748
|
});
|
|
8749
8749
|
})();
|
|
8750
|
-
var PatchDataCollectionFieldResponse = (() => {
|
|
8750
|
+
var PatchDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
8751
8751
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
8752
8752
|
z.object({}),
|
|
8753
8753
|
z.xor([
|