@technova-tech/olive-proto-lib 2.5.4 → 2.5.5
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
CHANGED
|
@@ -2264,7 +2264,7 @@ var com;
|
|
|
2264
2264
|
}
|
|
2265
2265
|
terminalTransactions.TerminalTransactionsResponse = TerminalTransactionsResponse;
|
|
2266
2266
|
class TransactionSession extends pb_1.Message {
|
|
2267
|
-
#one_of_decls = [[11], [12], [13], [18], [19], [20], [21], [22], [23], [24], [25]];
|
|
2267
|
+
#one_of_decls = [[11], [12], [13], [18], [19], [20], [21], [22], [23], [24], [25], [26], [27], [28]];
|
|
2268
2268
|
constructor(data) {
|
|
2269
2269
|
super();
|
|
2270
2270
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -2344,6 +2344,15 @@ var com;
|
|
|
2344
2344
|
if ("settledAmount" in data && data.settledAmount != undefined) {
|
|
2345
2345
|
this.settledAmount = data.settledAmount;
|
|
2346
2346
|
}
|
|
2347
|
+
if ("ownerType" in data && data.ownerType != undefined) {
|
|
2348
|
+
this.ownerType = data.ownerType;
|
|
2349
|
+
}
|
|
2350
|
+
if ("ownerId" in data && data.ownerId != undefined) {
|
|
2351
|
+
this.ownerId = data.ownerId;
|
|
2352
|
+
}
|
|
2353
|
+
if ("merchantId" in data && data.merchantId != undefined) {
|
|
2354
|
+
this.merchantId = data.merchantId;
|
|
2355
|
+
}
|
|
2347
2356
|
}
|
|
2348
2357
|
if (!this.metadata)
|
|
2349
2358
|
this.metadata = new Map();
|
|
@@ -2531,6 +2540,33 @@ var com;
|
|
|
2531
2540
|
get hasSettledAmount() {
|
|
2532
2541
|
return pb_1.Message.getField(this, 25) != null;
|
|
2533
2542
|
}
|
|
2543
|
+
get ownerType() {
|
|
2544
|
+
return pb_1.Message.getFieldWithDefault(this, 26, "");
|
|
2545
|
+
}
|
|
2546
|
+
set ownerType(value) {
|
|
2547
|
+
pb_1.Message.setOneofField(this, 26, this.#one_of_decls[11], value);
|
|
2548
|
+
}
|
|
2549
|
+
get hasOwnerType() {
|
|
2550
|
+
return pb_1.Message.getField(this, 26) != null;
|
|
2551
|
+
}
|
|
2552
|
+
get ownerId() {
|
|
2553
|
+
return pb_1.Message.getFieldWithDefault(this, 27, "");
|
|
2554
|
+
}
|
|
2555
|
+
set ownerId(value) {
|
|
2556
|
+
pb_1.Message.setOneofField(this, 27, this.#one_of_decls[12], value);
|
|
2557
|
+
}
|
|
2558
|
+
get hasOwnerId() {
|
|
2559
|
+
return pb_1.Message.getField(this, 27) != null;
|
|
2560
|
+
}
|
|
2561
|
+
get merchantId() {
|
|
2562
|
+
return pb_1.Message.getFieldWithDefault(this, 28, "");
|
|
2563
|
+
}
|
|
2564
|
+
set merchantId(value) {
|
|
2565
|
+
pb_1.Message.setOneofField(this, 28, this.#one_of_decls[13], value);
|
|
2566
|
+
}
|
|
2567
|
+
get hasMerchantId() {
|
|
2568
|
+
return pb_1.Message.getField(this, 28) != null;
|
|
2569
|
+
}
|
|
2534
2570
|
get _rrn() {
|
|
2535
2571
|
const cases = {
|
|
2536
2572
|
0: "none",
|
|
@@ -2608,6 +2644,27 @@ var com;
|
|
|
2608
2644
|
};
|
|
2609
2645
|
return cases[pb_1.Message.computeOneofCase(this, [25])];
|
|
2610
2646
|
}
|
|
2647
|
+
get _owner_type() {
|
|
2648
|
+
const cases = {
|
|
2649
|
+
0: "none",
|
|
2650
|
+
26: "ownerType"
|
|
2651
|
+
};
|
|
2652
|
+
return cases[pb_1.Message.computeOneofCase(this, [26])];
|
|
2653
|
+
}
|
|
2654
|
+
get _owner_id() {
|
|
2655
|
+
const cases = {
|
|
2656
|
+
0: "none",
|
|
2657
|
+
27: "ownerId"
|
|
2658
|
+
};
|
|
2659
|
+
return cases[pb_1.Message.computeOneofCase(this, [27])];
|
|
2660
|
+
}
|
|
2661
|
+
get _merchant_id() {
|
|
2662
|
+
const cases = {
|
|
2663
|
+
0: "none",
|
|
2664
|
+
28: "merchantId"
|
|
2665
|
+
};
|
|
2666
|
+
return cases[pb_1.Message.computeOneofCase(this, [28])];
|
|
2667
|
+
}
|
|
2611
2668
|
static fromObject(data) {
|
|
2612
2669
|
const message = new TransactionSession({});
|
|
2613
2670
|
if (data.id != null) {
|
|
@@ -2685,6 +2742,15 @@ var com;
|
|
|
2685
2742
|
if (data.settledAmount != null) {
|
|
2686
2743
|
message.settledAmount = data.settledAmount;
|
|
2687
2744
|
}
|
|
2745
|
+
if (data.ownerType != null) {
|
|
2746
|
+
message.ownerType = data.ownerType;
|
|
2747
|
+
}
|
|
2748
|
+
if (data.ownerId != null) {
|
|
2749
|
+
message.ownerId = data.ownerId;
|
|
2750
|
+
}
|
|
2751
|
+
if (data.merchantId != null) {
|
|
2752
|
+
message.merchantId = data.merchantId;
|
|
2753
|
+
}
|
|
2688
2754
|
return message;
|
|
2689
2755
|
}
|
|
2690
2756
|
toObject() {
|
|
@@ -2764,6 +2830,15 @@ var com;
|
|
|
2764
2830
|
if (this.settledAmount != null) {
|
|
2765
2831
|
data.settledAmount = this.settledAmount;
|
|
2766
2832
|
}
|
|
2833
|
+
if (this.ownerType != null) {
|
|
2834
|
+
data.ownerType = this.ownerType;
|
|
2835
|
+
}
|
|
2836
|
+
if (this.ownerId != null) {
|
|
2837
|
+
data.ownerId = this.ownerId;
|
|
2838
|
+
}
|
|
2839
|
+
if (this.merchantId != null) {
|
|
2840
|
+
data.merchantId = this.merchantId;
|
|
2841
|
+
}
|
|
2767
2842
|
return data;
|
|
2768
2843
|
}
|
|
2769
2844
|
serialize(w) {
|
|
@@ -2822,6 +2897,12 @@ var com;
|
|
|
2822
2897
|
writer.writeString(24, this.settlementBatchId);
|
|
2823
2898
|
if (this.hasSettledAmount)
|
|
2824
2899
|
writer.writeDouble(25, this.settledAmount);
|
|
2900
|
+
if (this.hasOwnerType)
|
|
2901
|
+
writer.writeString(26, this.ownerType);
|
|
2902
|
+
if (this.hasOwnerId)
|
|
2903
|
+
writer.writeString(27, this.ownerId);
|
|
2904
|
+
if (this.hasMerchantId)
|
|
2905
|
+
writer.writeString(28, this.merchantId);
|
|
2825
2906
|
if (!w)
|
|
2826
2907
|
return writer.getResultBuffer();
|
|
2827
2908
|
}
|
|
@@ -2906,6 +2987,15 @@ var com;
|
|
|
2906
2987
|
case 25:
|
|
2907
2988
|
message.settledAmount = reader.readDouble();
|
|
2908
2989
|
break;
|
|
2990
|
+
case 26:
|
|
2991
|
+
message.ownerType = reader.readString();
|
|
2992
|
+
break;
|
|
2993
|
+
case 27:
|
|
2994
|
+
message.ownerId = reader.readString();
|
|
2995
|
+
break;
|
|
2996
|
+
case 28:
|
|
2997
|
+
message.merchantId = reader.readString();
|
|
2998
|
+
break;
|
|
2909
2999
|
default: reader.skipField();
|
|
2910
3000
|
}
|
|
2911
3001
|
}
|
|
@@ -559,6 +559,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
559
559
|
settledAt?: string | undefined;
|
|
560
560
|
settlementBatchId?: string | undefined;
|
|
561
561
|
settledAmount?: number | undefined;
|
|
562
|
+
ownerType?: string | undefined;
|
|
563
|
+
ownerId?: string | undefined;
|
|
564
|
+
merchantId?: string | undefined;
|
|
562
565
|
} | undefined;
|
|
563
566
|
timeline?: {
|
|
564
567
|
transactionId?: string | undefined;
|
|
@@ -590,6 +593,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
590
593
|
settledAt?: string | undefined;
|
|
591
594
|
settlementBatchId?: string | undefined;
|
|
592
595
|
settledAmount?: number | undefined;
|
|
596
|
+
ownerType?: string | undefined;
|
|
597
|
+
ownerId?: string | undefined;
|
|
598
|
+
merchantId?: string | undefined;
|
|
593
599
|
} | undefined;
|
|
594
600
|
events?: {
|
|
595
601
|
id?: string | undefined;
|
|
@@ -705,6 +711,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
705
711
|
settledAt?: string | undefined;
|
|
706
712
|
settlementBatchId?: string | undefined;
|
|
707
713
|
settledAmount?: number | undefined;
|
|
714
|
+
ownerType?: string | undefined;
|
|
715
|
+
ownerId?: string | undefined;
|
|
716
|
+
merchantId?: string | undefined;
|
|
708
717
|
} | undefined;
|
|
709
718
|
errors?: {
|
|
710
719
|
field?: string | undefined;
|
|
@@ -779,6 +788,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
779
788
|
settledAt?: string | undefined;
|
|
780
789
|
settlementBatchId?: string | undefined;
|
|
781
790
|
settledAmount?: number | undefined;
|
|
791
|
+
ownerType?: string | undefined;
|
|
792
|
+
ownerId?: string | undefined;
|
|
793
|
+
merchantId?: string | undefined;
|
|
782
794
|
} | undefined;
|
|
783
795
|
events?: {
|
|
784
796
|
id?: string | undefined;
|
|
@@ -868,6 +880,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
868
880
|
settledAt?: string | undefined;
|
|
869
881
|
settlementBatchId?: string | undefined;
|
|
870
882
|
settledAmount?: number | undefined;
|
|
883
|
+
ownerType?: string | undefined;
|
|
884
|
+
ownerId?: string | undefined;
|
|
885
|
+
merchantId?: string | undefined;
|
|
871
886
|
}[] | undefined;
|
|
872
887
|
totalCount?: number | undefined;
|
|
873
888
|
pageCount?: number | undefined;
|
|
@@ -920,6 +935,12 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
920
935
|
settlementBatchId?: string;
|
|
921
936
|
}) | ({
|
|
922
937
|
settledAmount?: number;
|
|
938
|
+
}) | ({
|
|
939
|
+
ownerType?: string;
|
|
940
|
+
}) | ({
|
|
941
|
+
ownerId?: string;
|
|
942
|
+
}) | ({
|
|
943
|
+
merchantId?: string;
|
|
923
944
|
}))));
|
|
924
945
|
get id(): string;
|
|
925
946
|
set id(value: string);
|
|
@@ -982,6 +1003,15 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
982
1003
|
get settledAmount(): number;
|
|
983
1004
|
set settledAmount(value: number);
|
|
984
1005
|
get hasSettledAmount(): boolean;
|
|
1006
|
+
get ownerType(): string;
|
|
1007
|
+
set ownerType(value: string);
|
|
1008
|
+
get hasOwnerType(): boolean;
|
|
1009
|
+
get ownerId(): string;
|
|
1010
|
+
set ownerId(value: string);
|
|
1011
|
+
get hasOwnerId(): boolean;
|
|
1012
|
+
get merchantId(): string;
|
|
1013
|
+
set merchantId(value: string);
|
|
1014
|
+
get hasMerchantId(): boolean;
|
|
985
1015
|
get _rrn(): "none" | "rrn";
|
|
986
1016
|
get _stan(): "none" | "stan";
|
|
987
1017
|
get _provider(): "provider" | "none";
|
|
@@ -993,6 +1023,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
993
1023
|
get _settled_at(): "none" | "settledAt";
|
|
994
1024
|
get _settlement_batch_id(): "none" | "settlementBatchId";
|
|
995
1025
|
get _settled_amount(): "none" | "settledAmount";
|
|
1026
|
+
get _owner_type(): "none" | "ownerType";
|
|
1027
|
+
get _owner_id(): "none" | "ownerId";
|
|
1028
|
+
get _merchant_id(): "merchantId" | "none";
|
|
996
1029
|
static fromObject(data: {
|
|
997
1030
|
id?: string;
|
|
998
1031
|
terminalId?: string;
|
|
@@ -1021,6 +1054,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
1021
1054
|
settledAt?: string;
|
|
1022
1055
|
settlementBatchId?: string;
|
|
1023
1056
|
settledAmount?: number;
|
|
1057
|
+
ownerType?: string;
|
|
1058
|
+
ownerId?: string;
|
|
1059
|
+
merchantId?: string;
|
|
1024
1060
|
}): TransactionSession;
|
|
1025
1061
|
toObject(): {
|
|
1026
1062
|
id?: string | undefined;
|
|
@@ -1050,6 +1086,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
1050
1086
|
settledAt?: string | undefined;
|
|
1051
1087
|
settlementBatchId?: string | undefined;
|
|
1052
1088
|
settledAmount?: number | undefined;
|
|
1089
|
+
ownerType?: string | undefined;
|
|
1090
|
+
ownerId?: string | undefined;
|
|
1091
|
+
merchantId?: string | undefined;
|
|
1053
1092
|
};
|
|
1054
1093
|
serialize(): Uint8Array;
|
|
1055
1094
|
serialize(w: pb_1.BinaryWriter): void;
|