@deliverart/sdk-js-printer 2.8.3 → 2.8.4

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 CHANGED
@@ -11210,17 +11210,20 @@ var printerSchema = external_exports.object({
11210
11210
  var writablePrinterSchema = printerSchema.pick({
11211
11211
  name: true,
11212
11212
  ip: true,
11213
- protocol: true
11213
+ protocol: true,
11214
+ tls: true
11214
11215
  });
11215
11216
  var writableCreatePrinterSchema = printerSchema.pick({
11216
11217
  pointOfSale: true,
11217
11218
  name: true,
11218
11219
  ip: true,
11219
- protocol: true
11220
+ protocol: true,
11221
+ tls: true
11220
11222
  });
11221
11223
  var printersQuerySchema = external_exports.object({
11222
11224
  id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
11223
11225
  name: external_exports.string().optional(),
11226
+ tls: external_exports.boolean().optional(),
11224
11227
  protocol: external_exports.union([import_sdk_js_global_types.printerProtocolSchema, external_exports.array(import_sdk_js_global_types.printerProtocolSchema)]).optional(),
11225
11228
  "order[name]": import_sdk_js_global_types.sortDirSchema.optional(),
11226
11229
  "order[createdAt]": import_sdk_js_global_types.sortDirSchema.optional(),
package/dist/index.d.cts CHANGED
@@ -21,6 +21,7 @@ declare const writablePrinterSchema: z.ZodObject<{
21
21
  }>;
22
22
  name: z.ZodString;
23
23
  ip: z.ZodIPv4;
24
+ tls: z.ZodBoolean;
24
25
  }, z.core.$strip>;
25
26
  type WritablePrinter = z.infer<typeof writablePrinterSchema>;
26
27
  declare const writableCreatePrinterSchema: z.ZodObject<{
@@ -30,11 +31,13 @@ declare const writableCreatePrinterSchema: z.ZodObject<{
30
31
  }>;
31
32
  name: z.ZodString;
32
33
  ip: z.ZodIPv4;
34
+ tls: z.ZodBoolean;
33
35
  }, z.core.$strip>;
34
36
  type WritableCreatePrinter = z.infer<typeof writableCreatePrinterSchema>;
35
37
  declare const printersQuerySchema: z.ZodObject<{
36
38
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
37
39
  name: z.ZodOptional<z.ZodString>;
40
+ tls: z.ZodOptional<z.ZodBoolean>;
38
41
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
39
42
  esc_pos: "esc_pos";
40
43
  }>, z.ZodArray<z.ZodEnum<{
@@ -71,6 +74,7 @@ declare const createPrinterInputSchema: z.ZodObject<{
71
74
  }>>;
72
75
  name: z.ZodNonOptional<z.ZodString>;
73
76
  ip: z.ZodNonOptional<z.ZodIPv4>;
77
+ tls: z.ZodNonOptional<z.ZodBoolean>;
74
78
  }, z.core.$strip>;
75
79
  type CreatePrinterInput = z.input<typeof createPrinterInputSchema>;
76
80
  declare const createPrinterResponseSchema: z.ZodObject<{
@@ -97,6 +101,7 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
97
101
  }>>;
98
102
  name: z.ZodNonOptional<z.ZodString>;
99
103
  ip: z.ZodNonOptional<z.ZodIPv4>;
104
+ tls: z.ZodNonOptional<z.ZodBoolean>;
100
105
  }, z.core.$strip>;
101
106
  readonly outputSchema: z.ZodObject<{
102
107
  id: z.ZodString;
@@ -173,6 +178,7 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
173
178
  declare const getPrintersQuerySchema: z.ZodObject<{
174
179
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
175
180
  name: z.ZodOptional<z.ZodString>;
181
+ tls: z.ZodOptional<z.ZodBoolean>;
176
182
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
177
183
  esc_pos: "esc_pos";
178
184
  }>, z.ZodArray<z.ZodEnum<{
@@ -256,6 +262,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
256
262
  readonly querySchema: z.ZodObject<{
257
263
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
258
264
  name: z.ZodOptional<z.ZodString>;
265
+ tls: z.ZodOptional<z.ZodBoolean>;
259
266
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
260
267
  esc_pos: "esc_pos";
261
268
  }>, z.ZodArray<z.ZodEnum<{
@@ -306,6 +313,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
306
313
  declare const getPrintersFromPointOfSaleQuerySchema: z.ZodObject<{
307
314
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
308
315
  name: z.ZodOptional<z.ZodString>;
316
+ tls: z.ZodOptional<z.ZodBoolean>;
309
317
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
310
318
  esc_pos: "esc_pos";
311
319
  }>, z.ZodArray<z.ZodEnum<{
@@ -369,6 +377,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
369
377
  readonly querySchema: z.ZodObject<{
370
378
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
371
379
  name: z.ZodOptional<z.ZodString>;
380
+ tls: z.ZodOptional<z.ZodBoolean>;
372
381
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
373
382
  esc_pos: "esc_pos";
374
383
  }>, z.ZodArray<z.ZodEnum<{
@@ -423,6 +432,7 @@ declare const updatePrinterInputSchema: z.ZodObject<{
423
432
  }>>;
424
433
  name: z.ZodOptional<z.ZodString>;
425
434
  ip: z.ZodOptional<z.ZodIPv4>;
435
+ tls: z.ZodOptional<z.ZodBoolean>;
426
436
  }, z.core.$strip>;
427
437
  type UpdatePrinterInput = z.input<typeof updatePrinterInputSchema>;
428
438
  declare const updatePrinterResponseSchema: z.ZodObject<{
@@ -448,6 +458,7 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
448
458
  }>>;
449
459
  name: z.ZodOptional<z.ZodString>;
450
460
  ip: z.ZodOptional<z.ZodIPv4>;
461
+ tls: z.ZodOptional<z.ZodBoolean>;
451
462
  }, z.core.$strip>;
452
463
  readonly outputSchema: z.ZodObject<{
453
464
  id: z.ZodString;
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ declare const writablePrinterSchema: z.ZodObject<{
21
21
  }>;
22
22
  name: z.ZodString;
23
23
  ip: z.ZodIPv4;
24
+ tls: z.ZodBoolean;
24
25
  }, z.core.$strip>;
25
26
  type WritablePrinter = z.infer<typeof writablePrinterSchema>;
26
27
  declare const writableCreatePrinterSchema: z.ZodObject<{
@@ -30,11 +31,13 @@ declare const writableCreatePrinterSchema: z.ZodObject<{
30
31
  }>;
31
32
  name: z.ZodString;
32
33
  ip: z.ZodIPv4;
34
+ tls: z.ZodBoolean;
33
35
  }, z.core.$strip>;
34
36
  type WritableCreatePrinter = z.infer<typeof writableCreatePrinterSchema>;
35
37
  declare const printersQuerySchema: z.ZodObject<{
36
38
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
37
39
  name: z.ZodOptional<z.ZodString>;
40
+ tls: z.ZodOptional<z.ZodBoolean>;
38
41
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
39
42
  esc_pos: "esc_pos";
40
43
  }>, z.ZodArray<z.ZodEnum<{
@@ -71,6 +74,7 @@ declare const createPrinterInputSchema: z.ZodObject<{
71
74
  }>>;
72
75
  name: z.ZodNonOptional<z.ZodString>;
73
76
  ip: z.ZodNonOptional<z.ZodIPv4>;
77
+ tls: z.ZodNonOptional<z.ZodBoolean>;
74
78
  }, z.core.$strip>;
75
79
  type CreatePrinterInput = z.input<typeof createPrinterInputSchema>;
76
80
  declare const createPrinterResponseSchema: z.ZodObject<{
@@ -97,6 +101,7 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
97
101
  }>>;
98
102
  name: z.ZodNonOptional<z.ZodString>;
99
103
  ip: z.ZodNonOptional<z.ZodIPv4>;
104
+ tls: z.ZodNonOptional<z.ZodBoolean>;
100
105
  }, z.core.$strip>;
101
106
  readonly outputSchema: z.ZodObject<{
102
107
  id: z.ZodString;
@@ -173,6 +178,7 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
173
178
  declare const getPrintersQuerySchema: z.ZodObject<{
174
179
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
175
180
  name: z.ZodOptional<z.ZodString>;
181
+ tls: z.ZodOptional<z.ZodBoolean>;
176
182
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
177
183
  esc_pos: "esc_pos";
178
184
  }>, z.ZodArray<z.ZodEnum<{
@@ -256,6 +262,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
256
262
  readonly querySchema: z.ZodObject<{
257
263
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
258
264
  name: z.ZodOptional<z.ZodString>;
265
+ tls: z.ZodOptional<z.ZodBoolean>;
259
266
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
260
267
  esc_pos: "esc_pos";
261
268
  }>, z.ZodArray<z.ZodEnum<{
@@ -306,6 +313,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
306
313
  declare const getPrintersFromPointOfSaleQuerySchema: z.ZodObject<{
307
314
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
308
315
  name: z.ZodOptional<z.ZodString>;
316
+ tls: z.ZodOptional<z.ZodBoolean>;
309
317
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
310
318
  esc_pos: "esc_pos";
311
319
  }>, z.ZodArray<z.ZodEnum<{
@@ -369,6 +377,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
369
377
  readonly querySchema: z.ZodObject<{
370
378
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
371
379
  name: z.ZodOptional<z.ZodString>;
380
+ tls: z.ZodOptional<z.ZodBoolean>;
372
381
  protocol: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
373
382
  esc_pos: "esc_pos";
374
383
  }>, z.ZodArray<z.ZodEnum<{
@@ -423,6 +432,7 @@ declare const updatePrinterInputSchema: z.ZodObject<{
423
432
  }>>;
424
433
  name: z.ZodOptional<z.ZodString>;
425
434
  ip: z.ZodOptional<z.ZodIPv4>;
435
+ tls: z.ZodOptional<z.ZodBoolean>;
426
436
  }, z.core.$strip>;
427
437
  type UpdatePrinterInput = z.input<typeof updatePrinterInputSchema>;
428
438
  declare const updatePrinterResponseSchema: z.ZodObject<{
@@ -448,6 +458,7 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
448
458
  }>>;
449
459
  name: z.ZodOptional<z.ZodString>;
450
460
  ip: z.ZodOptional<z.ZodIPv4>;
461
+ tls: z.ZodOptional<z.ZodBoolean>;
451
462
  }, z.core.$strip>;
452
463
  readonly outputSchema: z.ZodObject<{
453
464
  id: z.ZodString;
package/dist/index.js CHANGED
@@ -11170,17 +11170,20 @@ var printerSchema = external_exports.object({
11170
11170
  var writablePrinterSchema = printerSchema.pick({
11171
11171
  name: true,
11172
11172
  ip: true,
11173
- protocol: true
11173
+ protocol: true,
11174
+ tls: true
11174
11175
  });
11175
11176
  var writableCreatePrinterSchema = printerSchema.pick({
11176
11177
  pointOfSale: true,
11177
11178
  name: true,
11178
11179
  ip: true,
11179
- protocol: true
11180
+ protocol: true,
11181
+ tls: true
11180
11182
  });
11181
11183
  var printersQuerySchema = external_exports.object({
11182
11184
  id: external_exports.union([external_exports.string(), external_exports.array(external_exports.string())]).optional(),
11183
11185
  name: external_exports.string().optional(),
11186
+ tls: external_exports.boolean().optional(),
11184
11187
  protocol: external_exports.union([printerProtocolSchema, external_exports.array(printerProtocolSchema)]).optional(),
11185
11188
  "order[name]": sortDirSchema.optional(),
11186
11189
  "order[createdAt]": sortDirSchema.optional(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-printer",
3
3
  "description": "Deliverart JavaScript SDK for Printer Management",
4
- "version": "2.8.3",
4
+ "version": "2.8.4",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-core": "2.8.3",
22
- "@deliverart/sdk-js-global-types": "2.8.3",
23
- "@deliverart/sdk-js-point-of-sale": "2.8.3"
21
+ "@deliverart/sdk-js-global-types": "2.8.4",
22
+ "@deliverart/sdk-js-core": "2.8.4",
23
+ "@deliverart/sdk-js-point-of-sale": "2.8.4"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"