@stashfin/grpc 1.2.460 → 1.2.462
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/upi/addaccount.d.ts +49 -0
- package/ts/upi/addaccount.js +332 -0
- package/ts/upi/getaccountsbyprovider.d.ts +119 -0
- package/ts/upi/getaccountsbyprovider.js +827 -0
- package/ts/upi/getprofile.d.ts +138 -0
- package/ts/upi/getprofile.js +1057 -0
- package/ts/upi/initiatetransaction.d.ts +6 -0
- package/ts/upi/initiatetransaction.js +90 -0
- package/ts/upi/validatevpa.d.ts +58 -0
- package/ts/upi/validatevpa.js +353 -0
- package/ts/upi.d.ts +42 -14
- package/ts/upi.js +30 -10
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.getProfile";
|
|
3
|
+
export interface getProfileRequest {
|
|
4
|
+
mobile: string;
|
|
5
|
+
device_id: string;
|
|
6
|
+
profile_id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface getProfileResponse {
|
|
9
|
+
Success?: boolean | undefined;
|
|
10
|
+
response?: string | undefined;
|
|
11
|
+
ActCode?: string | undefined;
|
|
12
|
+
message?: string | undefined;
|
|
13
|
+
Response?: string | undefined;
|
|
14
|
+
BankRRN?: string | undefined;
|
|
15
|
+
UpiTranlogId?: string | undefined;
|
|
16
|
+
UserProfile?: string | undefined;
|
|
17
|
+
mobileAppData?: MobileAppData | undefined;
|
|
18
|
+
SeqNo?: string | undefined;
|
|
19
|
+
PayerRespCode?: string | undefined;
|
|
20
|
+
PayeeRespCode?: string | undefined;
|
|
21
|
+
PayerRevRespCode?: string | undefined;
|
|
22
|
+
PayeeRevRespCode?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface MobileAppData {
|
|
25
|
+
merchantUser?: string | undefined;
|
|
26
|
+
name?: string | undefined;
|
|
27
|
+
mobile?: string | undefined;
|
|
28
|
+
details?: Details | undefined;
|
|
29
|
+
userType?: string | undefined;
|
|
30
|
+
status?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
/** Details nested message */
|
|
33
|
+
export interface Details {
|
|
34
|
+
accounts: Account[];
|
|
35
|
+
}
|
|
36
|
+
/** Account nested message */
|
|
37
|
+
export interface Account {
|
|
38
|
+
regMobFormat?: string | undefined;
|
|
39
|
+
defaultVa?: string | undefined;
|
|
40
|
+
mmid?: string | undefined;
|
|
41
|
+
globalStartDate?: string | undefined;
|
|
42
|
+
va?: string | undefined;
|
|
43
|
+
defaultDebit?: string | undefined;
|
|
44
|
+
globalEndDate?: string | undefined;
|
|
45
|
+
aadharOtp?: string | undefined;
|
|
46
|
+
merchantGenre?: string | undefined;
|
|
47
|
+
accProviderId?: number | undefined;
|
|
48
|
+
accRefNumber?: string | undefined;
|
|
49
|
+
name?: string | undefined;
|
|
50
|
+
allowGlobalTxn?: string | undefined;
|
|
51
|
+
accProviderName?: string | undefined;
|
|
52
|
+
credsAllowed?: CredsAllowed | undefined;
|
|
53
|
+
ifsc?: string | undefined;
|
|
54
|
+
accType?: string | undefined;
|
|
55
|
+
defaultCredit?: string | undefined;
|
|
56
|
+
account?: string | undefined;
|
|
57
|
+
status?: string | undefined;
|
|
58
|
+
onboardingType?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
/** CredsAllowed nested message */
|
|
61
|
+
export interface CredsAllowed {
|
|
62
|
+
Child: CredChild[];
|
|
63
|
+
}
|
|
64
|
+
/** CredChild nested message */
|
|
65
|
+
export interface CredChild {
|
|
66
|
+
CredsAllowedDLength?: string | undefined;
|
|
67
|
+
CredsAllowedSubType?: string | undefined;
|
|
68
|
+
CredsAllowedType?: string | undefined;
|
|
69
|
+
dLength?: string | undefined;
|
|
70
|
+
CredsAllowedDType?: string | undefined;
|
|
71
|
+
}
|
|
72
|
+
export declare const getProfileRequest: {
|
|
73
|
+
encode(message: getProfileRequest, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getProfileRequest;
|
|
75
|
+
fromJSON(object: any): getProfileRequest;
|
|
76
|
+
toJSON(message: getProfileRequest): unknown;
|
|
77
|
+
create<I extends Exact<DeepPartial<getProfileRequest>, I>>(base?: I): getProfileRequest;
|
|
78
|
+
fromPartial<I extends Exact<DeepPartial<getProfileRequest>, I>>(object: I): getProfileRequest;
|
|
79
|
+
};
|
|
80
|
+
export declare const getProfileResponse: {
|
|
81
|
+
encode(message: getProfileResponse, writer?: _m0.Writer): _m0.Writer;
|
|
82
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getProfileResponse;
|
|
83
|
+
fromJSON(object: any): getProfileResponse;
|
|
84
|
+
toJSON(message: getProfileResponse): unknown;
|
|
85
|
+
create<I extends Exact<DeepPartial<getProfileResponse>, I>>(base?: I): getProfileResponse;
|
|
86
|
+
fromPartial<I extends Exact<DeepPartial<getProfileResponse>, I>>(object: I): getProfileResponse;
|
|
87
|
+
};
|
|
88
|
+
export declare const MobileAppData: {
|
|
89
|
+
encode(message: MobileAppData, writer?: _m0.Writer): _m0.Writer;
|
|
90
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MobileAppData;
|
|
91
|
+
fromJSON(object: any): MobileAppData;
|
|
92
|
+
toJSON(message: MobileAppData): unknown;
|
|
93
|
+
create<I extends Exact<DeepPartial<MobileAppData>, I>>(base?: I): MobileAppData;
|
|
94
|
+
fromPartial<I extends Exact<DeepPartial<MobileAppData>, I>>(object: I): MobileAppData;
|
|
95
|
+
};
|
|
96
|
+
export declare const Details: {
|
|
97
|
+
encode(message: Details, writer?: _m0.Writer): _m0.Writer;
|
|
98
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Details;
|
|
99
|
+
fromJSON(object: any): Details;
|
|
100
|
+
toJSON(message: Details): unknown;
|
|
101
|
+
create<I extends Exact<DeepPartial<Details>, I>>(base?: I): Details;
|
|
102
|
+
fromPartial<I extends Exact<DeepPartial<Details>, I>>(object: I): Details;
|
|
103
|
+
};
|
|
104
|
+
export declare const Account: {
|
|
105
|
+
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
106
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
107
|
+
fromJSON(object: any): Account;
|
|
108
|
+
toJSON(message: Account): unknown;
|
|
109
|
+
create<I extends Exact<DeepPartial<Account>, I>>(base?: I): Account;
|
|
110
|
+
fromPartial<I extends Exact<DeepPartial<Account>, I>>(object: I): Account;
|
|
111
|
+
};
|
|
112
|
+
export declare const CredsAllowed: {
|
|
113
|
+
encode(message: CredsAllowed, writer?: _m0.Writer): _m0.Writer;
|
|
114
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CredsAllowed;
|
|
115
|
+
fromJSON(object: any): CredsAllowed;
|
|
116
|
+
toJSON(message: CredsAllowed): unknown;
|
|
117
|
+
create<I extends Exact<DeepPartial<CredsAllowed>, I>>(base?: I): CredsAllowed;
|
|
118
|
+
fromPartial<I extends Exact<DeepPartial<CredsAllowed>, I>>(object: I): CredsAllowed;
|
|
119
|
+
};
|
|
120
|
+
export declare const CredChild: {
|
|
121
|
+
encode(message: CredChild, writer?: _m0.Writer): _m0.Writer;
|
|
122
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CredChild;
|
|
123
|
+
fromJSON(object: any): CredChild;
|
|
124
|
+
toJSON(message: CredChild): unknown;
|
|
125
|
+
create<I extends Exact<DeepPartial<CredChild>, I>>(base?: I): CredChild;
|
|
126
|
+
fromPartial<I extends Exact<DeepPartial<CredChild>, I>>(object: I): CredChild;
|
|
127
|
+
};
|
|
128
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
129
|
+
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 {} ? {
|
|
130
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
131
|
+
} : Partial<T>;
|
|
132
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
133
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
134
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
135
|
+
} & {
|
|
136
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
137
|
+
};
|
|
138
|
+
export {};
|