@alexochihua/protos 1.0.7 → 1.0.9

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 (48) hide show
  1. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs.d.ts +92 -0
  2. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs.js +308 -0
  3. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs.js.map +1 -0
  4. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs_types.d.ts +35 -0
  5. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs_types.js +245 -0
  6. package/dist/generated/kapital/credit_catalogs/v1/credit_catalogs_types.js.map +1 -0
  7. package/dist/generated/kapital/credit_configurations/v1/credit_configurations.d.ts +303 -1
  8. package/dist/generated/kapital/credit_configurations/v1/credit_configurations.js +1698 -1
  9. package/dist/generated/kapital/credit_configurations/v1/credit_configurations.js.map +1 -1
  10. package/dist/generated/kapital/credit_configurations/v1/credit_configurations_types.d.ts +28 -0
  11. package/dist/generated/kapital/credit_configurations/v1/credit_configurations_types.js +308 -1
  12. package/dist/generated/kapital/credit_configurations/v1/credit_configurations_types.js.map +1 -1
  13. package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js +6 -0
  14. package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js.map +1 -1
  15. package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js +6 -0
  16. package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js.map +1 -1
  17. package/dist/generated/kapital/fraud_groups/v1/fraud_groups.js +6 -0
  18. package/dist/generated/kapital/fraud_groups/v1/fraud_groups.js.map +1 -1
  19. package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js +6 -0
  20. package/dist/generated/kapital/fraud_groups/v1/fraud_groups_types.js.map +1 -1
  21. package/dist/generated/kapital/fraud_rules/v1/fraud_rules.js +6 -0
  22. package/dist/generated/kapital/fraud_rules/v1/fraud_rules.js.map +1 -1
  23. package/dist/generated/kapital/fraud_rules/v1/fraud_rules_types.js +6 -0
  24. package/dist/generated/kapital/fraud_rules/v1/fraud_rules_types.js.map +1 -1
  25. package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists.js +6 -0
  26. package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists.js.map +1 -1
  27. package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists_types.js +6 -0
  28. package/dist/generated/kapital/fraud_whitelists/v1/fraud_whitelists_types.js.map +1 -1
  29. package/dist/generated/kapital/frauds/v1/frauds.js +6 -0
  30. package/dist/generated/kapital/frauds/v1/frauds.js.map +1 -1
  31. package/dist/generated/kapital/frauds/v1/frauds_types.js +6 -0
  32. package/dist/generated/kapital/frauds/v1/frauds_types.js.map +1 -1
  33. package/dist/generated/kapital/payments_methods/v1/payments_methods_types.d.ts +14 -0
  34. package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js +144 -0
  35. package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js.map +1 -1
  36. package/dist/index.d.ts +2 -0
  37. package/dist/index.js +3 -1
  38. package/dist/index.js.map +1 -1
  39. package/package.json +15 -1
  40. package/proto/kapital/collections_recovery/v1/collections_recovery.proto +80 -80
  41. package/proto/kapital/collections_recovery/v1/collections_recovery_types.proto +46 -46
  42. package/proto/kapital/credit_accounts/v1/credit_accounts.proto +84 -84
  43. package/proto/kapital/credit_accounts/v1/credit_accounts_types.proto +40 -40
  44. package/proto/kapital/credit_catalogs/v1/credit_catalogs.proto +37 -0
  45. package/proto/kapital/credit_catalogs/v1/credit_catalogs_types.proto +27 -0
  46. package/proto/kapital/credit_configurations/v1/credit_configurations.proto +212 -54
  47. package/proto/kapital/credit_configurations/v1/credit_configurations_types.proto +42 -14
  48. package/proto/kapital/payments_methods/v1/payments_methods_types.proto +171 -157
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v2.11.6
5
+ // protoc unknown
6
+ // source: kapital/credit_catalogs/v1/credit_catalogs_types.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CatalogItemWithProductId = exports.CatalogItem = exports.Label = exports.protobufPackage = void 0;
9
+ /* eslint-disable */
10
+ const wire_1 = require("@bufbuild/protobuf/wire");
11
+ exports.protobufPackage = "kapital.credit_catalogs.v1";
12
+ function createBaseLabel() {
13
+ return { es: "", en: "" };
14
+ }
15
+ exports.Label = {
16
+ encode(message, writer = new wire_1.BinaryWriter()) {
17
+ if (message.es !== "") {
18
+ writer.uint32(10).string(message.es);
19
+ }
20
+ if (message.en !== "") {
21
+ writer.uint32(18).string(message.en);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
27
+ const end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBaseLabel();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1: {
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.es = reader.string();
37
+ continue;
38
+ }
39
+ case 2: {
40
+ if (tag !== 18) {
41
+ break;
42
+ }
43
+ message.en = reader.string();
44
+ continue;
45
+ }
46
+ }
47
+ if ((tag & 7) === 4 || tag === 0) {
48
+ break;
49
+ }
50
+ reader.skip(tag & 7);
51
+ }
52
+ return message;
53
+ },
54
+ create(base) {
55
+ return exports.Label.fromPartial(base ?? {});
56
+ },
57
+ fromPartial(object) {
58
+ const message = createBaseLabel();
59
+ message.es = object.es ?? "";
60
+ message.en = object.en ?? "";
61
+ return message;
62
+ },
63
+ };
64
+ function createBaseCatalogItem() {
65
+ return { id: "", value: "", label: undefined, active: false, deleted: false };
66
+ }
67
+ exports.CatalogItem = {
68
+ encode(message, writer = new wire_1.BinaryWriter()) {
69
+ if (message.id !== "") {
70
+ writer.uint32(10).string(message.id);
71
+ }
72
+ if (message.value !== "") {
73
+ writer.uint32(18).string(message.value);
74
+ }
75
+ if (message.label !== undefined) {
76
+ exports.Label.encode(message.label, writer.uint32(26).fork()).join();
77
+ }
78
+ if (message.active !== false) {
79
+ writer.uint32(32).bool(message.active);
80
+ }
81
+ if (message.deleted !== false) {
82
+ writer.uint32(40).bool(message.deleted);
83
+ }
84
+ return writer;
85
+ },
86
+ decode(input, length) {
87
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
88
+ const end = length === undefined ? reader.len : reader.pos + length;
89
+ const message = createBaseCatalogItem();
90
+ while (reader.pos < end) {
91
+ const tag = reader.uint32();
92
+ switch (tag >>> 3) {
93
+ case 1: {
94
+ if (tag !== 10) {
95
+ break;
96
+ }
97
+ message.id = reader.string();
98
+ continue;
99
+ }
100
+ case 2: {
101
+ if (tag !== 18) {
102
+ break;
103
+ }
104
+ message.value = reader.string();
105
+ continue;
106
+ }
107
+ case 3: {
108
+ if (tag !== 26) {
109
+ break;
110
+ }
111
+ message.label = exports.Label.decode(reader, reader.uint32());
112
+ continue;
113
+ }
114
+ case 4: {
115
+ if (tag !== 32) {
116
+ break;
117
+ }
118
+ message.active = reader.bool();
119
+ continue;
120
+ }
121
+ case 5: {
122
+ if (tag !== 40) {
123
+ break;
124
+ }
125
+ message.deleted = reader.bool();
126
+ continue;
127
+ }
128
+ }
129
+ if ((tag & 7) === 4 || tag === 0) {
130
+ break;
131
+ }
132
+ reader.skip(tag & 7);
133
+ }
134
+ return message;
135
+ },
136
+ create(base) {
137
+ return exports.CatalogItem.fromPartial(base ?? {});
138
+ },
139
+ fromPartial(object) {
140
+ const message = createBaseCatalogItem();
141
+ message.id = object.id ?? "";
142
+ message.value = object.value ?? "";
143
+ message.label = (object.label !== undefined && object.label !== null) ? exports.Label.fromPartial(object.label) : undefined;
144
+ message.active = object.active ?? false;
145
+ message.deleted = object.deleted ?? false;
146
+ return message;
147
+ },
148
+ };
149
+ function createBaseCatalogItemWithProductId() {
150
+ return { id: "", value: "", label: undefined, product_id: "", active: false, deleted: false };
151
+ }
152
+ exports.CatalogItemWithProductId = {
153
+ encode(message, writer = new wire_1.BinaryWriter()) {
154
+ if (message.id !== "") {
155
+ writer.uint32(10).string(message.id);
156
+ }
157
+ if (message.value !== "") {
158
+ writer.uint32(18).string(message.value);
159
+ }
160
+ if (message.label !== undefined) {
161
+ exports.Label.encode(message.label, writer.uint32(26).fork()).join();
162
+ }
163
+ if (message.product_id !== "") {
164
+ writer.uint32(34).string(message.product_id);
165
+ }
166
+ if (message.active !== false) {
167
+ writer.uint32(40).bool(message.active);
168
+ }
169
+ if (message.deleted !== false) {
170
+ writer.uint32(48).bool(message.deleted);
171
+ }
172
+ return writer;
173
+ },
174
+ decode(input, length) {
175
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
176
+ const end = length === undefined ? reader.len : reader.pos + length;
177
+ const message = createBaseCatalogItemWithProductId();
178
+ while (reader.pos < end) {
179
+ const tag = reader.uint32();
180
+ switch (tag >>> 3) {
181
+ case 1: {
182
+ if (tag !== 10) {
183
+ break;
184
+ }
185
+ message.id = reader.string();
186
+ continue;
187
+ }
188
+ case 2: {
189
+ if (tag !== 18) {
190
+ break;
191
+ }
192
+ message.value = reader.string();
193
+ continue;
194
+ }
195
+ case 3: {
196
+ if (tag !== 26) {
197
+ break;
198
+ }
199
+ message.label = exports.Label.decode(reader, reader.uint32());
200
+ continue;
201
+ }
202
+ case 4: {
203
+ if (tag !== 34) {
204
+ break;
205
+ }
206
+ message.product_id = reader.string();
207
+ continue;
208
+ }
209
+ case 5: {
210
+ if (tag !== 40) {
211
+ break;
212
+ }
213
+ message.active = reader.bool();
214
+ continue;
215
+ }
216
+ case 6: {
217
+ if (tag !== 48) {
218
+ break;
219
+ }
220
+ message.deleted = reader.bool();
221
+ continue;
222
+ }
223
+ }
224
+ if ((tag & 7) === 4 || tag === 0) {
225
+ break;
226
+ }
227
+ reader.skip(tag & 7);
228
+ }
229
+ return message;
230
+ },
231
+ create(base) {
232
+ return exports.CatalogItemWithProductId.fromPartial(base ?? {});
233
+ },
234
+ fromPartial(object) {
235
+ const message = createBaseCatalogItemWithProductId();
236
+ message.id = object.id ?? "";
237
+ message.value = object.value ?? "";
238
+ message.label = (object.label !== undefined && object.label !== null) ? exports.Label.fromPartial(object.label) : undefined;
239
+ message.product_id = object.product_id ?? "";
240
+ message.active = object.active ?? false;
241
+ message.deleted = object.deleted ?? false;
242
+ return message;
243
+ },
244
+ };
245
+ //# sourceMappingURL=credit_catalogs_types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credit_catalogs_types.js","sourceRoot":"","sources":["../../../../../src/generated/kapital/credit_catalogs/v1/credit_catalogs_types.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,iEAAiE;;;AAEjE,oBAAoB;AACpB,kDAAqE;AAExD,QAAA,eAAe,GAAG,4BAA4B,CAAC;AAwB5D,SAAS,eAAe;IACtB,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AAC5B,CAAC;AAEY,QAAA,KAAK,GAAsB;IACtC,MAAM,CAAC,OAAc,EAAE,SAAuB,IAAI,mBAAY,EAAE;QAC9D,IAAI,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;YACtB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACvC,CAAC;QACD,IAAI,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC;YACtB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAAgC,EAAE,MAAe;QACtD,MAAM,MAAM,GAAG,KAAK,YAAY,mBAA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AC,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;QAC7C,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,KAAK,CAAC;QACxC,OAAO,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,KAAK,CAAC;QAC1C,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
3
3
  import { ResponseMeta } from "../../common/v1/meta";
