beeq-client
Advanced tools
Comparing version 1.2.9 to 1.2.10
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BillbeeUpdateStockManyResponse = exports.BillbeeSearchResponse = exports.BillbeeCustomerResponse = exports.BillbeeCustomerAddressesResponse = exports.BillbeeProductsResponse = exports.BillbeeOrderResponse = exports.BillbeeOrdersResponse = void 0; | ||
exports.AddLabelInfoResponse = exports.BillbeeCreateShippingLabelResponse = exports.BillbeeSearchResponse = exports.BillbeeCustomerResponse = exports.BillbeeCustomerAddressesResponse = exports.BillbeeProductsResponse = exports.BillbeeOrderResponse = exports.BillbeeOrdersResponse = void 0; | ||
const zod_1 = require("zod"); | ||
@@ -80,7 +80,21 @@ const Order_1 = require("./Order"); | ||
}).describe("BillbeeSearchResponse"); | ||
exports.BillbeeUpdateStockManyResponse = zod_1.z | ||
exports.BillbeeCreateShippingLabelResponse = zod_1.z | ||
.object({ | ||
success: zod_1.z.array(zod_1.z.string()).min(0), | ||
errors: zod_1.z.array(zod_1.z.string()).min(0), | ||
ErrorMessage: zod_1.z.literal(null), | ||
ErrorCode: zod_1.z.literal(0), | ||
ErrorDescription: zod_1.z.literal("NoError"), | ||
Data: zod_1.z.object({ | ||
OrderId: zod_1.z.number(), | ||
OrderReference: zod_1.z.string().optional().nullable(), | ||
ShippingId: zod_1.z.string().optional().nullable(), | ||
TrackingUrl: zod_1.z.string().optional().nullable(), | ||
LabelDataPdf: zod_1.z.string().optional().nullable(), | ||
ExportDocsPdf: zod_1.z.string().optional().nullable(), | ||
Carrier: zod_1.z.string(), | ||
ShippingDate: zod_1.z.string(), | ||
}), | ||
}) | ||
.describe("BillbeeUpdateStockManyResponse"); | ||
.describe("BillbeeCreateShippingLabelResponse"); | ||
exports.AddLabelInfoResponse = zod_1.z | ||
.string() | ||
.describe("AddShipmentInfoResponse"); |
@@ -1580,1 +1580,32 @@ import { z } from "zod"; | ||
export declare const BillbeeOrderState: z.ZodNativeEnum<typeof BillbeeOrderStates>; | ||
export declare const AddLabelInfoInputOptions: z.ZodObject<{ | ||
trackingNumber: z.ZodString; | ||
shippingProviderId: z.ZodString; | ||
shippingProviderProductId: z.ZodString; | ||
shippingComment: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
trackingNumber?: string; | ||
shippingProviderId?: string; | ||
shippingProviderProductId?: string; | ||
shippingComment?: string; | ||
}, { | ||
trackingNumber?: string; | ||
shippingProviderId?: string; | ||
shippingProviderProductId?: string; | ||
shippingComment?: string; | ||
}>; | ||
export type AddLabelInfoInputOptionsType = z.infer<typeof AddLabelInfoInputOptions>; | ||
export declare const CreateShippingLabelBody: z.ZodObject<{ | ||
providerId: z.ZodString; | ||
providerProductId: z.ZodString; | ||
weightInGrams: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
providerId?: string; | ||
providerProductId?: string; | ||
weightInGrams?: number; | ||
}, { | ||
providerId?: string; | ||
providerProductId?: string; | ||
weightInGrams?: number; | ||
}>; | ||
export type CreateShippingLabelBodyType = z.infer<typeof CreateShippingLabelBody>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BillbeeOrderState = exports.BillbeeOrderStates = exports.StockDictionary = exports.BillbeeOrder = exports.ShippingId = exports.OrderItem = void 0; | ||
exports.CreateShippingLabelBody = exports.AddLabelInfoInputOptions = exports.BillbeeOrderState = exports.BillbeeOrderStates = exports.StockDictionary = exports.BillbeeOrder = exports.ShippingId = exports.OrderItem = void 0; | ||
const zod_1 = require("zod"); | ||
@@ -199,1 +199,16 @@ const Address_1 = require("./Address"); | ||
exports.BillbeeOrderState = zod_1.z.nativeEnum(BillbeeOrderStates).describe("BillbeeOrderState"); | ||
exports.AddLabelInfoInputOptions = zod_1.z | ||
.object({ | ||
trackingNumber: zod_1.z.string(), | ||
shippingProviderId: zod_1.z.string(), | ||
shippingProviderProductId: zod_1.z.string(), | ||
shippingComment: zod_1.z.string(), | ||
}) | ||
.describe("AddShipmentInfoInputOptions"); | ||
exports.CreateShippingLabelBody = zod_1.z | ||
.object({ | ||
providerId: zod_1.z.string(), | ||
providerProductId: zod_1.z.string(), | ||
weightInGrams: zod_1.z.number(), | ||
}) | ||
.describe("CreateShippingLabelBody"); |
@@ -22,3 +22,3 @@ { | ||
}, | ||
"version": "1.2.9" | ||
"version": "1.2.10" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
378706
11293