@postpaybr/protos 1.1.2 → 1.1.7

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 (157) hide show
  1. package/dist/typescript/account-entry.d.ts +80 -0
  2. package/dist/typescript/account-entry.js +28 -0
  3. package/dist/typescript/address.d.ts +65 -0
  4. package/dist/typescript/address.js +29 -0
  5. package/dist/typescript/admin-card-verification.d.ts +86 -0
  6. package/dist/typescript/admin-card-verification.js +28 -0
  7. package/dist/typescript/administrator.d.ts +176 -0
  8. package/dist/typescript/administrator.js +37 -0
  9. package/dist/typescript/anticipation.d.ts +84 -0
  10. package/dist/typescript/anticipation.js +30 -0
  11. package/dist/typescript/asset.d.ts +43 -0
  12. package/dist/typescript/asset.js +29 -0
  13. package/dist/typescript/auth.d.ts +28 -0
  14. package/dist/typescript/auth.js +24 -0
  15. package/dist/typescript/bank-account.d.ts +63 -0
  16. package/dist/typescript/bank-account.js +29 -0
  17. package/dist/typescript/card-vault.d.ts +35 -0
  18. package/dist/typescript/card-vault.js +24 -0
  19. package/dist/typescript/card-verification.d.ts +29 -0
  20. package/dist/typescript/card-verification.js +27 -0
  21. package/dist/typescript/card.d.ts +147 -0
  22. package/dist/typescript/card.js +33 -0
  23. package/dist/typescript/charge-schedule.d.ts +35 -0
  24. package/dist/typescript/charge-schedule.js +24 -0
  25. package/dist/typescript/charge.d.ts +538 -0
  26. package/dist/typescript/charge.js +55 -0
  27. package/dist/typescript/context.d.ts +154 -0
  28. package/dist/typescript/context.js +32 -0
  29. package/dist/typescript/customer.d.ts +213 -0
  30. package/dist/typescript/customer.js +39 -0
  31. package/dist/typescript/daily-balance.d.ts +32 -0
  32. package/dist/typescript/daily-balance.js +24 -0
  33. package/dist/typescript/document-verification.d.ts +106 -0
  34. package/dist/typescript/document-verification.js +30 -0
  35. package/dist/typescript/email.d.ts +71 -0
  36. package/dist/typescript/email.js +31 -0
  37. package/dist/typescript/expo-push.d.ts +31 -0
  38. package/dist/typescript/expo-push.js +24 -0
  39. package/dist/typescript/fee.d.ts +66 -0
  40. package/dist/typescript/fee.js +28 -0
  41. package/dist/typescript/location.d.ts +38 -0
  42. package/dist/typescript/location.js +24 -0
  43. package/dist/typescript/notification.d.ts +198 -0
  44. package/dist/typescript/notification.js +35 -0
  45. package/dist/typescript/order.d.ts +173 -0
  46. package/dist/typescript/order.js +34 -0
  47. package/dist/typescript/payable.d.ts +226 -0
  48. package/dist/typescript/payable.js +37 -0
  49. package/dist/typescript/payer.d.ts +23 -0
  50. package/dist/typescript/payer.js +24 -0
  51. package/dist/typescript/payment-calculator.d.ts +135 -0
  52. package/dist/typescript/payment-calculator.js +29 -0
  53. package/dist/typescript/payment-card.d.ts +189 -0
  54. package/dist/typescript/payment-card.js +27 -0
  55. package/dist/typescript/payment-gateway.d.ts +92 -0
  56. package/dist/typescript/payment-gateway.js +31 -0
  57. package/dist/typescript/payment-pix.d.ts +101 -0
  58. package/dist/typescript/payment-pix.js +24 -0
  59. package/dist/typescript/receipt.d.ts +193 -0
  60. package/dist/typescript/receipt.js +33 -0
  61. package/dist/typescript/recipient-payment-gateway.d.ts +95 -0
  62. package/dist/typescript/recipient-payment-gateway.js +30 -0
  63. package/dist/typescript/recipient.d.ts +222 -0
  64. package/dist/typescript/recipient.js +36 -0
  65. package/dist/typescript/role.d.ts +57 -0
  66. package/dist/typescript/role.js +30 -0
  67. package/dist/typescript/sms.d.ts +34 -0
  68. package/dist/typescript/sms.js +24 -0
  69. package/dist/typescript/tax.d.ts +293 -0
  70. package/dist/typescript/tax.js +36 -0
  71. package/dist/typescript/transfer.d.ts +185 -0
  72. package/dist/typescript/transfer.js +23 -0
  73. package/dist/typescript/two-factor.d.ts +66 -0
  74. package/dist/typescript/two-factor.js +30 -0
  75. package/dist/typescript/user.d.ts +196 -0
  76. package/dist/typescript/user.js +41 -0
  77. package/dist/typescript/wallet.d.ts +18 -0
  78. package/dist/typescript/wallet.js +24 -0
  79. package/package.json +11 -9
  80. package/typescript/account-entry.ts +0 -177
  81. package/typescript/address.ts +0 -133
  82. package/typescript/admin-card-verification.ts +0 -181
  83. package/typescript/administrator.ts +0 -375
  84. package/typescript/anticipation.ts +0 -187
  85. package/typescript/asset.ts +0 -123
  86. package/typescript/auth.ts +0 -84
  87. package/typescript/bank-account.ts +0 -157
  88. package/typescript/card-vault.ts +0 -92
  89. package/typescript/card-verification.ts +0 -93
  90. package/typescript/card.ts +0 -283
  91. package/typescript/charge-schedule.ts +0 -86
  92. package/typescript/charge.ts +0 -930
  93. package/typescript/context.ts +0 -296
  94. package/typescript/customer.ts +0 -425
  95. package/typescript/daily-balance.ts +0 -94
  96. package/typescript/document-verification.ts +0 -219
  97. package/typescript/email.ts +0 -183
  98. package/typescript/expo-push.ts +0 -75
  99. package/typescript/fee.ts +0 -131
  100. package/typescript/location.ts +0 -96
  101. package/typescript/notification.ts +0 -372
  102. package/typescript/order.ts +0 -311
  103. package/typescript/payable.ts +0 -414
  104. package/typescript/payer.ts +0 -68
  105. package/typescript/payment-calculator.ts +0 -252
  106. package/typescript/payment-card.ts +0 -289
  107. package/typescript/payment-gateway.ts +0 -209
  108. package/typescript/payment-pix.ts +0 -170
  109. package/typescript/receipt.ts +0 -344
  110. package/typescript/recipient-payment-gateway.ts +0 -209
  111. package/typescript/recipient.ts +0 -413
  112. package/typescript/role.ts +0 -144
  113. package/typescript/sms.ts +0 -96
  114. package/typescript/tax.ts +0 -463
  115. package/typescript/transfer.ts +0 -260
  116. package/typescript/two-factor.ts +0 -177
  117. package/typescript/user.ts +0 -413
  118. package/typescript/wallet.ts +0 -63
  119. /package/{account-entry.proto → src/protos/account-entry.proto} +0 -0
  120. /package/{address.proto → src/protos/address.proto} +0 -0
  121. /package/{admin-card-verification.proto → src/protos/admin-card-verification.proto} +0 -0
  122. /package/{administrator.proto → src/protos/administrator.proto} +0 -0
  123. /package/{anticipation.proto → src/protos/anticipation.proto} +0 -0
  124. /package/{asset.proto → src/protos/asset.proto} +0 -0
  125. /package/{auth.proto → src/protos/auth.proto} +0 -0
  126. /package/{bank-account.proto → src/protos/bank-account.proto} +0 -0
  127. /package/{card-vault.proto → src/protos/card-vault.proto} +0 -0
  128. /package/{card-verification.proto → src/protos/card-verification.proto} +0 -0
  129. /package/{card.proto → src/protos/card.proto} +0 -0
  130. /package/{charge-schedule.proto → src/protos/charge-schedule.proto} +0 -0
  131. /package/{charge.proto → src/protos/charge.proto} +0 -0
  132. /package/{context.proto → src/protos/context.proto} +0 -0
  133. /package/{customer.proto → src/protos/customer.proto} +0 -0
  134. /package/{daily-balance.proto → src/protos/daily-balance.proto} +0 -0
  135. /package/{document-verification.proto → src/protos/document-verification.proto} +0 -0
  136. /package/{email.proto → src/protos/email.proto} +0 -0
  137. /package/{expo-push.proto → src/protos/expo-push.proto} +0 -0
  138. /package/{fee.proto → src/protos/fee.proto} +0 -0
  139. /package/{location.proto → src/protos/location.proto} +0 -0
  140. /package/{notification.proto → src/protos/notification.proto} +0 -0
  141. /package/{order.proto → src/protos/order.proto} +0 -0
  142. /package/{payable.proto → src/protos/payable.proto} +0 -0
  143. /package/{payer.proto → src/protos/payer.proto} +0 -0
  144. /package/{payment-calculator.proto → src/protos/payment-calculator.proto} +0 -0
  145. /package/{payment-card.proto → src/protos/payment-card.proto} +0 -0
  146. /package/{payment-gateway.proto → src/protos/payment-gateway.proto} +0 -0
  147. /package/{payment-pix.proto → src/protos/payment-pix.proto} +0 -0
  148. /package/{receipt.proto → src/protos/receipt.proto} +0 -0
  149. /package/{recipient-payment-gateway.proto → src/protos/recipient-payment-gateway.proto} +0 -0
  150. /package/{recipient.proto → src/protos/recipient.proto} +0 -0
  151. /package/{role.proto → src/protos/role.proto} +0 -0
  152. /package/{sms.proto → src/protos/sms.proto} +0 -0
  153. /package/{tax.proto → src/protos/tax.proto} +0 -0
  154. /package/{transfer.proto → src/protos/transfer.proto} +0 -0
  155. /package/{two-factor.proto → src/protos/two-factor.proto} +0 -0
  156. /package/{user.proto → src/protos/user.proto} +0 -0
  157. /package/{wallet.proto → src/protos/wallet.proto} +0 -0
