@technova-tech/olive-proto-lib 2.0.7 → 2.0.8
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
|
@@ -10231,6 +10231,9 @@ var com;
|
|
|
10231
10231
|
if ("ownerId" in data && data.ownerId != undefined) {
|
|
10232
10232
|
this.ownerId = data.ownerId;
|
|
10233
10233
|
}
|
|
10234
|
+
if ("branchId" in data && data.branchId != undefined) {
|
|
10235
|
+
this.branchId = data.branchId;
|
|
10236
|
+
}
|
|
10234
10237
|
}
|
|
10235
10238
|
}
|
|
10236
10239
|
get businessContextToken() {
|
|
@@ -10338,6 +10341,12 @@ var com;
|
|
|
10338
10341
|
set ownerId(value) {
|
|
10339
10342
|
pb_1.Message.setField(this, 16, value);
|
|
10340
10343
|
}
|
|
10344
|
+
get branchId() {
|
|
10345
|
+
return pb_1.Message.getFieldWithDefault(this, 17, "");
|
|
10346
|
+
}
|
|
10347
|
+
set branchId(value) {
|
|
10348
|
+
pb_1.Message.setField(this, 17, value);
|
|
10349
|
+
}
|
|
10341
10350
|
static fromObject(data) {
|
|
10342
10351
|
const message = new BusinessContextData({});
|
|
10343
10352
|
if (data.businessContextToken != null) {
|
|
@@ -10388,6 +10397,9 @@ var com;
|
|
|
10388
10397
|
if (data.ownerId != null) {
|
|
10389
10398
|
message.ownerId = data.ownerId;
|
|
10390
10399
|
}
|
|
10400
|
+
if (data.branchId != null) {
|
|
10401
|
+
message.branchId = data.branchId;
|
|
10402
|
+
}
|
|
10391
10403
|
return message;
|
|
10392
10404
|
}
|
|
10393
10405
|
toObject() {
|
|
@@ -10440,6 +10452,9 @@ var com;
|
|
|
10440
10452
|
if (this.ownerId != null) {
|
|
10441
10453
|
data.ownerId = this.ownerId;
|
|
10442
10454
|
}
|
|
10455
|
+
if (this.branchId != null) {
|
|
10456
|
+
data.branchId = this.branchId;
|
|
10457
|
+
}
|
|
10443
10458
|
return data;
|
|
10444
10459
|
}
|
|
10445
10460
|
serialize(w) {
|
|
@@ -10476,6 +10491,8 @@ var com;
|
|
|
10476
10491
|
writer.writeString(15, this.ownerType);
|
|
10477
10492
|
if (this.ownerId.length)
|
|
10478
10493
|
writer.writeString(16, this.ownerId);
|
|
10494
|
+
if (this.branchId.length)
|
|
10495
|
+
writer.writeString(17, this.branchId);
|
|
10479
10496
|
if (!w)
|
|
10480
10497
|
return writer.getResultBuffer();
|
|
10481
10498
|
}
|
|
@@ -10533,6 +10550,9 @@ var com;
|
|
|
10533
10550
|
case 16:
|
|
10534
10551
|
message.ownerId = reader.readString();
|
|
10535
10552
|
break;
|
|
10553
|
+
case 17:
|
|
10554
|
+
message.branchId = reader.readString();
|
|
10555
|
+
break;
|
|
10536
10556
|
default: reader.skipField();
|
|
10537
10557
|
}
|
|
10538
10558
|
}
|
|
@@ -3648,6 +3648,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3648
3648
|
sessionExpiresAt?: string;
|
|
3649
3649
|
ownerType?: string;
|
|
3650
3650
|
ownerId?: string;
|
|
3651
|
+
branchId?: string;
|
|
3651
3652
|
});
|
|
3652
3653
|
get businessContextToken(): string;
|
|
3653
3654
|
set businessContextToken(value: string);
|
|
@@ -3684,6 +3685,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3684
3685
|
set ownerType(value: string);
|
|
3685
3686
|
get ownerId(): string;
|
|
3686
3687
|
set ownerId(value: string);
|
|
3688
|
+
get branchId(): string;
|
|
3689
|
+
set branchId(value: string);
|
|
3687
3690
|
static fromObject(data: {
|
|
3688
3691
|
businessContextToken?: string;
|
|
3689
3692
|
businessId?: string;
|
|
@@ -3701,6 +3704,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3701
3704
|
sessionExpiresAt?: string;
|
|
3702
3705
|
ownerType?: string;
|
|
3703
3706
|
ownerId?: string;
|
|
3707
|
+
branchId?: string;
|
|
3704
3708
|
}): BusinessContextData;
|
|
3705
3709
|
toObject(): {
|
|
3706
3710
|
businessContextToken?: string | undefined;
|
|
@@ -3745,6 +3749,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3745
3749
|
sessionExpiresAt?: string | undefined;
|
|
3746
3750
|
ownerType?: string | undefined;
|
|
3747
3751
|
ownerId?: string | undefined;
|
|
3752
|
+
branchId?: string | undefined;
|
|
3748
3753
|
};
|
|
3749
3754
|
serialize(): Uint8Array;
|
|
3750
3755
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7275,6 +7280,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7275
7280
|
sessionExpiresAt?: string | undefined;
|
|
7276
7281
|
ownerType?: string | undefined;
|
|
7277
7282
|
ownerId?: string | undefined;
|
|
7283
|
+
branchId?: string | undefined;
|
|
7278
7284
|
} | undefined;
|
|
7279
7285
|
error?: string | undefined;
|
|
7280
7286
|
};
|