@deliverart/sdk-js-printer 2.8.0 → 2.8.2
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 +1 -0
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -0
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -11202,6 +11202,7 @@ var printerSchema = external_exports.object({
|
|
|
11202
11202
|
pointOfSale: import_sdk_js_point_of_sale.pointOfSaleIriSchema,
|
|
11203
11203
|
name: external_exports.string(),
|
|
11204
11204
|
ip: external_exports.ipv4(),
|
|
11205
|
+
tls: external_exports.boolean(),
|
|
11205
11206
|
protocol: import_sdk_js_global_types.printerProtocolSchema,
|
|
11206
11207
|
createdAt: import_sdk_js_global_types.datetimeSchema,
|
|
11207
11208
|
updatedAt: import_sdk_js_global_types.datetimeSchema
|
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,7 @@ declare const printerSchema: z.ZodObject<{
|
|
|
7
7
|
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>>;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
ip: z.ZodIPv4;
|
|
10
|
+
tls: z.ZodBoolean;
|
|
10
11
|
protocol: z.ZodEnum<{
|
|
11
12
|
esc_pos: "esc_pos";
|
|
12
13
|
}>;
|
|
@@ -77,6 +78,7 @@ declare const createPrinterResponseSchema: z.ZodObject<{
|
|
|
77
78
|
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>>;
|
|
78
79
|
name: z.ZodString;
|
|
79
80
|
ip: z.ZodIPv4;
|
|
81
|
+
tls: z.ZodBoolean;
|
|
80
82
|
protocol: z.ZodEnum<{
|
|
81
83
|
esc_pos: "esc_pos";
|
|
82
84
|
}>;
|
|
@@ -101,6 +103,7 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
|
|
|
101
103
|
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>>;
|
|
102
104
|
name: z.ZodString;
|
|
103
105
|
ip: z.ZodIPv4;
|
|
106
|
+
tls: z.ZodBoolean;
|
|
104
107
|
protocol: z.ZodEnum<{
|
|
105
108
|
esc_pos: "esc_pos";
|
|
106
109
|
}>;
|
|
@@ -135,6 +138,7 @@ declare const getPrinterDetailsResponseSchema: z.ZodObject<{
|
|
|
135
138
|
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>>;
|
|
136
139
|
name: z.ZodString;
|
|
137
140
|
ip: z.ZodIPv4;
|
|
141
|
+
tls: z.ZodBoolean;
|
|
138
142
|
protocol: z.ZodEnum<{
|
|
139
143
|
esc_pos: "esc_pos";
|
|
140
144
|
}>;
|
|
@@ -152,6 +156,7 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
|
|
|
152
156
|
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>>;
|
|
153
157
|
name: z.ZodString;
|
|
154
158
|
ip: z.ZodIPv4;
|
|
159
|
+
tls: z.ZodBoolean;
|
|
155
160
|
protocol: z.ZodEnum<{
|
|
156
161
|
esc_pos: "esc_pos";
|
|
157
162
|
}>;
|
|
@@ -204,6 +209,7 @@ declare const getPrintersResponseSchema: z.ZodObject<{
|
|
|
204
209
|
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>>;
|
|
205
210
|
name: z.ZodString;
|
|
206
211
|
ip: z.ZodIPv4;
|
|
212
|
+
tls: z.ZodBoolean;
|
|
207
213
|
protocol: z.ZodEnum<{
|
|
208
214
|
esc_pos: "esc_pos";
|
|
209
215
|
}>;
|
|
@@ -231,6 +237,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
|
|
|
231
237
|
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>>;
|
|
232
238
|
name: z.ZodString;
|
|
233
239
|
ip: z.ZodIPv4;
|
|
240
|
+
tls: z.ZodBoolean;
|
|
234
241
|
protocol: z.ZodEnum<{
|
|
235
242
|
esc_pos: "esc_pos";
|
|
236
243
|
}>;
|
|
@@ -282,6 +289,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
|
|
|
282
289
|
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>>;
|
|
283
290
|
name: z.ZodString;
|
|
284
291
|
ip: z.ZodIPv4;
|
|
292
|
+
tls: z.ZodBoolean;
|
|
285
293
|
protocol: z.ZodEnum<{
|
|
286
294
|
esc_pos: "esc_pos";
|
|
287
295
|
}>;
|
|
@@ -333,6 +341,7 @@ declare const getPrintersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
333
341
|
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>>;
|
|
334
342
|
name: z.ZodString;
|
|
335
343
|
ip: z.ZodIPv4;
|
|
344
|
+
tls: z.ZodBoolean;
|
|
336
345
|
protocol: z.ZodEnum<{
|
|
337
346
|
esc_pos: "esc_pos";
|
|
338
347
|
}>;
|
|
@@ -350,6 +359,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
|
|
|
350
359
|
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>>;
|
|
351
360
|
name: z.ZodString;
|
|
352
361
|
ip: z.ZodIPv4;
|
|
362
|
+
tls: z.ZodBoolean;
|
|
353
363
|
protocol: z.ZodEnum<{
|
|
354
364
|
esc_pos: "esc_pos";
|
|
355
365
|
}>;
|
|
@@ -392,6 +402,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
|
|
|
392
402
|
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>>;
|
|
393
403
|
name: z.ZodString;
|
|
394
404
|
ip: z.ZodIPv4;
|
|
405
|
+
tls: z.ZodBoolean;
|
|
395
406
|
protocol: z.ZodEnum<{
|
|
396
407
|
esc_pos: "esc_pos";
|
|
397
408
|
}>;
|
|
@@ -419,6 +430,7 @@ declare const updatePrinterResponseSchema: z.ZodObject<{
|
|
|
419
430
|
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>>;
|
|
420
431
|
name: z.ZodString;
|
|
421
432
|
ip: z.ZodIPv4;
|
|
433
|
+
tls: z.ZodBoolean;
|
|
422
434
|
protocol: z.ZodEnum<{
|
|
423
435
|
esc_pos: "esc_pos";
|
|
424
436
|
}>;
|
|
@@ -442,6 +454,7 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
|
|
|
442
454
|
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>>;
|
|
443
455
|
name: z.ZodString;
|
|
444
456
|
ip: z.ZodIPv4;
|
|
457
|
+
tls: z.ZodBoolean;
|
|
445
458
|
protocol: z.ZodEnum<{
|
|
446
459
|
esc_pos: "esc_pos";
|
|
447
460
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare const printerSchema: z.ZodObject<{
|
|
|
7
7
|
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>>;
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
ip: z.ZodIPv4;
|
|
10
|
+
tls: z.ZodBoolean;
|
|
10
11
|
protocol: z.ZodEnum<{
|
|
11
12
|
esc_pos: "esc_pos";
|
|
12
13
|
}>;
|
|
@@ -77,6 +78,7 @@ declare const createPrinterResponseSchema: z.ZodObject<{
|
|
|
77
78
|
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>>;
|
|
78
79
|
name: z.ZodString;
|
|
79
80
|
ip: z.ZodIPv4;
|
|
81
|
+
tls: z.ZodBoolean;
|
|
80
82
|
protocol: z.ZodEnum<{
|
|
81
83
|
esc_pos: "esc_pos";
|
|
82
84
|
}>;
|
|
@@ -101,6 +103,7 @@ declare class CreatePrinter extends AbstractApiRequest<typeof createPrinterInput
|
|
|
101
103
|
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>>;
|
|
102
104
|
name: z.ZodString;
|
|
103
105
|
ip: z.ZodIPv4;
|
|
106
|
+
tls: z.ZodBoolean;
|
|
104
107
|
protocol: z.ZodEnum<{
|
|
105
108
|
esc_pos: "esc_pos";
|
|
106
109
|
}>;
|
|
@@ -135,6 +138,7 @@ declare const getPrinterDetailsResponseSchema: z.ZodObject<{
|
|
|
135
138
|
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>>;
|
|
136
139
|
name: z.ZodString;
|
|
137
140
|
ip: z.ZodIPv4;
|
|
141
|
+
tls: z.ZodBoolean;
|
|
138
142
|
protocol: z.ZodEnum<{
|
|
139
143
|
esc_pos: "esc_pos";
|
|
140
144
|
}>;
|
|
@@ -152,6 +156,7 @@ declare class GetPrinterDetails extends AbstractApiRequest<typeof getPrinterDeta
|
|
|
152
156
|
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>>;
|
|
153
157
|
name: z.ZodString;
|
|
154
158
|
ip: z.ZodIPv4;
|
|
159
|
+
tls: z.ZodBoolean;
|
|
155
160
|
protocol: z.ZodEnum<{
|
|
156
161
|
esc_pos: "esc_pos";
|
|
157
162
|
}>;
|
|
@@ -204,6 +209,7 @@ declare const getPrintersResponseSchema: z.ZodObject<{
|
|
|
204
209
|
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>>;
|
|
205
210
|
name: z.ZodString;
|
|
206
211
|
ip: z.ZodIPv4;
|
|
212
|
+
tls: z.ZodBoolean;
|
|
207
213
|
protocol: z.ZodEnum<{
|
|
208
214
|
esc_pos: "esc_pos";
|
|
209
215
|
}>;
|
|
@@ -231,6 +237,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
|
|
|
231
237
|
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>>;
|
|
232
238
|
name: z.ZodString;
|
|
233
239
|
ip: z.ZodIPv4;
|
|
240
|
+
tls: z.ZodBoolean;
|
|
234
241
|
protocol: z.ZodEnum<{
|
|
235
242
|
esc_pos: "esc_pos";
|
|
236
243
|
}>;
|
|
@@ -282,6 +289,7 @@ declare class GetPrinters extends AbstractApiRequest<typeof getPrintersInputSche
|
|
|
282
289
|
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>>;
|
|
283
290
|
name: z.ZodString;
|
|
284
291
|
ip: z.ZodIPv4;
|
|
292
|
+
tls: z.ZodBoolean;
|
|
285
293
|
protocol: z.ZodEnum<{
|
|
286
294
|
esc_pos: "esc_pos";
|
|
287
295
|
}>;
|
|
@@ -333,6 +341,7 @@ declare const getPrintersFromPointOfSaleResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
333
341
|
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>>;
|
|
334
342
|
name: z.ZodString;
|
|
335
343
|
ip: z.ZodIPv4;
|
|
344
|
+
tls: z.ZodBoolean;
|
|
336
345
|
protocol: z.ZodEnum<{
|
|
337
346
|
esc_pos: "esc_pos";
|
|
338
347
|
}>;
|
|
@@ -350,6 +359,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
|
|
|
350
359
|
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>>;
|
|
351
360
|
name: z.ZodString;
|
|
352
361
|
ip: z.ZodIPv4;
|
|
362
|
+
tls: z.ZodBoolean;
|
|
353
363
|
protocol: z.ZodEnum<{
|
|
354
364
|
esc_pos: "esc_pos";
|
|
355
365
|
}>;
|
|
@@ -392,6 +402,7 @@ declare class GetPrintersFromPointOfSale extends AbstractApiRequest<typeof getPr
|
|
|
392
402
|
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>>;
|
|
393
403
|
name: z.ZodString;
|
|
394
404
|
ip: z.ZodIPv4;
|
|
405
|
+
tls: z.ZodBoolean;
|
|
395
406
|
protocol: z.ZodEnum<{
|
|
396
407
|
esc_pos: "esc_pos";
|
|
397
408
|
}>;
|
|
@@ -419,6 +430,7 @@ declare const updatePrinterResponseSchema: z.ZodObject<{
|
|
|
419
430
|
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>>;
|
|
420
431
|
name: z.ZodString;
|
|
421
432
|
ip: z.ZodIPv4;
|
|
433
|
+
tls: z.ZodBoolean;
|
|
422
434
|
protocol: z.ZodEnum<{
|
|
423
435
|
esc_pos: "esc_pos";
|
|
424
436
|
}>;
|
|
@@ -442,6 +454,7 @@ declare class UpdatePrinter extends AbstractApiRequest<typeof updatePrinterInput
|
|
|
442
454
|
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>>;
|
|
443
455
|
name: z.ZodString;
|
|
444
456
|
ip: z.ZodIPv4;
|
|
457
|
+
tls: z.ZodBoolean;
|
|
445
458
|
protocol: z.ZodEnum<{
|
|
446
459
|
esc_pos: "esc_pos";
|
|
447
460
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -11162,6 +11162,7 @@ var printerSchema = external_exports.object({
|
|
|
11162
11162
|
pointOfSale: pointOfSaleIriSchema,
|
|
11163
11163
|
name: external_exports.string(),
|
|
11164
11164
|
ip: external_exports.ipv4(),
|
|
11165
|
+
tls: external_exports.boolean(),
|
|
11165
11166
|
protocol: printerProtocolSchema,
|
|
11166
11167
|
createdAt: datetimeSchema,
|
|
11167
11168
|
updatedAt: datetimeSchema
|
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.
|
|
4
|
+
"version": "2.8.2",
|
|
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.
|
|
22
|
-
"@deliverart/sdk-js-global-types": "2.8.
|
|
23
|
-
"@deliverart/sdk-js-point-of-sale": "2.8.
|
|
21
|
+
"@deliverart/sdk-js-core": "2.8.2",
|
|
22
|
+
"@deliverart/sdk-js-global-types": "2.8.2",
|
|
23
|
+
"@deliverart/sdk-js-point-of-sale": "2.8.2"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|