@postpaybr/protos 1.1.7 → 1.1.8
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/dist/typescript/account-entry.d.ts +1 -1
- package/dist/typescript/account-entry.js +11 -7
- package/dist/typescript/address.js +11 -7
- package/dist/typescript/admin-card-verification.d.ts +1 -1
- package/dist/typescript/admin-card-verification.js +11 -7
- package/dist/typescript/administrator.d.ts +1 -1
- package/dist/typescript/administrator.js +11 -7
- package/dist/typescript/anticipation.d.ts +1 -1
- package/dist/typescript/anticipation.js +11 -7
- package/dist/typescript/asset.js +11 -7
- package/dist/typescript/auth.js +11 -7
- package/dist/typescript/bank-account.d.ts +1 -1
- package/dist/typescript/bank-account.js +11 -7
- package/dist/typescript/card-vault.js +11 -7
- package/dist/typescript/card-verification.js +11 -7
- package/dist/typescript/card.d.ts +1 -1
- package/dist/typescript/card.js +11 -7
- package/dist/typescript/charge-schedule.js +11 -7
- package/dist/typescript/charge.d.ts +1 -1
- package/dist/typescript/charge.js +11 -7
- package/dist/typescript/context.d.ts +1 -1
- package/dist/typescript/context.js +11 -7
- package/dist/typescript/customer.js +11 -7
- package/dist/typescript/daily-balance.js +11 -7
- package/dist/typescript/document-verification.d.ts +1 -1
- package/dist/typescript/document-verification.js +11 -7
- package/dist/typescript/email.js +11 -7
- package/dist/typescript/expo-push.js +11 -7
- package/dist/typescript/fee.d.ts +1 -1
- package/dist/typescript/fee.js +11 -7
- package/dist/typescript/location.js +11 -7
- package/dist/typescript/notification.d.ts +2 -2
- package/dist/typescript/notification.js +11 -7
- package/dist/typescript/order.d.ts +1 -1
- package/dist/typescript/order.js +11 -7
- package/dist/typescript/payable.d.ts +1 -1
- package/dist/typescript/payable.js +11 -7
- package/dist/typescript/payer.js +11 -7
- package/dist/typescript/payment-calculator.d.ts +1 -1
- package/dist/typescript/payment-calculator.js +11 -7
- package/dist/typescript/payment-card.d.ts +2 -2
- package/dist/typescript/payment-card.js +11 -7
- package/dist/typescript/payment-gateway.d.ts +1 -1
- package/dist/typescript/payment-gateway.js +11 -7
- package/dist/typescript/payment-pix.d.ts +1 -1
- package/dist/typescript/payment-pix.js +11 -7
- package/dist/typescript/receipt.d.ts +1 -1
- package/dist/typescript/receipt.js +11 -7
- package/dist/typescript/recipient-payment-gateway.d.ts +1 -1
- package/dist/typescript/recipient-payment-gateway.js +11 -7
- package/dist/typescript/recipient.d.ts +2 -2
- package/dist/typescript/recipient.js +11 -7
- package/dist/typescript/role.d.ts +1 -1
- package/dist/typescript/role.js +11 -7
- package/dist/typescript/sms.js +11 -7
- package/dist/typescript/tax.d.ts +1 -1
- package/dist/typescript/tax.js +11 -7
- package/dist/typescript/transfer.d.ts +1 -1
- package/dist/typescript/transfer.js +11 -7
- package/dist/typescript/two-factor.d.ts +1 -1
- package/dist/typescript/two-factor.js +11 -7
- package/dist/typescript/user.d.ts +2 -2
- package/dist/typescript/user.js +11 -7
- package/dist/typescript/wallet.js +11 -7
- package/package.json +13 -4
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: customer.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.CUSTOMER_SERVICE_NAME = exports.CUSTOMER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.CustomerServiceControllerMethods = CustomerServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'customer';
|
|
13
|
+
exports.CUSTOMER_PACKAGE_NAME = 'customer';
|
|
14
|
+
function CustomerServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = [
|
|
13
17
|
'createCustomer',
|
|
@@ -27,13 +31,13 @@ export function CustomerServiceControllerMethods() {
|
|
|
27
31
|
];
|
|
28
32
|
for (const method of grpcMethods) {
|
|
29
33
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
30
|
-
GrpcMethod('CustomerService', method)(constructor.prototype[method], method, descriptor);
|
|
34
|
+
(0, microservices_1.GrpcMethod)('CustomerService', method)(constructor.prototype[method], method, descriptor);
|
|
31
35
|
}
|
|
32
36
|
const grpcStreamMethods = [];
|
|
33
37
|
for (const method of grpcStreamMethods) {
|
|
34
38
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
35
|
-
GrpcStreamMethod('CustomerService', method)(constructor.prototype[method], method, descriptor);
|
|
39
|
+
(0, microservices_1.GrpcStreamMethod)('CustomerService', method)(constructor.prototype[method], method, descriptor);
|
|
36
40
|
}
|
|
37
41
|
};
|
|
38
42
|
}
|
|
39
|
-
|
|
43
|
+
exports.CUSTOMER_SERVICE_NAME = 'CustomerService';
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v6.32.0
|
|
5
6
|
// source: daily-balance.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.DAILY_BALANCE_SERVICE_NAME = exports.DAILY_BALANCE_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.DailyBalanceServiceControllerMethods = DailyBalanceServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'dailyBalance';
|
|
13
|
+
exports.DAILY_BALANCE_PACKAGE_NAME = 'dailyBalance';
|
|
14
|
+
function DailyBalanceServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['getBalanceHistory', 'getCurrentBalance'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('DailyBalanceService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('DailyBalanceService', method)(constructor.prototype[method], method, descriptor);
|
|
16
20
|
}
|
|
17
21
|
const grpcStreamMethods = [];
|
|
18
22
|
for (const method of grpcStreamMethods) {
|
|
19
23
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
20
|
-
GrpcStreamMethod('DailyBalanceService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('DailyBalanceService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.DAILY_BALANCE_SERVICE_NAME = 'DailyBalanceService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentRejectionReason, VerificationStatus } from '@postpaybr/contracts/types';
|
|
1
|
+
import { DocumentRejectionReason, VerificationStatus } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "documentVerification";
|
|
4
4
|
export interface UpdateDocumentVerificationStatusRequest {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: document-verification.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.DOCUMENT_VERIFICATION_SERVICE_NAME = exports.DOCUMENT_VERIFICATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.DocumentVerificationServiceControllerMethods = DocumentVerificationServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'documentVerification';
|
|
12
|
+
exports.DOCUMENT_VERIFICATION_PACKAGE_NAME = 'documentVerification';
|
|
13
|
+
function DocumentVerificationServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'updateVerificationStatus',
|
|
@@ -18,13 +22,13 @@ export function DocumentVerificationServiceControllerMethods() {
|
|
|
18
22
|
];
|
|
19
23
|
for (const method of grpcMethods) {
|
|
20
24
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
21
|
-
GrpcMethod('DocumentVerificationService', method)(constructor.prototype[method], method, descriptor);
|
|
25
|
+
(0, microservices_1.GrpcMethod)('DocumentVerificationService', method)(constructor.prototype[method], method, descriptor);
|
|
22
26
|
}
|
|
23
27
|
const grpcStreamMethods = [];
|
|
24
28
|
for (const method of grpcStreamMethods) {
|
|
25
29
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
26
|
-
GrpcStreamMethod('DocumentVerificationService', method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
(0, microservices_1.GrpcStreamMethod)('DocumentVerificationService', method)(constructor.prototype[method], method, descriptor);
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
exports.DOCUMENT_VERIFICATION_SERVICE_NAME = 'DocumentVerificationService';
|
package/dist/typescript/email.js
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.6.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: email.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.EMAIL_SERVICE_NAME = exports.EMAIL_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.EmailServiceControllerMethods = EmailServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'email';
|
|
13
|
+
exports.EMAIL_PACKAGE_NAME = 'email';
|
|
14
|
+
function EmailServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = [
|
|
13
17
|
'sendVerificationEmail',
|
|
@@ -19,13 +23,13 @@ export function EmailServiceControllerMethods() {
|
|
|
19
23
|
];
|
|
20
24
|
for (const method of grpcMethods) {
|
|
21
25
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
22
|
-
GrpcMethod('EmailService', method)(constructor.prototype[method], method, descriptor);
|
|
26
|
+
(0, microservices_1.GrpcMethod)('EmailService', method)(constructor.prototype[method], method, descriptor);
|
|
23
27
|
}
|
|
24
28
|
const grpcStreamMethods = [];
|
|
25
29
|
for (const method of grpcStreamMethods) {
|
|
26
30
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
27
|
-
GrpcStreamMethod('EmailService', method)(constructor.prototype[method], method, descriptor);
|
|
31
|
+
(0, microservices_1.GrpcStreamMethod)('EmailService', method)(constructor.prototype[method], method, descriptor);
|
|
28
32
|
}
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
|
-
|
|
35
|
+
exports.EMAIL_SERVICE_NAME = 'EmailService';
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.6.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: expo-push.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.EXPO_PUSH_SERVICE_NAME = exports.EXPO_PUSH_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.ExpoPushServiceControllerMethods = ExpoPushServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'expoPush';
|
|
13
|
+
exports.EXPO_PUSH_PACKAGE_NAME = 'expoPush';
|
|
14
|
+
function ExpoPushServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['sendNotification'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('ExpoPushService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('ExpoPushService', method)(constructor.prototype[method], method, descriptor);
|
|
16
20
|
}
|
|
17
21
|
const grpcStreamMethods = [];
|
|
18
22
|
for (const method of grpcStreamMethods) {
|
|
19
23
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
20
|
-
GrpcStreamMethod('ExpoPushService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('ExpoPushService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.EXPO_PUSH_SERVICE_NAME = 'ExpoPushService';
|
package/dist/typescript/fee.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { brandType, FeeType, PaymentMethods } from '@postpaybr/contracts/types';
|
|
1
|
+
import { brandType, FeeType, PaymentMethods } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "fee";
|
|
4
4
|
export interface CreateFeeDto {
|
package/dist/typescript/fee.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.6.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: fee.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.FEE_SERVICE_NAME = exports.FEE_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.FeeServiceControllerMethods = FeeServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'fee';
|
|
12
|
+
exports.FEE_PACKAGE_NAME = 'fee';
|
|
13
|
+
function FeeServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createFee',
|
|
@@ -16,13 +20,13 @@ export function FeeServiceControllerMethods() {
|
|
|
16
20
|
];
|
|
17
21
|
for (const method of grpcMethods) {
|
|
18
22
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
19
|
-
GrpcMethod('FeeService', method)(constructor.prototype[method], method, descriptor);
|
|
23
|
+
(0, microservices_1.GrpcMethod)('FeeService', method)(constructor.prototype[method], method, descriptor);
|
|
20
24
|
}
|
|
21
25
|
const grpcStreamMethods = [];
|
|
22
26
|
for (const method of grpcStreamMethods) {
|
|
23
27
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
24
|
-
GrpcStreamMethod('FeeService', method)(constructor.prototype[method], method, descriptor);
|
|
28
|
+
(0, microservices_1.GrpcStreamMethod)('FeeService', method)(constructor.prototype[method], method, descriptor);
|
|
25
29
|
}
|
|
26
30
|
};
|
|
27
31
|
}
|
|
28
|
-
|
|
32
|
+
exports.FEE_SERVICE_NAME = 'FeeService';
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.6.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: location.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.LOCATION_SERVICE_NAME = exports.LOCATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.LocationServiceControllerMethods = LocationServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'location';
|
|
13
|
+
exports.LOCATION_PACKAGE_NAME = 'location';
|
|
14
|
+
function LocationServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['getCities', 'getStates'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('LocationService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('LocationService', method)(constructor.prototype[method], method, descriptor);
|
|
16
20
|
}
|
|
17
21
|
const grpcStreamMethods = [];
|
|
18
22
|
for (const method of grpcStreamMethods) {
|
|
19
23
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
20
|
-
GrpcStreamMethod('LocationService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('LocationService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.LOCATION_SERVICE_NAME = 'LocationService';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RecipientType } from '@postpaybr/contracts/enums';
|
|
2
|
-
import { ChangesFieldType, NotificationCategory, NotificationImageType } from '@postpaybr/contracts/types';
|
|
1
|
+
import { RecipientType } from '@postpaybr/contracts/dist/enums';
|
|
2
|
+
import { ChangesFieldType, NotificationCategory, NotificationImageType } from '@postpaybr/contracts/dist/types';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export declare const protobufPackage = "notification";
|
|
5
5
|
export interface GetAllNotificationsDto {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: notification.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.NOTIFICATION_SERVICE_NAME = exports.NOTIFICATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.NotificationServiceControllerMethods = NotificationServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'notification';
|
|
12
|
+
exports.NOTIFICATION_PACKAGE_NAME = 'notification';
|
|
13
|
+
function NotificationServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createNotification',
|
|
@@ -23,13 +27,13 @@ export function NotificationServiceControllerMethods() {
|
|
|
23
27
|
];
|
|
24
28
|
for (const method of grpcMethods) {
|
|
25
29
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
26
|
-
GrpcMethod('NotificationService', method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
(0, microservices_1.GrpcMethod)('NotificationService', method)(constructor.prototype[method], method, descriptor);
|
|
27
31
|
}
|
|
28
32
|
const grpcStreamMethods = [];
|
|
29
33
|
for (const method of grpcStreamMethods) {
|
|
30
34
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
31
|
-
GrpcStreamMethod('NotificationService', method)(constructor.prototype[method], method, descriptor);
|
|
35
|
+
(0, microservices_1.GrpcStreamMethod)('NotificationService', method)(constructor.prototype[method], method, descriptor);
|
|
32
36
|
}
|
|
33
37
|
};
|
|
34
38
|
}
|
|
35
|
-
|
|
39
|
+
exports.NOTIFICATION_SERVICE_NAME = 'NotificationService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderStatus, OrderType, PaymentMethods } from '@postpaybr/contracts/types';
|
|
1
|
+
import { OrderStatus, OrderType, PaymentMethods } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "order";
|
|
4
4
|
export interface CreateOrderRequest {
|
package/dist/typescript/order.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.7
|
|
4
5
|
// protoc v6.33.0
|
|
5
6
|
// source: order.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ORDER_SERVICE_NAME = exports.ORDER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.OrderServiceControllerMethods = OrderServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'order';
|
|
12
|
+
exports.ORDER_PACKAGE_NAME = 'order';
|
|
13
|
+
function OrderServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createOrder',
|
|
@@ -22,13 +26,13 @@ export function OrderServiceControllerMethods() {
|
|
|
22
26
|
];
|
|
23
27
|
for (const method of grpcMethods) {
|
|
24
28
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
25
|
-
GrpcMethod('OrderService', method)(constructor.prototype[method], method, descriptor);
|
|
29
|
+
(0, microservices_1.GrpcMethod)('OrderService', method)(constructor.prototype[method], method, descriptor);
|
|
26
30
|
}
|
|
27
31
|
const grpcStreamMethods = [];
|
|
28
32
|
for (const method of grpcStreamMethods) {
|
|
29
33
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
30
|
-
GrpcStreamMethod('OrderService', method)(constructor.prototype[method], method, descriptor);
|
|
34
|
+
(0, microservices_1.GrpcStreamMethod)('OrderService', method)(constructor.prototype[method], method, descriptor);
|
|
31
35
|
}
|
|
32
36
|
};
|
|
33
37
|
}
|
|
34
|
-
|
|
38
|
+
exports.ORDER_SERVICE_NAME = 'OrderService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnticipationStatus, ChargeStatus, PayableStatus, PaymentMethods } from '@postpaybr/contracts/types';
|
|
1
|
+
import { AnticipationStatus, ChargeStatus, PayableStatus, PaymentMethods } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "payable";
|
|
4
4
|
export interface CreatePayableRequest {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.7
|
|
4
5
|
// protoc v6.33.0
|
|
5
6
|
// source: payable.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYABLE_SERVICE_NAME = exports.PAYABLE_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PayableServiceControllerMethods = PayableServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'payable';
|
|
12
|
+
exports.PAYABLE_PACKAGE_NAME = 'payable';
|
|
13
|
+
function PayableServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createPayable',
|
|
@@ -25,13 +29,13 @@ export function PayableServiceControllerMethods() {
|
|
|
25
29
|
];
|
|
26
30
|
for (const method of grpcMethods) {
|
|
27
31
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
28
|
-
GrpcMethod('PayableService', method)(constructor.prototype[method], method, descriptor);
|
|
32
|
+
(0, microservices_1.GrpcMethod)('PayableService', method)(constructor.prototype[method], method, descriptor);
|
|
29
33
|
}
|
|
30
34
|
const grpcStreamMethods = [];
|
|
31
35
|
for (const method of grpcStreamMethods) {
|
|
32
36
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
33
|
-
GrpcStreamMethod('PayableService', method)(constructor.prototype[method], method, descriptor);
|
|
37
|
+
(0, microservices_1.GrpcStreamMethod)('PayableService', method)(constructor.prototype[method], method, descriptor);
|
|
34
38
|
}
|
|
35
39
|
};
|
|
36
40
|
}
|
|
37
|
-
|
|
41
|
+
exports.PAYABLE_SERVICE_NAME = 'PayableService';
|
package/dist/typescript/payer.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.6.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: payer.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYER_SERVICE_NAME = exports.PAYER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PayerServiceControllerMethods = PayerServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'payer';
|
|
13
|
+
exports.PAYER_PACKAGE_NAME = 'payer';
|
|
14
|
+
function PayerServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['findOrCreatePayer'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('PayerService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('PayerService', method)(constructor.prototype[method], method, descriptor);
|
|
16
20
|
}
|
|
17
21
|
const grpcStreamMethods = [];
|
|
18
22
|
for (const method of grpcStreamMethods) {
|
|
19
23
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
20
|
-
GrpcStreamMethod('PayerService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('PayerService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.PAYER_SERVICE_NAME = 'PayerService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { brandType, MetaType, PaymentMethods, PaymentScheduleType, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
|
|
1
|
+
import { brandType, MetaType, PaymentMethods, PaymentScheduleType, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "paymentCalculator";
|
|
4
4
|
export interface CalculateInstallmentsRequest {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v6.32.0
|
|
5
6
|
// source: payment-calculator.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYMENT_CALCULATOR_SERVICE_NAME = exports.PAYMENT_CALCULATOR_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PaymentCalculatorServiceControllerMethods = PaymentCalculatorServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'paymentCalculator';
|
|
12
|
+
exports.PAYMENT_CALCULATOR_PACKAGE_NAME = 'paymentCalculator';
|
|
13
|
+
function PaymentCalculatorServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'calculateInstallments',
|
|
@@ -17,13 +21,13 @@ export function PaymentCalculatorServiceControllerMethods() {
|
|
|
17
21
|
];
|
|
18
22
|
for (const method of grpcMethods) {
|
|
19
23
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
20
|
-
GrpcMethod('PaymentCalculatorService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcMethod)('PaymentCalculatorService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
const grpcStreamMethods = [];
|
|
23
27
|
for (const method of grpcStreamMethods) {
|
|
24
28
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
25
|
-
GrpcStreamMethod('PaymentCalculatorService', method)(constructor.prototype[method], method, descriptor);
|
|
29
|
+
(0, microservices_1.GrpcStreamMethod)('PaymentCalculatorService', method)(constructor.prototype[method], method, descriptor);
|
|
26
30
|
}
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
|
-
|
|
33
|
+
exports.PAYMENT_CALCULATOR_SERVICE_NAME = 'PaymentCalculatorService';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HolderType, RecipientLegalType } from '@postpaybr/contracts/enums';
|
|
2
|
-
import { brandType, ChargeMetadata, ChargeStatus, ChargeType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
|
|
1
|
+
import { HolderType, RecipientLegalType } from '@postpaybr/contracts/dist/enums';
|
|
2
|
+
import { brandType, ChargeMetadata, ChargeStatus, ChargeType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export declare const protobufPackage = "paymentCard";
|
|
5
5
|
export interface CreatePaymentRequest {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v3.20.3
|
|
5
6
|
// source: payment-card.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYMENT_CARD_SERVICE_NAME = exports.PAYMENT_CARD_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PaymentCardControllerMethods = PaymentCardControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'paymentCard';
|
|
12
|
+
exports.PAYMENT_CARD_PACKAGE_NAME = 'paymentCard';
|
|
13
|
+
function PaymentCardControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createPayment',
|
|
@@ -15,13 +19,13 @@ export function PaymentCardControllerMethods() {
|
|
|
15
19
|
];
|
|
16
20
|
for (const method of grpcMethods) {
|
|
17
21
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
18
|
-
GrpcMethod('PaymentCard', method)(constructor.prototype[method], method, descriptor);
|
|
22
|
+
(0, microservices_1.GrpcMethod)('PaymentCard', method)(constructor.prototype[method], method, descriptor);
|
|
19
23
|
}
|
|
20
24
|
const grpcStreamMethods = [];
|
|
21
25
|
for (const method of grpcStreamMethods) {
|
|
22
26
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
23
|
-
GrpcStreamMethod('PaymentCard', method)(constructor.prototype[method], method, descriptor);
|
|
27
|
+
(0, microservices_1.GrpcStreamMethod)('PaymentCard', method)(constructor.prototype[method], method, descriptor);
|
|
24
28
|
}
|
|
25
29
|
};
|
|
26
30
|
}
|
|
27
|
-
|
|
31
|
+
exports.PAYMENT_CARD_SERVICE_NAME = 'PaymentCard';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/types';
|
|
1
|
+
import { GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "paymentGateway";
|
|
4
4
|
export interface PaymentGateway {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
3
|
// versions:
|
|
3
4
|
// protoc-gen-ts_proto v2.7.0
|
|
4
5
|
// protoc v6.32.1
|
|
5
6
|
// source: payment-gateway.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYMENT_GATEWAY_SERVICE_NAME = exports.PAYMENT_GATEWAY_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PaymentGatewayServiceControllerMethods = PaymentGatewayServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'paymentGateway';
|
|
12
|
+
exports.PAYMENT_GATEWAY_PACKAGE_NAME = 'paymentGateway';
|
|
13
|
+
function PaymentGatewayServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'getById',
|
|
@@ -19,13 +23,13 @@ export function PaymentGatewayServiceControllerMethods() {
|
|
|
19
23
|
];
|
|
20
24
|
for (const method of grpcMethods) {
|
|
21
25
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
22
|
-
GrpcMethod('PaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
26
|
+
(0, microservices_1.GrpcMethod)('PaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
23
27
|
}
|
|
24
28
|
const grpcStreamMethods = [];
|
|
25
29
|
for (const method of grpcStreamMethods) {
|
|
26
30
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
27
|
-
GrpcStreamMethod('PaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
31
|
+
(0, microservices_1.GrpcStreamMethod)('PaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
28
32
|
}
|
|
29
33
|
};
|
|
30
34
|
}
|
|
31
|
-
|
|
35
|
+
exports.PAYMENT_GATEWAY_SERVICE_NAME = 'PaymentGatewayService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { brandType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
|
|
1
|
+
import { brandType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "paymentPix";
|
|
4
4
|
export interface CreatePaymentRequest {
|