@01.software/cli 0.15.0 → 0.15.1
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/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -900,6 +900,9 @@ var tenantFeatureProgressResponseSchema = z.object({
|
|
|
900
900
|
planBlocked: z.array(z.string()),
|
|
901
901
|
closureAdded: z.array(z.string())
|
|
902
902
|
}).strict(),
|
|
903
|
+
config: z.object({
|
|
904
|
+
fulfillmentMode: z.enum(["shipping", "none"])
|
|
905
|
+
}).strict(),
|
|
903
906
|
summary: z.object({
|
|
904
907
|
complete: z.number().int().nonnegative(),
|
|
905
908
|
total: z.number().int().nonnegative(),
|
|
@@ -977,6 +980,10 @@ var productFieldShape = {
|
|
|
977
980
|
publishedAt: z2.string().optional().nullable(),
|
|
978
981
|
categories: z2.array(IdSchema).optional(),
|
|
979
982
|
tags: z2.array(IdSchema).optional(),
|
|
983
|
+
seo: z2.object({
|
|
984
|
+
title: z2.string().optional().nullable(),
|
|
985
|
+
description: z2.string().optional().nullable()
|
|
986
|
+
}).optional().nullable(),
|
|
980
987
|
metadata: z2.unknown().optional()
|
|
981
988
|
};
|
|
982
989
|
var PRODUCT_UPSERT_PRODUCT_FIELDS = Object.keys(
|
|
@@ -1251,6 +1258,15 @@ var RETURN_REASON_CODES = [
|
|
|
1251
1258
|
"other"
|
|
1252
1259
|
];
|
|
1253
1260
|
var returnReasonSchema = z3.enum(RETURN_REASON_CODES);
|
|
1261
|
+
var RETURN_REJECTION_REASON_CODES = [
|
|
1262
|
+
"window_expired",
|
|
1263
|
+
"used_or_damaged",
|
|
1264
|
+
"non_returnable",
|
|
1265
|
+
"other"
|
|
1266
|
+
];
|
|
1267
|
+
var returnRejectionReasonCodeSchema = z3.enum(
|
|
1268
|
+
RETURN_REJECTION_REASON_CODES
|
|
1269
|
+
);
|
|
1254
1270
|
var restockActionSchema = z3.enum(["return_to_stock", "discard"]);
|
|
1255
1271
|
var returnWithRefundItemSchema = z3.object({
|
|
1256
1272
|
orderItem: z3.union([z3.string().min(1), z3.number()]).transform(String),
|