feat(F-203): completed feature
This commit is contained in:
@@ -372,6 +372,7 @@ export async function registerPosRoutes(app: FastifyInstance, deps: PosRouteDeps
|
||||
properties: {
|
||||
selfpayMode: { type: 'boolean' },
|
||||
closeSessionRequiresPin: { type: 'boolean' },
|
||||
closeSessionPin: { type: 'string', maxLength: 6 },
|
||||
},
|
||||
additionalProperties: true,
|
||||
},
|
||||
@@ -391,6 +392,7 @@ export async function registerPosRoutes(app: FastifyInstance, deps: PosRouteDeps
|
||||
settings: z.object({
|
||||
selfpayMode: z.boolean().optional(),
|
||||
closeSessionRequiresPin: z.boolean().optional(),
|
||||
closeSessionPin: z.string().max(6).optional(),
|
||||
}).passthrough().optional(),
|
||||
}),
|
||||
request.body ?? {},
|
||||
|
||||
Reference in New Issue
Block a user