@technova-tech/olive-proto-lib 1.8.2 → 1.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/index.js +2 -0
- package/package.json +1 -1
- package/pos.v1/terminals.js +20 -0
- package/terminal/terminal.js +20 -0
- package/types/index.d.ts +2 -0
- package/types/pos.v1/terminals.d.ts +5 -0
- package/types/terminal/terminal.d.ts +5 -0
package/index.js
CHANGED
|
@@ -10,6 +10,7 @@ const recognition_1 = require("./image/recognition");
|
|
|
10
10
|
const storage_1 = require("./storage/storage");
|
|
11
11
|
const transfer_1 = require("./transfer/transfer");
|
|
12
12
|
const business_1 = require("./business/business");
|
|
13
|
+
const audit_1 = require("./audit/audit");
|
|
13
14
|
const transactions_1 = require("./pos/transactions");
|
|
14
15
|
const transactions_2 = require("./pos.v1/transactions");
|
|
15
16
|
const auth_1 = require("./pos.v1/auth");
|
|
@@ -23,6 +24,7 @@ const proto = {
|
|
|
23
24
|
import: {
|
|
24
25
|
admin: admin_1.com,
|
|
25
26
|
account: accounts_1.com,
|
|
27
|
+
audit: audit_1.com,
|
|
26
28
|
user: users_1.com,
|
|
27
29
|
verification: verifications_1.com,
|
|
28
30
|
bills: bills_1.com,
|
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -3396,6 +3396,9 @@ var com;
|
|
|
3396
3396
|
if ("to" in data && data.to != undefined) {
|
|
3397
3397
|
this.to = data.to;
|
|
3398
3398
|
}
|
|
3399
|
+
if ("status" in data && data.status != undefined) {
|
|
3400
|
+
this.status = data.status;
|
|
3401
|
+
}
|
|
3399
3402
|
}
|
|
3400
3403
|
}
|
|
3401
3404
|
get terminalTypeId() {
|
|
@@ -3440,6 +3443,12 @@ var com;
|
|
|
3440
3443
|
set to(value) {
|
|
3441
3444
|
pb_1.Message.setField(this, 7, value);
|
|
3442
3445
|
}
|
|
3446
|
+
get status() {
|
|
3447
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
3448
|
+
}
|
|
3449
|
+
set status(value) {
|
|
3450
|
+
pb_1.Message.setField(this, 8, value);
|
|
3451
|
+
}
|
|
3443
3452
|
static fromObject(data) {
|
|
3444
3453
|
const message = new GetAvailableTerminalsRequest({});
|
|
3445
3454
|
if (data.terminalTypeId != null) {
|
|
@@ -3463,6 +3472,9 @@ var com;
|
|
|
3463
3472
|
if (data.to != null) {
|
|
3464
3473
|
message.to = data.to;
|
|
3465
3474
|
}
|
|
3475
|
+
if (data.status != null) {
|
|
3476
|
+
message.status = data.status;
|
|
3477
|
+
}
|
|
3466
3478
|
return message;
|
|
3467
3479
|
}
|
|
3468
3480
|
toObject() {
|
|
@@ -3488,6 +3500,9 @@ var com;
|
|
|
3488
3500
|
if (this.to != null) {
|
|
3489
3501
|
data.to = this.to;
|
|
3490
3502
|
}
|
|
3503
|
+
if (this.status != null) {
|
|
3504
|
+
data.status = this.status;
|
|
3505
|
+
}
|
|
3491
3506
|
return data;
|
|
3492
3507
|
}
|
|
3493
3508
|
serialize(w) {
|
|
@@ -3506,6 +3521,8 @@ var com;
|
|
|
3506
3521
|
writer.writeString(6, this.from);
|
|
3507
3522
|
if (this.to.length)
|
|
3508
3523
|
writer.writeString(7, this.to);
|
|
3524
|
+
if (this.status.length)
|
|
3525
|
+
writer.writeString(8, this.status);
|
|
3509
3526
|
if (!w)
|
|
3510
3527
|
return writer.getResultBuffer();
|
|
3511
3528
|
}
|
|
@@ -3536,6 +3553,9 @@ var com;
|
|
|
3536
3553
|
case 7:
|
|
3537
3554
|
message.to = reader.readString();
|
|
3538
3555
|
break;
|
|
3556
|
+
case 8:
|
|
3557
|
+
message.status = reader.readString();
|
|
3558
|
+
break;
|
|
3539
3559
|
default: reader.skipField();
|
|
3540
3560
|
}
|
|
3541
3561
|
}
|
package/terminal/terminal.js
CHANGED
|
@@ -9337,6 +9337,9 @@ var com;
|
|
|
9337
9337
|
if ("to" in data && data.to != undefined) {
|
|
9338
9338
|
this.to = data.to;
|
|
9339
9339
|
}
|
|
9340
|
+
if ("status" in data && data.status != undefined) {
|
|
9341
|
+
this.status = data.status;
|
|
9342
|
+
}
|
|
9340
9343
|
}
|
|
9341
9344
|
}
|
|
9342
9345
|
get terminalTypeId() {
|
|
@@ -9375,6 +9378,12 @@ var com;
|
|
|
9375
9378
|
set to(value) {
|
|
9376
9379
|
pb_1.Message.setField(this, 6, value);
|
|
9377
9380
|
}
|
|
9381
|
+
get status() {
|
|
9382
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
9383
|
+
}
|
|
9384
|
+
set status(value) {
|
|
9385
|
+
pb_1.Message.setField(this, 7, value);
|
|
9386
|
+
}
|
|
9378
9387
|
static fromObject(data) {
|
|
9379
9388
|
const message = new GetAvailableTerminalsRequest({});
|
|
9380
9389
|
if (data.terminalTypeId != null) {
|
|
@@ -9395,6 +9404,9 @@ var com;
|
|
|
9395
9404
|
if (data.to != null) {
|
|
9396
9405
|
message.to = data.to;
|
|
9397
9406
|
}
|
|
9407
|
+
if (data.status != null) {
|
|
9408
|
+
message.status = data.status;
|
|
9409
|
+
}
|
|
9398
9410
|
return message;
|
|
9399
9411
|
}
|
|
9400
9412
|
toObject() {
|
|
@@ -9417,6 +9429,9 @@ var com;
|
|
|
9417
9429
|
if (this.to != null) {
|
|
9418
9430
|
data.to = this.to;
|
|
9419
9431
|
}
|
|
9432
|
+
if (this.status != null) {
|
|
9433
|
+
data.status = this.status;
|
|
9434
|
+
}
|
|
9420
9435
|
return data;
|
|
9421
9436
|
}
|
|
9422
9437
|
serialize(w) {
|
|
@@ -9433,6 +9448,8 @@ var com;
|
|
|
9433
9448
|
writer.writeString(5, this.from);
|
|
9434
9449
|
if (this.to.length)
|
|
9435
9450
|
writer.writeString(6, this.to);
|
|
9451
|
+
if (this.status.length)
|
|
9452
|
+
writer.writeString(7, this.status);
|
|
9436
9453
|
if (!w)
|
|
9437
9454
|
return writer.getResultBuffer();
|
|
9438
9455
|
}
|
|
@@ -9460,6 +9477,9 @@ var com;
|
|
|
9460
9477
|
case 6:
|
|
9461
9478
|
message.to = reader.readString();
|
|
9462
9479
|
break;
|
|
9480
|
+
case 7:
|
|
9481
|
+
message.status = reader.readString();
|
|
9482
|
+
break;
|
|
9463
9483
|
default: reader.skipField();
|
|
9464
9484
|
}
|
|
9465
9485
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { com as image } from './image/recognition';
|
|
|
7
7
|
import { com as storage } from './storage/storage';
|
|
8
8
|
import { com as transfer } from './transfer/transfer';
|
|
9
9
|
import { com as business } from './business/business';
|
|
10
|
+
import { com as audit } from './audit/audit';
|
|
10
11
|
import { com as pos_transactions } from './pos/transactions';
|
|
11
12
|
import { com as pov1Transaction } from './pos.v1/transactions';
|
|
12
13
|
import { com as pov1Auth } from './pos.v1/auth';
|
|
@@ -20,6 +21,7 @@ declare const proto: {
|
|
|
20
21
|
import: {
|
|
21
22
|
admin: typeof admin;
|
|
22
23
|
account: typeof account;
|
|
24
|
+
audit: typeof audit;
|
|
23
25
|
user: typeof user;
|
|
24
26
|
verification: typeof verification;
|
|
25
27
|
bills: typeof bills;
|
|
@@ -1246,6 +1246,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1246
1246
|
search?: string;
|
|
1247
1247
|
from?: string;
|
|
1248
1248
|
to?: string;
|
|
1249
|
+
status?: string;
|
|
1249
1250
|
});
|
|
1250
1251
|
get terminalTypeId(): string;
|
|
1251
1252
|
set terminalTypeId(value: string);
|
|
@@ -1261,6 +1262,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1261
1262
|
set from(value: string);
|
|
1262
1263
|
get to(): string;
|
|
1263
1264
|
set to(value: string);
|
|
1265
|
+
get status(): string;
|
|
1266
|
+
set status(value: string);
|
|
1264
1267
|
static fromObject(data: {
|
|
1265
1268
|
terminalTypeId?: string;
|
|
1266
1269
|
location?: string;
|
|
@@ -1269,6 +1272,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1269
1272
|
search?: string;
|
|
1270
1273
|
from?: string;
|
|
1271
1274
|
to?: string;
|
|
1275
|
+
status?: string;
|
|
1272
1276
|
}): GetAvailableTerminalsRequest;
|
|
1273
1277
|
toObject(): {
|
|
1274
1278
|
terminalTypeId?: string | undefined;
|
|
@@ -1278,6 +1282,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1278
1282
|
search?: string | undefined;
|
|
1279
1283
|
from?: string | undefined;
|
|
1280
1284
|
to?: string | undefined;
|
|
1285
|
+
status?: string | undefined;
|
|
1281
1286
|
};
|
|
1282
1287
|
serialize(): Uint8Array;
|
|
1283
1288
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -4196,6 +4196,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4196
4196
|
search?: string;
|
|
4197
4197
|
from?: string;
|
|
4198
4198
|
to?: string;
|
|
4199
|
+
status?: string;
|
|
4199
4200
|
});
|
|
4200
4201
|
get terminalTypeId(): string;
|
|
4201
4202
|
set terminalTypeId(value: string);
|
|
@@ -4209,6 +4210,8 @@ export declare namespace com.pkg.terminal {
|
|
|
4209
4210
|
set from(value: string);
|
|
4210
4211
|
get to(): string;
|
|
4211
4212
|
set to(value: string);
|
|
4213
|
+
get status(): string;
|
|
4214
|
+
set status(value: string);
|
|
4212
4215
|
static fromObject(data: {
|
|
4213
4216
|
terminalTypeId?: string;
|
|
4214
4217
|
page?: number;
|
|
@@ -4216,6 +4219,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4216
4219
|
search?: string;
|
|
4217
4220
|
from?: string;
|
|
4218
4221
|
to?: string;
|
|
4222
|
+
status?: string;
|
|
4219
4223
|
}): GetAvailableTerminalsRequest;
|
|
4220
4224
|
toObject(): {
|
|
4221
4225
|
terminalTypeId?: string | undefined;
|
|
@@ -4224,6 +4228,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4224
4228
|
search?: string | undefined;
|
|
4225
4229
|
from?: string | undefined;
|
|
4226
4230
|
to?: string | undefined;
|
|
4231
|
+
status?: string | undefined;
|
|
4227
4232
|
};
|
|
4228
4233
|
serialize(): Uint8Array;
|
|
4229
4234
|
serialize(w: pb_1.BinaryWriter): void;
|