@wix/auto_sdk_packages_packages 1.0.30 → 1.0.31
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.js +2 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -12
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/schemas.js +20 -20
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +2 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -12
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/schemas.mjs +20 -20
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -12
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/schemas.js +20 -20
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +2 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -12
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +20 -20
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/schemas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/premium-reseller-v1-packages-packages.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var CreatePackageRequest = z.object({
|
|
3
|
+
var CreatePackageRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
options: z.object({
|
|
5
5
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
6
6
|
externalId: z.string().describe(
|
|
@@ -80,7 +80,7 @@ var CreatePackageRequest = z.object({
|
|
|
80
80
|
).max(1e3).min(1)
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
|
-
var CreatePackageResponse = z.object({
|
|
83
|
+
var CreatePackageResponse = /* @__PURE__ */ z.object({
|
|
84
84
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
85
85
|
package: z.object({
|
|
86
86
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -174,7 +174,7 @@ var CreatePackageResponse = z.object({
|
|
|
174
174
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
175
175
|
}).describe("Created package.").optional()
|
|
176
176
|
});
|
|
177
|
-
var CreatePackageV2Request = z.object({
|
|
177
|
+
var CreatePackageV2Request = /* @__PURE__ */ z.object({
|
|
178
178
|
options: z.object({
|
|
179
179
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
180
180
|
externalId: z.string().describe(
|
|
@@ -254,7 +254,7 @@ var CreatePackageV2Request = z.object({
|
|
|
254
254
|
).max(1e3).min(1)
|
|
255
255
|
})
|
|
256
256
|
});
|
|
257
|
-
var CreatePackageV2Response = z.object({
|
|
257
|
+
var CreatePackageV2Response = /* @__PURE__ */ z.object({
|
|
258
258
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
259
259
|
package: z.object({
|
|
260
260
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -348,7 +348,7 @@ var CreatePackageV2Response = z.object({
|
|
|
348
348
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
349
349
|
}).describe("Created package.").optional()
|
|
350
350
|
});
|
|
351
|
-
var CancelPackageRequest = z.object({
|
|
351
|
+
var CancelPackageRequest = /* @__PURE__ */ z.object({
|
|
352
352
|
_id: z.string().describe("ID of the package to cancel.").regex(
|
|
353
353
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
354
354
|
"Must be a valid GUID"
|
|
@@ -357,7 +357,7 @@ var CancelPackageRequest = z.object({
|
|
|
357
357
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
358
358
|
}).optional()
|
|
359
359
|
});
|
|
360
|
-
var CancelPackageResponse = z.object({
|
|
360
|
+
var CancelPackageResponse = /* @__PURE__ */ z.object({
|
|
361
361
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
362
362
|
package: z.object({
|
|
363
363
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -451,13 +451,13 @@ var CancelPackageResponse = z.object({
|
|
|
451
451
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
452
452
|
}).describe("Canceled package.").optional()
|
|
453
453
|
});
|
|
454
|
-
var GetPackageRequest = z.object({
|
|
454
|
+
var GetPackageRequest = /* @__PURE__ */ z.object({
|
|
455
455
|
_id: z.string().describe("Package ID.").regex(
|
|
456
456
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
457
457
|
"Must be a valid GUID"
|
|
458
458
|
)
|
|
459
459
|
});
|
|
460
|
-
var GetPackageResponse = z.object({
|
|
460
|
+
var GetPackageResponse = /* @__PURE__ */ z.object({
|
|
461
461
|
_id: z.string().describe("Package ID.").regex(
|
|
462
462
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
463
463
|
"Must be a valid GUID"
|
|
@@ -546,7 +546,7 @@ var GetPackageResponse = z.object({
|
|
|
546
546
|
_createdDate: z.date().describe("Date and time the package was created.").optional().nullable(),
|
|
547
547
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
548
548
|
});
|
|
549
|
-
var QueryPackagesRequest = z.object({
|
|
549
|
+
var QueryPackagesRequest = /* @__PURE__ */ z.object({
|
|
550
550
|
query: z.object({
|
|
551
551
|
filter: z.object({
|
|
552
552
|
_createdDate: z.object({
|
|
@@ -857,7 +857,7 @@ var QueryPackagesRequest = z.object({
|
|
|
857
857
|
"Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details."
|
|
858
858
|
)
|
|
859
859
|
});
|
|
860
|
-
var QueryPackagesResponse = z.object({
|
|
860
|
+
var QueryPackagesResponse = /* @__PURE__ */ z.object({
|
|
861
861
|
metadata: z.object({
|
|
862
862
|
count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
|
|
863
863
|
offset: z.number().int().describe("Offset that was requested.").optional().nullable(),
|
|
@@ -972,7 +972,7 @@ var QueryPackagesResponse = z.object({
|
|
|
972
972
|
})
|
|
973
973
|
).max(1e3).min(0).optional()
|
|
974
974
|
});
|
|
975
|
-
var AssignProductInstanceToSiteRequest = z.object({
|
|
975
|
+
var AssignProductInstanceToSiteRequest = /* @__PURE__ */ z.object({
|
|
976
976
|
identifiers: z.object({
|
|
977
977
|
instanceId: z.string().describe("ID of the product instance to assign to a site.").regex(
|
|
978
978
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -987,7 +987,7 @@ var AssignProductInstanceToSiteRequest = z.object({
|
|
|
987
987
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
988
988
|
}).optional()
|
|
989
989
|
});
|
|
990
|
-
var AssignProductInstanceToSiteResponse = z.object({
|
|
990
|
+
var AssignProductInstanceToSiteResponse = /* @__PURE__ */ z.object({
|
|
991
991
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
992
992
|
package: z.object({
|
|
993
993
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1081,7 +1081,7 @@ var AssignProductInstanceToSiteResponse = z.object({
|
|
|
1081
1081
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1082
1082
|
}).describe("Updated package that includes the assigned product instance.").optional()
|
|
1083
1083
|
});
|
|
1084
|
-
var UnassignProductInstanceFromSiteRequest = z.object({
|
|
1084
|
+
var UnassignProductInstanceFromSiteRequest = /* @__PURE__ */ z.object({
|
|
1085
1085
|
instanceId: z.string().describe("ID of the product instance to unassign from a site.").regex(
|
|
1086
1086
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1087
1087
|
"Must be a valid GUID"
|
|
@@ -1090,7 +1090,7 @@ var UnassignProductInstanceFromSiteRequest = z.object({
|
|
|
1090
1090
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
1091
1091
|
}).optional()
|
|
1092
1092
|
});
|
|
1093
|
-
var UnassignProductInstanceFromSiteResponse = z.object({
|
|
1093
|
+
var UnassignProductInstanceFromSiteResponse = /* @__PURE__ */ z.object({
|
|
1094
1094
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1095
1095
|
package: z.object({
|
|
1096
1096
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1184,7 +1184,7 @@ var UnassignProductInstanceFromSiteResponse = z.object({
|
|
|
1184
1184
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1185
1185
|
}).describe("Updated package that includes the unassigned product instance.").optional()
|
|
1186
1186
|
});
|
|
1187
|
-
var CancelProductInstanceRequest = z.object({
|
|
1187
|
+
var CancelProductInstanceRequest = /* @__PURE__ */ z.object({
|
|
1188
1188
|
instanceId: z.string().describe("ID of the product instance to cancel.").regex(
|
|
1189
1189
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1190
1190
|
"Must be a valid GUID"
|
|
@@ -1193,7 +1193,7 @@ var CancelProductInstanceRequest = z.object({
|
|
|
1193
1193
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
1194
1194
|
}).optional()
|
|
1195
1195
|
});
|
|
1196
|
-
var CancelProductInstanceResponse = z.object({
|
|
1196
|
+
var CancelProductInstanceResponse = /* @__PURE__ */ z.object({
|
|
1197
1197
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1198
1198
|
package: z.object({
|
|
1199
1199
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1289,7 +1289,7 @@ var CancelProductInstanceResponse = z.object({
|
|
|
1289
1289
|
"Updated package that includes the previously included the canceled product instance."
|
|
1290
1290
|
).optional()
|
|
1291
1291
|
});
|
|
1292
|
-
var AdjustProductInstanceSpecificationsRequest = z.object({
|
|
1292
|
+
var AdjustProductInstanceSpecificationsRequest = /* @__PURE__ */ z.object({
|
|
1293
1293
|
instanceId: z.string().describe("ID of the product instance to adjust.").regex(
|
|
1294
1294
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1295
1295
|
"Must be a valid GUID"
|
|
@@ -1318,7 +1318,7 @@ var AdjustProductInstanceSpecificationsRequest = z.object({
|
|
|
1318
1318
|
).max(25).optional().nullable()
|
|
1319
1319
|
}).optional()
|
|
1320
1320
|
});
|
|
1321
|
-
var AdjustProductInstanceSpecificationsResponse = z.object({
|
|
1321
|
+
var AdjustProductInstanceSpecificationsResponse = /* @__PURE__ */ z.object({
|
|
1322
1322
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1323
1323
|
package: z.object({
|
|
1324
1324
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1412,7 +1412,7 @@ var AdjustProductInstanceSpecificationsResponse = z.object({
|
|
|
1412
1412
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1413
1413
|
}).describe("Updated package that includes the adjusted product instance.").optional()
|
|
1414
1414
|
});
|
|
1415
|
-
var UpdatePackageExternalIdRequest = z.object({
|
|
1415
|
+
var UpdatePackageExternalIdRequest = /* @__PURE__ */ z.object({
|
|
1416
1416
|
identifiers: z.object({
|
|
1417
1417
|
packageId: z.string().describe("ID of the package to update.").regex(
|
|
1418
1418
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -1421,7 +1421,7 @@ var UpdatePackageExternalIdRequest = z.object({
|
|
|
1421
1421
|
externalId: z.string().describe("External ID that will be assigned to the package.").max(100)
|
|
1422
1422
|
})
|
|
1423
1423
|
});
|
|
1424
|
-
var UpdatePackageExternalIdResponse = z.object({
|
|
1424
|
+
var UpdatePackageExternalIdResponse = /* @__PURE__ */ z.object({
|
|
1425
1425
|
updatedPackage: z.object({
|
|
1426
1426
|
_id: z.string().describe("Package ID.").regex(
|
|
1427
1427
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|