@stashfin/grpc 1.2.184 → 1.2.187

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.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/ts/customers/aa/getbanklist.d.ts +1 -0
  3. package/ts/customers/aa/getbanklist.js +18 -2
  4. package/ts/customers/floatingvideos.d.ts +46 -0
  5. package/ts/customers/floatingvideos.js +172 -0
  6. package/ts/customers/getappsubmittedscreen.d.ts +50 -0
  7. package/ts/customers/getappsubmittedscreen.js +228 -0
  8. package/ts/customers/getlimit.d.ts +0 -2
  9. package/ts/customers/getlimit.js +1 -29
  10. package/ts/customers/savelimit.d.ts +35 -0
  11. package/ts/customers/{sendemailtoken.js → savelimit.js} +30 -30
  12. package/ts/customers.d.ts +42 -0
  13. package/ts/customers.js +30 -0
  14. package/ts/customers/sendemailtoken.d.ts +0 -35
  15. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  16. package/ts/customers/skipdlrcscreen.js +0 -117
  17. package/ts/customers/step1.d.ts +0 -69
  18. package/ts/customers/step1.js +0 -395
  19. package/ts/customers/step10.d.ts +0 -73
  20. package/ts/customers/step10.js +0 -459
  21. package/ts/customers/step2.d.ts +0 -68
  22. package/ts/customers/step2.js +0 -381
  23. package/ts/customers/step7.d.ts +0 -68
  24. package/ts/customers/step7.js +0 -381
  25. package/ts/customers/step8.d.ts +0 -69
  26. package/ts/customers/step8.js +0 -395
  27. package/ts/customers/step9.d.ts +0 -75
  28. package/ts/customers/step9.js +0 -489
  29. package/ts/customers/stepstatic.d.ts +0 -66
  30. package/ts/customers/stepstatic.js +0 -354
  31. package/ts/customers/verifyemail.d.ts +0 -35
  32. package/ts/customers/verifyemail.js +0 -117
  33. package/ts/google/protobuf/timestamp.d.ts +0 -127
  34. package/ts/google/protobuf/timestamp.js +0 -97
  35. package/ts/payments/nachpresentation.d.ts +0 -39
  36. package/ts/payments/nachpresentation.js +0 -191
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.184",
3
+ "version": "1.2.187",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -4,6 +4,7 @@ export interface getBankListRequest {
4
4
  }
5
5
  export interface getBankListResponse {
6
6
  fip: BankData[];
7
+ netbanking_url: string;
7
8
  }
8
9
  export interface BankData {
9
10
  id: string;
@@ -50,13 +50,16 @@ exports.getBankListRequest = {
50
50
  },
51
51
  };
52
52
  function createBasegetBankListResponse() {
53
- return { fip: [] };
53
+ return { fip: [], netbanking_url: "" };
54
54
  }