4
- import { AccountStatementConfiguration } from "./credit_configurations_types";
4
+ import { AccountStatementConfiguration, CatalogRecordItem, CatalogTypeItem, CreditGeneralParameter } from "./credit_configurations_types";
5
5
  export declare const protobufPackage = "kapital.credit_configurations.v1";
6
6
  export interface GetAccountStatementConfigurationRequest {
7
7
  statement_section_id: string;
@@ -34,6 +34,127 @@ export interface DownloadAccountStatementPdfResponse {
34
34
  file: Buffer;
35
35
  filename: string;
36
36
  }
37
+ export interface GetCatalogMenuRequest {
38
+ }
39
+ export interface GetCatalogMenuResponse {
40
+ meta: ResponseMeta | undefined;
41
+ items: CatalogTypeItem[];
42
+ }
43
+ export interface GetCatalogRecordsRequest {
44
+ collection_db_name: string;
45
+ page: number;
46
+ rows_per_page: number;
47
+ sort_by: string;
48
+ descending: string;
49
+ q: string;
50
+ lang: string;
51
+ }
52
+ export interface GetCatalogRecordsResponse {
53
+ meta: ResponseMeta | undefined;
54
+ total: number;
55
+ page: number;
56
+ rows_per_page: number;
57
+ records: CatalogRecordItem[];
58
+ }
59
+ export interface GetCatalogRecordByUniqueIdentifierRequest {
60
+ collection_db_name: string;
61
+ unique_identifier: string;
62
+ }
63
+ export interface GetCatalogRecordByUniqueIdentifierResponse {
64
+ meta: ResponseMeta | undefined;
65
+ record: CatalogRecordItem | undefined;
66
+ }
67
+ export interface CreateCatalogRecordRequest {
68
+ collection_db_name: string;
69
+ unique_identifier: string;
70
+ description_es: string;
71
+ description_en: string;
72
+ }
73
+ export interface CreateCatalogRecordResponse {
74
+ meta: ResponseMeta | undefined;
75
+ record: CatalogRecordItem | undefined;
76
+ }
77
+ export interface UpdateCatalogRecordRequest {
78
+ collection_db_name: string;
79
+ record_id: string;
80
+ unique_identifier: string;
81
+ description_es: string;
82
+ description_en: string;
83
+ active: boolean;
84
+ deleted: boolean;
85
+ }
86
+ export interface UpdateCatalogRecordResponse {
87
+ meta: ResponseMeta | undefined;
88
+ record: CatalogRecordItem | undefined;
89
+ }
90
+ export interface GetAllCatalogRecordsRequest {
91
+ collection_db_name: string;
92
+ sort_by: string;
93
+ descending: string;
94
+ q: string;
95
+ lang: string;
96
+ }
97
+ export interface GetAllCatalogRecordsResponse {
98
+ meta: ResponseMeta | undefined;
99
+ records: CatalogRecordItem[];
100
+ }
101
+ export interface GetCardProductsRequest {
102
+ }
103
+ export interface GetCardProductsResponse {
104
+ meta: ResponseMeta | undefined;
105
+ products: CatalogRecordItem[];
106
+ }
107
+ export interface GetCreditCalculationByProductRequest {
108
+ product_id: string;
109
+ }
110
+ export interface GetCreditCalculationByProductResponse {
111
+ meta: ResponseMeta | undefined;
112
+ calculations_json: string;
113
+ }
114
+ export interface CalculationInput {
115
+ name: string;
116
+ value: string;
117
+ }
118
+ export interface UpdateCreditCalculationRequest {
119
+ product_id: string;
120
+ calculation: string;
121
+ inputs: CalculationInput[];
122
+ }
123
+ export interface UpdateCreditCalculationResponse {
124
+ meta: ResponseMeta | undefined;
125
+ calculation_json: string;
126
+ }
127
+ export interface GetCreditGeneralParametersRequest {
128
+ product_id: string;
129
+ }
130
+ export interface GetCreditGeneralParametersResponse {
131
+ meta: ResponseMeta | undefined;
132
+ general_parameter: CreditGeneralParameter | undefined;
133
+ }
134
+ export interface CreateCreditGeneralParametersRequest {
135
+ card_product_id: string;
136
+ minimum_payment_percentage: number;
137
+ vat_rate: number;
138
+ days_in_interest_formulas: number;
139
+ cut_off_date: number;
140
+ payment_date: string;
141
+ }
142
+ export interface CreateCreditGeneralParametersResponse {
143
+ meta: ResponseMeta | undefined;
144
+ parameters: CreditGeneralParameter | undefined;
145
+ }
146
+ export interface UpdateCreditGeneralParametersRequest {
147
+ product_id: string;
148
+ minimum_payment_percentage: number;
149
+ vat_rate: number;
150
+ days_in_interest_formulas: number;
151
+ cut_off_date: number;
152
+ payment_date: string;
153
+ }
154
+ export interface UpdateCreditGeneralParametersResponse {
155
+ meta: ResponseMeta | undefined;
156
+ general_parameter: CreditGeneralParameter | undefined;
157
+ }
37
158
  export declare const GetAccountStatementConfigurationRequest: MessageFns<GetAccountStatementConfigurationRequest>;
38
159
  export declare const GetAccountStatementConfigurationResponse: MessageFns<GetAccountStatementConfigurationResponse>;
39
160
  export declare const GetAccountStatementByIdRequest: MessageFns<GetAccountStatementByIdRequest>;
@@ -42,6 +163,31 @@ export declare const SaveAccountStatementConfigurationRequest: MessageFns<SaveAc
42
163
  export declare const SaveAccountStatementConfigurationResponse: MessageFns<SaveAccountStatementConfigurationResponse>;
43
164
  export declare const DownloadAccountStatementPdfRequest: MessageFns<DownloadAccountStatementPdfRequest>;
44
165
  export declare const DownloadAccountStatementPdfResponse: MessageFns<DownloadAccountStatementPdfResponse>;
166
+ export declare const GetCatalogMenuRequest: MessageFns<GetCatalogMenuRequest>;
167
+ export declare const GetCatalogMenuResponse: MessageFns<GetCatalogMenuResponse>;
168
+ export declare const GetCatalogRecordsRequest: MessageFns<GetCatalogRecordsRequest>;
169
+ export declare const GetCatalogRecordsResponse: MessageFns<GetCatalogRecordsResponse>;
170
+ export declare const GetCatalogRecordByUniqueIdentifierRequest: MessageFns<GetCatalogRecordByUniqueIdentifierRequest>;
171
+ export declare const GetCatalogRecordByUniqueIdentifierResponse: MessageFns<GetCatalogRecordByUniqueIdentifierResponse>;
172
+ export declare const CreateCatalogRecordRequest: MessageFns<CreateCatalogRecordRequest>;
173
+ export declare const CreateCatalogRecordResponse: MessageFns<CreateCatalogRecordResponse>;
174
+ export declare const UpdateCatalogRecordRequest: MessageFns<UpdateCatalogRecordRequest>;
175
+ export declare const UpdateCatalogRecordResponse: MessageFns<UpdateCatalogRecordResponse>;
176
+ export declare const GetAllCatalogRecordsRequest: MessageFns<GetAllCatalogRecordsRequest>;
177
+ export declare const GetAllCatalogRecordsResponse: MessageFns<GetAllCatalogRecordsResponse>;
178
+ export declare const GetCardProductsRequest: MessageFns<GetCardProductsRequest>;
179
+ export declare const GetCardProductsResponse: MessageFns<GetCardProductsResponse>;
180
+ export declare const GetCreditCalculationByProductRequest: MessageFns<GetCreditCalculationByProductRequest>;
181
+ export declare const GetCreditCalculationByProductResponse: MessageFns<GetCreditCalculationByProductResponse>;
182
+ export declare const CalculationInput: MessageFns<CalculationInput>;
183
+ export declare const UpdateCreditCalculationRequest: MessageFns<UpdateCreditCalculationRequest>;
184
+ export declare const UpdateCreditCalculationResponse: MessageFns<UpdateCreditCalculationResponse>;
185
+ export declare const GetCreditGeneralParametersRequest: MessageFns<GetCreditGeneralParametersRequest>;
186
+ export declare const GetCreditGeneralParametersResponse: MessageFns<GetCreditGeneralParametersResponse>;
187
+ export declare const CreateCreditGeneralParametersRequest: MessageFns<CreateCreditGeneralParametersRequest>;
188
+ export declare const CreateCreditGeneralParametersResponse: MessageFns<CreateCreditGeneralParametersResponse>;
189
+ export declare const UpdateCreditGeneralParametersRequest: MessageFns<UpdateCreditGeneralParametersRequest>;
190
+ export declare const UpdateCreditGeneralParametersResponse: MessageFns<UpdateCreditGeneralParametersResponse>;
45
191
  export type CreditConfigurationsServiceService = typeof CreditConfigurationsServiceService;
46
192
  export declare const CreditConfigurationsServiceService: {
47
193
  readonly getAccountStatementConfiguration: {
@@ -80,12 +226,132 @@ export declare const CreditConfigurationsServiceService: {
80
226
  readonly responseSerialize: (value: DownloadAccountStatementPdfResponse) => Buffer;
81
227
  readonly responseDeserialize: (value: Buffer) => DownloadAccountStatementPdfResponse;
82
228
  };
229
+ readonly getCatalogMenu: {
230
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCatalogMenu";
231
+ readonly requestStream: false;
232
+ readonly responseStream: false;
233
+ readonly requestSerialize: (value: GetCatalogMenuRequest) => Buffer;
234
+ readonly requestDeserialize: (value: Buffer) => GetCatalogMenuRequest;
235
+ readonly responseSerialize: (value: GetCatalogMenuResponse) => Buffer;
236
+ readonly responseDeserialize: (value: Buffer) => GetCatalogMenuResponse;
237
+ };
238
+ readonly getCatalogRecords: {
239
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCatalogRecords";
240
+ readonly requestStream: false;
241
+ readonly responseStream: false;
242
+ readonly requestSerialize: (value: GetCatalogRecordsRequest) => Buffer;
243
+ readonly requestDeserialize: (value: Buffer) => GetCatalogRecordsRequest;
244
+ readonly responseSerialize: (value: GetCatalogRecordsResponse) => Buffer;
245
+ readonly responseDeserialize: (value: Buffer) => GetCatalogRecordsResponse;
246
+ };
247
+ readonly getCatalogRecordByUniqueIdentifier: {
248
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCatalogRecordByUniqueIdentifier";
249
+ readonly requestStream: false;
250
+ readonly responseStream: false;
251
+ readonly requestSerialize: (value: GetCatalogRecordByUniqueIdentifierRequest) => Buffer;
252
+ readonly requestDeserialize: (value: Buffer) => GetCatalogRecordByUniqueIdentifierRequest;
253
+ readonly responseSerialize: (value: GetCatalogRecordByUniqueIdentifierResponse) => Buffer;
254
+ readonly responseDeserialize: (value: Buffer) => GetCatalogRecordByUniqueIdentifierResponse;
255
+ };
256
+ readonly createCatalogRecord: {
257
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/CreateCatalogRecord";
258
+ readonly requestStream: false;
259
+ readonly responseStream: false;
260
+ readonly requestSerialize: (value: CreateCatalogRecordRequest) => Buffer;
261
+ readonly requestDeserialize: (value: Buffer) => CreateCatalogRecordRequest;
262
+ readonly responseSerialize: (value: CreateCatalogRecordResponse) => Buffer;
263
+ readonly responseDeserialize: (value: Buffer) => CreateCatalogRecordResponse;
264
+ };
265
+ readonly updateCatalogRecord: {
266
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/UpdateCatalogRecord";
267
+ readonly requestStream: false;
268
+ readonly responseStream: false;
269
+ readonly requestSerialize: (value: UpdateCatalogRecordRequest) => Buffer;
270
+ readonly requestDeserialize: (value: Buffer) => UpdateCatalogRecordRequest;
271
+ readonly responseSerialize: (value: UpdateCatalogRecordResponse) => Buffer;
272
+ readonly responseDeserialize: (value: Buffer) => UpdateCatalogRecordResponse;
273
+ };
274
+ readonly getAllCatalogRecords: {
275
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetAllCatalogRecords";
276
+ readonly requestStream: false;
277
+ readonly responseStream: false;
278
+ readonly requestSerialize: (value: GetAllCatalogRecordsRequest) => Buffer;
279
+ readonly requestDeserialize: (value: Buffer) => GetAllCatalogRecordsRequest;
280
+ readonly responseSerialize: (value: GetAllCatalogRecordsResponse) => Buffer;
281
+ readonly responseDeserialize: (value: Buffer) => GetAllCatalogRecordsResponse;
282
+ };
283
+ readonly getCardProducts: {
284
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCardProducts";
285
+ readonly requestStream: false;
286
+ readonly responseStream: false;
287
+ readonly requestSerialize: (value: GetCardProductsRequest) => Buffer;
288
+ readonly requestDeserialize: (value: Buffer) => GetCardProductsRequest;
289
+ readonly responseSerialize: (value: GetCardProductsResponse) => Buffer;
290
+ readonly responseDeserialize: (value: Buffer) => GetCardProductsResponse;
291
+ };
292
+ readonly getCreditCalculationByProduct: {
293
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCreditCalculationByProduct";
294
+ readonly requestStream: false;
295
+ readonly responseStream: false;
296
+ readonly requestSerialize: (value: GetCreditCalculationByProductRequest) => Buffer;
297
+ readonly requestDeserialize: (value: Buffer) => GetCreditCalculationByProductRequest;
298
+ readonly responseSerialize: (value: GetCreditCalculationByProductResponse) => Buffer;
299
+ readonly responseDeserialize: (value: Buffer) => GetCreditCalculationByProductResponse;
300
+ };
301
+ readonly updateCreditCalculation: {
302
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/UpdateCreditCalculation";
303
+ readonly requestStream: false;
304
+ readonly responseStream: false;
305
+ readonly requestSerialize: (value: UpdateCreditCalculationRequest) => Buffer;
306
+ readonly requestDeserialize: (value: Buffer) => UpdateCreditCalculationRequest;
307
+ readonly responseSerialize: (value: UpdateCreditCalculationResponse) => Buffer;
308
+ readonly responseDeserialize: (value: Buffer) => UpdateCreditCalculationResponse;
309
+ };
310
+ readonly getCreditGeneralParameters: {
311
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/GetCreditGeneralParameters";
312
+ readonly requestStream: false;
313
+ readonly responseStream: false;
314
+ readonly requestSerialize: (value: GetCreditGeneralParametersRequest) => Buffer;
315
+ readonly requestDeserialize: (value: Buffer) => GetCreditGeneralParametersRequest;
316
+ readonly responseSerialize: (value: GetCreditGeneralParametersResponse) => Buffer;
317
+ readonly responseDeserialize: (value: Buffer) => GetCreditGeneralParametersResponse;
318
+ };
319
+ readonly createCreditGeneralParameters: {
320
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/CreateCreditGeneralParameters";
321
+ readonly requestStream: false;
322
+ readonly responseStream: false;
323
+ readonly requestSerialize: (value: CreateCreditGeneralParametersRequest) => Buffer;
324
+ readonly requestDeserialize: (value: Buffer) => CreateCreditGeneralParametersRequest;
325
+ readonly responseSerialize: (value: CreateCreditGeneralParametersResponse) => Buffer;
326
+ readonly responseDeserialize: (value: Buffer) => CreateCreditGeneralParametersResponse;
327
+ };
328
+ readonly updateCreditGeneralParameters: {
329
+ readonly path: "/kapital.credit_configurations.v1.CreditConfigurationsService/UpdateCreditGeneralParameters";
330
+ readonly requestStream: false;
331
+ readonly responseStream: false;
332
+ readonly requestSerialize: (value: UpdateCreditGeneralParametersRequest) => Buffer;
333
+ readonly requestDeserialize: (value: Buffer) => UpdateCreditGeneralParametersRequest;
334
+ readonly responseSerialize: (value: UpdateCreditGeneralParametersResponse) => Buffer;
335
+ readonly responseDeserialize: (value: Buffer) => UpdateCreditGeneralParametersResponse;
336
+ };
83
337
  };
84
338
  export interface CreditConfigurationsServiceServer extends UntypedServiceImplementation {
85
339
  getAccountStatementConfiguration: handleUnaryCall<GetAccountStatementConfigurationRequest, GetAccountStatementConfigurationResponse>;
86
340
  getAccountStatementById: handleUnaryCall<GetAccountStatementByIdRequest, GetAccountStatementByIdResponse>;
87
341
  saveAccountStatementConfiguration: handleUnaryCall<SaveAccountStatementConfigurationRequest, SaveAccountStatementConfigurationResponse>;
88
342
  downloadAccountStatementPdf: handleUnaryCall<DownloadAccountStatementPdfRequest, DownloadAccountStatementPdfResponse>;
343
+ getCatalogMenu: handleUnaryCall<GetCatalogMenuRequest, GetCatalogMenuResponse>;
344
+ getCatalogRecords: handleUnaryCall<GetCatalogRecordsRequest, GetCatalogRecordsResponse>;
345
+ getCatalogRecordByUniqueIdentifier: handleUnaryCall<GetCatalogRecordByUniqueIdentifierRequest, GetCatalogRecordByUniqueIdentifierResponse>;
346
+ createCatalogRecord: handleUnaryCall<CreateCatalogRecordRequest, CreateCatalogRecordResponse>;
347
+ updateCatalogRecord: handleUnaryCall<UpdateCatalogRecordRequest, UpdateCatalogRecordResponse>;
348
+ getAllCatalogRecords: handleUnaryCall<GetAllCatalogRecordsRequest, GetAllCatalogRecordsResponse>;
349
+ getCardProducts: handleUnaryCall<GetCardProductsRequest, GetCardProductsResponse>;
350
+ getCreditCalculationByProduct: handleUnaryCall<GetCreditCalculationByProductRequest, GetCreditCalculationByProductResponse>;
351
+ updateCreditCalculation: handleUnaryCall<UpdateCreditCalculationRequest, UpdateCreditCalculationResponse>;
352
+ getCreditGeneralParameters: handleUnaryCall<GetCreditGeneralParametersRequest, GetCreditGeneralParametersResponse>;
353
+ createCreditGeneralParameters: handleUnaryCall<CreateCreditGeneralParametersRequest, CreateCreditGeneralParametersResponse>;
354
+ updateCreditGeneralParameters: handleUnaryCall<UpdateCreditGeneralParametersRequest, UpdateCreditGeneralParametersResponse>;
89
355
  }
90
356
  export interface CreditConfigurationsServiceClient extends Client {
91
357
  getAccountStatementConfiguration(request: GetAccountStatementConfigurationRequest, callback: (error: ServiceError | null, response: GetAccountStatementConfigurationResponse) => void): ClientUnaryCall;
@@ -100,6 +366,42 @@ export interface CreditConfigurationsServiceClient extends Client {
100
366
  downloadAccountStatementPdf(request: DownloadAccountStatementPdfRequest, callback: (error: ServiceError | null, response: DownloadAccountStatementPdfResponse) => void): ClientUnaryCall;
101
367
  downloadAccountStatementPdf(request: DownloadAccountStatementPdfRequest, metadata: Metadata, callback: (error: ServiceError | null, response: DownloadAccountStatementPdfResponse) => void): ClientUnaryCall;
102
368
  downloadAccountStatementPdf(request: DownloadAccountStatementPdfRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: DownloadAccountStatementPdfResponse) => void): ClientUnaryCall;
369
+ getCatalogMenu(request: GetCatalogMenuRequest, callback: (error: ServiceError | null, response: GetCatalogMenuResponse) => void): ClientUnaryCall;
370
+ getCatalogMenu(request: GetCatalogMenuRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogMenuResponse) => void): ClientUnaryCall;
371
+ getCatalogMenu(request: GetCatalogMenuRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogMenuResponse) => void): ClientUnaryCall;
372
+ getCatalogRecords(request: GetCatalogRecordsRequest, callback: (error: ServiceError | null, response: GetCatalogRecordsResponse) => void): ClientUnaryCall;
373
+ getCatalogRecords(request: GetCatalogRecordsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogRecordsResponse) => void): ClientUnaryCall;
374
+ getCatalogRecords(request: GetCatalogRecordsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogRecordsResponse) => void): ClientUnaryCall;
375
+ getCatalogRecordByUniqueIdentifier(request: GetCatalogRecordByUniqueIdentifierRequest, callback: (error: ServiceError | null, response: GetCatalogRecordByUniqueIdentifierResponse) => void): ClientUnaryCall;
376
+ getCatalogRecordByUniqueIdentifier(request: GetCatalogRecordByUniqueIdentifierRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatalogRecordByUniqueIdentifierResponse) => void): ClientUnaryCall;
377
+ getCatalogRecordByUniqueIdentifier(request: GetCatalogRecordByUniqueIdentifierRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatalogRecordByUniqueIdentifierResponse) => void): ClientUnaryCall;
378
+ createCatalogRecord(request: CreateCatalogRecordRequest, callback: (error: ServiceError | null, response: CreateCatalogRecordResponse) => void): ClientUnaryCall;
379
+ createCatalogRecord(request: CreateCatalogRecordRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateCatalogRecordResponse) => void): ClientUnaryCall;
380
+ createCatalogRecord(request: CreateCatalogRecordRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateCatalogRecordResponse) => void): ClientUnaryCall;
381
+ updateCatalogRecord(request: UpdateCatalogRecordRequest, callback: (error: ServiceError | null, response: UpdateCatalogRecordResponse) => void): ClientUnaryCall;
382
+ updateCatalogRecord(request: UpdateCatalogRecordRequest, metadata: Metadata, callback: (error: ServiceError | null, response: UpdateCatalogRecordResponse) => void): ClientUnaryCall;
383
+ updateCatalogRecord(request: UpdateCatalogRecordRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: UpdateCatalogRecordResponse) => void): ClientUnaryCall;
384
+ getAllCatalogRecords(request: GetAllCatalogRecordsRequest, callback: (error: ServiceError | null, response: GetAllCatalogRecordsResponse) => void): ClientUnaryCall;
385
+ getAllCatalogRecords(request: GetAllCatalogRecordsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetAllCatalogRecordsResponse) => void): ClientUnaryCall;
386
+ getAllCatalogRecords(request: GetAllCatalogRecordsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetAllCatalogRecordsResponse) => void): ClientUnaryCall;
387
+ getCardProducts(request: GetCardProductsRequest, callback: (error: ServiceError | null, response: GetCardProductsResponse) => void): ClientUnaryCall;
388
+ getCardProducts(request: GetCardProductsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCardProductsResponse) => void): ClientUnaryCall;
389
+ getCardProducts(request: GetCardProductsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCardProductsResponse) => void): ClientUnaryCall;
390
+ getCreditCalculationByProduct(request: GetCreditCalculationByProductRequest, callback: (error: ServiceError | null, response: GetCreditCalculationByProductResponse) => void): ClientUnaryCall;
391
+ getCreditCalculationByProduct(request: GetCreditCalculationByProductRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCreditCalculationByProductResponse) => void): ClientUnaryCall;
392
+ getCreditCalculationByProduct(request: GetCreditCalculationByProductRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCreditCalculationByProductResponse) => void): ClientUnaryCall;
393
+ updateCreditCalculation(request: UpdateCreditCalculationRequest, callback: (error: ServiceError | null, response: UpdateCreditCalculationResponse) => void): ClientUnaryCall;
394
+ updateCreditCalculation(request: UpdateCreditCalculationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: UpdateCreditCalculationResponse) => void): ClientUnaryCall;
395
+ updateCreditCalculation(request: UpdateCreditCalculationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: UpdateCreditCalculationResponse) => void): ClientUnaryCall;
396
+ getCreditGeneralParameters(request: GetCreditGeneralParametersRequest, callback: (error: ServiceError | null, response: GetCreditGeneralParametersResponse) => void): ClientUnaryCall;
397
+ getCreditGeneralParameters(request: GetCreditGeneralParametersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCreditGeneralParametersResponse) => void): ClientUnaryCall;
398
+ getCreditGeneralParameters(request: GetCreditGeneralParametersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCreditGeneralParametersResponse) => void): ClientUnaryCall;
399
+ createCreditGeneralParameters(request: CreateCreditGeneralParametersRequest, callback: (error: ServiceError | null, response: CreateCreditGeneralParametersResponse) => void): ClientUnaryCall;
400
+ createCreditGeneralParameters(request: CreateCreditGeneralParametersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CreateCreditGeneralParametersResponse) => void): ClientUnaryCall;
401
+ createCreditGeneralParameters(request: CreateCreditGeneralParametersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: CreateCreditGeneralParametersResponse) => void): ClientUnaryCall;
402
+ updateCreditGeneralParameters(request: UpdateCreditGeneralParametersRequest, callback: (error: ServiceError | null, response: UpdateCreditGeneralParametersResponse) => void): ClientUnaryCall;
403
+ updateCreditGeneralParameters(request: UpdateCreditGeneralParametersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: UpdateCreditGeneralParametersResponse) => void): ClientUnaryCall;
404
+ updateCreditGeneralParameters(request: UpdateCreditGeneralParametersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: UpdateCreditGeneralParametersResponse) => void): ClientUnaryCall;
103
405
  }
104
406
  export declare const CreditConfigurationsServiceClient: {
105
407
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): CreditConfigurationsServiceClient;