@technova-tech/olive-proto-lib 2.3.1 → 2.3.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/package.json +1 -1
- package/pos.v1/transactions.js +11 -11
- package/types/pos.v1/transactions.d.ts +5 -5
package/package.json
CHANGED
package/pos.v1/transactions.js
CHANGED
|
@@ -80,8 +80,8 @@ var com;
|
|
|
80
80
|
if ("reference" in data && data.reference != undefined) {
|
|
81
81
|
this.reference = data.reference;
|
|
82
82
|
}
|
|
83
|
-
if ("
|
|
84
|
-
this.
|
|
83
|
+
if ("cardNumber" in data && data.cardNumber != undefined) {
|
|
84
|
+
this.cardNumber = data.cardNumber;
|
|
85
85
|
}
|
|
86
86
|
if ("cardExpiry" in data && data.cardExpiry != undefined) {
|
|
87
87
|
this.cardExpiry = data.cardExpiry;
|
|
@@ -133,10 +133,10 @@ var com;
|
|
|
133
133
|
set reference(value) {
|
|
134
134
|
pb_1.Message.setField(this, 6, value);
|
|
135
135
|
}
|
|
136
|
-
get
|
|
136
|
+
get cardNumber() {
|
|
137
137
|
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
138
138
|
}
|
|
139
|
-
set
|
|
139
|
+
set cardNumber(value) {
|
|
140
140
|
pb_1.Message.setField(this, 7, value);
|
|
141
141
|
}
|
|
142
142
|
get cardExpiry() {
|
|
@@ -186,8 +186,8 @@ var com;
|
|
|
186
186
|
if (data.reference != null) {
|
|
187
187
|
message.reference = data.reference;
|
|
188
188
|
}
|
|
189
|
-
if (data.
|
|
190
|
-
message.
|
|
189
|
+
if (data.cardNumber != null) {
|
|
190
|
+
message.cardNumber = data.cardNumber;
|
|
191
191
|
}
|
|
192
192
|
if (data.cardExpiry != null) {
|
|
193
193
|
message.cardExpiry = data.cardExpiry;
|
|
@@ -223,8 +223,8 @@ var com;
|
|
|
223
223
|
if (this.reference != null) {
|
|
224
224
|
data.reference = this.reference;
|
|
225
225
|
}
|
|
226
|
-
if (this.
|
|
227
|
-
data.
|
|
226
|
+
if (this.cardNumber != null) {
|
|
227
|
+
data.cardNumber = this.cardNumber;
|
|
228
228
|
}
|
|
229
229
|
if (this.cardExpiry != null) {
|
|
230
230
|
data.cardExpiry = this.cardExpiry;
|
|
@@ -254,8 +254,8 @@ var com;
|
|
|
254
254
|
writer.writeString(5, this.transactionType);
|
|
255
255
|
if (this.reference.length)
|
|
256
256
|
writer.writeString(6, this.reference);
|
|
257
|
-
if (this.
|
|
258
|
-
writer.writeString(7, this.
|
|
257
|
+
if (this.cardNumber.length)
|
|
258
|
+
writer.writeString(7, this.cardNumber);
|
|
259
259
|
if (this.cardExpiry.length)
|
|
260
260
|
writer.writeString(8, this.cardExpiry);
|
|
261
261
|
if (this.cvv.length)
|
|
@@ -292,7 +292,7 @@ var com;
|
|
|
292
292
|
message.reference = reader.readString();
|
|
293
293
|
break;
|
|
294
294
|
case 7:
|
|
295
|
-
message.
|
|
295
|
+
message.cardNumber = reader.readString();
|
|
296
296
|
break;
|
|
297
297
|
case 8:
|
|
298
298
|
message.cardExpiry = reader.readString();
|
|
@@ -30,7 +30,7 @@ export declare namespace com.pkg.posv1.transactions {
|
|
|
30
30
|
currency?: string;
|
|
31
31
|
transactionType?: string;
|
|
32
32
|
reference?: string;
|
|
33
|
-
|
|
33
|
+
cardNumber?: string;
|
|
34
34
|
cardExpiry?: string;
|
|
35
35
|
cvv?: string;
|
|
36
36
|
pin?: string;
|
|
@@ -48,8 +48,8 @@ export declare namespace com.pkg.posv1.transactions {
|
|
|
48
48
|
set transactionType(value: string);
|
|
49
49
|
get reference(): string;
|
|
50
50
|
set reference(value: string);
|
|
51
|
-
get
|
|
52
|
-
set
|
|
51
|
+
get cardNumber(): string;
|
|
52
|
+
set cardNumber(value: string);
|
|
53
53
|
get cardExpiry(): string;
|
|
54
54
|
set cardExpiry(value: string);
|
|
55
55
|
get cvv(): string;
|
|
@@ -66,7 +66,7 @@ export declare namespace com.pkg.posv1.transactions {
|
|
|
66
66
|
currency?: string;
|
|
67
67
|
transactionType?: string;
|
|
68
68
|
reference?: string;
|
|
69
|
-
|
|
69
|
+
cardNumber?: string;
|
|
70
70
|
cardExpiry?: string;
|
|
71
71
|
cvv?: string;
|
|
72
72
|
pin?: string;
|
|
@@ -79,7 +79,7 @@ export declare namespace com.pkg.posv1.transactions {
|
|
|
79
79
|
currency?: string | undefined;
|
|
80
80
|
transactionType?: string | undefined;
|
|
81
81
|
reference?: string | undefined;
|
|
82
|
-
|
|
82
|
+
cardNumber?: string | undefined;
|
|
83
83
|
cardExpiry?: string | undefined;
|
|
84
84
|
cvv?: string | undefined;
|
|
85
85
|
pin?: string | undefined;
|