@trusted-solutions/sdit.models 0.63.0-alpha.3 → 0.63.0-alpha.5
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.
|
@@ -23,11 +23,16 @@ export interface RejectOnlineOrderRequest {
|
|
|
23
23
|
operator: Operator;
|
|
24
24
|
reasonCode: OOReasonCode;
|
|
25
25
|
reason?: string;
|
|
26
|
+
releaseAvailability?: boolean;
|
|
26
27
|
}
|
|
27
28
|
export interface RejectOnlineOrderResponse {
|
|
28
29
|
storeId: string;
|
|
29
30
|
orderId: string;
|
|
30
31
|
partialUpdateOrder: Partial<Order>;
|
|
32
|
+
availabilityRelease?: {
|
|
33
|
+
released: boolean;
|
|
34
|
+
message?: string;
|
|
35
|
+
};
|
|
31
36
|
}
|
|
32
37
|
export interface CancelOnlineOrderRequest {
|
|
33
38
|
storeId: string;
|
|
@@ -35,12 +40,17 @@ export interface CancelOnlineOrderRequest {
|
|
|
35
40
|
operator: Operator;
|
|
36
41
|
reasonCode: OOReasonCode;
|
|
37
42
|
reason?: string;
|
|
43
|
+
releaseAvailability?: boolean;
|
|
38
44
|
}
|
|
39
45
|
export interface CancelOnlineOrderResponse {
|
|
40
46
|
storeId: string;
|
|
41
47
|
orderId: string;
|
|
42
48
|
partialUpdateOrder: Partial<Order>;
|
|
43
49
|
voidedReceipt?: Receipt;
|
|
50
|
+
availabilityRelease?: {
|
|
51
|
+
released: boolean;
|
|
52
|
+
message?: string;
|
|
53
|
+
};
|
|
44
54
|
}
|
|
45
55
|
export interface CompleteOnlineOrderRequest {
|
|
46
56
|
storeId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Store, DailySummary, SimpleStore, TimeInfo } from "../../models";
|
|
1
|
+
import { Brand, Store, DailySummary, SimpleStore, TimeInfo } from "../../models";
|
|
2
2
|
import { SingleItem, MultipleItems, BatchResponse } from "./common";
|
|
3
3
|
/**
|
|
4
4
|
* Lambda result to kiosk-admin
|
|
@@ -12,6 +12,7 @@ export interface GetStoresResponse extends MultipleItems<SimpleStore> {
|
|
|
12
12
|
}
|
|
13
13
|
export interface GetStoreByIdResponse extends SingleItem<Store> {
|
|
14
14
|
}
|
|
15
|
+
export declare type GetBrandByStoreIdResponse = Brand | null;
|
|
15
16
|
export interface UpdateStoreResponse extends SingleItem<Store> {
|
|
16
17
|
}
|
|
17
18
|
export interface SetAdminPinCodeResponse {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.63.0-alpha.
|
|
3
|
+
"version": "0.63.0-alpha.5",
|
|
4
4
|
"description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|