@technova-tech/olive-proto-lib 1.6.6 → 1.7.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/accounts/accounts.js +0 -20
- package/package.json +2 -2
- package/types/accounts/accounts.d.ts +0 -5
- package/types/index.d.ts +18 -36
package/accounts/accounts.js
CHANGED
|
@@ -2950,9 +2950,6 @@ var com;
|
|
|
2950
2950
|
if ("phoneNumber" in data && data.phoneNumber != undefined) {
|
|
2951
2951
|
this.phoneNumber = data.phoneNumber;
|
|
2952
2952
|
}
|
|
2953
|
-
if ("terminal" in data && data.terminal != undefined) {
|
|
2954
|
-
this.terminal = data.terminal;
|
|
2955
|
-
}
|
|
2956
2953
|
}
|
|
2957
2954
|
}
|
|
2958
2955
|
get user() {
|
|
@@ -3015,12 +3012,6 @@ var com;
|
|
|
3015
3012
|
set phoneNumber(value) {
|
|
3016
3013
|
pb_1.Message.setField(this, 10, value);
|
|
3017
3014
|
}
|
|
3018
|
-
get terminal() {
|
|
3019
|
-
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
3020
|
-
}
|
|
3021
|
-
set terminal(value) {
|
|
3022
|
-
pb_1.Message.setField(this, 11, value);
|
|
3023
|
-
}
|
|
3024
3015
|
static fromObject(data) {
|
|
3025
3016
|
const message = new AssignOrCreateTerminalVirtualAccountRequest({});
|
|
3026
3017
|
if (data.user != null) {
|
|
@@ -3053,9 +3044,6 @@ var com;
|
|
|
3053
3044
|
if (data.phoneNumber != null) {
|
|
3054
3045
|
message.phoneNumber = data.phoneNumber;
|
|
3055
3046
|
}
|
|
3056
|
-
if (data.terminal != null) {
|
|
3057
|
-
message.terminal = data.terminal;
|
|
3058
|
-
}
|
|
3059
3047
|
return message;
|
|
3060
3048
|
}
|
|
3061
3049
|
toObject() {
|
|
@@ -3090,9 +3078,6 @@ var com;
|
|
|
3090
3078
|
if (this.phoneNumber != null) {
|
|
3091
3079
|
data.phoneNumber = this.phoneNumber;
|
|
3092
3080
|
}
|
|
3093
|
-
if (this.terminal != null) {
|
|
3094
|
-
data.terminal = this.terminal;
|
|
3095
|
-
}
|
|
3096
3081
|
return data;
|
|
3097
3082
|
}
|
|
3098
3083
|
serialize(w) {
|
|
@@ -3117,8 +3102,6 @@ var com;
|
|
|
3117
3102
|
writer.writeString(9, this.nin);
|
|
3118
3103
|
if (this.phoneNumber.length)
|
|
3119
3104
|
writer.writeString(10, this.phoneNumber);
|
|
3120
|
-
if (this.terminal.length)
|
|
3121
|
-
writer.writeString(11, this.terminal);
|
|
3122
3105
|
if (!w)
|
|
3123
3106
|
return writer.getResultBuffer();
|
|
3124
3107
|
}
|
|
@@ -3158,9 +3141,6 @@ var com;
|
|
|
3158
3141
|
case 10:
|
|
3159
3142
|
message.phoneNumber = reader.readString();
|
|
3160
3143
|
break;
|
|
3161
|
-
case 11:
|
|
3162
|
-
message.terminal = reader.readString();
|
|
3163
|
-
break;
|
|
3164
3144
|
default: reader.skipField();
|
|
3165
3145
|
}
|
|
3166
3146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@technova-tech/olive-proto-lib",
|
|
3
|
-
"description": "Proto Library",
|
|
3
|
+
"description": "Olive MFB Proto Library",
|
|
4
4
|
"author": "Technova Technologies",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"compile": "tsc -p tsconfig.json"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.7.1",
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/google-protobuf": "^3.15.12",
|
|
17
17
|
"protoc-gen-ts": "^0.8.7",
|
|
@@ -908,7 +908,6 @@ export declare namespace com.pkg.account {
|
|
|
908
908
|
bvn?: string;
|
|
909
909
|
nin?: string;
|
|
910
910
|
phoneNumber?: string;
|
|
911
|
-
terminal?: string;
|
|
912
911
|
});
|
|
913
912
|
get user(): string;
|
|
914
913
|
set user(value: string);
|
|
@@ -930,8 +929,6 @@ export declare namespace com.pkg.account {
|
|
|
930
929
|
set nin(value: string);
|
|
931
930
|
get phoneNumber(): string;
|
|
932
931
|
set phoneNumber(value: string);
|
|
933
|
-
get terminal(): string;
|
|
934
|
-
set terminal(value: string);
|
|
935
932
|
static fromObject(data: {
|
|
936
933
|
user?: string;
|
|
937
934
|
terminalId?: string;
|
|
@@ -943,7 +940,6 @@ export declare namespace com.pkg.account {
|
|
|
943
940
|
bvn?: string;
|
|
944
941
|
nin?: string;
|
|
945
942
|
phoneNumber?: string;
|
|
946
|
-
terminal?: string;
|
|
947
943
|
}): AssignOrCreateTerminalVirtualAccountRequest;
|
|
948
944
|
toObject(): {
|
|
949
945
|
user?: string | undefined;
|
|
@@ -956,7 +952,6 @@ export declare namespace com.pkg.account {
|
|
|
956
952
|
bvn?: string | undefined;
|
|
957
953
|
nin?: string | undefined;
|
|
958
954
|
phoneNumber?: string | undefined;
|
|
959
|
-
terminal?: string | undefined;
|
|
960
955
|
};
|
|
961
956
|
serialize(): Uint8Array;
|
|
962
957
|
serialize(w: pb_1.BinaryWriter): void;
|
package/types/index.d.ts
CHANGED
|
@@ -1,41 +1,23 @@
|
|
|
1
|
-
import { com as account } from './accounts/accounts';
|
|
2
|
-
import { com as admin } from './admin/admin';
|
|
3
|
-
import { com as user } from './users/users';
|
|
4
|
-
import { com as verification } from './verifications/verifications';
|
|
5
|
-
import { com as bills } from './bills/bills';
|
|
6
|
-
import { com as image } from './image/recognition';
|
|
7
|
-
import { com as storage } from './storage/storage';
|
|
8
|
-
import { com as transfer } from './transfer/transfer';
|
|
9
|
-
import { com as business } from './business/business';
|
|
10
|
-
import { com as pos_transactions } from './pos/transactions';
|
|
11
|
-
import { com as pov1Transaction } from './pos.v1/transactions';
|
|
12
|
-
import { com as pov1Auth } from './pos.v1/auth';
|
|
13
|
-
import { com as pov1Merchants } from './pos.v1/merchants';
|
|
14
|
-
import { com as pov1Eod } from './pos.v1/eod';
|
|
15
|
-
import { com as pov1TerminalTypes } from './pos.v1/terminal-types';
|
|
16
|
-
import { com as pov1TerminalTransactions } from './pos.v1/terminal-transactions';
|
|
17
|
-
import { com as pov1TerminalCardTransactions } from './pos.v1/card-transactions';
|
|
18
|
-
import { com as pov1Terminals } from './pos.v1/terminals';
|
|
19
1
|
declare const proto: {
|
|
20
2
|
import: {
|
|
21
|
-
admin:
|
|
22
|
-
account:
|
|
23
|
-
user:
|
|
24
|
-
verification:
|
|
25
|
-
bills:
|
|
26
|
-
image:
|
|
27
|
-
storage:
|
|
28
|
-
transfer:
|
|
29
|
-
business:
|
|
30
|
-
pos_transactions:
|
|
31
|
-
pov1Transaction:
|
|
32
|
-
pov1Auth:
|
|
33
|
-
pov1Merchants:
|
|
34
|
-
pov1Eod:
|
|
35
|
-
pov1TerminalTypes:
|
|
36
|
-
pov1Terminals:
|
|
37
|
-
pov1TerminalTransactions:
|
|
38
|
-
pov1TerminalCardTransactions:
|
|
3
|
+
admin: any;
|
|
4
|
+
account: any;
|
|
5
|
+
user: any;
|
|
6
|
+
verification: any;
|
|
7
|
+
bills: any;
|
|
8
|
+
image: any;
|
|
9
|
+
storage: any;
|
|
10
|
+
transfer: any;
|
|
11
|
+
business: any;
|
|
12
|
+
pos_transactions: any;
|
|
13
|
+
pov1Transaction: any;
|
|
14
|
+
pov1Auth: any;
|
|
15
|
+
pov1Merchants: any;
|
|
16
|
+
pov1Eod: any;
|
|
17
|
+
pov1TerminalTypes: any;
|
|
18
|
+
pov1Terminals: any;
|
|
19
|
+
pov1TerminalTransactions: any;
|
|
20
|
+
pov1TerminalCardTransactions: any;
|
|
39
21
|
};
|
|
40
22
|
};
|
|
41
23
|
export { proto };
|