@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/cjs/schemas.js
CHANGED
|
@@ -55,7 +55,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
55
55
|
|
|
56
56
|
// src/premium-reseller-v1-packages-packages.schemas.ts
|
|
57
57
|
var z = __toESM(require("zod"));
|
|
58
|
-
var CreatePackageRequest = z.object({
|
|
58
|
+
var CreatePackageRequest = /* @__PURE__ */ z.object({
|
|
59
59
|
options: z.object({
|
|
60
60
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
61
61
|
externalId: z.string().describe(
|
|
@@ -135,7 +135,7 @@ var CreatePackageRequest = z.object({
|
|
|
135
135
|
).max(1e3).min(1)
|
|
136
136
|
})
|
|
137
137
|
});
|
|
138
|
-
var CreatePackageResponse = z.object({
|
|
138
|
+
var CreatePackageResponse = /* @__PURE__ */ z.object({
|
|
139
139
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
140
140
|
package: z.object({
|
|
141
141
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -229,7 +229,7 @@ var CreatePackageResponse = z.object({
|
|
|
229
229
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
230
230
|
}).describe("Created package.").optional()
|
|
231
231
|
});
|
|
232
|
-
var CreatePackageV2Request = z.object({
|
|
232
|
+
var CreatePackageV2Request = /* @__PURE__ */ z.object({
|
|
233
233
|
options: z.object({
|
|
234
234
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
235
235
|
externalId: z.string().describe(
|
|
@@ -309,7 +309,7 @@ var CreatePackageV2Request = z.object({
|
|
|
309
309
|
).max(1e3).min(1)
|
|
310
310
|
})
|
|
311
311
|
});
|
|
312
|
-
var CreatePackageV2Response = z.object({
|
|
312
|
+
var CreatePackageV2Response = /* @__PURE__ */ z.object({
|
|
313
313
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
314
314
|
package: z.object({
|
|
315
315
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -403,7 +403,7 @@ var CreatePackageV2Response = z.object({
|
|
|
403
403
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
404
404
|
}).describe("Created package.").optional()
|
|
405
405
|
});
|
|
406
|
-
var CancelPackageRequest = z.object({
|
|
406
|
+
var CancelPackageRequest = /* @__PURE__ */ z.object({
|
|
407
407
|
_id: z.string().describe("ID of the package to cancel.").regex(
|
|
408
408
|
/^[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}$/,
|
|
409
409
|
"Must be a valid GUID"
|
|
@@ -412,7 +412,7 @@ var CancelPackageRequest = z.object({
|
|
|
412
412
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
413
413
|
}).optional()
|
|
414
414
|
});
|
|
415
|
-
var CancelPackageResponse = z.object({
|
|
415
|
+
var CancelPackageResponse = /* @__PURE__ */ z.object({
|
|
416
416
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
417
417
|
package: z.object({
|
|
418
418
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -506,13 +506,13 @@ var CancelPackageResponse = z.object({
|
|
|
506
506
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
507
507
|
}).describe("Canceled package.").optional()
|
|
508
508
|
});
|
|
509
|
-
var GetPackageRequest = z.object({
|
|
509
|
+
var GetPackageRequest = /* @__PURE__ */ z.object({
|
|
510
510
|
_id: z.string().describe("Package ID.").regex(
|
|
511
511
|
/^[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}$/,
|
|
512
512
|
"Must be a valid GUID"
|
|
513
513
|
)
|
|
514
514
|
});
|
|
515
|
-
var GetPackageResponse = z.object({
|
|
515
|
+
var GetPackageResponse = /* @__PURE__ */ z.object({
|
|
516
516
|
_id: z.string().describe("Package ID.").regex(
|
|
517
517
|
/^[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}$/,
|
|
518
518
|
"Must be a valid GUID"
|
|
@@ -601,7 +601,7 @@ var GetPackageResponse = z.object({
|
|
|
601
601
|
_createdDate: z.date().describe("Date and time the package was created.").optional().nullable(),
|
|
602
602
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
603
603
|
});
|
|
604
|
-
var QueryPackagesRequest = z.object({
|
|
604
|
+
var QueryPackagesRequest = /* @__PURE__ */ z.object({
|
|
605
605
|
query: z.object({
|
|
606
606
|
filter: z.object({
|
|
607
607
|
_createdDate: z.object({
|
|
@@ -912,7 +912,7 @@ var QueryPackagesRequest = z.object({
|
|
|
912
912
|
"Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details."
|
|
913
913
|
)
|
|
914
914
|
});
|
|
915
|
-
var QueryPackagesResponse = z.object({
|
|
915
|
+
var QueryPackagesResponse = /* @__PURE__ */ z.object({
|
|
916
916
|
metadata: z.object({
|
|
917
917
|
count: z.number().int().describe("Number of items returned in the response.").optional().nullable(),
|
|
918
918
|
offset: z.number().int().describe("Offset that was requested.").optional().nullable(),
|
|
@@ -1027,7 +1027,7 @@ var QueryPackagesResponse = z.object({
|
|
|
1027
1027
|
})
|
|
1028
1028
|
).max(1e3).min(0).optional()
|
|
1029
1029
|
});
|
|
1030
|
-
var AssignProductInstanceToSiteRequest = z.object({
|
|
1030
|
+
var AssignProductInstanceToSiteRequest = /* @__PURE__ */ z.object({
|
|
1031
1031
|
identifiers: z.object({
|
|
1032
1032
|
instanceId: z.string().describe("ID of the product instance to assign to a site.").regex(
|
|
1033
1033
|
/^[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}$/,
|
|
@@ -1042,7 +1042,7 @@ var AssignProductInstanceToSiteRequest = z.object({
|
|
|
1042
1042
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
1043
1043
|
}).optional()
|
|
1044
1044
|
});
|
|
1045
|
-
var AssignProductInstanceToSiteResponse = z.object({
|
|
1045
|
+
var AssignProductInstanceToSiteResponse = /* @__PURE__ */ z.object({
|
|
1046
1046
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1047
1047
|
package: z.object({
|
|
1048
1048
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1136,7 +1136,7 @@ var AssignProductInstanceToSiteResponse = z.object({
|
|
|
1136
1136
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1137
1137
|
}).describe("Updated package that includes the assigned product instance.").optional()
|
|
1138
1138
|
});
|
|
1139
|
-
var UnassignProductInstanceFromSiteRequest = z.object({
|
|
1139
|
+
var UnassignProductInstanceFromSiteRequest = /* @__PURE__ */ z.object({
|
|
1140
1140
|
instanceId: z.string().describe("ID of the product instance to unassign from a site.").regex(
|
|
1141
1141
|
/^[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}$/,
|
|
1142
1142
|
"Must be a valid GUID"
|
|
@@ -1145,7 +1145,7 @@ var UnassignProductInstanceFromSiteRequest = z.object({
|
|
|
1145
1145
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
1146
1146
|
}).optional()
|
|
1147
1147
|
});
|
|
1148
|
-
var UnassignProductInstanceFromSiteResponse = z.object({
|
|
1148
|
+
var UnassignProductInstanceFromSiteResponse = /* @__PURE__ */ z.object({
|
|
1149
1149
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1150
1150
|
package: z.object({
|
|
1151
1151
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1239,7 +1239,7 @@ var UnassignProductInstanceFromSiteResponse = z.object({
|
|
|
1239
1239
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1240
1240
|
}).describe("Updated package that includes the unassigned product instance.").optional()
|
|
1241
1241
|
});
|
|
1242
|
-
var CancelProductInstanceRequest = z.object({
|
|
1242
|
+
var CancelProductInstanceRequest = /* @__PURE__ */ z.object({
|
|
1243
1243
|
instanceId: z.string().describe("ID of the product instance to cancel.").regex(
|
|
1244
1244
|
/^[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}$/,
|
|
1245
1245
|
"Must be a valid GUID"
|
|
@@ -1248,7 +1248,7 @@ var CancelProductInstanceRequest = z.object({
|
|
|
1248
1248
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable()
|
|
1249
1249
|
}).optional()
|
|
1250
1250
|
});
|
|
1251
|
-
var CancelProductInstanceResponse = z.object({
|
|
1251
|
+
var CancelProductInstanceResponse = /* @__PURE__ */ z.object({
|
|
1252
1252
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1253
1253
|
package: z.object({
|
|
1254
1254
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1344,7 +1344,7 @@ var CancelProductInstanceResponse = z.object({
|
|
|
1344
1344
|
"Updated package that includes the previously included the canceled product instance."
|
|
1345
1345
|
).optional()
|
|
1346
1346
|
});
|
|
1347
|
-
var AdjustProductInstanceSpecificationsRequest = z.object({
|
|
1347
|
+
var AdjustProductInstanceSpecificationsRequest = /* @__PURE__ */ z.object({
|
|
1348
1348
|
instanceId: z.string().describe("ID of the product instance to adjust.").regex(
|
|
1349
1349
|
/^[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}$/,
|
|
1350
1350
|
"Must be a valid GUID"
|
|
@@ -1373,7 +1373,7 @@ var AdjustProductInstanceSpecificationsRequest = z.object({
|
|
|
1373
1373
|
).max(25).optional().nullable()
|
|
1374
1374
|
}).optional()
|
|
1375
1375
|
});
|
|
1376
|
-
var AdjustProductInstanceSpecificationsResponse = z.object({
|
|
1376
|
+
var AdjustProductInstanceSpecificationsResponse = /* @__PURE__ */ z.object({
|
|
1377
1377
|
idempotencyKey: z.string().describe("Idempotency key.").max(100).optional().nullable(),
|
|
1378
1378
|
package: z.object({
|
|
1379
1379
|
_id: z.string().describe("Package ID.").regex(
|
|
@@ -1467,7 +1467,7 @@ var AdjustProductInstanceSpecificationsResponse = z.object({
|
|
|
1467
1467
|
_updatedDate: z.date().describe("Date and time the package was last updated.").optional().nullable()
|
|
1468
1468
|
}).describe("Updated package that includes the adjusted product instance.").optional()
|
|
1469
1469
|
});
|
|
1470
|
-
var UpdatePackageExternalIdRequest = z.object({
|
|
1470
|
+
var UpdatePackageExternalIdRequest = /* @__PURE__ */ z.object({
|
|
1471
1471
|
identifiers: z.object({
|
|
1472
1472
|
packageId: z.string().describe("ID of the package to update.").regex(
|
|
1473
1473
|
/^[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}$/,
|
|
@@ -1476,7 +1476,7 @@ var UpdatePackageExternalIdRequest = z.object({
|
|
|
1476
1476
|
externalId: z.string().describe("External ID that will be assigned to the package.").max(100)
|
|
1477
1477
|
})
|
|
1478
1478
|
});
|
|
1479
|
-
var UpdatePackageExternalIdResponse = z.object({
|
|
1479
|
+
var UpdatePackageExternalIdResponse = /* @__PURE__ */ z.object({
|
|
1480
1480
|
updatedPackage: z.object({
|
|
1481
1481
|
_id: z.string().describe("Package ID.").regex(
|
|
1482
1482
|
/^[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}$/,
|