@stashfin/grpc 1.2.865 → 1.2.867
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/ts/bbps/getbillforreminder.d.ts +111 -0
- package/ts/bbps/getbillforreminder.js +742 -0
- package/ts/bbps.d.ts +14 -0
- package/ts/bbps.js +10 -0
- package/ts/upi/getallupitxnsdetails.d.ts +63 -0
- package/ts/upi/getallupitxnsdetails.js +413 -0
- package/ts/upi.d.ts +14 -0
- package/ts/upi.js +10 -0
package/package.json
CHANGED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bbps.getbillforreminder";
|
|
3
|
+
/** Request message for fetching bill for reminder */
|
|
4
|
+
export interface BillFetchRequest {
|
|
5
|
+
customer_profile: CustomerProfile | undefined;
|
|
6
|
+
biller_id: string;
|
|
7
|
+
authenticators: Authenticator[];
|
|
8
|
+
payment_amount?: string | undefined;
|
|
9
|
+
additional_validation_details: AdditionalValidationDetail[];
|
|
10
|
+
}
|
|
11
|
+
/** Customer profile information */
|
|
12
|
+
export interface CustomerProfile {
|
|
13
|
+
customer_id: number;
|
|
14
|
+
customer_name: string;
|
|
15
|
+
mobile: string;
|
|
16
|
+
email?: string | undefined;
|
|
17
|
+
pincode?: string | undefined;
|
|
18
|
+
device_id?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/** Authenticator parameters */
|
|
21
|
+
export interface Authenticator {
|
|
22
|
+
parameter_name: string;
|
|
23
|
+
value: string;
|
|
24
|
+
}
|
|
25
|
+
/** Additional validation details */
|
|
26
|
+
export interface AdditionalValidationDetail {
|
|
27
|
+
parameter_name: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}
|
|
30
|
+
/** Response message (you can customize this based on your needs) */
|
|
31
|
+
export interface BillFetchResponse {
|
|
32
|
+
success: boolean;
|
|
33
|
+
message: string;
|
|
34
|
+
bill_data?: BillData | undefined;
|
|
35
|
+
}
|
|
36
|
+
/** Bill data structure (similar to getbills.proto) */
|
|
37
|
+
export interface BillData {
|
|
38
|
+
id: number;
|
|
39
|
+
utility_id: number;
|
|
40
|
+
utility_name: string;
|
|
41
|
+
vendor_id: number;
|
|
42
|
+
biller_id: string;
|
|
43
|
+
account_no: string;
|
|
44
|
+
bill_amount: number;
|
|
45
|
+
provider_logo: string;
|
|
46
|
+
is_due: boolean;
|
|
47
|
+
note: string;
|
|
48
|
+
is_pending: boolean;
|
|
49
|
+
is_failed: boolean;
|
|
50
|
+
customer_params: Authenticator[];
|
|
51
|
+
additional_validation_details: AdditionalValidationDetail[];
|
|
52
|
+
}
|
|
53
|
+
export declare const BillFetchRequest: {
|
|
54
|
+
encode(message: BillFetchRequest, writer?: _m0.Writer): _m0.Writer;
|
|
55
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BillFetchRequest;
|
|
56
|
+
fromJSON(object: any): BillFetchRequest;
|
|
57
|
+
toJSON(message: BillFetchRequest): unknown;
|
|
58
|
+
create<I extends Exact<DeepPartial<BillFetchRequest>, I>>(base?: I): BillFetchRequest;
|
|
59
|
+
fromPartial<I extends Exact<DeepPartial<BillFetchRequest>, I>>(object: I): BillFetchRequest;
|
|
60
|
+
};
|
|
61
|
+
export declare const CustomerProfile: {
|
|
62
|
+
encode(message: CustomerProfile, writer?: _m0.Writer): _m0.Writer;
|
|
63
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CustomerProfile;
|
|
64
|
+
fromJSON(object: any): CustomerProfile;
|
|
65
|
+
toJSON(message: CustomerProfile): unknown;
|
|
66
|
+
create<I extends Exact<DeepPartial<CustomerProfile>, I>>(base?: I): CustomerProfile;
|
|
67
|
+
fromPartial<I extends Exact<DeepPartial<CustomerProfile>, I>>(object: I): CustomerProfile;
|
|
68
|
+
};
|
|
69
|
+
export declare const Authenticator: {
|
|
70
|
+
encode(message: Authenticator, writer?: _m0.Writer): _m0.Writer;
|
|
71
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Authenticator;
|
|
72
|
+
fromJSON(object: any): Authenticator;
|
|
73
|
+
toJSON(message: Authenticator): unknown;
|
|
74
|
+
create<I extends Exact<DeepPartial<Authenticator>, I>>(base?: I): Authenticator;
|
|
75
|
+
fromPartial<I extends Exact<DeepPartial<Authenticator>, I>>(object: I): Authenticator;
|
|
76
|
+
};
|
|
77
|
+
export declare const AdditionalValidationDetail: {
|
|
78
|
+
encode(message: AdditionalValidationDetail, writer?: _m0.Writer): _m0.Writer;
|
|
79
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AdditionalValidationDetail;
|
|
80
|
+
fromJSON(object: any): AdditionalValidationDetail;
|
|
81
|
+
toJSON(message: AdditionalValidationDetail): unknown;
|
|
82
|
+
create<I extends Exact<DeepPartial<AdditionalValidationDetail>, I>>(base?: I): AdditionalValidationDetail;
|
|
83
|
+
fromPartial<I extends Exact<DeepPartial<AdditionalValidationDetail>, I>>(object: I): AdditionalValidationDetail;
|
|
84
|
+
};
|
|
85
|
+
export declare const BillFetchResponse: {
|
|
86
|
+
encode(message: BillFetchResponse, writer?: _m0.Writer): _m0.Writer;
|
|
87
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BillFetchResponse;
|
|
88
|
+
fromJSON(object: any): BillFetchResponse;
|
|
89
|
+
toJSON(message: BillFetchResponse): unknown;
|
|
90
|
+
create<I extends Exact<DeepPartial<BillFetchResponse>, I>>(base?: I): BillFetchResponse;
|
|
91
|
+
fromPartial<I extends Exact<DeepPartial<BillFetchResponse>, I>>(object: I): BillFetchResponse;
|
|
92
|
+
};
|
|
93
|
+
export declare const BillData: {
|
|
94
|
+
encode(message: BillData, writer?: _m0.Writer): _m0.Writer;
|
|
95
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BillData;
|
|
96
|
+
fromJSON(object: any): BillData;
|
|
97
|
+
toJSON(message: BillData): unknown;
|
|
98
|
+
create<I extends Exact<DeepPartial<BillData>, I>>(base?: I): BillData;
|
|
99
|
+
fromPartial<I extends Exact<DeepPartial<BillData>, I>>(object: I): BillData;
|
|
100
|
+
};
|
|
101
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
102
|
+
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 {} ? {
|
|
103
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
104
|
+
} : Partial<T>;
|
|
105
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
106
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
107
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
108
|
+
} & {
|
|
109
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
110
|
+
};
|
|
111
|
+
export {};
|