@@ -1,413 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v2.6.0
4
- // protoc v3.20.3
5
- // source: user.proto
6
-
7
- /* eslint-disable */
8
- import { AccountType } from '@postpaybr/contracts/types';
9
- import { GrpcMethod, GrpcStreamMethod } from '@nestjs/microservices';
10
- import { Observable } from 'rxjs';
11
- import { UserStatus } from '@postpaybr/contracts/enums';
12
-
13
- export const protobufPackage = 'user';
14
-
15
- export interface CreateChangePasswordRequest {
16
- accountId: string;
17
- token: string;
18
- attempts?: number;
19
- }
20
-
21
- export interface CreateChangePasswordResponse {
22
- success: boolean;
23
- }
24
-
25
- export interface getChangePasswordByAccountIdRequest {
26
- accountId: string;
27
- }
28
-
29
- export interface getChangePasswordByAccountIdResponse {
30
- changePassword: ChangePasswordEntity | undefined;
31
- }
32
-
33
- export interface VerifyChangePasswordRequest {
34
- token: string;
35
- }
36
-
37
- export interface VerifyChangePasswordResponse {
38
- success: boolean;
39
- }
40
-
41
- export interface UpdateChangePasswordAttemptsRequest {
42
- id: string;
43
- attempts: number;
44
- }
45
-
46
- export interface UpdateChangePasswordAttemptsResponse {
47
- success: boolean;
48
- }
49
-
50
- export interface ChangePasswordEntity {
51
- id: string;
52
- token: string;
53
- attempts: number;
54
- isVerified: boolean;
55
- createdAt: Date;
56
- user: User | undefined;
57
- }
58
-
59
- export interface CreateUserRequest {
60
- password: string;
61
- devices: CreateDevice[];
62
- }
63
-
64
- export interface UpdateUserAccountIdRequest {
65
- userId: string;
66
- accountId: string;
67
- accountType: AccountType;
68
- }
69
-
70
- export interface GetUserByIdRequest {
71
- id: string;
72
- }
73
-
74
- export interface GetUserByAccountRequest {
75
- accountId: string;
76
- accountType: AccountType;
77
- }
78
-
79
- export interface SendRecoveryPasswordEmailRequest {
80
- email: string;
81
- }
82
-
83
- export interface SendRecoveryPasswordEmailResponse {
84
- success: boolean;
85
- }
86
-
87
- export interface HandleRecoveryPasswordRequest {
88
- token: string;
89
- data: RecoveryPasswordDto | undefined;
90
- }
91
-
92
- export interface HandleChangePasswordRequest {
93
- accountId: string;
94
- accountType: AccountType;
95
- newPassword: string;
96
- }
97
-
98
- export interface ChangeStatusRequest {
99
- accountId: string;
100
- accountType: AccountType;
101
- status: UserStatus;
102
- }
103
-
104
- export interface ChangeStatusResponse {
105
- success: boolean;
106
- }
107
-
108
- export interface User {
109
- id: string;
110
- password: string;
111
- status: UserStatus;
112
- roles: Role[];
113
- accountId: string;
114
- accountType: AccountType;
115
- devices: Device[];
116
- pin: string;
117
- pinAttempts: number;
118
- createdAt: Date;
119
- updatedAt: Date;
120
- twoFactorEnabled: boolean;
121
- twoFactorSecret: string | null;
122
- twoFactorBackupCodes?: string[];
123
- twoFactorEnabledAt: Date | null;
124
- }
125
-
126
- export interface Role {
127
- id: string;
128
- code: string;
129
- description: string;
130
- permissions: string[];
131
- }
132
-
133
- export interface UserWithDevices {
134
- user: User | undefined;
135
- devices: Device[];
136
- }
137
-
138
- export interface Device {
139
- id: string;
140
- token: string;
141
- expoPushToken: string;
142
- user: User;
143
- }
144
-
145
- export interface CreateDevice {
146
- token?: string;
147
- expoPushToken: string;
148
- }
149
-
150
- export interface RecoveryPasswordDto {
151
- newPassword: string;
152
- email: string;
153
- }
154
-
155
- export interface GetUserRolesRequest {
156
- accountId: string;
157
- }
158
-
159
- export interface GetUserRolesResponse {
160
- roles: Role[];
161
- }
162
-
163
- export interface UpdateUserRolesRequest {
164
- accountId: string;
165
- newRoleIds: string[];
166
- }
167
-
168
- export interface UpdateUserRolesResponse {
169
- success: boolean;
170
- }
171
-
172
- export interface GetAccountIdsByStatusRequest {
173
- statuses: string[];
174
- }
175
-
176
- export interface GetAccountIdsByStatusResponse {
177
- accountIds: string[];
178
- }
179
-
180
- export interface GetUserStatusByAccountIdRequest {
181
- accountId: string;
182
- }
183
-
184
- export interface GetUserStatusByAccountIdResponse {
185
- status: UserStatus;
186
- }
187
-
188
- export interface UpdateUsersStatusByAccountIdsRequest {
189
- accountIds: string[];
190
- status: UserStatus;
191
- }
192
-
193
- export interface UpdateUsersStatusByAccountIdsResponse {
194
- success: boolean;
195
- }
196
-
197
- export const USER_PACKAGE_NAME = 'user';
198
-
199
- export interface UserServiceClient {
200
- /** Change Password Methods */
201
-
202
- createChangePassword(
203
- request: CreateChangePasswordRequest,
204
- ): Observable<CreateChangePasswordResponse>;
205
-
206
- getChangePasswordByAccountId(
207
- request: getChangePasswordByAccountIdRequest,
208
- ): Observable<getChangePasswordByAccountIdResponse>;
209
-
210
- verifyChangePassword(
211
- request: VerifyChangePasswordRequest,
212
- ): Observable<VerifyChangePasswordResponse>;
213
-
214
- updateChangePasswordAttempts(
215
- request: UpdateChangePasswordAttemptsRequest,
216
- ): Observable<UpdateChangePasswordAttemptsResponse>;
217
-
218
- /** User Methods */
219
-
220
- createUser(request: CreateUserRequest): Observable<UserWithDevices>;
221
-
222
- updateUserAccountId(request: UpdateUserAccountIdRequest): Observable<User>;
223
-
224
- getUserById(request: GetUserByIdRequest): Observable<User>;
225
-
226
- getUserByAccount(request: GetUserByAccountRequest): Observable<User>;
227
-
228
- sendRecoveryPasswordEmail(
229
- request: SendRecoveryPasswordEmailRequest,
230
- ): Observable<SendRecoveryPasswordEmailResponse>;
231
-
232
- handleRecoveryPassword(
233
- request: HandleRecoveryPasswordRequest,
234
- ): Observable<User>;
235
-
236
- handleChangePassword(request: HandleChangePasswordRequest): Observable<User>;
237
-
238
- changeStatus(request: ChangeStatusRequest): Observable<ChangeStatusResponse>;
239
-
240
- getUserRoles(request: GetUserRolesRequest): Observable<GetUserRolesResponse>;
241
-
242
- updateUserRoles(
243
- request: UpdateUserRolesRequest,
244
- ): Observable<UpdateUserRolesResponse>;
245
-
246
- getAccountIdsByStatus(
247
- request: GetAccountIdsByStatusRequest,
248
- ): Observable<GetAccountIdsByStatusResponse>;
249
-
250
- getUserStatusByAccountId(
251
- request: GetUserStatusByAccountIdRequest,
252
- ): Observable<GetUserStatusByAccountIdResponse>;
253
-
254
- updateUsersStatusByAccountIds(
255
- request: UpdateUsersStatusByAccountIdsRequest,
256
- ): Observable<UpdateUsersStatusByAccountIdsResponse>;
257
- }
258
-
259
- export interface UserServiceController {
260
- /** Change Password Methods */
261
-
262
- createChangePassword(
263
- request: CreateChangePasswordRequest,
264
- ):
265
- | Promise<CreateChangePasswordResponse>
266
- | Observable<CreateChangePasswordResponse>
267
- | CreateChangePasswordResponse;
268
-
269
- getChangePasswordByAccountId(
270
- request: getChangePasswordByAccountIdRequest,
271
- ):
272
- | Promise<getChangePasswordByAccountIdResponse>
273
- | Observable<getChangePasswordByAccountIdResponse>
274
- | getChangePasswordByAccountIdResponse;
275
-
276
- verifyChangePassword(
277
- request: VerifyChangePasswordRequest,
278
- ):
279
- | Promise<VerifyChangePasswordResponse>
280
- | Observable<VerifyChangePasswordResponse>
281
- | VerifyChangePasswordResponse;
282
-
283
- updateChangePasswordAttempts(
284
- request: UpdateChangePasswordAttemptsRequest,
285
- ):
286
- | Promise<UpdateChangePasswordAttemptsResponse>
287
- | Observable<UpdateChangePasswordAttemptsResponse>
288
- | UpdateChangePasswordAttemptsResponse;
289
-
290
- /** User Methods */
291
-
292
- createUser(
293
- request: CreateUserRequest,
294
- ): Promise<UserWithDevices> | Observable<UserWithDevices> | UserWithDevices;
295
-
296
- updateUserAccountId(
297
- request: UpdateUserAccountIdRequest,
298
- ): Promise<User> | Observable<User> | User;
299
-
300
- getUserById(
301
- request: GetUserByIdRequest,
302
- ): Promise<User> | Observable<User> | User;
303
-
304
- getUserByAccount(
305
- request: GetUserByAccountRequest,
306
- ): Promise<User> | Observable<User> | User;
307
-
308
- sendRecoveryPasswordEmail(
309
- request: SendRecoveryPasswordEmailRequest,
310
- ):
311
- | Promise<SendRecoveryPasswordEmailResponse>
312
- | Observable<SendRecoveryPasswordEmailResponse>
313
- | SendRecoveryPasswordEmailResponse;
314
-
315
- handleRecoveryPassword(
316
- request: HandleRecoveryPasswordRequest,
317
- ): Promise<User> | Observable<User> | User;
318
-
319
- handleChangePassword(
320
- request: HandleChangePasswordRequest,
321
- ): Promise<User> | Observable<User> | User;
322
-
323
- changeStatus(
324
- request: ChangeStatusRequest,
325
- ):
326
- | Promise<ChangeStatusResponse>
327
- | Observable<ChangeStatusResponse>
328
- | ChangeStatusResponse;
329
-
330
- getUserRoles(
331
- request: GetUserRolesRequest,
332
- ):
333
- | Promise<GetUserRolesResponse>
334
- | Observable<GetUserRolesResponse>
335
- | GetUserRolesResponse;
336
-
337
- updateUserRoles(
338
- request: UpdateUserRolesRequest,
339
- ):
340
- | Promise<UpdateUserRolesResponse>
341
- | Observable<UpdateUserRolesResponse>
342
- | UpdateUserRolesResponse;
343
-
344
- getAccountIdsByStatus(
345
- request: GetAccountIdsByStatusRequest,
346
- ):
347
- | Promise<GetAccountIdsByStatusResponse>
348
- | Observable<GetAccountIdsByStatusResponse>
349
- | GetAccountIdsByStatusResponse;
350
-
351
- getUserStatusByAccountId(
352
- request: GetUserStatusByAccountIdRequest,
353
- ):
354
- | Promise<GetUserStatusByAccountIdResponse>
355
- | Observable<GetUserStatusByAccountIdResponse>
356
- | GetUserStatusByAccountIdResponse;
357
-
358
- updateUsersStatusByAccountIds(
359
- request: UpdateUsersStatusByAccountIdsRequest,
360
- ):
361
- | Promise<UpdateUsersStatusByAccountIdsResponse>
362
- | Observable<UpdateUsersStatusByAccountIdsResponse>
363
- | UpdateUsersStatusByAccountIdsResponse;
364
- }
365
-
366
- export function UserServiceControllerMethods() {
367
- return function (constructor: Function) {
368
- const grpcMethods: string[] = [
369
- 'createChangePassword',
370
- 'getChangePasswordByAccountId',
371
- 'verifyChangePassword',
372
- 'updateChangePasswordAttempts',
373
- 'createUser',
374
- 'updateUserAccountId',
375
- 'getUserById',
376
- 'getUserByAccount',
377
- 'sendRecoveryPasswordEmail',
378
- 'handleRecoveryPassword',
379
- 'handleChangePassword',
380
- 'changeStatus',
381
- 'getUserRoles',
382
- 'updateUserRoles',
383
- 'getAccountIdsByStatus',
384
- 'getUserStatusByAccountId',
385
- 'updateUsersStatusByAccountIds',
386
- ];
387
- for (const method of grpcMethods) {
388
- const descriptor: any = Reflect.getOwnPropertyDescriptor(
389
- constructor.prototype,
390
- method,
391
- );
392
- GrpcMethod('UserService', method)(
393
- constructor.prototype[method],
394
- method,
395
- descriptor,
396
- );
397
- }
398
- const grpcStreamMethods: string[] = [];
399
- for (const method of grpcStreamMethods) {
400
- const descriptor: any = Reflect.getOwnPropertyDescriptor(
401
- constructor.prototype,
402
- method,
403
- );
404
- GrpcStreamMethod('UserService', method)(
405
- constructor.prototype[method],
406
- method,
407
- descriptor,
408
- );
409
- }
410
- };
411
- }
412
-
413
- export const USER_SERVICE_NAME = 'UserService';
@@ -1,63 +0,0 @@
1
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
- // versions:
3
- // protoc-gen-ts_proto v2.6.0
4
- // protoc v3.20.3
5
- // source: wallet.proto
6
-
7
- /* eslint-disable */
8
- import { GrpcMethod, GrpcStreamMethod } from '@nestjs/microservices';
9
- import { Observable } from 'rxjs';
10
-
11
- export const protobufPackage = 'wallet';
12
-
13
- export interface CreateWalletRequest {
14
- customerId: string;
15
- }
16
-
17
- export interface WalletResponse {
18
- id: string;
19
- customerId: string;
20
- }
21
-
22
- export const WALLET_PACKAGE_NAME = 'wallet';
23
-
24
- export interface WalletServiceClient {
25
- createWallet(request: CreateWalletRequest): Observable<WalletResponse>;
26
- }
27
-
28
- export interface WalletServiceController {
29
- createWallet(
30
- request: CreateWalletRequest,
31
- ): Promise<WalletResponse> | Observable<WalletResponse> | WalletResponse;
32
- }
33
-
34
- export function WalletServiceControllerMethods() {
35
- return function (constructor: Function) {
36
- const grpcMethods: string[] = ['createWallet'];
37
- for (const method of grpcMethods) {
38
- const descriptor: any = Reflect.getOwnPropertyDescriptor(
39
- constructor.prototype,
40
- method,
41
- );
42
- GrpcMethod('WalletService', method)(
43
- constructor.prototype[method],
44
- method,
45
- descriptor,
46
- );
47
- }
48
- const grpcStreamMethods: string[] = [];
49
- for (const method of grpcStreamMethods) {
50
- const descriptor: any = Reflect.getOwnPropertyDescriptor(
51
- constructor.prototype,
52
- method,
53
- );
54
- GrpcStreamMethod('WalletService', method)(
55
- constructor.prototype[method],
56
- method,
57
- descriptor,
58
- );
59
- }
60
- };
61
- }
62
-
63
- export const WALLET_SERVICE_NAME = 'WalletService';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes