@technova-tech/olive-proto-lib 1.8.0 → 1.8.1
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/package.json +1 -1
- package/pos.v1/terminals.js +20 -0
- package/types/pos.v1/terminals.d.ts +6 -0
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -21717,6 +21717,9 @@ var com;
|
|
|
21717
21717
|
if ("quantity" in data && data.quantity != undefined) {
|
|
21718
21718
|
this.quantity = data.quantity;
|
|
21719
21719
|
}
|
|
21720
|
+
if ("category" in data && data.category != undefined) {
|
|
21721
|
+
this.category = data.category;
|
|
21722
|
+
}
|
|
21720
21723
|
}
|
|
21721
21724
|
}
|
|
21722
21725
|
get requestId() {
|
|
@@ -21749,6 +21752,12 @@ var com;
|
|
|
21749
21752
|
set quantity(value) {
|
|
21750
21753
|
pb_1.Message.setField(this, 5, value);
|
|
21751
21754
|
}
|
|
21755
|
+
get category() {
|
|
21756
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "");
|
|
21757
|
+
}
|
|
21758
|
+
set category(value) {
|
|
21759
|
+
pb_1.Message.setField(this, 6, value);
|
|
21760
|
+
}
|
|
21752
21761
|
static fromObject(data) {
|
|
21753
21762
|
const message = new RequestTerminalResponseData({});
|
|
21754
21763
|
if (data.requestId != null) {
|
|
@@ -21766,6 +21775,9 @@ var com;
|
|
|
21766
21775
|
if (data.quantity != null) {
|
|
21767
21776
|
message.quantity = data.quantity;
|
|
21768
21777
|
}
|
|
21778
|
+
if (data.category != null) {
|
|
21779
|
+
message.category = data.category;
|
|
21780
|
+
}
|
|
21769
21781
|
return message;
|
|
21770
21782
|
}
|
|
21771
21783
|
toObject() {
|
|
@@ -21785,6 +21797,9 @@ var com;
|
|
|
21785
21797
|
if (this.quantity != null) {
|
|
21786
21798
|
data.quantity = this.quantity;
|
|
21787
21799
|
}
|
|
21800
|
+
if (this.category != null) {
|
|
21801
|
+
data.category = this.category;
|
|
21802
|
+
}
|
|
21788
21803
|
return data;
|
|
21789
21804
|
}
|
|
21790
21805
|
serialize(w) {
|
|
@@ -21799,6 +21814,8 @@ var com;
|
|
|
21799
21814
|
writer.writeString(4, this.date);
|
|
21800
21815
|
if (this.quantity != 0)
|
|
21801
21816
|
writer.writeUint32(5, this.quantity);
|
|
21817
|
+
if (this.category.length)
|
|
21818
|
+
writer.writeString(6, this.category);
|
|
21802
21819
|
if (!w)
|
|
21803
21820
|
return writer.getResultBuffer();
|
|
21804
21821
|
}
|
|
@@ -21823,6 +21840,9 @@ var com;
|
|
|
21823
21840
|
case 5:
|
|
21824
21841
|
message.quantity = reader.readUint32();
|
|
21825
21842
|
break;
|
|
21843
|
+
case 6:
|
|
21844
|
+
message.category = reader.readString();
|
|
21845
|
+
break;
|
|
21826
21846
|
default: reader.skipField();
|
|
21827
21847
|
}
|
|
21828
21848
|
}
|
|
@@ -7367,6 +7367,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7367
7367
|
business?: string;
|
|
7368
7368
|
date?: string;
|
|
7369
7369
|
quantity?: number;
|
|
7370
|
+
category?: string;
|
|
7370
7371
|
});
|
|
7371
7372
|
get requestId(): string;
|
|
7372
7373
|
set requestId(value: string);
|
|
@@ -7378,12 +7379,15 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7378
7379
|
set date(value: string);
|
|
7379
7380
|
get quantity(): number;
|
|
7380
7381
|
set quantity(value: number);
|
|
7382
|
+
get category(): string;
|
|
7383
|
+
set category(value: string);
|
|
7381
7384
|
static fromObject(data: {
|
|
7382
7385
|
requestId?: string;
|
|
7383
7386
|
status?: string;
|
|
7384
7387
|
business?: string;
|
|
7385
7388
|
date?: string;
|
|
7386
7389
|
quantity?: number;
|
|
7390
|
+
category?: string;
|
|
7387
7391
|
}): RequestTerminalResponseData;
|
|
7388
7392
|
toObject(): {
|
|
7389
7393
|
requestId?: string | undefined;
|
|
@@ -7391,6 +7395,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7391
7395
|
business?: string | undefined;
|
|
7392
7396
|
date?: string | undefined;
|
|
7393
7397
|
quantity?: number | undefined;
|
|
7398
|
+
category?: string | undefined;
|
|
7394
7399
|
};
|
|
7395
7400
|
serialize(): Uint8Array;
|
|
7396
7401
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7440,6 +7445,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7440
7445
|
business?: string | undefined;
|
|
7441
7446
|
date?: string | undefined;
|
|
7442
7447
|
quantity?: number | undefined;
|
|
7448
|
+
category?: string | undefined;
|
|
7443
7449
|
} | undefined;
|
|
7444
7450
|
errors?: {
|
|
7445
7451
|
field?: string | undefined;
|