@wix/auto_sdk_data_collections 1.0.92 → 1.0.93
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 +2 -2
package/build/es/schemas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/data-v2-data-collection-collections.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var CreateDataCollectionRequest = (() => {
|
|
3
|
+
var CreateDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
4
4
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5
5
|
z.object({}),
|
|
6
6
|
z.xor([
|
|
@@ -574,7 +574,7 @@ var CreateDataCollectionRequest = (() => {
|
|
|
574
574
|
}).describe("Collection details.")
|
|
575
575
|
});
|
|
576
576
|
})();
|
|
577
|
-
var CreateDataCollectionResponse = (() => {
|
|
577
|
+
var CreateDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
578
578
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
579
579
|
z.object({}),
|
|
580
580
|
z.xor([
|
|
@@ -1140,7 +1140,7 @@ var CreateDataCollectionResponse = (() => {
|
|
|
1140
1140
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
1141
1141
|
});
|
|
1142
1142
|
})();
|
|
1143
|
-
var GetDataCollectionRequest = z.object({
|
|
1143
|
+
var GetDataCollectionRequest = /* @__PURE__ */ z.object({
|
|
1144
1144
|
dataCollectionId: z.string().describe("ID of the collection to retrieve.").max(256),
|
|
1145
1145
|
options: z.object({
|
|
1146
1146
|
consistentRead: z.boolean().describe(
|
|
@@ -1149,7 +1149,7 @@ var GetDataCollectionRequest = z.object({
|
|
|
1149
1149
|
fields: z.array(z.string()).max(100).optional()
|
|
1150
1150
|
}).describe("Options for retrieving a data collection.").optional()
|
|
1151
1151
|
});
|
|
1152
|
-
var GetDataCollectionResponse = (() => {
|
|
1152
|
+
var GetDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
1153
1153
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
1154
1154
|
z.object({}),
|
|
1155
1155
|
z.xor([
|
|
@@ -1715,7 +1715,7 @@ var GetDataCollectionResponse = (() => {
|
|
|
1715
1715
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
1716
1716
|
});
|
|
1717
1717
|
})();
|
|
1718
|
-
var ListDataCollectionsRequest = z.object({
|
|
1718
|
+
var ListDataCollectionsRequest = /* @__PURE__ */ z.object({
|
|
1719
1719
|
options: z.object({
|
|
1720
1720
|
sort: z.object({
|
|
1721
1721
|
fieldName: z.string().describe("Name of the field to sort by.").max(1e3).optional(),
|
|
@@ -1733,7 +1733,7 @@ var ListDataCollectionsRequest = z.object({
|
|
|
1733
1733
|
fields: z.array(z.string()).max(100).optional()
|
|
1734
1734
|
}).describe("Options for retrieving a list of data collections.").optional()
|
|
1735
1735
|
});
|
|
1736
|
-
var ListDataCollectionsResponse = (() => {
|
|
1736
|
+
var ListDataCollectionsResponse = /* @__PURE__ */ (() => {
|
|
1737
1737
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
1738
1738
|
z.object({}),
|
|
1739
1739
|
z.xor([
|
|
@@ -2323,7 +2323,7 @@ var ListDataCollectionsResponse = (() => {
|
|
|
2323
2323
|
}).describe("Paging information.").optional()
|
|
2324
2324
|
});
|
|
2325
2325
|
})();
|
|
2326
|
-
var UpdateDataCollectionRequest = (() => {
|
|
2326
|
+
var UpdateDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
2327
2327
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
2328
2328
|
z.object({}),
|
|
2329
2329
|
z.xor([
|
|
@@ -2899,7 +2899,7 @@ var UpdateDataCollectionRequest = (() => {
|
|
|
2899
2899
|
)
|
|
2900
2900
|
});
|
|
2901
2901
|
})();
|
|
2902
|
-
var UpdateDataCollectionResponse = (() => {
|
|
2902
|
+
var UpdateDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
2903
2903
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
2904
2904
|
z.object({}),
|
|
2905
2905
|
z.xor([
|
|
@@ -3465,11 +3465,11 @@ var UpdateDataCollectionResponse = (() => {
|
|
|
3465
3465
|
_updatedDate: z.date().describe("Date the collection was last updated.").optional().nullable()
|
|
3466
3466
|
});
|
|
3467
3467
|
})();
|
|
3468
|
-
var DeleteDataCollectionRequest = z.object({
|
|
3468
|
+
var DeleteDataCollectionRequest = /* @__PURE__ */ z.object({
|
|
3469
3469
|
dataCollectionId: z.string().describe("ID of the collection to delete.").max(256)
|
|
3470
3470
|
});
|
|
3471
|
-
var DeleteDataCollectionResponse = z.object({});
|
|
3472
|
-
var PatchDataCollectionRequest = (() => {
|
|
3471
|
+
var DeleteDataCollectionResponse = /* @__PURE__ */ z.object({});
|
|
3472
|
+
var PatchDataCollectionRequest = /* @__PURE__ */ (() => {
|
|
3473
3473
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
3474
3474
|
z.object({}),
|
|
3475
3475
|
z.xor([
|
|
@@ -4026,7 +4026,7 @@ var PatchDataCollectionRequest = (() => {
|
|
|
4026
4026
|
}).describe("Data collection to update.")
|
|
4027
4027
|
});
|
|
4028
4028
|
})();
|
|
4029
|
-
var PatchDataCollectionResponse = (() => {
|
|
4029
|
+
var PatchDataCollectionResponse = /* @__PURE__ */ (() => {
|
|
4030
4030
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
4031
4031
|
z.object({}),
|
|
4032
4032
|
z.xor([
|
|
@@ -4600,7 +4600,7 @@ var PatchDataCollectionResponse = (() => {
|
|
|
4600
4600
|
}).describe("Updated data collection.").optional()
|
|
4601
4601
|
});
|
|
4602
4602
|
})();
|
|
4603
|
-
var CreateDataCollectionFieldRequest = (() => {
|
|
4603
|
+
var CreateDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
4604
4604
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
4605
4605
|
z.object({}),
|
|
4606
4606
|
z.xor([
|
|
@@ -4964,7 +4964,7 @@ var CreateDataCollectionFieldRequest = (() => {
|
|
|
4964
4964
|
})
|
|
4965
4965
|
});
|
|
4966
4966
|
})();
|
|
4967
|
-
var CreateDataCollectionFieldResponse = (() => {
|
|
4967
|
+
var CreateDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
4968
4968
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
4969
4969
|
z.object({}),
|
|
4970
4970
|
z.xor([
|
|
@@ -5538,7 +5538,7 @@ var CreateDataCollectionFieldResponse = (() => {
|
|
|
5538
5538
|
}).describe("Updated data collection.").optional()
|
|
5539
5539
|
});
|
|
5540
5540
|
})();
|
|
5541
|
-
var UpdateDataCollectionFieldRequest = (() => {
|
|
5541
|
+
var UpdateDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
5542
5542
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5543
5543
|
z.object({}),
|
|
5544
5544
|
z.xor([
|
|
@@ -5902,7 +5902,7 @@ var UpdateDataCollectionFieldRequest = (() => {
|
|
|
5902
5902
|
})
|
|
5903
5903
|
});
|
|
5904
5904
|
})();
|
|
5905
|
-
var UpdateDataCollectionFieldResponse = (() => {
|
|
5905
|
+
var UpdateDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
5906
5906
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
5907
5907
|
z.object({}),
|
|
5908
5908
|
z.xor([
|
|
@@ -6476,13 +6476,13 @@ var UpdateDataCollectionFieldResponse = (() => {
|
|
|
6476
6476
|
}).describe("Updated data collection.").optional()
|
|
6477
6477
|
});
|
|
6478
6478
|
})();
|
|
6479
|
-
var DeleteDataCollectionFieldRequest = z.object({
|
|
6479
|
+
var DeleteDataCollectionFieldRequest = /* @__PURE__ */ z.object({
|
|
6480
6480
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
6481
6481
|
options: z.object({
|
|
6482
6482
|
fieldKey: z.string().describe("ID of the field to delete.").max(1e3)
|
|
6483
6483
|
})
|
|
6484
6484
|
});
|
|
6485
|
-
var DeleteDataCollectionFieldResponse = (() => {
|
|
6485
|
+
var DeleteDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
6486
6486
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
6487
6487
|
z.object({}),
|
|
6488
6488
|
z.xor([
|
|
@@ -7056,7 +7056,7 @@ var DeleteDataCollectionFieldResponse = (() => {
|
|
|
7056
7056
|
}).describe("Updated data collection.").optional()
|
|
7057
7057
|
});
|
|
7058
7058
|
})();
|
|
7059
|
-
var AddDataCollectionPluginRequest = z.object({
|
|
7059
|
+
var AddDataCollectionPluginRequest = /* @__PURE__ */ z.object({
|
|
7060
7060
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
7061
7061
|
options: z.object({
|
|
7062
7062
|
plugin: z.intersection(
|
|
@@ -7163,7 +7163,7 @@ var AddDataCollectionPluginRequest = z.object({
|
|
|
7163
7163
|
)
|
|
7164
7164
|
})
|
|
7165
7165
|
});
|
|
7166
|
-
var AddDataCollectionPluginResponse = (() => {
|
|
7166
|
+
var AddDataCollectionPluginResponse = /* @__PURE__ */ (() => {
|
|
7167
7167
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
7168
7168
|
z.object({}),
|
|
7169
7169
|
z.xor([
|
|
@@ -7737,7 +7737,7 @@ var AddDataCollectionPluginResponse = (() => {
|
|
|
7737
7737
|
}).describe("Updated data collection.").optional()
|
|
7738
7738
|
});
|
|
7739
7739
|
})();
|
|
7740
|
-
var DeleteDataCollectionPluginRequest = z.object({
|
|
7740
|
+
var DeleteDataCollectionPluginRequest = /* @__PURE__ */ z.object({
|
|
7741
7741
|
dataCollectionId: z.string().describe("ID of the data collection to update.").max(256),
|
|
7742
7742
|
options: z.object({
|
|
7743
7743
|
pluginType: z.enum([
|
|
@@ -7752,7 +7752,7 @@ var DeleteDataCollectionPluginRequest = z.object({
|
|
|
7752
7752
|
])
|
|
7753
7753
|
})
|
|
7754
7754
|
});
|
|
7755
|
-
var DeleteDataCollectionPluginResponse = (() => {
|
|
7755
|
+
var DeleteDataCollectionPluginResponse = /* @__PURE__ */ (() => {
|
|
7756
7756
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
7757
7757
|
z.object({}),
|
|
7758
7758
|
z.xor([
|
|
@@ -8326,7 +8326,7 @@ var DeleteDataCollectionPluginResponse = (() => {
|
|
|
8326
8326
|
}).describe("Updated data collection.").optional()
|
|
8327
8327
|
});
|
|
8328
8328
|
})();
|
|
8329
|
-
var PatchDataCollectionFieldRequest = (() => {
|
|
8329
|
+
var PatchDataCollectionFieldRequest = /* @__PURE__ */ (() => {
|
|
8330
8330
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
8331
8331
|
z.object({}),
|
|
8332
8332
|
z.xor([
|
|
@@ -8688,7 +8688,7 @@ var PatchDataCollectionFieldRequest = (() => {
|
|
|
8688
8688
|
).describe("Field to update.")
|
|
8689
8689
|
});
|
|
8690
8690
|
})();
|
|
8691
|
-
var PatchDataCollectionFieldResponse = (() => {
|
|
8691
|
+
var PatchDataCollectionFieldResponse = /* @__PURE__ */ (() => {
|
|
8692
8692
|
let comWixpressCloudDataApiCollectionserviceFieldTypeMetadataSchema = z.intersection(
|
|
8693
8693
|
z.object({}),
|
|
8694
8694
|
z.xor([
|