55
55
  exports.getBankListResponse = {
56
56
  encode(message, writer = minimal_1.default.Writer.create()) {
57
57
  for (const v of message.fip) {
58
58
  exports.BankData.encode(v, writer.uint32(10).fork()).ldelim();
59
59
  }
60
+ if (message.netbanking_url !== "") {
61
+ writer.uint32(18).string(message.netbanking_url);
62
+ }
60
63
  return writer;
61
64
  },
62
65
  decode(input, length) {
@@ -72,6 +75,12 @@ exports.getBankListResponse = {
72
75
  }
73
76
  message.fip.push(exports.BankData.decode(reader, reader.uint32()));
74
77
  continue;
78
+ case 2:
79
+ if (tag !== 18) {
80
+ break;
81
+ }
82
+ message.netbanking_url = reader.string();
83
+ continue;
75
84
  }
76
85
  if ((tag & 7) === 4 || tag === 0) {
77
86
  break;
@@ -81,13 +90,19 @@ exports.getBankListResponse = {
81
90
  return message;
82
91
  },
83
92
  fromJSON(object) {
84
- return { fip: globalThis.Array.isArray(object?.fip) ? object.fip.map((e) => exports.BankData.fromJSON(e)) : [] };
93
+ return {
94
+ fip: globalThis.Array.isArray(object?.fip) ? object.fip.map((e) => exports.BankData.fromJSON(e)) : [],
95
+ netbanking_url: isSet(object.netbanking_url) ? globalThis.String(object.netbanking_url) : "",
96
+ };
85
97
  },
86
98
  toJSON(message) {
87
99
  const obj = {};
88
100
  if (message.fip?.length) {
89
101
  obj.fip = message.fip.map((e) => exports.BankData.toJSON(e));
90
102
  }
103
+ if (message.netbanking_url !== "") {
104
+ obj.netbanking_url = message.netbanking_url;
105
+ }
91
106
  return obj;
92
107
  },
93
108
  create(base) {
@@ -96,6 +111,7 @@ exports.getBankListResponse = {
96
111
  fromPartial(object) {
97
112
  const message = createBasegetBankListResponse();
98
113
  message.fip = object.fip?.map((e) => exports.BankData.fromPartial(e)) || [];
114
+ message.netbanking_url = object.netbanking_url ?? "";
99
115
  return message;
100
116
  },
101
117
  };
@@ -0,0 +1,46 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.floatingvideos";
3
+ export interface getFloatingVideosRequest {
4
+ }
5
+ export interface FloatingVideo {
6
+ page_code: string;
7
+ url: string;
8
+ }
9
+ export interface getFloatingVideosResponse {
10
+ videos: FloatingVideo[];
11
+ }
12
+ export declare const getFloatingVideosRequest: {
13
+ encode(_: getFloatingVideosRequest, writer?: _m0.Writer): _m0.Writer;
14
+ decode(input: _m0.Reader | Uint8Array, length?: number): getFloatingVideosRequest;
15
+ fromJSON(_: any): getFloatingVideosRequest;
16
+ toJSON(_: getFloatingVideosRequest): unknown;
17
+ create<I extends Exact<DeepPartial<getFloatingVideosRequest>, I>>(base?: I): getFloatingVideosRequest;
18
+ fromPartial<I extends Exact<DeepPartial<getFloatingVideosRequest>, I>>(_: I): getFloatingVideosRequest;
19
+ };
20
+ export declare const FloatingVideo: {
21
+ encode(message: FloatingVideo, writer?: _m0.Writer): _m0.Writer;
22
+ decode(input: _m0.Reader | Uint8Array, length?: number): FloatingVideo;
23
+ fromJSON(object: any): FloatingVideo;
24
+ toJSON(message: FloatingVideo): unknown;
25
+ create<I extends Exact<DeepPartial<FloatingVideo>, I>>(base?: I): FloatingVideo;
26
+ fromPartial<I extends Exact<DeepPartial<FloatingVideo>, I>>(object: I): FloatingVideo;
27
+ };
28
+ export declare const getFloatingVideosResponse: {
29
+ encode(message: getFloatingVideosResponse, writer?: _m0.Writer): _m0.Writer;
30
+ decode(input: _m0.Reader | Uint8Array, length?: number): getFloatingVideosResponse;
31
+ fromJSON(object: any): getFloatingVideosResponse;
32
+ toJSON(message: getFloatingVideosResponse): unknown;
33
+ create<I extends Exact<DeepPartial<getFloatingVideosResponse>, I>>(base?: I): getFloatingVideosResponse;
34
+ fromPartial<I extends Exact<DeepPartial<getFloatingVideosResponse>, I>>(object: I): getFloatingVideosResponse;
35
+ };
36
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
37
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
38
+ [K in keyof T]?: DeepPartial<T[K]>;
39
+ } : Partial<T>;
40
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
41
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
42
+ [K in keyof P]: Exact<P[K], I[K]>;
43
+ } & {
44
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
45
+ };
46
+ export {};
@@ -0,0 +1,172 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.0
6
+ // source: customers/floatingvideos.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getFloatingVideosResponse = exports.FloatingVideo = exports.getFloatingVideosRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.floatingvideos";
15
+ function createBasegetFloatingVideosRequest() {
16
+ return {};
17
+ }
18
+ exports.getFloatingVideosRequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasegetFloatingVideosRequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.getFloatingVideosRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetFloatingVideosRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBaseFloatingVideo() {
53
+ return { page_code: "", url: "" };
54
+ }
55
+ exports.FloatingVideo = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.page_code !== "") {
58
+ writer.uint32(10).string(message.page_code);
59
+ }
60
+ if (message.url !== "") {
61
+ writer.uint32(18).string(message.url);
62
+ }
63
+ return writer;
64
+ },
65
+ decode(input, length) {
66
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
67
+ let end = length === undefined ? reader.len : reader.pos + length;
68
+ const message = createBaseFloatingVideo();
69
+ while (reader.pos < end) {
70
+ const tag = reader.uint32();
71
+ switch (tag >>> 3) {
72
+ case 1:
73
+ if (tag !== 10) {
74
+ break;
75
+ }
76
+ message.page_code = reader.string();
77
+ continue;
78
+ case 2:
79
+ if (tag !== 18) {
80
+ break;
81
+ }
82
+ message.url = reader.string();
83
+ continue;
84
+ }
85
+ if ((tag & 7) === 4 || tag === 0) {
86
+ break;
87
+ }
88
+ reader.skipType(tag & 7);
89
+ }
90
+ return message;
91
+ },
92
+ fromJSON(object) {
93
+ return {
94
+ page_code: isSet(object.page_code) ? globalThis.String(object.page_code) : "",
95
+ url: isSet(object.url) ? globalThis.String(object.url) : "",
96
+ };
97
+ },
98
+ toJSON(message) {
99
+ const obj = {};
100
+ if (message.page_code !== "") {
101
+ obj.page_code = message.page_code;
102
+ }
103
+ if (message.url !== "") {
104
+ obj.url = message.url;
105
+ }
106
+ return obj;
107
+ },
108
+ create(base) {
109
+ return exports.FloatingVideo.fromPartial(base ?? {});
110
+ },
111
+ fromPartial(object) {
112
+ const message = createBaseFloatingVideo();
113
+ message.page_code = object.page_code ?? "";
114
+ message.url = object.url ?? "";
115
+ return message;
116
+ },
117
+ };
118
+ function createBasegetFloatingVideosResponse() {
119
+ return { videos: [] };
120
+ }
121
+ exports.getFloatingVideosResponse = {
122
+ encode(message, writer = minimal_1.default.Writer.create()) {
123
+ for (const v of message.videos) {
124
+ exports.FloatingVideo.encode(v, writer.uint32(10).fork()).ldelim();
125
+ }
126
+ return writer;
127
+ },
128
+ decode(input, length) {
129
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
130
+ let end = length === undefined ? reader.len : reader.pos + length;
131
+ const message = createBasegetFloatingVideosResponse();
132
+ while (reader.pos < end) {
133
+ const tag = reader.uint32();
134
+ switch (tag >>> 3) {
135
+ case 1:
136
+ if (tag !== 10) {
137
+ break;
138
+ }
139
+ message.videos.push(exports.FloatingVideo.decode(reader, reader.uint32()));
140
+ continue;
141
+ }
142
+ if ((tag & 7) === 4 || tag === 0) {
143
+ break;
144
+ }
145
+ reader.skipType(tag & 7);
146
+ }
147
+ return message;
148
+ },
149
+ fromJSON(object) {
150
+ return {
151
+ videos: globalThis.Array.isArray(object?.videos) ? object.videos.map((e) => exports.FloatingVideo.fromJSON(e)) : [],
152
+ };
153
+ },
154
+ toJSON(message) {
155
+ const obj = {};
156
+ if (message.videos?.length) {
157
+ obj.videos = message.videos.map((e) => exports.FloatingVideo.toJSON(e));
158
+ }
159
+ return obj;
160
+ },
161
+ create(base) {
162
+ return exports.getFloatingVideosResponse.fromPartial(base ?? {});
163
+ },
164
+ fromPartial(object) {
165
+ const message = createBasegetFloatingVideosResponse();
166
+ message.videos = object.videos?.map((e) => exports.FloatingVideo.fromPartial(e)) || [];
167
+ return message;
168
+ },
169
+ };
170
+ function isSet(value) {
171
+ return value !== null && value !== undefined;
172
+ }
@@ -0,0 +1,50 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getappsubmittedscreen";
3
+ export interface getAppSubmittedRequest {
4
+ }
5
+ export interface getAppSubmittedResponse {
6
+ text: string;
7
+ description: string;
8
+ do_more: doMore[];
9
+ }
10
+ export interface doMore {
11
+ icon: string;
12
+ text: string;
13
+ description: string;
14
+ action: string;
15
+ }
16
+ export declare const getAppSubmittedRequest: {
17
+ encode(_: getAppSubmittedRequest, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAppSubmittedRequest;
19
+ fromJSON(_: any): getAppSubmittedRequest;
20
+ toJSON(_: getAppSubmittedRequest): unknown;
21
+ create<I extends Exact<DeepPartial<getAppSubmittedRequest>, I>>(base?: I): getAppSubmittedRequest;
22
+ fromPartial<I extends Exact<DeepPartial<getAppSubmittedRequest>, I>>(_: I): getAppSubmittedRequest;
23
+ };
24
+ export declare const getAppSubmittedResponse: {
25
+ encode(message: getAppSubmittedResponse, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAppSubmittedResponse;
27
+ fromJSON(object: any): getAppSubmittedResponse;
28
+ toJSON(message: getAppSubmittedResponse): unknown;
29
+ create<I extends Exact<DeepPartial<getAppSubmittedResponse>, I>>(base?: I): getAppSubmittedResponse;
30
+ fromPartial<I extends Exact<DeepPartial<getAppSubmittedResponse>, I>>(object: I): getAppSubmittedResponse;
31
+ };
32
+ export declare const doMore: {
33
+ encode(message: doMore, writer?: _m0.Writer): _m0.Writer;
34
+ decode(input: _m0.Reader | Uint8Array, length?: number): doMore;
35
+ fromJSON(object: any): doMore;
36
+ toJSON(message: doMore): unknown;
37
+ create<I extends Exact<DeepPartial<doMore>, I>>(base?: I): doMore;
38
+ fromPartial<I extends Exact<DeepPartial<doMore>, I>>(object: I): doMore;
39
+ };
40
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
41
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
42
+ [K in keyof T]?: DeepPartial<T[K]>;
43
+ } : Partial<T>;
44
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
45
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
46
+ [K in keyof P]: Exact<P[K], I[K]>;
47
+ } & {
48
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
49
+ };
50
+ export {};
@@ -0,0 +1,228 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.0
6
+ // source: customers/getappsubmittedscreen.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.doMore = exports.getAppSubmittedResponse = exports.getAppSubmittedRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.getappsubmittedscreen";
15
+ function createBasegetAppSubmittedRequest() {
16
+ return {};
17
+ }
18
+ exports.getAppSubmittedRequest = {
19
+ encode(_, writer = minimal_1.default.Writer.create()) {
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
24
+ let end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBasegetAppSubmittedRequest();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ }
30
+ if ((tag & 7) === 4 || tag === 0) {
31
+ break;
32
+ }
33
+ reader.skipType(tag & 7);
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(_) {
38
+ return {};
39
+ },
40
+ toJSON(_) {
41
+ const obj = {};
42
+ return obj;
43
+ },
44
+ create(base) {
45
+ return exports.getAppSubmittedRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetAppSubmittedRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetAppSubmittedResponse() {
53
+ return { text: "", description: "", do_more: [] };
54
+ }
55
+ exports.getAppSubmittedResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.text !== "") {
58
+ writer.uint32(10).string(message.text);
59
+ }
60
+ if (message.description !== "") {
61
+ writer.uint32(18).string(message.description);
62
+ }
63
+ for (const v of message.do_more) {
64
+ exports.doMore.encode(v, writer.uint32(26).fork()).ldelim();
65
+ }
66
+ return writer;
67
+ },
68
+ decode(input, length) {
69
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
70
+ let end = length === undefined ? reader.len : reader.pos + length;
71
+ const message = createBasegetAppSubmittedResponse();
72
+ while (reader.pos < end) {
73
+ const tag = reader.uint32();
74
+ switch (tag >>> 3) {
75
+ case 1:
76
+ if (tag !== 10) {
77
+ break;
78
+ }
79
+ message.text = reader.string();
80
+ continue;
81
+ case 2:
82
+ if (tag !== 18) {
83
+ break;
84
+ }
85
+ message.description = reader.string();
86
+ continue;
87
+ case 3:
88
+ if (tag !== 26) {
89
+ break;
90
+ }
91
+ message.do_more.push(exports.doMore.decode(reader, reader.uint32()));
92
+ continue;
93
+ }
94
+ if ((tag & 7) === 4 || tag === 0) {
95
+ break;
96
+ }
97
+ reader.skipType(tag & 7);
98
+ }
99
+ return message;
100
+ },
101
+ fromJSON(object) {
102
+ return {
103
+ text: isSet(object.text) ? globalThis.String(object.text) : "",
104
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
105
+ do_more: globalThis.Array.isArray(object?.do_more) ? object.do_more.map((e) => exports.doMore.fromJSON(e)) : [],
106
+ };
107
+ },
108
+ toJSON(message) {
109
+ const obj = {};
110
+ if (message.text !== "") {
111
+ obj.text = message.text;
112
+ }
113
+ if (message.description !== "") {
114
+ obj.description = message.description;
115
+ }
116
+ if (message.do_more?.length) {
117
+ obj.do_more = message.do_more.map((e) => exports.doMore.toJSON(e));
118
+ }
119
+ return obj;
120
+ },
121
+ create(base) {
122
+ return exports.getAppSubmittedResponse.fromPartial(base ?? {});
123
+ },
124
+ fromPartial(object) {
125
+ const message = createBasegetAppSubmittedResponse();
126
+ message.text = object.text ?? "";
127
+ message.description = object.description ?? "";
128
+ message.do_more = object.do_more?.map((e) => exports.doMore.fromPartial(e)) || [];
129
+ return message;
130
+ },
131
+ };
132
+ function createBasedoMore() {
133
+ return { icon: "", text: "", description: "", action: "" };
134
+ }
135
+ exports.doMore = {
136
+ encode(message, writer = minimal_1.default.Writer.create()) {
137
+ if (message.icon !== "") {
138
+ writer.uint32(10).string(message.icon);
139
+ }
140
+ if (message.text !== "") {
141
+ writer.uint32(18).string(message.text);
142
+ }
143
+ if (message.description !== "") {
144
+ writer.uint32(26).string(message.description);
145
+ }
146
+ if (message.action !== "") {
147
+ writer.uint32(34).string(message.action);
148
+ }
149
+ return writer;
150
+ },
151
+ decode(input, length) {
152
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
153
+ let end = length === undefined ? reader.len : reader.pos + length;
154
+ const message = createBasedoMore();
155
+ while (reader.pos < end) {
156
+ const tag = reader.uint32();
157
+ switch (tag >>> 3) {
158
+ case 1:
159
+ if (tag !== 10) {
160
+ break;
161
+ }
162
+ message.icon = reader.string();
163
+ continue;
164
+ case 2:
165
+ if (tag !== 18) {
166
+ break;
167
+ }
168
+ message.text = reader.string();
169
+ continue;
170
+ case 3:
171
+ if (tag !== 26) {
172
+ break;
173
+ }
174
+ message.description = reader.string();
175
+ continue;
176
+ case 4:
177
+ if (tag !== 34) {
178
+ break;
179
+ }
180
+ message.action = reader.string();
181
+ continue;
182
+ }
183
+ if ((tag & 7) === 4 || tag === 0) {
184
+ break;
185
+ }
186
+ reader.skipType(tag & 7);
187
+ }
188
+ return message;
189
+ },
190
+ fromJSON(object) {
191
+ return {
192
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
193
+ text: isSet(object.text) ? globalThis.String(object.text) : "",
194
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
195
+ action: isSet(object.action) ? globalThis.String(object.action) : "",
196
+ };
197
+ },
198
+ toJSON(message) {
199
+ const obj = {};
200
+ if (message.icon !== "") {
201
+ obj.icon = message.icon;
202
+ }
203
+ if (message.text !== "") {
204
+ obj.text = message.text;
205
+ }
206
+ if (message.description !== "") {
207
+ obj.description = message.description;
208
+ }
209
+ if (message.action !== "") {
210
+ obj.action = message.action;
211
+ }
212
+ return obj;
213
+ },
214
+ create(base) {
215
+ return exports.doMore.fromPartial(base ?? {});
216
+ },
217
+ fromPartial(object) {
218
+ const message = createBasedoMore();
219
+ message.icon = object.icon ?? "";
220
+ message.text = object.text ?? "";
221
+ message.description = object.description ?? "";
222
+ message.action = object.action ?? "";
223
+ return message;
224
+ },
225
+ };
226
+ function isSet(value) {
227
+ return value !== null && value !== undefined;
228
+ }
@@ -5,8 +5,6 @@ export interface getLimitRequest {
5
5
  export interface getLimitResponse {
6
6
  basic_limit: number;
7
7
  higher_limit: number;
8
- basic_next_step: string;
9
- higher_next_step: string;
10
8
  }
11
9
  export declare const getLimitRequest: {
12
10
  encode(_: getLimitRequest, writer?: _m0.Writer): _m0.Writer;
@@ -50,7 +50,7 @@ exports.getLimitRequest = {
50
50
  },
51
51
  };
52
52
  function createBasegetLimitResponse() {
53
- return { basic_limit: 0, higher_limit: 0, basic_next_step: "", higher_next_step: "" };
53
+ return { basic_limit: 0, higher_limit: 0 };
54
54
  }
55
55
  exports.getLimitResponse = {
56
56
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -60,12 +60,6 @@ exports.getLimitResponse = {
60
60
  if (message.higher_limit !== 0) {
61
61
  writer.uint32(16).int32(message.higher_limit);
62
62
  }
63
- if (message.basic_next_step !== "") {
64
- writer.uint32(26).string(message.basic_next_step);
65
- }
66
- if (message.higher_next_step !== "") {
67
- writer.uint32(34).string(message.higher_next_step);
68
- }
69
63
  return writer;
70
64
  },
71
65
  decode(input, length) {
@@ -87,18 +81,6 @@ exports.getLimitResponse = {
87
81
  }
88
82
  message.higher_limit = reader.int32();
89
83
  continue;
90
- case 3:
91
- if (tag !== 26) {
92
- break;
93
- }
94
- message.basic_next_step = reader.string();
95
- continue;
96
- case 4:
97
- if (tag !== 34) {
98
- break;
99
- }
100
- message.higher_next_step = reader.string();
101
- continue;
102
84
  }
103
85
  if ((tag & 7) === 4 || tag === 0) {
104
86
  break;
@@ -111,8 +93,6 @@ exports.getLimitResponse = {
111
93
  return {
112
94
  basic_limit: isSet(object.basic_limit) ? globalThis.Number(object.basic_limit) : 0,
113
95
  higher_limit: isSet(object.higher_limit) ? globalThis.Number(object.higher_limit) : 0,
114
- basic_next_step: isSet(object.basic_next_step) ? globalThis.String(object.basic_next_step) : "",
115
- higher_next_step: isSet(object.higher_next_step) ? globalThis.String(object.higher_next_step) : "",
116
96
  };
117
97
  },
118
98
  toJSON(message) {
@@ -123,12 +103,6 @@ exports.getLimitResponse = {
123
103
  if (message.higher_limit !== 0) {
124
104
  obj.higher_limit = Math.round(message.higher_limit);
125
105
  }
126
- if (message.basic_next_step !== "") {
127
- obj.basic_next_step = message.basic_next_step;
128
- }
129
- if (message.higher_next_step !== "") {
130
- obj.higher_next_step = message.higher_next_step;
131
- }
132
106
  return obj;
133
107
  },
134
108
  create(base) {
@@ -138,8 +112,6 @@ exports.getLimitResponse = {
138
112
  const message = createBasegetLimitResponse();
139
113
  message.basic_limit = object.basic_limit ?? 0;
140
114
  message.higher_limit = object.higher_limit ?? 0;
141
- message.basic_next_step = object.basic_next_step ?? "";
142
- message.higher_next_step = object.higher_next_step ?? "";
143
115
  return message;
144
116
  },
145
117
  };
@@ -0,0 +1,35 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.savelimit";
3
+ export interface saveLimitRequest {
4
+ option: string;
5
+ }
6
+ export interface saveLimitResponse {
7
+ next_step: string;
8
+ }
9
+ export declare const saveLimitRequest: {
10
+ encode(message: saveLimitRequest, writer?: _m0.Writer): _m0.Writer;
11
+ decode(input: _m0.Reader | Uint8Array, length?: number): saveLimitRequest;
12
+ fromJSON(object: any): saveLimitRequest;
13
+ toJSON(message: saveLimitRequest): unknown;
14
+ create<I extends Exact<DeepPartial<saveLimitRequest>, I>>(base?: I): saveLimitRequest;
15
+ fromPartial<I extends Exact<DeepPartial<saveLimitRequest>, I>>(object: I): saveLimitRequest;
16
+ };
17
+ export declare const saveLimitResponse: {
18
+ encode(message: saveLimitResponse, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): saveLimitResponse;
20
+ fromJSON(object: any): saveLimitResponse;
21
+ toJSON(message: saveLimitResponse): unknown;
22
+ create<I extends Exact<DeepPartial<saveLimitResponse>, I>>(base?: I): saveLimitResponse;
23
+ fromPartial<I extends Exact<DeepPartial<saveLimitResponse>, I>>(object: I): saveLimitResponse;
24
+ };
25
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
26
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
27
+ [K in keyof T]?: DeepPartial<T[K]>;
28
+ } : Partial<T>;
29
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
30
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
31
+ [K in keyof P]: Exact<P[K], I[K]>;
32
+ } & {
33
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
34
+ };
35
+ export {};