@postpaybr/protos 1.1.0
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 +28 -0
- package/src/account-entry.proto +86 -0
- package/src/address.proto +64 -0
- package/src/admin-card-verification.proto +90 -0
- package/src/administrator.proto +192 -0
- package/src/anticipation.proto +86 -0
- package/src/asset.proto +44 -0
- package/src/auth.proto +29 -0
- package/src/bank-account.proto +62 -0
- package/src/card-vault.proto +36 -0
- package/src/card-verification.proto +30 -0
- package/src/card.proto +138 -0
- package/src/charge-schedule.proto +22 -0
- package/src/charge.proto +610 -0
- package/src/context.proto +174 -0
- package/src/customer.proto +234 -0
- package/src/daily-balance.proto +32 -0
- package/src/document-verification.proto +111 -0
- package/src/email.proto +76 -0
- package/src/expo-push.proto +27 -0
- package/src/fee.proto +65 -0
- package/src/location.proto +40 -0
- package/src/notification.proto +207 -0
- package/src/order.proto +189 -0
- package/src/payable.proto +246 -0
- package/src/payer.proto +24 -0
- package/src/payment-calculator.proto +165 -0
- package/src/payment-card.proto +217 -0
- package/src/payment-gateway.proto +94 -0
- package/src/payment-pix.proto +115 -0
- package/src/receipt.proto +212 -0
- package/src/recipient-payment-gateway.proto +101 -0
- package/src/recipient.proto +237 -0
- package/src/role.proto +57 -0
- package/src/sms.proto +36 -0
- package/src/tax.proto +323 -0
- package/src/transfer.proto +206 -0
- package/src/two-factor.proto +67 -0
- package/src/typescript/account-entry.ts +177 -0
- package/src/typescript/address.ts +133 -0
- package/src/typescript/admin-card-verification.ts +181 -0
- package/src/typescript/administrator.ts +375 -0
- package/src/typescript/anticipation.ts +187 -0
- package/src/typescript/asset.ts +123 -0
- package/src/typescript/auth.ts +84 -0
- package/src/typescript/bank-account.ts +157 -0
- package/src/typescript/card-vault.ts +92 -0
- package/src/typescript/card-verification.ts +93 -0
- package/src/typescript/card.ts +283 -0
- package/src/typescript/charge-schedule.ts +86 -0
- package/src/typescript/charge.ts +930 -0
- package/src/typescript/context.ts +296 -0
- package/src/typescript/customer.ts +425 -0
- package/src/typescript/daily-balance.ts +94 -0
- package/src/typescript/document-verification.ts +219 -0
- package/src/typescript/email.ts +183 -0
- package/src/typescript/expo-push.ts +75 -0
- package/src/typescript/fee.ts +131 -0
- package/src/typescript/location.ts +96 -0
- package/src/typescript/notification.ts +372 -0
- package/src/typescript/order.ts +311 -0
- package/src/typescript/payable.ts +414 -0
- package/src/typescript/payer.ts +68 -0
- package/src/typescript/payment-calculator.ts +252 -0
- package/src/typescript/payment-card.ts +290 -0
- package/src/typescript/payment-gateway.ts +209 -0
- package/src/typescript/payment-pix.ts +170 -0
- package/src/typescript/receipt.ts +344 -0
- package/src/typescript/recipient-payment-gateway.ts +209 -0
- package/src/typescript/recipient.ts +413 -0
- package/src/typescript/role.ts +144 -0
- package/src/typescript/sms.ts +96 -0
- package/src/typescript/tax.ts +463 -0
- package/src/typescript/transfer.ts +260 -0
- package/src/typescript/two-factor.ts +177 -0
- package/src/typescript/user.ts +413 -0
- package/src/typescript/wallet.ts +63 -0
- package/src/user.proto +214 -0
- package/src/wallet.proto +18 -0
|
@@ -0,0 +1,86 @@
|
|
|
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: charge-schedule.proto
|
|
6
|
+
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
import { GrpcMethod, GrpcStreamMethod } from '@nestjs/microservices';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
|
|
11
|
+
export const protobufPackage = 'chargeSchedule';
|
|
12
|
+
|
|
13
|
+
export interface CreateChargeScheduleRequest {
|
|
14
|
+
chargeId: string;
|
|
15
|
+
executionDate: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface CreateChargeScheduleResponse {
|
|
19
|
+
chargeSchedule: ChargeSchedule | undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface ChargeSchedule {
|
|
23
|
+
id: string;
|
|
24
|
+
executionDate: Date;
|
|
25
|
+
isExecuted: boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface HealthCheckRequest {}
|
|
29
|
+
|
|
30
|
+
export interface HealthCheckResponse {
|
|
31
|
+
status: string;
|
|
32
|
+
details: { [key: string]: string };
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface HealthCheckResponse_DetailsEntry {
|
|
36
|
+
key: string;
|
|
37
|
+
value: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export const CHARGE_SCHEDULE_PACKAGE_NAME = 'chargeSchedule';
|
|
41
|
+
|
|
42
|
+
export interface ChargeScheduleServiceClient {
|
|
43
|
+
CreateChargeSchedule(
|
|
44
|
+
request: CreateChargeScheduleRequest,
|
|
45
|
+
): Observable<CreateChargeScheduleResponse>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ChargeScheduleServiceController {
|
|
49
|
+
CreateChargeSchedule(
|
|
50
|
+
request: CreateChargeScheduleRequest,
|
|
51
|
+
):
|
|
52
|
+
| Promise<CreateChargeScheduleResponse>
|
|
53
|
+
| Observable<CreateChargeScheduleResponse>
|
|
54
|
+
| CreateChargeScheduleResponse;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ChargeScheduleServiceControllerMethods() {
|
|
58
|
+
return function (constructor: Function) {
|
|
59
|
+
const grpcMethods: string[] = ['CreateChargeSchedule'];
|
|
60
|
+
for (const method of grpcMethods) {
|
|
61
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(
|
|
62
|
+
constructor.prototype,
|
|
63
|
+
method,
|
|
64
|
+
);
|
|
65
|
+
GrpcMethod('ChargeScheduleService', method)(
|
|
66
|
+
constructor.prototype[method],
|
|
67
|
+
method,
|
|
68
|
+
descriptor,
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
const grpcStreamMethods: string[] = [];
|
|
72
|
+
for (const method of grpcStreamMethods) {
|
|
73
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(
|
|
74
|
+
constructor.prototype,
|
|
75
|
+
method,
|
|
76
|
+
);
|
|
77
|
+
GrpcStreamMethod('ChargeScheduleService', method)(
|
|
78
|
+
constructor.prototype[method],
|
|
79
|
+
method,
|
|
80
|
+
descriptor,
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const CHARGE_SCHEDULE_SERVICE_NAME = 'ChargeScheduleService';
|