@deliverart/sdk-js-order 2.1.56 → 2.2.0
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.cjs +33 -6
- package/dist/index.d.cts +384 -1
- package/dist/index.d.ts +384 -1
- package/dist/index.js +30 -6
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -37,6 +37,7 @@ __export(index_exports, {
|
|
|
37
37
|
GetOrderMenuItemModifierModifierDetails: () => GetOrderMenuItemModifierModifierDetails,
|
|
38
38
|
GetOrders: () => GetOrders,
|
|
39
39
|
GetPointOfSaleOrders: () => GetPointOfSaleOrders,
|
|
40
|
+
MarkOrderAsCollected: () => MarkOrderAsCollected,
|
|
40
41
|
MarkOrderAsRead: () => MarkOrderAsRead,
|
|
41
42
|
RejectOrder: () => RejectOrder,
|
|
42
43
|
UpdateBundle: () => UpdateBundle,
|
|
@@ -94,6 +95,8 @@ __export(index_exports, {
|
|
|
94
95
|
getPointOfSaleOrdersQuerySchema: () => getPointOfSaleOrdersQuerySchema,
|
|
95
96
|
getPointOfSaleOrdersResponseSchema: () => getPointOfSaleOrdersResponseSchema,
|
|
96
97
|
localeItemSchema: () => localeItemSchema,
|
|
98
|
+
markOrderAsCollectedInputSchema: () => markOrderAsCollectedInputSchema,
|
|
99
|
+
markOrderAsCollectedResponseSchema: () => markOrderAsCollectedResponseSchema,
|
|
97
100
|
markOrderAsReadInputSchema: () => markOrderAsReadInputSchema,
|
|
98
101
|
markOrderAsReadResponseSchema: () => markOrderAsReadResponseSchema,
|
|
99
102
|
orderAddressSchema: () => orderAddressSchema,
|
|
@@ -12219,11 +12222,32 @@ var GetPointOfSaleOrders = class extends import_sdk_js_core18.AbstractApiRequest
|
|
|
12219
12222
|
}
|
|
12220
12223
|
};
|
|
12221
12224
|
|
|
12222
|
-
// src/requests/orders/
|
|
12225
|
+
// src/requests/orders/MarkOrderAsCollected.ts
|
|
12223
12226
|
var import_sdk_js_core19 = require("@deliverart/sdk-js-core");
|
|
12227
|
+
var markOrderAsCollectedInputSchema = external_exports.undefined();
|
|
12228
|
+
var markOrderAsCollectedResponseSchema = orderDetailsSchema;
|
|
12229
|
+
var MarkOrderAsCollected = class extends import_sdk_js_core19.AbstractApiRequest {
|
|
12230
|
+
constructor(orderId) {
|
|
12231
|
+
super(void 0);
|
|
12232
|
+
this.method = "POST";
|
|
12233
|
+
this.contentType = "application/json";
|
|
12234
|
+
this.accept = "application/json";
|
|
12235
|
+
this.inputSchema = markOrderAsCollectedInputSchema;
|
|
12236
|
+
this.outputSchema = markOrderAsCollectedResponseSchema;
|
|
12237
|
+
this.querySchema = void 0;
|
|
12238
|
+
this.headersSchema = void 0;
|
|
12239
|
+
this.orderId = orderId;
|
|
12240
|
+
}
|
|
12241
|
+
getPath() {
|
|
12242
|
+
return `/orders/${this.orderId}/collection/collect`;
|
|
12243
|
+
}
|
|
12244
|
+
};
|
|
12245
|
+
|
|
12246
|
+
// src/requests/orders/MarkOrderAsRead.ts
|
|
12247
|
+
var import_sdk_js_core20 = require("@deliverart/sdk-js-core");
|
|
12224
12248
|
var markOrderAsReadInputSchema = external_exports.undefined();
|
|
12225
12249
|
var markOrderAsReadResponseSchema = orderDetailsSchema;
|
|
12226
|
-
var MarkOrderAsRead = class extends
|
|
12250
|
+
var MarkOrderAsRead = class extends import_sdk_js_core20.AbstractApiRequest {
|
|
12227
12251
|
constructor(orderId) {
|
|
12228
12252
|
super(void 0);
|
|
12229
12253
|
this.method = "POST";
|
|
@@ -12241,10 +12265,10 @@ var MarkOrderAsRead = class extends import_sdk_js_core19.AbstractApiRequest {
|
|
|
12241
12265
|
};
|
|
12242
12266
|
|
|
12243
12267
|
// src/requests/orders/RejectOrder.ts
|
|
12244
|
-
var
|
|
12268
|
+
var import_sdk_js_core21 = require("@deliverart/sdk-js-core");
|
|
12245
12269
|
var rejectOrderInputSchema = external_exports.undefined();
|
|
12246
12270
|
var rejectOrderResponseSchema = orderDetailsSchema;
|
|
12247
|
-
var RejectOrder = class extends
|
|
12271
|
+
var RejectOrder = class extends import_sdk_js_core21.AbstractApiRequest {
|
|
12248
12272
|
constructor(orderId) {
|
|
12249
12273
|
super(void 0);
|
|
12250
12274
|
this.method = "POST";
|
|
@@ -12262,7 +12286,7 @@ var RejectOrder = class extends import_sdk_js_core20.AbstractApiRequest {
|
|
|
12262
12286
|
};
|
|
12263
12287
|
|
|
12264
12288
|
// src/requests/orders/UpdateOrder.ts
|
|
12265
|
-
var
|
|
12289
|
+
var import_sdk_js_core22 = require("@deliverart/sdk-js-core");
|
|
12266
12290
|
var updateOrderInputSchema = writableOrderSchema.omit({
|
|
12267
12291
|
pointOfSale: true,
|
|
12268
12292
|
type: true,
|
|
@@ -12273,7 +12297,7 @@ var updateOrderInputSchema = writableOrderSchema.omit({
|
|
|
12273
12297
|
autoAccept: true
|
|
12274
12298
|
}).partial();
|
|
12275
12299
|
var updateOrderResponseSchema = orderDetailsSchema;
|
|
12276
|
-
var UpdateOrder = class extends
|
|
12300
|
+
var UpdateOrder = class extends import_sdk_js_core22.AbstractApiRequest {
|
|
12277
12301
|
constructor(orderId, input) {
|
|
12278
12302
|
super(input);
|
|
12279
12303
|
this.method = "PATCH";
|
|
@@ -12308,6 +12332,7 @@ var UpdateOrder = class extends import_sdk_js_core21.AbstractApiRequest {
|
|
|
12308
12332
|
GetOrderMenuItemModifierModifierDetails,
|
|
12309
12333
|
GetOrders,
|
|
12310
12334
|
GetPointOfSaleOrders,
|
|
12335
|
+
MarkOrderAsCollected,
|
|
12311
12336
|
MarkOrderAsRead,
|
|
12312
12337
|
RejectOrder,
|
|
12313
12338
|
UpdateBundle,
|
|
@@ -12365,6 +12390,8 @@ var UpdateOrder = class extends import_sdk_js_core21.AbstractApiRequest {
|
|
|
12365
12390
|
getPointOfSaleOrdersQuerySchema,
|
|
12366
12391
|
getPointOfSaleOrdersResponseSchema,
|
|
12367
12392
|
localeItemSchema,
|
|
12393
|
+
markOrderAsCollectedInputSchema,
|
|
12394
|
+
markOrderAsCollectedResponseSchema,
|
|
12368
12395
|
markOrderAsReadInputSchema,
|
|
12369
12396
|
markOrderAsReadResponseSchema,
|
|
12370
12397
|
orderAddressSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -6878,6 +6878,389 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6878
6878
|
parseResponse(data: unknown, rawResponse: Response): Paginated<Order>;
|
|
6879
6879
|
}
|
|
6880
6880
|
|
|
6881
|
+
declare const markOrderAsCollectedInputSchema: z.ZodUndefined;
|
|
6882
|
+
type MarkOrderAsCollectedInput = z.infer<typeof markOrderAsCollectedInputSchema>;
|
|
6883
|
+
declare const markOrderAsCollectedResponseSchema: z.ZodObject<{
|
|
6884
|
+
id: z.ZodString;
|
|
6885
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6886
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
6887
|
+
stripe: "stripe";
|
|
6888
|
+
bank_transfer: "bank_transfer";
|
|
6889
|
+
cash: "cash";
|
|
6890
|
+
credit_card: "credit_card";
|
|
6891
|
+
}>>;
|
|
6892
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
6893
|
+
pending: "pending";
|
|
6894
|
+
pending_verification: "pending_verification";
|
|
6895
|
+
paid: "paid";
|
|
6896
|
+
canceled: "canceled";
|
|
6897
|
+
refunded: "refunded";
|
|
6898
|
+
failed: "failed";
|
|
6899
|
+
}>>;
|
|
6900
|
+
type: z.ZodEnum<{
|
|
6901
|
+
delivery: "delivery";
|
|
6902
|
+
take_away: "take_away";
|
|
6903
|
+
kitchen: "kitchen";
|
|
6904
|
+
}>;
|
|
6905
|
+
source: z.ZodEnum<{
|
|
6906
|
+
application: "application";
|
|
6907
|
+
ecommerce: "ecommerce";
|
|
6908
|
+
partner: "partner";
|
|
6909
|
+
}>;
|
|
6910
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
6911
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
6912
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
6913
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
6914
|
+
customerInfo: z.ZodObject<{
|
|
6915
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6916
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6917
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
6918
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
6919
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6920
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6921
|
+
}, z.core.$strict>;
|
|
6922
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
6923
|
+
businessName: z.ZodString;
|
|
6924
|
+
vat: z.ZodString;
|
|
6925
|
+
taxCode: z.ZodString;
|
|
6926
|
+
billingAddress: z.ZodObject<{
|
|
6927
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6928
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6929
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6930
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6931
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6932
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6933
|
+
}, z.core.$strip>;
|
|
6934
|
+
billingData: z.ZodObject<{
|
|
6935
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6936
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
6937
|
+
}, z.core.$strip>;
|
|
6938
|
+
}, z.core.$strip>>;
|
|
6939
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
6940
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6941
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6942
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6943
|
+
line1: z.ZodString;
|
|
6944
|
+
city: z.ZodString;
|
|
6945
|
+
postalCode: z.ZodString;
|
|
6946
|
+
}, z.core.$strip>>;
|
|
6947
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
6948
|
+
latitude: z.ZodNumber;
|
|
6949
|
+
longitude: z.ZodNumber;
|
|
6950
|
+
}, z.core.$strip>>;
|
|
6951
|
+
status: z.ZodEnum<{
|
|
6952
|
+
pending: "pending";
|
|
6953
|
+
confirmed: "confirmed";
|
|
6954
|
+
rejected: "rejected";
|
|
6955
|
+
}>;
|
|
6956
|
+
preparationStatus: z.ZodEnum<{
|
|
6957
|
+
to_prepare: "to_prepare";
|
|
6958
|
+
in_preparation: "in_preparation";
|
|
6959
|
+
done: "done";
|
|
6960
|
+
}>;
|
|
6961
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
6962
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
6963
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
6964
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6965
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6966
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
6967
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6968
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6969
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6970
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6971
|
+
totalCountableItems: z.ZodNumber;
|
|
6972
|
+
amount: z.ZodString;
|
|
6973
|
+
netAmount: z.ZodString;
|
|
6974
|
+
taxAmount: z.ZodString;
|
|
6975
|
+
discount: z.ZodString;
|
|
6976
|
+
feeAmount: z.ZodString;
|
|
6977
|
+
feeNetAmount: z.ZodString;
|
|
6978
|
+
feeTaxAmount: z.ZodString;
|
|
6979
|
+
totalAmount: z.ZodString;
|
|
6980
|
+
totalNetAmount: z.ZodString;
|
|
6981
|
+
totalTaxAmount: z.ZodString;
|
|
6982
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
6983
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
6984
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
6985
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
6986
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
6987
|
+
isRead: z.ZodBoolean;
|
|
6988
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
6989
|
+
createdAt: z.ZodString;
|
|
6990
|
+
updatedAt: z.ZodString;
|
|
6991
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6992
|
+
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>;
|
|
6993
|
+
bundle: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
6994
|
+
deliveredBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
6995
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
6996
|
+
key: z.ZodString;
|
|
6997
|
+
amount: z.ZodString;
|
|
6998
|
+
netAmount: z.ZodString;
|
|
6999
|
+
taxAmount: z.ZodString;
|
|
7000
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
7001
|
+
}, z.core.$strip>>;
|
|
7002
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7003
|
+
id: z.ZodString;
|
|
7004
|
+
type: z.ZodEnum<{
|
|
7005
|
+
ITEM: "ITEM";
|
|
7006
|
+
CHOICE: "CHOICE";
|
|
7007
|
+
BUNDLE: "BUNDLE";
|
|
7008
|
+
}>;
|
|
7009
|
+
action: z.ZodEnum<{
|
|
7010
|
+
add: "add";
|
|
7011
|
+
remove: "remove";
|
|
7012
|
+
}>;
|
|
7013
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7014
|
+
locale: z.ZodString;
|
|
7015
|
+
text: z.ZodString;
|
|
7016
|
+
}, z.core.$strip>>;
|
|
7017
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7018
|
+
locale: z.ZodString;
|
|
7019
|
+
text: z.ZodString;
|
|
7020
|
+
}, z.core.$strip>>;
|
|
7021
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7022
|
+
locale: z.ZodString;
|
|
7023
|
+
text: z.ZodString;
|
|
7024
|
+
}, z.core.$strip>>>;
|
|
7025
|
+
countable: z.ZodBoolean;
|
|
7026
|
+
quantity: z.ZodNullable<z.ZodNumber>;
|
|
7027
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7028
|
+
unitPrice: z.ZodString;
|
|
7029
|
+
unitNetPrice: z.ZodString;
|
|
7030
|
+
unitTaxAmount: z.ZodString;
|
|
7031
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
7032
|
+
unitDiscount: z.ZodString;
|
|
7033
|
+
finalUnitPrice: z.ZodString;
|
|
7034
|
+
finalUnitNetPrice: z.ZodString;
|
|
7035
|
+
finalUnitTaxAmount: z.ZodString;
|
|
7036
|
+
amount: z.ZodString;
|
|
7037
|
+
netAmount: z.ZodString;
|
|
7038
|
+
taxAmount: z.ZodString;
|
|
7039
|
+
discount: z.ZodString;
|
|
7040
|
+
totalAmount: z.ZodString;
|
|
7041
|
+
totalNetAmount: z.ZodString;
|
|
7042
|
+
totalTaxAmount: z.ZodString;
|
|
7043
|
+
createdAt: z.ZodString;
|
|
7044
|
+
updatedAt: z.ZodString;
|
|
7045
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7046
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
7047
|
+
mainLevel: z.ZodBoolean;
|
|
7048
|
+
}, z.core.$strip>>;
|
|
7049
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
7050
|
+
id: z.ZodString;
|
|
7051
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7052
|
+
locale: z.ZodString;
|
|
7053
|
+
text: z.ZodString;
|
|
7054
|
+
}, z.core.$strip>>;
|
|
7055
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7056
|
+
locale: z.ZodString;
|
|
7057
|
+
text: z.ZodString;
|
|
7058
|
+
}, z.core.$strip>>;
|
|
7059
|
+
amount: z.ZodString;
|
|
7060
|
+
netAmount: z.ZodString;
|
|
7061
|
+
taxAmount: z.ZodString;
|
|
7062
|
+
createdAt: z.ZodString;
|
|
7063
|
+
updatedAt: z.ZodString;
|
|
7064
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7065
|
+
}, z.core.$strip>>;
|
|
7066
|
+
}, z.core.$strip>;
|
|
7067
|
+
type MarkOrderAsCollectedResponse = OrderDetails;
|
|
7068
|
+
declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAsCollectedInputSchema, typeof markOrderAsCollectedResponseSchema> {
|
|
7069
|
+
readonly method = "POST";
|
|
7070
|
+
readonly contentType = "application/json";
|
|
7071
|
+
readonly accept = "application/json";
|
|
7072
|
+
readonly inputSchema: z.ZodUndefined;
|
|
7073
|
+
readonly outputSchema: z.ZodObject<{
|
|
7074
|
+
id: z.ZodString;
|
|
7075
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7076
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
7077
|
+
stripe: "stripe";
|
|
7078
|
+
bank_transfer: "bank_transfer";
|
|
7079
|
+
cash: "cash";
|
|
7080
|
+
credit_card: "credit_card";
|
|
7081
|
+
}>>;
|
|
7082
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
7083
|
+
pending: "pending";
|
|
7084
|
+
pending_verification: "pending_verification";
|
|
7085
|
+
paid: "paid";
|
|
7086
|
+
canceled: "canceled";
|
|
7087
|
+
refunded: "refunded";
|
|
7088
|
+
failed: "failed";
|
|
7089
|
+
}>>;
|
|
7090
|
+
type: z.ZodEnum<{
|
|
7091
|
+
delivery: "delivery";
|
|
7092
|
+
take_away: "take_away";
|
|
7093
|
+
kitchen: "kitchen";
|
|
7094
|
+
}>;
|
|
7095
|
+
source: z.ZodEnum<{
|
|
7096
|
+
application: "application";
|
|
7097
|
+
ecommerce: "ecommerce";
|
|
7098
|
+
partner: "partner";
|
|
7099
|
+
}>;
|
|
7100
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
7101
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
7102
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
7103
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
7104
|
+
customerInfo: z.ZodObject<{
|
|
7105
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7106
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7107
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
7108
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7109
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7110
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7111
|
+
}, z.core.$strict>;
|
|
7112
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
7113
|
+
businessName: z.ZodString;
|
|
7114
|
+
vat: z.ZodString;
|
|
7115
|
+
taxCode: z.ZodString;
|
|
7116
|
+
billingAddress: z.ZodObject<{
|
|
7117
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7118
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7119
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7120
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7121
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7122
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7123
|
+
}, z.core.$strip>;
|
|
7124
|
+
billingData: z.ZodObject<{
|
|
7125
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7126
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
7127
|
+
}, z.core.$strip>;
|
|
7128
|
+
}, z.core.$strip>>;
|
|
7129
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
7130
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7131
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7132
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7133
|
+
line1: z.ZodString;
|
|
7134
|
+
city: z.ZodString;
|
|
7135
|
+
postalCode: z.ZodString;
|
|
7136
|
+
}, z.core.$strip>>;
|
|
7137
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
7138
|
+
latitude: z.ZodNumber;
|
|
7139
|
+
longitude: z.ZodNumber;
|
|
7140
|
+
}, z.core.$strip>>;
|
|
7141
|
+
status: z.ZodEnum<{
|
|
7142
|
+
pending: "pending";
|
|
7143
|
+
confirmed: "confirmed";
|
|
7144
|
+
rejected: "rejected";
|
|
7145
|
+
}>;
|
|
7146
|
+
preparationStatus: z.ZodEnum<{
|
|
7147
|
+
to_prepare: "to_prepare";
|
|
7148
|
+
in_preparation: "in_preparation";
|
|
7149
|
+
done: "done";
|
|
7150
|
+
}>;
|
|
7151
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
7152
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
7153
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
7154
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7155
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7156
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
7157
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7158
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7159
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7160
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7161
|
+
totalCountableItems: z.ZodNumber;
|
|
7162
|
+
amount: z.ZodString;
|
|
7163
|
+
netAmount: z.ZodString;
|
|
7164
|
+
taxAmount: z.ZodString;
|
|
7165
|
+
discount: z.ZodString;
|
|
7166
|
+
feeAmount: z.ZodString;
|
|
7167
|
+
feeNetAmount: z.ZodString;
|
|
7168
|
+
feeTaxAmount: z.ZodString;
|
|
7169
|
+
totalAmount: z.ZodString;
|
|
7170
|
+
totalNetAmount: z.ZodString;
|
|
7171
|
+
totalTaxAmount: z.ZodString;
|
|
7172
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7173
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
7174
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
7175
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
7176
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
7177
|
+
isRead: z.ZodBoolean;
|
|
7178
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7179
|
+
createdAt: z.ZodString;
|
|
7180
|
+
updatedAt: z.ZodString;
|
|
7181
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7182
|
+
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>;
|
|
7183
|
+
bundle: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
7184
|
+
deliveredBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
7185
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
7186
|
+
key: z.ZodString;
|
|
7187
|
+
amount: z.ZodString;
|
|
7188
|
+
netAmount: z.ZodString;
|
|
7189
|
+
taxAmount: z.ZodString;
|
|
7190
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
7191
|
+
}, z.core.$strip>>;
|
|
7192
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7193
|
+
id: z.ZodString;
|
|
7194
|
+
type: z.ZodEnum<{
|
|
7195
|
+
ITEM: "ITEM";
|
|
7196
|
+
CHOICE: "CHOICE";
|
|
7197
|
+
BUNDLE: "BUNDLE";
|
|
7198
|
+
}>;
|
|
7199
|
+
action: z.ZodEnum<{
|
|
7200
|
+
add: "add";
|
|
7201
|
+
remove: "remove";
|
|
7202
|
+
}>;
|
|
7203
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7204
|
+
locale: z.ZodString;
|
|
7205
|
+
text: z.ZodString;
|
|
7206
|
+
}, z.core.$strip>>;
|
|
7207
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7208
|
+
locale: z.ZodString;
|
|
7209
|
+
text: z.ZodString;
|
|
7210
|
+
}, z.core.$strip>>;
|
|
7211
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7212
|
+
locale: z.ZodString;
|
|
7213
|
+
text: z.ZodString;
|
|
7214
|
+
}, z.core.$strip>>>;
|
|
7215
|
+
countable: z.ZodBoolean;
|
|
7216
|
+
quantity: z.ZodNullable<z.ZodNumber>;
|
|
7217
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7218
|
+
unitPrice: z.ZodString;
|
|
7219
|
+
unitNetPrice: z.ZodString;
|
|
7220
|
+
unitTaxAmount: z.ZodString;
|
|
7221
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
7222
|
+
unitDiscount: z.ZodString;
|
|
7223
|
+
finalUnitPrice: z.ZodString;
|
|
7224
|
+
finalUnitNetPrice: z.ZodString;
|
|
7225
|
+
finalUnitTaxAmount: z.ZodString;
|
|
7226
|
+
amount: z.ZodString;
|
|
7227
|
+
netAmount: z.ZodString;
|
|
7228
|
+
taxAmount: z.ZodString;
|
|
7229
|
+
discount: z.ZodString;
|
|
7230
|
+
totalAmount: z.ZodString;
|
|
7231
|
+
totalNetAmount: z.ZodString;
|
|
7232
|
+
totalTaxAmount: z.ZodString;
|
|
7233
|
+
createdAt: z.ZodString;
|
|
7234
|
+
updatedAt: z.ZodString;
|
|
7235
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7236
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
7237
|
+
mainLevel: z.ZodBoolean;
|
|
7238
|
+
}, z.core.$strip>>;
|
|
7239
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
7240
|
+
id: z.ZodString;
|
|
7241
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7242
|
+
locale: z.ZodString;
|
|
7243
|
+
text: z.ZodString;
|
|
7244
|
+
}, z.core.$strip>>;
|
|
7245
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7246
|
+
locale: z.ZodString;
|
|
7247
|
+
text: z.ZodString;
|
|
7248
|
+
}, z.core.$strip>>;
|
|
7249
|
+
amount: z.ZodString;
|
|
7250
|
+
netAmount: z.ZodString;
|
|
7251
|
+
taxAmount: z.ZodString;
|
|
7252
|
+
createdAt: z.ZodString;
|
|
7253
|
+
updatedAt: z.ZodString;
|
|
7254
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7255
|
+
}, z.core.$strip>>;
|
|
7256
|
+
}, z.core.$strip>;
|
|
7257
|
+
readonly querySchema: undefined;
|
|
7258
|
+
readonly headersSchema: undefined;
|
|
7259
|
+
private readonly orderId;
|
|
7260
|
+
constructor(orderId: string);
|
|
7261
|
+
getPath(): string;
|
|
7262
|
+
}
|
|
7263
|
+
|
|
6881
7264
|
declare const markOrderAsReadInputSchema: z.ZodUndefined;
|
|
6882
7265
|
type MarkOrderAsReadInput = z.infer<typeof markOrderAsReadInputSchema>;
|
|
6883
7266
|
declare const markOrderAsReadResponseSchema: z.ZodObject<{
|
|
@@ -8209,4 +8592,4 @@ type BundleIri = z.infer<typeof bundleIriSchema>;
|
|
|
8209
8592
|
declare const bundleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
8210
8593
|
type BundleNullableIri = z.infer<typeof bundleNullableIriSchema>;
|
|
8211
8594
|
|
|
8212
|
-
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleBundleBrokenReason, type BundleDetails, type BundleIri, type BundleNullableIri, type BundleStatus, type BundleType, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemMenuItems, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierMenuItemModifiers, GetOrderMenuItemModifierModifierDetails, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemAction, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type OrdersQueryParams, RejectOrder, type RejectOrderInput, type RejectOrderResponse, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, feeSimulationSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, localeItemSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemActionSchema, orderMenuItemActions, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderPreparationStatusSchema, orderPreparationStatuses, orderSchema, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, ordersQuerySchema, rejectOrderInputSchema, rejectOrderResponseSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema };
|
|
8595
|
+
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleBundleBrokenReason, type BundleDetails, type BundleIri, type BundleNullableIri, type BundleStatus, type BundleType, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemMenuItems, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierMenuItemModifiers, GetOrderMenuItemModifierModifierDetails, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemAction, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type OrdersQueryParams, RejectOrder, type RejectOrderInput, type RejectOrderResponse, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, feeSimulationSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemActionSchema, orderMenuItemActions, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderPreparationStatusSchema, orderPreparationStatuses, orderSchema, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, ordersQuerySchema, rejectOrderInputSchema, rejectOrderResponseSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -6878,6 +6878,389 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
6878
6878
|
parseResponse(data: unknown, rawResponse: Response): Paginated<Order>;
|
|
6879
6879
|
}
|
|
6880
6880
|
|
|
6881
|
+
declare const markOrderAsCollectedInputSchema: z.ZodUndefined;
|
|
6882
|
+
type MarkOrderAsCollectedInput = z.infer<typeof markOrderAsCollectedInputSchema>;
|
|
6883
|
+
declare const markOrderAsCollectedResponseSchema: z.ZodObject<{
|
|
6884
|
+
id: z.ZodString;
|
|
6885
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6886
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
6887
|
+
stripe: "stripe";
|
|
6888
|
+
bank_transfer: "bank_transfer";
|
|
6889
|
+
cash: "cash";
|
|
6890
|
+
credit_card: "credit_card";
|
|
6891
|
+
}>>;
|
|
6892
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
6893
|
+
pending: "pending";
|
|
6894
|
+
pending_verification: "pending_verification";
|
|
6895
|
+
paid: "paid";
|
|
6896
|
+
canceled: "canceled";
|
|
6897
|
+
refunded: "refunded";
|
|
6898
|
+
failed: "failed";
|
|
6899
|
+
}>>;
|
|
6900
|
+
type: z.ZodEnum<{
|
|
6901
|
+
delivery: "delivery";
|
|
6902
|
+
take_away: "take_away";
|
|
6903
|
+
kitchen: "kitchen";
|
|
6904
|
+
}>;
|
|
6905
|
+
source: z.ZodEnum<{
|
|
6906
|
+
application: "application";
|
|
6907
|
+
ecommerce: "ecommerce";
|
|
6908
|
+
partner: "partner";
|
|
6909
|
+
}>;
|
|
6910
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
6911
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
6912
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
6913
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
6914
|
+
customerInfo: z.ZodObject<{
|
|
6915
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6916
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6917
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
6918
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
6919
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6920
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6921
|
+
}, z.core.$strict>;
|
|
6922
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
6923
|
+
businessName: z.ZodString;
|
|
6924
|
+
vat: z.ZodString;
|
|
6925
|
+
taxCode: z.ZodString;
|
|
6926
|
+
billingAddress: z.ZodObject<{
|
|
6927
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6928
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6929
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6930
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6931
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6932
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6933
|
+
}, z.core.$strip>;
|
|
6934
|
+
billingData: z.ZodObject<{
|
|
6935
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6936
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
6937
|
+
}, z.core.$strip>;
|
|
6938
|
+
}, z.core.$strip>>;
|
|
6939
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
6940
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6941
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6942
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6943
|
+
line1: z.ZodString;
|
|
6944
|
+
city: z.ZodString;
|
|
6945
|
+
postalCode: z.ZodString;
|
|
6946
|
+
}, z.core.$strip>>;
|
|
6947
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
6948
|
+
latitude: z.ZodNumber;
|
|
6949
|
+
longitude: z.ZodNumber;
|
|
6950
|
+
}, z.core.$strip>>;
|
|
6951
|
+
status: z.ZodEnum<{
|
|
6952
|
+
pending: "pending";
|
|
6953
|
+
confirmed: "confirmed";
|
|
6954
|
+
rejected: "rejected";
|
|
6955
|
+
}>;
|
|
6956
|
+
preparationStatus: z.ZodEnum<{
|
|
6957
|
+
to_prepare: "to_prepare";
|
|
6958
|
+
in_preparation: "in_preparation";
|
|
6959
|
+
done: "done";
|
|
6960
|
+
}>;
|
|
6961
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
6962
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
6963
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
6964
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6965
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
6966
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
6967
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
6968
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6969
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
6970
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
6971
|
+
totalCountableItems: z.ZodNumber;
|
|
6972
|
+
amount: z.ZodString;
|
|
6973
|
+
netAmount: z.ZodString;
|
|
6974
|
+
taxAmount: z.ZodString;
|
|
6975
|
+
discount: z.ZodString;
|
|
6976
|
+
feeAmount: z.ZodString;
|
|
6977
|
+
feeNetAmount: z.ZodString;
|
|
6978
|
+
feeTaxAmount: z.ZodString;
|
|
6979
|
+
totalAmount: z.ZodString;
|
|
6980
|
+
totalNetAmount: z.ZodString;
|
|
6981
|
+
totalTaxAmount: z.ZodString;
|
|
6982
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
6983
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
6984
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
6985
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
6986
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
6987
|
+
isRead: z.ZodBoolean;
|
|
6988
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
6989
|
+
createdAt: z.ZodString;
|
|
6990
|
+
updatedAt: z.ZodString;
|
|
6991
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6992
|
+
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>;
|
|
6993
|
+
bundle: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
6994
|
+
deliveredBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
6995
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
6996
|
+
key: z.ZodString;
|
|
6997
|
+
amount: z.ZodString;
|
|
6998
|
+
netAmount: z.ZodString;
|
|
6999
|
+
taxAmount: z.ZodString;
|
|
7000
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
7001
|
+
}, z.core.$strip>>;
|
|
7002
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7003
|
+
id: z.ZodString;
|
|
7004
|
+
type: z.ZodEnum<{
|
|
7005
|
+
ITEM: "ITEM";
|
|
7006
|
+
CHOICE: "CHOICE";
|
|
7007
|
+
BUNDLE: "BUNDLE";
|
|
7008
|
+
}>;
|
|
7009
|
+
action: z.ZodEnum<{
|
|
7010
|
+
add: "add";
|
|
7011
|
+
remove: "remove";
|
|
7012
|
+
}>;
|
|
7013
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7014
|
+
locale: z.ZodString;
|
|
7015
|
+
text: z.ZodString;
|
|
7016
|
+
}, z.core.$strip>>;
|
|
7017
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7018
|
+
locale: z.ZodString;
|
|
7019
|
+
text: z.ZodString;
|
|
7020
|
+
}, z.core.$strip>>;
|
|
7021
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7022
|
+
locale: z.ZodString;
|
|
7023
|
+
text: z.ZodString;
|
|
7024
|
+
}, z.core.$strip>>>;
|
|
7025
|
+
countable: z.ZodBoolean;
|
|
7026
|
+
quantity: z.ZodNullable<z.ZodNumber>;
|
|
7027
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7028
|
+
unitPrice: z.ZodString;
|
|
7029
|
+
unitNetPrice: z.ZodString;
|
|
7030
|
+
unitTaxAmount: z.ZodString;
|
|
7031
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
7032
|
+
unitDiscount: z.ZodString;
|
|
7033
|
+
finalUnitPrice: z.ZodString;
|
|
7034
|
+
finalUnitNetPrice: z.ZodString;
|
|
7035
|
+
finalUnitTaxAmount: z.ZodString;
|
|
7036
|
+
amount: z.ZodString;
|
|
7037
|
+
netAmount: z.ZodString;
|
|
7038
|
+
taxAmount: z.ZodString;
|
|
7039
|
+
discount: z.ZodString;
|
|
7040
|
+
totalAmount: z.ZodString;
|
|
7041
|
+
totalNetAmount: z.ZodString;
|
|
7042
|
+
totalTaxAmount: z.ZodString;
|
|
7043
|
+
createdAt: z.ZodString;
|
|
7044
|
+
updatedAt: z.ZodString;
|
|
7045
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7046
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
7047
|
+
mainLevel: z.ZodBoolean;
|
|
7048
|
+
}, z.core.$strip>>;
|
|
7049
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
7050
|
+
id: z.ZodString;
|
|
7051
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7052
|
+
locale: z.ZodString;
|
|
7053
|
+
text: z.ZodString;
|
|
7054
|
+
}, z.core.$strip>>;
|
|
7055
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7056
|
+
locale: z.ZodString;
|
|
7057
|
+
text: z.ZodString;
|
|
7058
|
+
}, z.core.$strip>>;
|
|
7059
|
+
amount: z.ZodString;
|
|
7060
|
+
netAmount: z.ZodString;
|
|
7061
|
+
taxAmount: z.ZodString;
|
|
7062
|
+
createdAt: z.ZodString;
|
|
7063
|
+
updatedAt: z.ZodString;
|
|
7064
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7065
|
+
}, z.core.$strip>>;
|
|
7066
|
+
}, z.core.$strip>;
|
|
7067
|
+
type MarkOrderAsCollectedResponse = OrderDetails;
|
|
7068
|
+
declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAsCollectedInputSchema, typeof markOrderAsCollectedResponseSchema> {
|
|
7069
|
+
readonly method = "POST";
|
|
7070
|
+
readonly contentType = "application/json";
|
|
7071
|
+
readonly accept = "application/json";
|
|
7072
|
+
readonly inputSchema: z.ZodUndefined;
|
|
7073
|
+
readonly outputSchema: z.ZodObject<{
|
|
7074
|
+
id: z.ZodString;
|
|
7075
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7076
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
7077
|
+
stripe: "stripe";
|
|
7078
|
+
bank_transfer: "bank_transfer";
|
|
7079
|
+
cash: "cash";
|
|
7080
|
+
credit_card: "credit_card";
|
|
7081
|
+
}>>;
|
|
7082
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
7083
|
+
pending: "pending";
|
|
7084
|
+
pending_verification: "pending_verification";
|
|
7085
|
+
paid: "paid";
|
|
7086
|
+
canceled: "canceled";
|
|
7087
|
+
refunded: "refunded";
|
|
7088
|
+
failed: "failed";
|
|
7089
|
+
}>>;
|
|
7090
|
+
type: z.ZodEnum<{
|
|
7091
|
+
delivery: "delivery";
|
|
7092
|
+
take_away: "take_away";
|
|
7093
|
+
kitchen: "kitchen";
|
|
7094
|
+
}>;
|
|
7095
|
+
source: z.ZodEnum<{
|
|
7096
|
+
application: "application";
|
|
7097
|
+
ecommerce: "ecommerce";
|
|
7098
|
+
partner: "partner";
|
|
7099
|
+
}>;
|
|
7100
|
+
partner: z.ZodNullable<z.ZodString>;
|
|
7101
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
7102
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
7103
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
7104
|
+
customerInfo: z.ZodObject<{
|
|
7105
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7106
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7107
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
7108
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
7109
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7110
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7111
|
+
}, z.core.$strict>;
|
|
7112
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
7113
|
+
businessName: z.ZodString;
|
|
7114
|
+
vat: z.ZodString;
|
|
7115
|
+
taxCode: z.ZodString;
|
|
7116
|
+
billingAddress: z.ZodObject<{
|
|
7117
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7118
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7119
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7120
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7121
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7122
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7123
|
+
}, z.core.$strip>;
|
|
7124
|
+
billingData: z.ZodObject<{
|
|
7125
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7126
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
7127
|
+
}, z.core.$strip>;
|
|
7128
|
+
}, z.core.$strip>>;
|
|
7129
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
7130
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7131
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7132
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7133
|
+
line1: z.ZodString;
|
|
7134
|
+
city: z.ZodString;
|
|
7135
|
+
postalCode: z.ZodString;
|
|
7136
|
+
}, z.core.$strip>>;
|
|
7137
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
7138
|
+
latitude: z.ZodNumber;
|
|
7139
|
+
longitude: z.ZodNumber;
|
|
7140
|
+
}, z.core.$strip>>;
|
|
7141
|
+
status: z.ZodEnum<{
|
|
7142
|
+
pending: "pending";
|
|
7143
|
+
confirmed: "confirmed";
|
|
7144
|
+
rejected: "rejected";
|
|
7145
|
+
}>;
|
|
7146
|
+
preparationStatus: z.ZodEnum<{
|
|
7147
|
+
to_prepare: "to_prepare";
|
|
7148
|
+
in_preparation: "in_preparation";
|
|
7149
|
+
done: "done";
|
|
7150
|
+
}>;
|
|
7151
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
7152
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
7153
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
7154
|
+
requestedDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7155
|
+
finalDeliveryTime: z.ZodNullable<z.ZodString>;
|
|
7156
|
+
deliveryStartedAt: z.ZodNullable<z.ZodString>;
|
|
7157
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
7158
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7159
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
7160
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
7161
|
+
totalCountableItems: z.ZodNumber;
|
|
7162
|
+
amount: z.ZodString;
|
|
7163
|
+
netAmount: z.ZodString;
|
|
7164
|
+
taxAmount: z.ZodString;
|
|
7165
|
+
discount: z.ZodString;
|
|
7166
|
+
feeAmount: z.ZodString;
|
|
7167
|
+
feeNetAmount: z.ZodString;
|
|
7168
|
+
feeTaxAmount: z.ZodString;
|
|
7169
|
+
totalAmount: z.ZodString;
|
|
7170
|
+
totalNetAmount: z.ZodString;
|
|
7171
|
+
totalTaxAmount: z.ZodString;
|
|
7172
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7173
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
7174
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
7175
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
7176
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
7177
|
+
isRead: z.ZodBoolean;
|
|
7178
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7179
|
+
createdAt: z.ZodString;
|
|
7180
|
+
updatedAt: z.ZodString;
|
|
7181
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
7182
|
+
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>;
|
|
7183
|
+
bundle: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
7184
|
+
deliveredBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
7185
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
7186
|
+
key: z.ZodString;
|
|
7187
|
+
amount: z.ZodString;
|
|
7188
|
+
netAmount: z.ZodString;
|
|
7189
|
+
taxAmount: z.ZodString;
|
|
7190
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
7191
|
+
}, z.core.$strip>>;
|
|
7192
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7193
|
+
id: z.ZodString;
|
|
7194
|
+
type: z.ZodEnum<{
|
|
7195
|
+
ITEM: "ITEM";
|
|
7196
|
+
CHOICE: "CHOICE";
|
|
7197
|
+
BUNDLE: "BUNDLE";
|
|
7198
|
+
}>;
|
|
7199
|
+
action: z.ZodEnum<{
|
|
7200
|
+
add: "add";
|
|
7201
|
+
remove: "remove";
|
|
7202
|
+
}>;
|
|
7203
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7204
|
+
locale: z.ZodString;
|
|
7205
|
+
text: z.ZodString;
|
|
7206
|
+
}, z.core.$strip>>;
|
|
7207
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7208
|
+
locale: z.ZodString;
|
|
7209
|
+
text: z.ZodString;
|
|
7210
|
+
}, z.core.$strip>>;
|
|
7211
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7212
|
+
locale: z.ZodString;
|
|
7213
|
+
text: z.ZodString;
|
|
7214
|
+
}, z.core.$strip>>>;
|
|
7215
|
+
countable: z.ZodBoolean;
|
|
7216
|
+
quantity: z.ZodNullable<z.ZodNumber>;
|
|
7217
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
7218
|
+
unitPrice: z.ZodString;
|
|
7219
|
+
unitNetPrice: z.ZodString;
|
|
7220
|
+
unitTaxAmount: z.ZodString;
|
|
7221
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
7222
|
+
unitDiscount: z.ZodString;
|
|
7223
|
+
finalUnitPrice: z.ZodString;
|
|
7224
|
+
finalUnitNetPrice: z.ZodString;
|
|
7225
|
+
finalUnitTaxAmount: z.ZodString;
|
|
7226
|
+
amount: z.ZodString;
|
|
7227
|
+
netAmount: z.ZodString;
|
|
7228
|
+
taxAmount: z.ZodString;
|
|
7229
|
+
discount: z.ZodString;
|
|
7230
|
+
totalAmount: z.ZodString;
|
|
7231
|
+
totalNetAmount: z.ZodString;
|
|
7232
|
+
totalTaxAmount: z.ZodString;
|
|
7233
|
+
createdAt: z.ZodString;
|
|
7234
|
+
updatedAt: z.ZodString;
|
|
7235
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7236
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
7237
|
+
mainLevel: z.ZodBoolean;
|
|
7238
|
+
}, z.core.$strip>>;
|
|
7239
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
7240
|
+
id: z.ZodString;
|
|
7241
|
+
name: z.ZodArray<z.ZodObject<{
|
|
7242
|
+
locale: z.ZodString;
|
|
7243
|
+
text: z.ZodString;
|
|
7244
|
+
}, z.core.$strip>>;
|
|
7245
|
+
description: z.ZodArray<z.ZodObject<{
|
|
7246
|
+
locale: z.ZodString;
|
|
7247
|
+
text: z.ZodString;
|
|
7248
|
+
}, z.core.$strip>>;
|
|
7249
|
+
amount: z.ZodString;
|
|
7250
|
+
netAmount: z.ZodString;
|
|
7251
|
+
taxAmount: z.ZodString;
|
|
7252
|
+
createdAt: z.ZodString;
|
|
7253
|
+
updatedAt: z.ZodString;
|
|
7254
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
7255
|
+
}, z.core.$strip>>;
|
|
7256
|
+
}, z.core.$strip>;
|
|
7257
|
+
readonly querySchema: undefined;
|
|
7258
|
+
readonly headersSchema: undefined;
|
|
7259
|
+
private readonly orderId;
|
|
7260
|
+
constructor(orderId: string);
|
|
7261
|
+
getPath(): string;
|
|
7262
|
+
}
|
|
7263
|
+
|
|
6881
7264
|
declare const markOrderAsReadInputSchema: z.ZodUndefined;
|
|
6882
7265
|
type MarkOrderAsReadInput = z.infer<typeof markOrderAsReadInputSchema>;
|
|
6883
7266
|
declare const markOrderAsReadResponseSchema: z.ZodObject<{
|
|
@@ -8209,4 +8592,4 @@ type BundleIri = z.infer<typeof bundleIriSchema>;
|
|
|
8209
8592
|
declare const bundleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
8210
8593
|
type BundleNullableIri = z.infer<typeof bundleNullableIriSchema>;
|
|
8211
8594
|
|
|
8212
|
-
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleBundleBrokenReason, type BundleDetails, type BundleIri, type BundleNullableIri, type BundleStatus, type BundleType, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemMenuItems, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierMenuItemModifiers, GetOrderMenuItemModifierModifierDetails, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemAction, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type OrdersQueryParams, RejectOrder, type RejectOrderInput, type RejectOrderResponse, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, feeSimulationSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, localeItemSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemActionSchema, orderMenuItemActions, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderPreparationStatusSchema, orderPreparationStatuses, orderSchema, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, ordersQuerySchema, rejectOrderInputSchema, rejectOrderResponseSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema };
|
|
8595
|
+
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleBundleBrokenReason, type BundleDetails, type BundleIri, type BundleNullableIri, type BundleStatus, type BundleType, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type FeeSimulation, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemMenuItems, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierMenuItemModifiers, GetOrderMenuItemModifierModifierDetails, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemAction, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderPreparationStatus, type OrderSource, type OrderStatus, type OrderType, type OrdersQueryParams, RejectOrder, type RejectOrderInput, type RejectOrderResponse, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleBundleBrokenReasonSchema, bundleBundleBrokenReasons, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundleStatusSchema, bundleStatuses, bundleTypeSchema, bundleTypes, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, feeSimulationSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemActionSchema, orderMenuItemActions, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderPreparationStatusSchema, orderPreparationStatuses, orderSchema, orderSourceSchema, orderSources, orderStatusSchema, orderStatuses, orderTypeSchema, orderTypes, ordersQuerySchema, rejectOrderInputSchema, rejectOrderResponseSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema };
|
package/dist/index.js
CHANGED
|
@@ -12125,11 +12125,32 @@ var GetPointOfSaleOrders = class extends AbstractApiRequest18 {
|
|
|
12125
12125
|
}
|
|
12126
12126
|
};
|
|
12127
12127
|
|
|
12128
|
-
// src/requests/orders/
|
|
12128
|
+
// src/requests/orders/MarkOrderAsCollected.ts
|
|
12129
12129
|
import { AbstractApiRequest as AbstractApiRequest19 } from "@deliverart/sdk-js-core";
|
|
12130
|
+
var markOrderAsCollectedInputSchema = external_exports.undefined();
|
|
12131
|
+
var markOrderAsCollectedResponseSchema = orderDetailsSchema;
|
|
12132
|
+
var MarkOrderAsCollected = class extends AbstractApiRequest19 {
|
|
12133
|
+
constructor(orderId) {
|
|
12134
|
+
super(void 0);
|
|
12135
|
+
this.method = "POST";
|
|
12136
|
+
this.contentType = "application/json";
|
|
12137
|
+
this.accept = "application/json";
|
|
12138
|
+
this.inputSchema = markOrderAsCollectedInputSchema;
|
|
12139
|
+
this.outputSchema = markOrderAsCollectedResponseSchema;
|
|
12140
|
+
this.querySchema = void 0;
|
|
12141
|
+
this.headersSchema = void 0;
|
|
12142
|
+
this.orderId = orderId;
|
|
12143
|
+
}
|
|
12144
|
+
getPath() {
|
|
12145
|
+
return `/orders/${this.orderId}/collection/collect`;
|
|
12146
|
+
}
|
|
12147
|
+
};
|
|
12148
|
+
|
|
12149
|
+
// src/requests/orders/MarkOrderAsRead.ts
|
|
12150
|
+
import { AbstractApiRequest as AbstractApiRequest20 } from "@deliverart/sdk-js-core";
|
|
12130
12151
|
var markOrderAsReadInputSchema = external_exports.undefined();
|
|
12131
12152
|
var markOrderAsReadResponseSchema = orderDetailsSchema;
|
|
12132
|
-
var MarkOrderAsRead = class extends
|
|
12153
|
+
var MarkOrderAsRead = class extends AbstractApiRequest20 {
|
|
12133
12154
|
constructor(orderId) {
|
|
12134
12155
|
super(void 0);
|
|
12135
12156
|
this.method = "POST";
|
|
@@ -12147,10 +12168,10 @@ var MarkOrderAsRead = class extends AbstractApiRequest19 {
|
|
|
12147
12168
|
};
|
|
12148
12169
|
|
|
12149
12170
|
// src/requests/orders/RejectOrder.ts
|
|
12150
|
-
import { AbstractApiRequest as
|
|
12171
|
+
import { AbstractApiRequest as AbstractApiRequest21 } from "@deliverart/sdk-js-core";
|
|
12151
12172
|
var rejectOrderInputSchema = external_exports.undefined();
|
|
12152
12173
|
var rejectOrderResponseSchema = orderDetailsSchema;
|
|
12153
|
-
var RejectOrder = class extends
|
|
12174
|
+
var RejectOrder = class extends AbstractApiRequest21 {
|
|
12154
12175
|
constructor(orderId) {
|
|
12155
12176
|
super(void 0);
|
|
12156
12177
|
this.method = "POST";
|
|
@@ -12168,7 +12189,7 @@ var RejectOrder = class extends AbstractApiRequest20 {
|
|
|
12168
12189
|
};
|
|
12169
12190
|
|
|
12170
12191
|
// src/requests/orders/UpdateOrder.ts
|
|
12171
|
-
import { AbstractApiRequest as
|
|
12192
|
+
import { AbstractApiRequest as AbstractApiRequest22 } from "@deliverart/sdk-js-core";
|
|
12172
12193
|
var updateOrderInputSchema = writableOrderSchema.omit({
|
|
12173
12194
|
pointOfSale: true,
|
|
12174
12195
|
type: true,
|
|
@@ -12179,7 +12200,7 @@ var updateOrderInputSchema = writableOrderSchema.omit({
|
|
|
12179
12200
|
autoAccept: true
|
|
12180
12201
|
}).partial();
|
|
12181
12202
|
var updateOrderResponseSchema = orderDetailsSchema;
|
|
12182
|
-
var UpdateOrder = class extends
|
|
12203
|
+
var UpdateOrder = class extends AbstractApiRequest22 {
|
|
12183
12204
|
constructor(orderId, input) {
|
|
12184
12205
|
super(input);
|
|
12185
12206
|
this.method = "PATCH";
|
|
@@ -12213,6 +12234,7 @@ export {
|
|
|
12213
12234
|
GetOrderMenuItemModifierModifierDetails,
|
|
12214
12235
|
GetOrders,
|
|
12215
12236
|
GetPointOfSaleOrders,
|
|
12237
|
+
MarkOrderAsCollected,
|
|
12216
12238
|
MarkOrderAsRead,
|
|
12217
12239
|
RejectOrder,
|
|
12218
12240
|
UpdateBundle,
|
|
@@ -12270,6 +12292,8 @@ export {
|
|
|
12270
12292
|
getPointOfSaleOrdersQuerySchema,
|
|
12271
12293
|
getPointOfSaleOrdersResponseSchema,
|
|
12272
12294
|
localeItemSchema,
|
|
12295
|
+
markOrderAsCollectedInputSchema,
|
|
12296
|
+
markOrderAsCollectedResponseSchema,
|
|
12273
12297
|
markOrderAsReadInputSchema,
|
|
12274
12298
|
markOrderAsReadResponseSchema,
|
|
12275
12299
|
orderAddressSchema,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-order",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Order Management",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-
|
|
22
|
-
"@deliverart/sdk-js-customer": "2.
|
|
23
|
-
"@deliverart/sdk-js-
|
|
24
|
-
"@deliverart/sdk-js-
|
|
25
|
-
"@deliverart/sdk-js-
|
|
26
|
-
"@deliverart/sdk-js-
|
|
27
|
-
"@deliverart/sdk-js-
|
|
28
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-menu": "2.2.0",
|
|
22
|
+
"@deliverart/sdk-js-customer": "2.2.0",
|
|
23
|
+
"@deliverart/sdk-js-core": "2.2.0",
|
|
24
|
+
"@deliverart/sdk-js-global-types": "2.2.0",
|
|
25
|
+
"@deliverart/sdk-js-point-of-sale": "2.2.0",
|
|
26
|
+
"@deliverart/sdk-js-sales-mode": "2.2.0",
|
|
27
|
+
"@deliverart/sdk-js-payment": "2.2.0",
|
|
28
|
+
"@deliverart/sdk-js-user": "2.2.0"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|