@feedmepos/mf-order-setting 0.0.90 → 0.0.91
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/DisplaySystemView-n7Kqdw-h.js +6564 -0
- package/dist/{KioskDevicesView-WuOTJ9Fi.js → KioskDevicesView-Bz6seroM.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DdHfATyN.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-I39sE8Pe.js} +3 -3
- package/dist/{KioskSettingView-Bsja2OqT.js → KioskSettingView-Cajjh4Zm.js} +3 -3
- package/dist/{KioskView-BH5qGTM_.js → KioskView-BPSbsMi5.js} +93 -89
- package/dist/{OrderSettingsView-D6V1ztiS.js → OrderSettingsView-jPxZ3JDM.js} +5 -5
- package/dist/{app-DsMk7W2h.js → app-DIhv5ssA.js} +266 -254
- package/dist/app.js +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +18 -6
- package/dist/frontend/mf-order/src/main.d.ts +18 -6
- package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +6 -3
- package/dist/frontend/mf-order/src/modules/kiosk/bindDeviceError.d.ts +20 -0
- package/dist/frontend/mf-order/src/views/display-system/CanvasArea.vue.d.ts +48 -0
- package/dist/frontend/mf-order/src/views/display-system/DisplayLayoutCanvas.vue.d.ts +17 -14
- package/dist/frontend/mf-order/src/views/display-system/DisplayModulePickerDialog.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DGDiI0fr.js → index-Clp_YRJ2.js} +1 -1
- package/dist/{index-BUDM0Rqn.js → index-CmqNrkNl.js} +1 -1
- package/dist/{index-C2n1MV_1.js → index-vaSLX6r3.js} +2 -2
- package/dist/{order.dto-BRDWWgMV.js → order.dto-DV1qL3Q_.js} +21 -1
- package/dist/package/entity/alert/investigation.dto.d.ts +26 -0
- package/dist/package/entity/alert/lark-callback.dto.d.ts +19 -0
- package/dist/package/entity/alert/record-resolution.dto.d.ts +35 -0
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +105 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +76 -0
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/src/locales/en-US.json +11 -4
- package/src/locales/zh-CN.json +9 -4
- package/src/modules/display-system/interface.spec.ts +90 -5
- package/src/modules/display-system/interface.ts +31 -21
- package/src/modules/kiosk/bindDeviceError.spec.ts +42 -0
- package/src/modules/kiosk/bindDeviceError.ts +40 -0
- package/src/views/display-system/CanvasArea.vue +355 -0
- package/src/views/display-system/DisplayLayoutCanvas.spec.ts +57 -0
- package/src/views/display-system/DisplayLayoutCanvas.vue +173 -298
- package/src/views/display-system/DisplayModulePickerDialog.spec.ts +71 -0
- package/src/views/display-system/DisplayModulePickerDialog.vue +107 -0
- package/src/views/display-system/DisplayTemplateEditor.spec.ts +151 -0
- package/src/views/display-system/DisplayTemplateEditor.vue +233 -193
- package/src/views/kiosk/KioskView.vue +2 -4
- package/vitest.config.ts +2 -0
- package/dist/DisplaySystemView-tosCa7Ej.js +0 -6485
- package/dist/frontend/mf-order/src/views/display-system/DisplayModulePalette.vue.d.ts +0 -13
- package/src/views/display-system/DisplayModulePalette.vue +0 -140
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as W, ref as x, resolveComponent as R, openBlock as g, createElementBlock as D, createElementVNode as h, toDisplayString as C, createVNode as T, unref as F, createBlock as z, computed as U, watch as oe, onMounted as re, withCtx as N, createTextVNode as se, createCommentVNode as E, Fragment as ie, renderList as ue, renderSlot as ae } from "vue";
|
|
2
|
-
import { e as v } from "./app-
|
|
2
|
+
import { e as v } from "./app-DIhv5ssA.js";
|
|
3
3
|
import { useDialog as le } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as Y, useCoreStore as ne } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as de } from "pinia";
|
|
6
|
-
import { r as O, g as a, j as V, b as Q, i as q } from "./order.dto-
|
|
6
|
+
import { r as O, g as a, j as V, b as Q, i as q } from "./order.dto-DV1qL3Q_.js";
|
|
7
7
|
import { u as ce } from "./snackbar-DZQ0_reQ.js";
|
|
8
8
|
const pe = /* @__PURE__ */ W({
|
|
9
9
|
__name: "OfflinePaymentTypeDialogContent",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Cf = Object.defineProperty;
|
|
2
2
|
var kf = (c, f, p) => f in c ? Cf(c, f, { enumerable: !0, configurable: !0, writable: !0, value: p }) : c[f] = p;
|
|
3
3
|
var ka = (c, f, p) => kf(c, typeof f != "symbol" ? f + "" : f, p);
|
|
4
|
-
import { e as te, k as Te, c as le, j as Oi, v as lt, i as Ff } from "./app-
|
|
4
|
+
import { e as te, k as Te, c as le, j as Oi, v as lt, i as Ff } from "./app-DIhv5ssA.js";
|
|
5
5
|
import { useCoreStore as Pn } from "@feedmepos/mf-common";
|
|
6
6
|
function dd(c, f) {
|
|
7
7
|
return function() {
|
|
@@ -36176,6 +36176,10 @@ const F0 = o.z.object({
|
|
|
36176
36176
|
}), N0 = o.z.object({
|
|
36177
36177
|
token: o.z.string(),
|
|
36178
36178
|
machineId: o.z.string(),
|
|
36179
|
+
// Kiosk license slot the device holds. Nullish = legacy/grandfathered device
|
|
36180
|
+
// (bound before licensing); the kiosk splash treats a missing expiredAt as valid.
|
|
36181
|
+
licenseId: o.z.string().nullish(),
|
|
36182
|
+
expiredAt: o.z.string().superRefine(_e.isISODateString).nullish(),
|
|
36179
36183
|
name: o.z.string().nullish(),
|
|
36180
36184
|
remarkInfo: o.z.string().nullish(),
|
|
36181
36185
|
scannerInfo: k0,
|
|
@@ -36223,6 +36227,22 @@ o.z.object({
|
|
|
36223
36227
|
_id: o.z.string(),
|
|
36224
36228
|
otp: o.z.string()
|
|
36225
36229
|
});
|
|
36230
|
+
o.z.array(
|
|
36231
|
+
o.z.object({
|
|
36232
|
+
id: o.z.string(),
|
|
36233
|
+
expiredAt: o.z.string().superRefine(_e.isISODateString)
|
|
36234
|
+
})
|
|
36235
|
+
);
|
|
36236
|
+
o.z.array(
|
|
36237
|
+
o.z.object({
|
|
36238
|
+
licenseId: o.z.string(),
|
|
36239
|
+
expiredAt: o.z.string().nullish(),
|
|
36240
|
+
machineId: o.z.string(),
|
|
36241
|
+
deviceName: o.z.string().nullish(),
|
|
36242
|
+
restaurantId: o.z.string(),
|
|
36243
|
+
lastStartup: o.z.string().nullish()
|
|
36244
|
+
})
|
|
36245
|
+
);
|
|
36226
36246
|
const nd = o.z.enum([
|
|
36227
36247
|
"percentage",
|
|
36228
36248
|
"fixPrice",
|
|
@@ -43,12 +43,31 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
|
|
|
43
43
|
suggestionRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
44
|
alertRecordIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45
45
|
ticketRecordIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
49
|
+
description: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
alias?: string | undefined;
|
|
53
|
+
name: string;
|
|
54
|
+
}, {
|
|
55
|
+
description?: string | undefined;
|
|
56
|
+
alias?: string | undefined;
|
|
57
|
+
name: string;
|
|
58
|
+
}>, "many">>;
|
|
59
|
+
agentVersion: z.ZodOptional<z.ZodString>;
|
|
46
60
|
}, "strip", z.ZodTypeAny, {
|
|
47
61
|
source?: string | undefined;
|
|
48
62
|
summary?: string | undefined;
|
|
49
63
|
status?: string | undefined;
|
|
50
64
|
restaurantId?: string | undefined;
|
|
51
65
|
category?: string | undefined;
|
|
66
|
+
tags?: {
|
|
67
|
+
description?: string | undefined;
|
|
68
|
+
alias?: string | undefined;
|
|
69
|
+
name: string;
|
|
70
|
+
}[] | undefined;
|
|
52
71
|
tickets?: {
|
|
53
72
|
link?: string | undefined;
|
|
54
73
|
number: string;
|
|
@@ -69,6 +88,7 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
|
|
|
69
88
|
suggestionRefs?: string[] | undefined;
|
|
70
89
|
alertRecordIds?: string[] | undefined;
|
|
71
90
|
ticketRecordIds?: string[] | undefined;
|
|
91
|
+
agentVersion?: string | undefined;
|
|
72
92
|
issueKey: string;
|
|
73
93
|
}, {
|
|
74
94
|
source?: string | undefined;
|
|
@@ -76,6 +96,11 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
|
|
|
76
96
|
status?: string | undefined;
|
|
77
97
|
restaurantId?: string | undefined;
|
|
78
98
|
category?: string | undefined;
|
|
99
|
+
tags?: {
|
|
100
|
+
description?: string | undefined;
|
|
101
|
+
alias?: string | undefined;
|
|
102
|
+
name: string;
|
|
103
|
+
}[] | undefined;
|
|
79
104
|
tickets?: {
|
|
80
105
|
link?: string | undefined;
|
|
81
106
|
number: string;
|
|
@@ -96,6 +121,7 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
|
|
|
96
121
|
suggestionRefs?: string[] | undefined;
|
|
97
122
|
alertRecordIds?: string[] | undefined;
|
|
98
123
|
ticketRecordIds?: string[] | undefined;
|
|
124
|
+
agentVersion?: string | undefined;
|
|
99
125
|
issueKey: string;
|
|
100
126
|
}>;
|
|
101
127
|
export declare function parseInvestigationLogPayload(input: unknown): {
|
|
@@ -60,6 +60,13 @@ export declare const FdtoCardCallback: z.ZodObject<{
|
|
|
60
60
|
}, {
|
|
61
61
|
open_message_id?: string | undefined;
|
|
62
62
|
}>>;
|
|
63
|
+
operator: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
open_id: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
open_id?: string | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
open_id?: string | undefined;
|
|
69
|
+
}>>;
|
|
63
70
|
}, "strip", z.ZodTypeAny, {
|
|
64
71
|
action?: {
|
|
65
72
|
value?: {
|
|
@@ -71,6 +78,9 @@ export declare const FdtoCardCallback: z.ZodObject<{
|
|
|
71
78
|
context?: {
|
|
72
79
|
open_message_id?: string | undefined;
|
|
73
80
|
} | undefined;
|
|
81
|
+
operator?: {
|
|
82
|
+
open_id?: string | undefined;
|
|
83
|
+
} | undefined;
|
|
74
84
|
}, {
|
|
75
85
|
action?: {
|
|
76
86
|
value?: {
|
|
@@ -82,6 +92,9 @@ export declare const FdtoCardCallback: z.ZodObject<{
|
|
|
82
92
|
context?: {
|
|
83
93
|
open_message_id?: string | undefined;
|
|
84
94
|
} | undefined;
|
|
95
|
+
operator?: {
|
|
96
|
+
open_id?: string | undefined;
|
|
97
|
+
} | undefined;
|
|
85
98
|
}>>;
|
|
86
99
|
}, "strip", z.ZodTypeAny, {
|
|
87
100
|
event?: {
|
|
@@ -95,6 +108,9 @@ export declare const FdtoCardCallback: z.ZodObject<{
|
|
|
95
108
|
context?: {
|
|
96
109
|
open_message_id?: string | undefined;
|
|
97
110
|
} | undefined;
|
|
111
|
+
operator?: {
|
|
112
|
+
open_id?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
98
114
|
} | undefined;
|
|
99
115
|
type?: string | undefined;
|
|
100
116
|
challenge?: string | undefined;
|
|
@@ -110,6 +126,9 @@ export declare const FdtoCardCallback: z.ZodObject<{
|
|
|
110
126
|
context?: {
|
|
111
127
|
open_message_id?: string | undefined;
|
|
112
128
|
} | undefined;
|
|
129
|
+
operator?: {
|
|
130
|
+
open_id?: string | undefined;
|
|
131
|
+
} | undefined;
|
|
113
132
|
} | undefined;
|
|
114
133
|
type?: string | undefined;
|
|
115
134
|
challenge?: string | undefined;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* The agent names the message that states the resolution, never who said it: author, time and quote are read
|
|
4
|
+
* back from Lark by the consumer.
|
|
5
|
+
*
|
|
6
|
+
* Exactly one of `alertRecordId` and `ticketRecordId` is set, and `messageId` must be in that card's thread;
|
|
7
|
+
* the consumer refuses both or neither.
|
|
8
|
+
*/
|
|
9
|
+
export declare const FdtoRecordResolution: z.ZodObject<{
|
|
10
|
+
issueKey: z.ZodString;
|
|
11
|
+
alertRecordId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
ticketRecordId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
messageId: z.ZodString;
|
|
14
|
+
resolution: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
alertRecordId?: string | undefined;
|
|
17
|
+
ticketRecordId?: string | undefined;
|
|
18
|
+
issueKey: string;
|
|
19
|
+
messageId: string;
|
|
20
|
+
resolution: string;
|
|
21
|
+
}, {
|
|
22
|
+
alertRecordId?: string | undefined;
|
|
23
|
+
ticketRecordId?: string | undefined;
|
|
24
|
+
issueKey: string;
|
|
25
|
+
messageId: string;
|
|
26
|
+
resolution: string;
|
|
27
|
+
}>;
|
|
28
|
+
export declare function parseRecordResolutionPayload(input: unknown): {
|
|
29
|
+
success: true;
|
|
30
|
+
data: FdtoRecordResolution;
|
|
31
|
+
} | {
|
|
32
|
+
success: false;
|
|
33
|
+
error: string;
|
|
34
|
+
};
|
|
35
|
+
export type FdtoRecordResolution = z.infer<typeof FdtoRecordResolution>;
|
|
@@ -4,6 +4,7 @@ export * from './alert/alert.dto';
|
|
|
4
4
|
export * from './alert/suggestion.enum';
|
|
5
5
|
export * from './alert/suggestion.dto';
|
|
6
6
|
export * from './alert/investigation.dto';
|
|
7
|
+
export * from './alert/record-resolution.dto';
|
|
7
8
|
export * from './alert/lark-callback.dto';
|
|
8
9
|
export * from './alert/categories/integration';
|
|
9
10
|
export * from './alert/categories/kiosk';
|
|
@@ -12,13 +12,42 @@ export declare const FdoTerminalInfo: z.ZodObject<{
|
|
|
12
12
|
merchantId: string;
|
|
13
13
|
terminalId: string;
|
|
14
14
|
}>;
|
|
15
|
+
/** A kiosk license slot selected from the business's quota (billing-service feature/kiosk). */
|
|
16
|
+
export declare const FdoKioskLicense: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
id: string;
|
|
21
|
+
expiredAt: string;
|
|
22
|
+
}, {
|
|
23
|
+
id: string;
|
|
24
|
+
expiredAt: string;
|
|
25
|
+
}>;
|
|
15
26
|
export declare const FdoOtpInfo: z.ZodObject<{
|
|
16
27
|
code: z.ZodString;
|
|
17
28
|
expiredAt: z.ZodDate;
|
|
29
|
+
license: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
id: string;
|
|
34
|
+
expiredAt: string;
|
|
35
|
+
}, {
|
|
36
|
+
id: string;
|
|
37
|
+
expiredAt: string;
|
|
38
|
+
}>>>;
|
|
18
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
license?: {
|
|
41
|
+
id: string;
|
|
42
|
+
expiredAt: string;
|
|
43
|
+
} | null | undefined;
|
|
19
44
|
code: string;
|
|
20
45
|
expiredAt: Date;
|
|
21
46
|
}, {
|
|
47
|
+
license?: {
|
|
48
|
+
id: string;
|
|
49
|
+
expiredAt: string;
|
|
50
|
+
} | null | undefined;
|
|
22
51
|
code: string;
|
|
23
52
|
expiredAt: Date;
|
|
24
53
|
}>;
|
|
@@ -522,6 +551,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
522
551
|
operatingSystem: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
523
552
|
osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
524
553
|
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
554
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
555
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
525
556
|
}, "strip", z.ZodTypeAny, {
|
|
526
557
|
name?: string | null | undefined;
|
|
527
558
|
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
|
|
@@ -530,6 +561,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
530
561
|
operatingSystem?: string | null | undefined;
|
|
531
562
|
osVersion?: string | null | undefined;
|
|
532
563
|
lastStartup?: string | null | undefined;
|
|
564
|
+
licenseId?: string | null | undefined;
|
|
565
|
+
expiredAt?: string | null | undefined;
|
|
533
566
|
remarkInfo?: string | null | undefined;
|
|
534
567
|
scannerInfo?: {
|
|
535
568
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -632,6 +665,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
632
665
|
operatingSystem?: string | null | undefined;
|
|
633
666
|
osVersion?: string | null | undefined;
|
|
634
667
|
lastStartup?: string | null | undefined;
|
|
668
|
+
licenseId?: string | null | undefined;
|
|
669
|
+
expiredAt?: string | null | undefined;
|
|
635
670
|
remarkInfo?: string | null | undefined;
|
|
636
671
|
scannerInfo?: {
|
|
637
672
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1229,6 +1264,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1229
1264
|
operatingSystem: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1230
1265
|
osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1231
1266
|
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1267
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1268
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1232
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1233
1270
|
name?: string | null | undefined;
|
|
1234
1271
|
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
|
|
@@ -1237,6 +1274,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1237
1274
|
operatingSystem?: string | null | undefined;
|
|
1238
1275
|
osVersion?: string | null | undefined;
|
|
1239
1276
|
lastStartup?: string | null | undefined;
|
|
1277
|
+
licenseId?: string | null | undefined;
|
|
1278
|
+
expiredAt?: string | null | undefined;
|
|
1240
1279
|
remarkInfo?: string | null | undefined;
|
|
1241
1280
|
scannerInfo?: {
|
|
1242
1281
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1339,6 +1378,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1339
1378
|
operatingSystem?: string | null | undefined;
|
|
1340
1379
|
osVersion?: string | null | undefined;
|
|
1341
1380
|
lastStartup?: string | null | undefined;
|
|
1381
|
+
licenseId?: string | null | undefined;
|
|
1382
|
+
expiredAt?: string | null | undefined;
|
|
1342
1383
|
remarkInfo?: string | null | undefined;
|
|
1343
1384
|
scannerInfo?: {
|
|
1344
1385
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1437,16 +1478,38 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1437
1478
|
otp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1438
1479
|
code: z.ZodString;
|
|
1439
1480
|
expiredAt: z.ZodDate;
|
|
1481
|
+
license: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1482
|
+
id: z.ZodString;
|
|
1483
|
+
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1484
|
+
}, "strip", z.ZodTypeAny, {
|
|
1485
|
+
id: string;
|
|
1486
|
+
expiredAt: string;
|
|
1487
|
+
}, {
|
|
1488
|
+
id: string;
|
|
1489
|
+
expiredAt: string;
|
|
1490
|
+
}>>>;
|
|
1440
1491
|
}, "strip", z.ZodTypeAny, {
|
|
1492
|
+
license?: {
|
|
1493
|
+
id: string;
|
|
1494
|
+
expiredAt: string;
|
|
1495
|
+
} | null | undefined;
|
|
1441
1496
|
code: string;
|
|
1442
1497
|
expiredAt: Date;
|
|
1443
1498
|
}, {
|
|
1499
|
+
license?: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
expiredAt: string;
|
|
1502
|
+
} | null | undefined;
|
|
1444
1503
|
code: string;
|
|
1445
1504
|
expiredAt: Date;
|
|
1446
1505
|
}>>>;
|
|
1447
1506
|
fixedBindCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1448
1507
|
}, "strip", z.ZodTypeAny, {
|
|
1449
1508
|
otp?: {
|
|
1509
|
+
license?: {
|
|
1510
|
+
id: string;
|
|
1511
|
+
expiredAt: string;
|
|
1512
|
+
} | null | undefined;
|
|
1450
1513
|
code: string;
|
|
1451
1514
|
expiredAt: Date;
|
|
1452
1515
|
} | null | undefined;
|
|
@@ -1458,6 +1521,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1458
1521
|
operatingSystem?: string | null | undefined;
|
|
1459
1522
|
osVersion?: string | null | undefined;
|
|
1460
1523
|
lastStartup?: string | null | undefined;
|
|
1524
|
+
licenseId?: string | null | undefined;
|
|
1525
|
+
expiredAt?: string | null | undefined;
|
|
1461
1526
|
remarkInfo?: string | null | undefined;
|
|
1462
1527
|
scannerInfo?: {
|
|
1463
1528
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1557,6 +1622,10 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1557
1622
|
_id: string;
|
|
1558
1623
|
}, {
|
|
1559
1624
|
otp?: {
|
|
1625
|
+
license?: {
|
|
1626
|
+
id: string;
|
|
1627
|
+
expiredAt: string;
|
|
1628
|
+
} | null | undefined;
|
|
1560
1629
|
code: string;
|
|
1561
1630
|
expiredAt: Date;
|
|
1562
1631
|
} | null | undefined;
|
|
@@ -1568,6 +1637,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1568
1637
|
operatingSystem?: string | null | undefined;
|
|
1569
1638
|
osVersion?: string | null | undefined;
|
|
1570
1639
|
lastStartup?: string | null | undefined;
|
|
1640
|
+
licenseId?: string | null | undefined;
|
|
1641
|
+
expiredAt?: string | null | undefined;
|
|
1571
1642
|
remarkInfo?: string | null | undefined;
|
|
1572
1643
|
scannerInfo?: {
|
|
1573
1644
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2168,6 +2239,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2168
2239
|
operatingSystem: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2169
2240
|
osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2170
2241
|
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2242
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2243
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2171
2244
|
}, "strip", z.ZodTypeAny, {
|
|
2172
2245
|
name?: string | null | undefined;
|
|
2173
2246
|
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
|
|
@@ -2176,6 +2249,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2176
2249
|
operatingSystem?: string | null | undefined;
|
|
2177
2250
|
osVersion?: string | null | undefined;
|
|
2178
2251
|
lastStartup?: string | null | undefined;
|
|
2252
|
+
licenseId?: string | null | undefined;
|
|
2253
|
+
expiredAt?: string | null | undefined;
|
|
2179
2254
|
remarkInfo?: string | null | undefined;
|
|
2180
2255
|
scannerInfo?: {
|
|
2181
2256
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2278,6 +2353,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2278
2353
|
operatingSystem?: string | null | undefined;
|
|
2279
2354
|
osVersion?: string | null | undefined;
|
|
2280
2355
|
lastStartup?: string | null | undefined;
|
|
2356
|
+
licenseId?: string | null | undefined;
|
|
2357
|
+
expiredAt?: string | null | undefined;
|
|
2281
2358
|
remarkInfo?: string | null | undefined;
|
|
2282
2359
|
scannerInfo?: {
|
|
2283
2360
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2376,10 +2453,28 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2376
2453
|
otp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2377
2454
|
code: z.ZodString;
|
|
2378
2455
|
expiredAt: z.ZodDate;
|
|
2456
|
+
license: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2457
|
+
id: z.ZodString;
|
|
2458
|
+
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
2459
|
+
}, "strip", z.ZodTypeAny, {
|
|
2460
|
+
id: string;
|
|
2461
|
+
expiredAt: string;
|
|
2462
|
+
}, {
|
|
2463
|
+
id: string;
|
|
2464
|
+
expiredAt: string;
|
|
2465
|
+
}>>>;
|
|
2379
2466
|
}, "strip", z.ZodTypeAny, {
|
|
2467
|
+
license?: {
|
|
2468
|
+
id: string;
|
|
2469
|
+
expiredAt: string;
|
|
2470
|
+
} | null | undefined;
|
|
2380
2471
|
code: string;
|
|
2381
2472
|
expiredAt: Date;
|
|
2382
2473
|
}, {
|
|
2474
|
+
license?: {
|
|
2475
|
+
id: string;
|
|
2476
|
+
expiredAt: string;
|
|
2477
|
+
} | null | undefined;
|
|
2383
2478
|
code: string;
|
|
2384
2479
|
expiredAt: Date;
|
|
2385
2480
|
}>>>;
|
|
@@ -2885,6 +2980,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2885
2980
|
operatingSystem: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2886
2981
|
osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2887
2982
|
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2983
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2984
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2888
2985
|
}, "strip", z.ZodTypeAny, {
|
|
2889
2986
|
name?: string | null | undefined;
|
|
2890
2987
|
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
|
|
@@ -2893,6 +2990,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2893
2990
|
operatingSystem?: string | null | undefined;
|
|
2894
2991
|
osVersion?: string | null | undefined;
|
|
2895
2992
|
lastStartup?: string | null | undefined;
|
|
2993
|
+
licenseId?: string | null | undefined;
|
|
2994
|
+
expiredAt?: string | null | undefined;
|
|
2896
2995
|
remarkInfo?: string | null | undefined;
|
|
2897
2996
|
scannerInfo?: {
|
|
2898
2997
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2995,6 +3094,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2995
3094
|
operatingSystem?: string | null | undefined;
|
|
2996
3095
|
osVersion?: string | null | undefined;
|
|
2997
3096
|
lastStartup?: string | null | undefined;
|
|
3097
|
+
licenseId?: string | null | undefined;
|
|
3098
|
+
expiredAt?: string | null | undefined;
|
|
2998
3099
|
remarkInfo?: string | null | undefined;
|
|
2999
3100
|
scannerInfo?: {
|
|
3000
3101
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -3100,6 +3201,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
3100
3201
|
operatingSystem?: string | null | undefined;
|
|
3101
3202
|
osVersion?: string | null | undefined;
|
|
3102
3203
|
lastStartup?: string | null | undefined;
|
|
3204
|
+
licenseId?: string | null | undefined;
|
|
3205
|
+
expiredAt?: string | null | undefined;
|
|
3103
3206
|
remarkInfo?: string | null | undefined;
|
|
3104
3207
|
scannerInfo?: {
|
|
3105
3208
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -3205,6 +3308,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
3205
3308
|
operatingSystem?: string | null | undefined;
|
|
3206
3309
|
osVersion?: string | null | undefined;
|
|
3207
3310
|
lastStartup?: string | null | undefined;
|
|
3311
|
+
licenseId?: string | null | undefined;
|
|
3312
|
+
expiredAt?: string | null | undefined;
|
|
3208
3313
|
remarkInfo?: string | null | undefined;
|
|
3209
3314
|
scannerInfo?: {
|
|
3210
3315
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -56,6 +56,8 @@ export declare const KioskTerminalInfoDto: z.ZodObject<{
|
|
|
56
56
|
export declare const KioskDeviceDto: z.ZodObject<{
|
|
57
57
|
token: z.ZodString;
|
|
58
58
|
machineId: z.ZodString;
|
|
59
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
60
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
59
61
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
60
62
|
remarkInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
63
|
scannerInfo: z.ZodDefault<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -561,6 +563,8 @@ export declare const KioskDeviceDto: z.ZodObject<{
|
|
|
561
563
|
operatingSystem?: string | null | undefined;
|
|
562
564
|
osVersion?: string | null | undefined;
|
|
563
565
|
lastStartup?: string | null | undefined;
|
|
566
|
+
licenseId?: string | null | undefined;
|
|
567
|
+
expiredAt?: string | null | undefined;
|
|
564
568
|
remarkInfo?: string | null | undefined;
|
|
565
569
|
printerInfo?: {
|
|
566
570
|
backup?: {
|
|
@@ -663,6 +667,8 @@ export declare const KioskDeviceDto: z.ZodObject<{
|
|
|
663
667
|
operatingSystem?: string | null | undefined;
|
|
664
668
|
osVersion?: string | null | undefined;
|
|
665
669
|
lastStartup?: string | null | undefined;
|
|
670
|
+
licenseId?: string | null | undefined;
|
|
671
|
+
expiredAt?: string | null | undefined;
|
|
666
672
|
remarkInfo?: string | null | undefined;
|
|
667
673
|
scannerInfo?: {
|
|
668
674
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1466,6 +1472,8 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1466
1472
|
devices: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1467
1473
|
token: z.ZodString;
|
|
1468
1474
|
machineId: z.ZodString;
|
|
1475
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1476
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1469
1477
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1470
1478
|
remarkInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1471
1479
|
scannerInfo: z.ZodDefault<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -1971,6 +1979,8 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1971
1979
|
operatingSystem?: string | null | undefined;
|
|
1972
1980
|
osVersion?: string | null | undefined;
|
|
1973
1981
|
lastStartup?: string | null | undefined;
|
|
1982
|
+
licenseId?: string | null | undefined;
|
|
1983
|
+
expiredAt?: string | null | undefined;
|
|
1974
1984
|
remarkInfo?: string | null | undefined;
|
|
1975
1985
|
printerInfo?: {
|
|
1976
1986
|
backup?: {
|
|
@@ -2073,6 +2083,8 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
2073
2083
|
operatingSystem?: string | null | undefined;
|
|
2074
2084
|
osVersion?: string | null | undefined;
|
|
2075
2085
|
lastStartup?: string | null | undefined;
|
|
2086
|
+
licenseId?: string | null | undefined;
|
|
2087
|
+
expiredAt?: string | null | undefined;
|
|
2076
2088
|
remarkInfo?: string | null | undefined;
|
|
2077
2089
|
scannerInfo?: {
|
|
2078
2090
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2192,6 +2204,8 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
2192
2204
|
operatingSystem?: string | null | undefined;
|
|
2193
2205
|
osVersion?: string | null | undefined;
|
|
2194
2206
|
lastStartup?: string | null | undefined;
|
|
2207
|
+
licenseId?: string | null | undefined;
|
|
2208
|
+
expiredAt?: string | null | undefined;
|
|
2195
2209
|
remarkInfo?: string | null | undefined;
|
|
2196
2210
|
printerInfo?: {
|
|
2197
2211
|
backup?: {
|
|
@@ -2302,6 +2316,8 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
2302
2316
|
operatingSystem?: string | null | undefined;
|
|
2303
2317
|
osVersion?: string | null | undefined;
|
|
2304
2318
|
lastStartup?: string | null | undefined;
|
|
2319
|
+
licenseId?: string | null | undefined;
|
|
2320
|
+
expiredAt?: string | null | undefined;
|
|
2305
2321
|
remarkInfo?: string | null | undefined;
|
|
2306
2322
|
scannerInfo?: {
|
|
2307
2323
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -2405,6 +2421,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2405
2421
|
devices: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2406
2422
|
token: z.ZodString;
|
|
2407
2423
|
machineId: z.ZodString;
|
|
2424
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2425
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2408
2426
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2409
2427
|
remarkInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2410
2428
|
scannerInfo: z.ZodDefault<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -2910,6 +2928,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2910
2928
|
operatingSystem?: string | null | undefined;
|
|
2911
2929
|
osVersion?: string | null | undefined;
|
|
2912
2930
|
lastStartup?: string | null | undefined;
|
|
2931
|
+
licenseId?: string | null | undefined;
|
|
2932
|
+
expiredAt?: string | null | undefined;
|
|
2913
2933
|
remarkInfo?: string | null | undefined;
|
|
2914
2934
|
printerInfo?: {
|
|
2915
2935
|
backup?: {
|
|
@@ -3012,6 +3032,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3012
3032
|
operatingSystem?: string | null | undefined;
|
|
3013
3033
|
osVersion?: string | null | undefined;
|
|
3014
3034
|
lastStartup?: string | null | undefined;
|
|
3035
|
+
licenseId?: string | null | undefined;
|
|
3036
|
+
expiredAt?: string | null | undefined;
|
|
3015
3037
|
remarkInfo?: string | null | undefined;
|
|
3016
3038
|
scannerInfo?: {
|
|
3017
3039
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -3122,6 +3144,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3122
3144
|
device: z.ZodObject<{
|
|
3123
3145
|
token: z.ZodString;
|
|
3124
3146
|
machineId: z.ZodString;
|
|
3147
|
+
licenseId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3148
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
3125
3149
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3126
3150
|
remarkInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3127
3151
|
scannerInfo: z.ZodDefault<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
@@ -3627,6 +3651,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3627
3651
|
operatingSystem?: string | null | undefined;
|
|
3628
3652
|
osVersion?: string | null | undefined;
|
|
3629
3653
|
lastStartup?: string | null | undefined;
|
|
3654
|
+
licenseId?: string | null | undefined;
|
|
3655
|
+
expiredAt?: string | null | undefined;
|
|
3630
3656
|
remarkInfo?: string | null | undefined;
|
|
3631
3657
|
printerInfo?: {
|
|
3632
3658
|
backup?: {
|
|
@@ -3729,6 +3755,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3729
3755
|
operatingSystem?: string | null | undefined;
|
|
3730
3756
|
osVersion?: string | null | undefined;
|
|
3731
3757
|
lastStartup?: string | null | undefined;
|
|
3758
|
+
licenseId?: string | null | undefined;
|
|
3759
|
+
expiredAt?: string | null | undefined;
|
|
3732
3760
|
remarkInfo?: string | null | undefined;
|
|
3733
3761
|
scannerInfo?: {
|
|
3734
3762
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -3834,6 +3862,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3834
3862
|
operatingSystem?: string | null | undefined;
|
|
3835
3863
|
osVersion?: string | null | undefined;
|
|
3836
3864
|
lastStartup?: string | null | undefined;
|
|
3865
|
+
licenseId?: string | null | undefined;
|
|
3866
|
+
expiredAt?: string | null | undefined;
|
|
3837
3867
|
remarkInfo?: string | null | undefined;
|
|
3838
3868
|
printerInfo?: {
|
|
3839
3869
|
backup?: {
|
|
@@ -3939,6 +3969,8 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3939
3969
|
operatingSystem?: string | null | undefined;
|
|
3940
3970
|
osVersion?: string | null | undefined;
|
|
3941
3971
|
lastStartup?: string | null | undefined;
|
|
3972
|
+
licenseId?: string | null | undefined;
|
|
3973
|
+
expiredAt?: string | null | undefined;
|
|
3942
3974
|
remarkInfo?: string | null | undefined;
|
|
3943
3975
|
scannerInfo?: {
|
|
3944
3976
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -4054,3 +4086,47 @@ export type KioskDeviceUpdateDto = z.infer<typeof KioskDeviceUpdateDto>;
|
|
|
4054
4086
|
export type KioskRestaurantSettingByTokenDto = z.infer<typeof KioskRestaurantSettingByTokenDto>;
|
|
4055
4087
|
export type KioskTerminalInfoDto = z.infer<typeof KioskTerminalInfoDto>;
|
|
4056
4088
|
export type KioskOtpInfoDto = z.infer<typeof KioskOtpInfoDto>;
|
|
4089
|
+
/**
|
|
4090
|
+
* Body of the license-side push: `PUT /kiosk/license/:businessId`.
|
|
4091
|
+
* The FULL current list of the business's kiosk licenses (expired rows
|
|
4092
|
+
* included), same shape as billing-service `GET .../feature/kiosk`.
|
|
4093
|
+
* Full-state rather than a delta, so the push is idempotent and also
|
|
4094
|
+
* reports removals.
|
|
4095
|
+
*/
|
|
4096
|
+
export declare const KioskLicensePushDto: z.ZodArray<z.ZodObject<{
|
|
4097
|
+
id: z.ZodString;
|
|
4098
|
+
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
4099
|
+
}, "strip", z.ZodTypeAny, {
|
|
4100
|
+
id: string;
|
|
4101
|
+
expiredAt: string;
|
|
4102
|
+
}, {
|
|
4103
|
+
id: string;
|
|
4104
|
+
expiredAt: string;
|
|
4105
|
+
}>, "many">;
|
|
4106
|
+
/**
|
|
4107
|
+
* Response of `GET /kiosk/license/:businessId` — which of the business's kiosk
|
|
4108
|
+
* licenses are currently held, and by which device. A license in the caller's
|
|
4109
|
+
* own list that is absent here is a free slot.
|
|
4110
|
+
*/
|
|
4111
|
+
export declare const KioskLicenseBindingDto: z.ZodArray<z.ZodObject<{
|
|
4112
|
+
licenseId: z.ZodString;
|
|
4113
|
+
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4114
|
+
machineId: z.ZodString;
|
|
4115
|
+
deviceName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4116
|
+
restaurantId: z.ZodString;
|
|
4117
|
+
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4118
|
+
}, "strip", z.ZodTypeAny, {
|
|
4119
|
+
lastStartup?: string | null | undefined;
|
|
4120
|
+
expiredAt?: string | null | undefined;
|
|
4121
|
+
deviceName?: string | null | undefined;
|
|
4122
|
+
restaurantId: string;
|
|
4123
|
+
machineId: string;
|
|
4124
|
+
licenseId: string;
|
|
4125
|
+
}, {
|
|
4126
|
+
lastStartup?: string | null | undefined;
|
|
4127
|
+
expiredAt?: string | null | undefined;
|
|
4128
|
+
deviceName?: string | null | undefined;
|
|
4129
|
+
restaurantId: string;
|
|
4130
|
+
machineId: string;
|
|
4131
|
+
licenseId: string;
|
|
4132
|
+
}>, "many">;
|