@stashfin/grpc 1.2.736 → 1.2.738
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
package/ts/bureau/getreport.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "bureau.getreport";
|
|
3
3
|
export interface bureauRequest {
|
|
4
|
-
customer_id
|
|
4
|
+
customer_id?: number | undefined;
|
|
5
5
|
range: number;
|
|
6
6
|
bureau_type: number;
|
|
7
7
|
source: string;
|
|
8
8
|
pull_type: number;
|
|
9
|
+
short_pull?: boolean | undefined;
|
|
9
10
|
}
|
|
10
11
|
export interface bureauResponse {
|
|
11
12
|
status: string;
|
package/ts/bureau/getreport.js
CHANGED
|
@@ -14,11 +14,11 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "bureau.getreport";
|
|
16
16
|
function createBasebureauRequest() {
|
|
17
|
-
return { customer_id:
|
|
17
|
+
return { customer_id: undefined, range: 0, bureau_type: 0, source: "", pull_type: 0, short_pull: undefined };
|
|
18
18
|
}
|
|
19
19
|
exports.bureauRequest = {
|
|
20
20
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.customer_id !==
|
|
21
|
+
if (message.customer_id !== undefined) {
|
|
22
22
|
writer.uint32(8).int64(message.customer_id);
|
|
23
23
|
}
|
|
24
24
|
if (message.range !== 0) {
|
|
@@ -33,6 +33,9 @@ exports.bureauRequest = {
|
|
|
33
33
|
if (message.pull_type !== 0) {
|
|
34
34
|
writer.uint32(40).int32(message.pull_type);
|
|
35
35
|
}
|
|
36
|
+
if (message.short_pull !== undefined) {
|
|
37
|
+
writer.uint32(48).bool(message.short_pull);
|
|
38
|
+
}
|
|
36
39
|
return writer;
|
|
37
40
|
},
|
|
38
41
|
decode(input, length) {
|
|
@@ -72,6 +75,12 @@ exports.bureauRequest = {
|
|
|
72
75
|
}
|
|
73
76
|
message.pull_type = reader.int32();
|
|
74
77
|
continue;
|
|
78
|
+
case 6:
|
|
79
|
+
if (tag !== 48) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.short_pull = reader.bool();
|
|
83
|
+
continue;
|
|
75
84
|
}
|
|
76
85
|
if ((tag & 7) === 4 || tag === 0) {
|
|
77
86
|
break;
|
|
@@ -82,16 +91,17 @@ exports.bureauRequest = {
|
|
|
82
91
|
},
|
|
83
92
|
fromJSON(object) {
|
|
84
93
|
return {
|
|
85
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) :
|
|
94
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
|
|
86
95
|
range: isSet(object.range) ? globalThis.Number(object.range) : 0,
|
|
87
96
|
bureau_type: isSet(object.bureau_type) ? globalThis.Number(object.bureau_type) : 0,
|
|
88
97
|
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
89
98
|
pull_type: isSet(object.pull_type) ? globalThis.Number(object.pull_type) : 0,
|
|
99
|
+
short_pull: isSet(object.short_pull) ? globalThis.Boolean(object.short_pull) : undefined,
|
|
90
100
|
};
|
|
91
101
|
},
|
|
92
102
|
toJSON(message) {
|
|
93
103
|
const obj = {};
|
|
94
|
-
if (message.customer_id !==
|
|
104
|
+
if (message.customer_id !== undefined) {
|
|
95
105
|
obj.customer_id = Math.round(message.customer_id);
|
|
96
106
|
}
|
|
97
107
|
if (message.range !== 0) {
|
|
@@ -106,6 +116,9 @@ exports.bureauRequest = {
|
|
|
106
116
|
if (message.pull_type !== 0) {
|
|
107
117
|
obj.pull_type = Math.round(message.pull_type);
|
|
108
118
|
}
|
|
119
|
+
if (message.short_pull !== undefined) {
|
|
120
|
+
obj.short_pull = message.short_pull;
|
|
121
|
+
}
|
|
109
122
|
return obj;
|
|
110
123
|
},
|
|
111
124
|
create(base) {
|
|
@@ -113,11 +126,12 @@ exports.bureauRequest = {
|
|
|
113
126
|
},
|
|
114
127
|
fromPartial(object) {
|
|
115
128
|
const message = createBasebureauRequest();
|
|
116
|
-
message.customer_id = object.customer_id ??
|
|
129
|
+
message.customer_id = object.customer_id ?? undefined;
|
|
117
130
|
message.range = object.range ?? 0;
|
|
118
131
|
message.bureau_type = object.bureau_type ?? 0;
|
|
119
132
|
message.source = object.source ?? "";
|
|
120
133
|
message.pull_type = object.pull_type ?? 0;
|
|
134
|
+
message.short_pull = object.short_pull ?? undefined;
|
|
121
135
|
return message;
|
|
122
136
|
},
|
|
123
137
|
};
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "eqxcustomers.gettnc";
|
|
3
3
|
export interface getTnCRequest {
|
|
4
|
+
product: string;
|
|
4
5
|
}
|
|
5
6
|
export interface Data {
|
|
6
7
|
id: number;
|
|
7
|
-
version: string;
|
|
8
8
|
title: string;
|
|
9
9
|
content: string;
|
|
10
|
+
file_url: string;
|
|
11
|
+
tag: string;
|
|
12
|
+
is_mandatory: string;
|
|
13
|
+
consent_type: string;
|
|
10
14
|
}
|
|
11
15
|
export interface getTnCResponse {
|
|
12
16
|
data: Data[];
|
|
13
17
|
message: string;
|
|
14
18
|
}
|
|
15
19
|
export declare const getTnCRequest: {
|
|
16
|
-
encode(
|
|
20
|
+
encode(message: getTnCRequest, writer?: _m0.Writer): _m0.Writer;
|
|
17
21
|
decode(input: _m0.Reader | Uint8Array, length?: number): getTnCRequest;
|
|
18
|
-
fromJSON(
|
|
19
|
-
toJSON(
|
|
22
|
+
fromJSON(object: any): getTnCRequest;
|
|
23
|
+
toJSON(message: getTnCRequest): unknown;
|
|
20
24
|
create<I extends Exact<DeepPartial<getTnCRequest>, I>>(base?: I): getTnCRequest;
|
|
21
|
-
fromPartial<I extends Exact<DeepPartial<getTnCRequest>, I>>(
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<getTnCRequest>, I>>(object: I): getTnCRequest;
|
|
22
26
|
};
|
|
23
27
|
export declare const Data: {
|
|
24
28
|
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.getTnCResponse = exports.Data = exports.getTnCRequest = exports.protobuf
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "eqxcustomers.gettnc";
|
|
15
15
|
function createBasegetTnCRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { product: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.getTnCRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.product !== "") {
|
|
21
|
+
writer.uint32(10).string(message.product);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.getTnCRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.product = reader.string();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,37 +43,50 @@ exports.getTnCRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { product: isSet(object.product) ? globalThis.String(object.product) : "" };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.product !== "") {
|
|
52
|
+
obj.product = message.product;
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.getTnCRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBasegetTnCRequest();
|
|
61
|
+
message.product = object.product ?? "";
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|
|
52
65
|
function createBaseData() {
|
|
53
|
-
return { id: 0,
|
|
66
|
+
return { id: 0, title: "", content: "", file_url: "", tag: "", is_mandatory: "", consent_type: "" };
|
|
54
67
|
}
|
|
55
68
|
exports.Data = {
|
|
56
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
70
|
if (message.id !== 0) {
|
|
58
71
|
writer.uint32(8).int32(message.id);
|
|
59
72
|
}
|
|
60
|
-
if (message.version !== "") {
|
|
61
|
-
writer.uint32(18).string(message.version);
|
|
62
|
-
}
|
|
63
73
|
if (message.title !== "") {
|
|
64
|
-
writer.uint32(
|
|
74
|
+
writer.uint32(18).string(message.title);
|
|
65
75
|
}
|
|
66
76
|
if (message.content !== "") {
|
|
67
|
-
writer.uint32(
|
|
77
|
+
writer.uint32(26).string(message.content);
|
|
78
|
+
}
|
|
79
|
+
if (message.file_url !== "") {
|
|
80
|
+
writer.uint32(34).string(message.file_url);
|
|
81
|
+
}
|
|
82
|
+
if (message.tag !== "") {
|
|
83
|
+
writer.uint32(42).string(message.tag);
|
|
84
|
+
}
|
|
85
|
+
if (message.is_mandatory !== "") {
|
|
86
|
+
writer.uint32(50).string(message.is_mandatory);
|
|
87
|
+
}
|
|
88
|
+
if (message.consent_type !== "") {
|
|
89
|
+
writer.uint32(58).string(message.consent_type);
|
|
68
90
|
}
|
|
69
91
|
return writer;
|
|
70
92
|
},
|
|
@@ -85,19 +107,37 @@ exports.Data = {
|
|
|
85
107
|
if (tag !== 18) {
|
|
86
108
|
break;
|
|
87
109
|
}
|
|
88
|
-
message.
|
|
110
|
+
message.title = reader.string();
|
|
89
111
|
continue;
|
|
90
112
|
case 3:
|
|
91
113
|
if (tag !== 26) {
|
|
92
114
|
break;
|
|
93
115
|
}
|
|
94
|
-
message.
|
|
116
|
+
message.content = reader.string();
|
|
95
117
|
continue;
|
|
96
118
|
case 4:
|
|
97
119
|
if (tag !== 34) {
|
|
98
120
|
break;
|
|
99
121
|
}
|
|
100
|
-
message.
|
|
122
|
+
message.file_url = reader.string();
|
|
123
|
+
continue;
|
|
124
|
+
case 5:
|
|
125
|
+
if (tag !== 42) {
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
message.tag = reader.string();
|
|
129
|
+
continue;
|
|
130
|
+
case 6:
|
|
131
|
+
if (tag !== 50) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
message.is_mandatory = reader.string();
|
|
135
|
+
continue;
|
|
136
|
+
case 7:
|
|
137
|
+
if (tag !== 58) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
message.consent_type = reader.string();
|
|
101
141
|
continue;
|
|
102
142
|
}
|
|
103
143
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -110,9 +150,12 @@ exports.Data = {
|
|
|
110
150
|
fromJSON(object) {
|
|
111
151
|
return {
|
|
112
152
|
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
113
|
-
version: isSet(object.version) ? globalThis.String(object.version) : "",
|
|
114
153
|
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
115
154
|
content: isSet(object.content) ? globalThis.String(object.content) : "",
|
|
155
|
+
file_url: isSet(object.file_url) ? globalThis.String(object.file_url) : "",
|
|
156
|
+
tag: isSet(object.tag) ? globalThis.String(object.tag) : "",
|
|
157
|
+
is_mandatory: isSet(object.is_mandatory) ? globalThis.String(object.is_mandatory) : "",
|
|
158
|
+
consent_type: isSet(object.consent_type) ? globalThis.String(object.consent_type) : "",
|
|
116
159
|
};
|
|
117
160
|
},
|
|
118
161
|
toJSON(message) {
|
|
@@ -120,15 +163,24 @@ exports.Data = {
|
|
|
120
163
|
if (message.id !== 0) {
|
|
121
164
|
obj.id = Math.round(message.id);
|
|
122
165
|
}
|
|
123
|
-
if (message.version !== "") {
|
|
124
|
-
obj.version = message.version;
|
|
125
|
-
}
|
|
126
166
|
if (message.title !== "") {
|
|
127
167
|
obj.title = message.title;
|
|
128
168
|
}
|
|
129
169
|
if (message.content !== "") {
|
|
130
170
|
obj.content = message.content;
|
|
131
171
|
}
|
|
172
|
+
if (message.file_url !== "") {
|
|
173
|
+
obj.file_url = message.file_url;
|
|
174
|
+
}
|
|
175
|
+
if (message.tag !== "") {
|
|
176
|
+
obj.tag = message.tag;
|
|
177
|
+
}
|
|
178
|
+
if (message.is_mandatory !== "") {
|
|
179
|
+
obj.is_mandatory = message.is_mandatory;
|
|
180
|
+
}
|
|
181
|
+
if (message.consent_type !== "") {
|
|
182
|
+
obj.consent_type = message.consent_type;
|
|
183
|
+
}
|
|
132
184
|
return obj;
|
|
133
185
|
},
|
|
134
186
|
create(base) {
|
|
@@ -137,9 +189,12 @@ exports.Data = {
|
|
|
137
189
|
fromPartial(object) {
|
|
138
190
|
const message = createBaseData();
|
|
139
191
|
message.id = object.id ?? 0;
|
|
140
|
-
message.version = object.version ?? "";
|
|
141
192
|
message.title = object.title ?? "";
|
|
142
193
|
message.content = object.content ?? "";
|
|
194
|
+
message.file_url = object.file_url ?? "";
|
|
195
|
+
message.tag = object.tag ?? "";
|
|
196
|
+
message.is_mandatory = object.is_mandatory ?? "";
|
|
197
|
+
message.consent_type = object.consent_type ?? "";
|
|
143
198
|
return message;
|
|
144
199
|
},
|
|
145
200
|
};
|