@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,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: payment-pix.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.PAYMENT_SERVICE_PIX_SERVICE_NAME = exports.PAYMENT_PIX_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.PaymentPixControllerMethods = PaymentPixControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'paymentPix';
|
|
12
|
+
exports.PAYMENT_PIX_PACKAGE_NAME = 'paymentPix';
|
|
13
|
+
function PaymentPixControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = ['createPayment'];
|
|
12
16
|
for (const method of grpcMethods) {
|
|
13
17
|
1;
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('PaymentPix', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('PaymentPix', 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('PaymentPix', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('PaymentPix', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.PAYMENT_SERVICE_PIX_SERVICE_NAME = 'PaymentPix';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargeStatus, PaymentMethods, ReceiptMetadata, TaxTypes } from '@postpaybr/contracts/types';
|
|
1
|
+
import { ChargeStatus, PaymentMethods, ReceiptMetadata, TaxTypes } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ChargeScheduleDetail } from './charge';
|
|
4
4
|
export declare const protobufPackage = "receipt";
|
|
@@ -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: receipt.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.RECEIPT_SERVICE_NAME = exports.RECEIPT_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.ReceiptServiceControllerMethods = ReceiptServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'receipt';
|
|
12
|
+
exports.RECEIPT_PACKAGE_NAME = 'receipt';
|
|
13
|
+
function ReceiptServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createReceipt',
|
|
@@ -21,13 +25,13 @@ export function ReceiptServiceControllerMethods() {
|
|
|
21
25
|
];
|
|
22
26
|
for (const method of grpcMethods) {
|
|
23
27
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
24
|
-
GrpcMethod('ReceiptService', method)(constructor.prototype[method], method, descriptor);
|
|
28
|
+
(0, microservices_1.GrpcMethod)('ReceiptService', method)(constructor.prototype[method], method, descriptor);
|
|
25
29
|
}
|
|
26
30
|
const grpcStreamMethods = [];
|
|
27
31
|
for (const method of grpcStreamMethods) {
|
|
28
32
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
29
|
-
GrpcStreamMethod('ReceiptService', method)(constructor.prototype[method], method, descriptor);
|
|
33
|
+
(0, microservices_1.GrpcStreamMethod)('ReceiptService', method)(constructor.prototype[method], method, descriptor);
|
|
30
34
|
}
|
|
31
35
|
};
|
|
32
36
|
}
|
|
33
|
-
|
|
37
|
+
exports.RECEIPT_SERVICE_NAME = 'ReceiptService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GatewayIdentification, PaymentGatewayType, PaymentMethods } from '@postpaybr/contracts/types';
|
|
1
|
+
import { GatewayIdentification, PaymentGatewayType, PaymentMethods } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "recipientPaymentGateway";
|
|
4
4
|
export interface RecipientPaymentGateway {
|
|
@@ -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: recipient-payment-gateway.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.RECIPIENT_PAYMENT_GATEWAY_SERVICE_NAME = exports.RECIPIENT_PAYMENT_GATEWAY_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.RecipientPaymentGatewayServiceControllerMethods = RecipientPaymentGatewayServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'recipientPaymentGateway';
|
|
12
|
+
exports.RECIPIENT_PAYMENT_GATEWAY_PACKAGE_NAME = 'recipientPaymentGateway';
|
|
13
|
+
function RecipientPaymentGatewayServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createRecipientPaymentGateway',
|
|
@@ -18,13 +22,13 @@ export function RecipientPaymentGatewayServiceControllerMethods() {
|
|
|
18
22
|
];
|
|
19
23
|
for (const method of grpcMethods) {
|
|
20
24
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
21
|
-
GrpcMethod('RecipientPaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
25
|
+
(0, microservices_1.GrpcMethod)('RecipientPaymentGatewayService', 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('RecipientPaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
(0, microservices_1.GrpcStreamMethod)('RecipientPaymentGatewayService', method)(constructor.prototype[method], method, descriptor);
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
exports.RECIPIENT_PAYMENT_GATEWAY_SERVICE_NAME = 'RecipientPaymentGatewayService';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BankAccountType, HolderType, RecipientLegalType } from '@postpaybr/contracts/enums';
|
|
2
|
-
import { GatewayIdentification } from '@postpaybr/contracts/types';
|
|
1
|
+
import { BankAccountType, HolderType, RecipientLegalType } from '@postpaybr/contracts/dist/enums';
|
|
2
|
+
import { GatewayIdentification } from '@postpaybr/contracts/dist/types';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export declare const protobufPackage = "recipient";
|
|
5
5
|
export interface Recipient {
|
|
@@ -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: recipient.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.RECIPIENT_SERVICE_NAME = exports.RECIPIENT_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.RecipientServiceControllerMethods = RecipientServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'recipient';
|
|
12
|
+
exports.RECIPIENT_PACKAGE_NAME = 'recipient';
|
|
13
|
+
function RecipientServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createRecipient',
|
|
@@ -24,13 +28,13 @@ export function RecipientServiceControllerMethods() {
|
|
|
24
28
|
];
|
|
25
29
|
for (const method of grpcMethods) {
|
|
26
30
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
27
|
-
GrpcMethod('RecipientService', method)(constructor.prototype[method], method, descriptor);
|
|
31
|
+
(0, microservices_1.GrpcMethod)('RecipientService', method)(constructor.prototype[method], method, descriptor);
|
|
28
32
|
}
|
|
29
33
|
const grpcStreamMethods = [];
|
|
30
34
|
for (const method of grpcStreamMethods) {
|
|
31
35
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
32
|
-
GrpcStreamMethod('RecipientService', method)(constructor.prototype[method], method, descriptor);
|
|
36
|
+
(0, microservices_1.GrpcStreamMethod)('RecipientService', method)(constructor.prototype[method], method, descriptor);
|
|
33
37
|
}
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
|
-
|
|
40
|
+
exports.RECIPIENT_SERVICE_NAME = 'RecipientService';
|
package/dist/typescript/role.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: role.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ROLE_SERVICE_NAME = exports.ROLE_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.RoleServiceControllerMethods = RoleServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'role';
|
|
12
|
+
exports.ROLE_PACKAGE_NAME = 'role';
|
|
13
|
+
function RoleServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createRole',
|
|
@@ -18,13 +22,13 @@ export function RoleServiceControllerMethods() {
|
|
|
18
22
|
];
|
|
19
23
|
for (const method of grpcMethods) {
|
|
20
24
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
21
|
-
GrpcMethod('RoleService', method)(constructor.prototype[method], method, descriptor);
|
|
25
|
+
(0, microservices_1.GrpcMethod)('RoleService', 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('RoleService', method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
(0, microservices_1.GrpcStreamMethod)('RoleService', method)(constructor.prototype[method], method, descriptor);
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
exports.ROLE_SERVICE_NAME = 'RoleService';
|
package/dist/typescript/sms.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: sms.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.SMS_SERVICE_NAME = exports.SMS_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.SmsServiceControllerMethods = SmsServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'sms';
|
|
13
|
+
exports.SMS_PACKAGE_NAME = 'sms';
|
|
14
|
+
function SmsServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['sendSmsToVerify', 'verifySmsCode'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('SmsService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('SmsService', 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('SmsService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('SmsService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.SMS_SERVICE_NAME = 'SmsService';
|
package/dist/typescript/tax.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargeStatus, MetaType, OrderStatus, PaymentMethods, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
|
|
1
|
+
import { ChargeStatus, MetaType, OrderStatus, PaymentMethods, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "tax";
|
|
4
4
|
export interface Payer {
|
package/dist/typescript/tax.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: tax.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.TAX_SERVICE_NAME = exports.TAX_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.TaxServiceControllerMethods = TaxServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'tax';
|
|
12
|
+
exports.TAX_PACKAGE_NAME = 'tax';
|
|
13
|
+
function TaxServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createTax',
|
|
@@ -24,13 +28,13 @@ export function TaxServiceControllerMethods() {
|
|
|
24
28
|
];
|
|
25
29
|
for (const method of grpcMethods) {
|
|
26
30
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
27
|
-
GrpcMethod('TaxService', method)(constructor.prototype[method], method, descriptor);
|
|
31
|
+
(0, microservices_1.GrpcMethod)('TaxService', method)(constructor.prototype[method], method, descriptor);
|
|
28
32
|
}
|
|
29
33
|
const grpcStreamMethods = [];
|
|
30
34
|
for (const method of grpcStreamMethods) {
|
|
31
35
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
32
|
-
GrpcStreamMethod('TaxService', method)(constructor.prototype[method], method, descriptor);
|
|
36
|
+
(0, microservices_1.GrpcStreamMethod)('TaxService', method)(constructor.prototype[method], method, descriptor);
|
|
33
37
|
}
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
|
-
|
|
40
|
+
exports.TAX_SERVICE_NAME = 'TaxService';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargeStatus, GatewayIdentification } from '@postpaybr/contracts/types';
|
|
1
|
+
import { ChargeStatus, GatewayIdentification } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare const protobufPackage = "transfer";
|
|
4
4
|
export interface UpdateTransferStatusRequest {
|
|
@@ -1,23 +1,27 @@
|
|
|
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: transfer.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.TRANSFER_SERVICE_NAME = exports.TRANSFER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.TransferServiceControllerMethods = TransferServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'transfer';
|
|
12
|
+
exports.TRANSFER_PACKAGE_NAME = 'transfer';
|
|
13
|
+
function TransferServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = ['updateTransferStatus'];
|
|
12
16
|
for (const method of grpcMethods) {
|
|
13
17
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
14
|
-
GrpcMethod('TransferService', method)(constructor.prototype[method], method, descriptor);
|
|
18
|
+
(0, microservices_1.GrpcMethod)('TransferService', method)(constructor.prototype[method], method, descriptor);
|
|
15
19
|
}
|
|
16
20
|
const grpcStreamMethods = [];
|
|
17
21
|
for (const method of grpcStreamMethods) {
|
|
18
22
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
19
|
-
GrpcStreamMethod('TransferService', method)(constructor.prototype[method], method, descriptor);
|
|
23
|
+
(0, microservices_1.GrpcStreamMethod)('TransferService', method)(constructor.prototype[method], method, descriptor);
|
|
20
24
|
}
|
|
21
25
|
};
|
|
22
26
|
}
|
|
23
|
-
|
|
27
|
+
exports.TRANSFER_SERVICE_NAME = 'TransferService';
|
|
@@ -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: two-factor.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.TWO_FACTOR_SERVICE_NAME = exports.TWO_FACTOR_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.TwoFactorServiceControllerMethods = TwoFactorServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'twoFactor';
|
|
12
|
+
exports.TWO_FACTOR_PACKAGE_NAME = 'twoFactor';
|
|
13
|
+
function TwoFactorServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'enableTwoFactor',
|
|
@@ -18,13 +22,13 @@ export function TwoFactorServiceControllerMethods() {
|
|
|
18
22
|
];
|
|
19
23
|
for (const method of grpcMethods) {
|
|
20
24
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
21
|
-
GrpcMethod('TwoFactorService', method)(constructor.prototype[method], method, descriptor);
|
|
25
|
+
(0, microservices_1.GrpcMethod)('TwoFactorService', 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('TwoFactorService', method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
(0, microservices_1.GrpcStreamMethod)('TwoFactorService', method)(constructor.prototype[method], method, descriptor);
|
|
27
31
|
}
|
|
28
32
|
};
|
|
29
33
|
}
|
|
30
|
-
|
|
34
|
+
exports.TWO_FACTOR_SERVICE_NAME = 'TwoFactorService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AccountType } from '@postpaybr/contracts/types';
|
|
1
|
+
import { AccountType } from '@postpaybr/contracts/dist/types';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { UserStatus } from '@postpaybr/contracts/enums';
|
|
3
|
+
import { UserStatus } from '@postpaybr/contracts/dist/enums';
|
|
4
4
|
export declare const protobufPackage = "user";
|
|
5
5
|
export interface CreateChangePasswordRequest {
|
|
6
6
|
accountId: string;
|
package/dist/typescript/user.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: user.proto
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.USER_SERVICE_NAME = exports.USER_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.UserServiceControllerMethods = UserServiceControllerMethods;
|
|
10
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
11
|
+
exports.protobufPackage = 'user';
|
|
12
|
+
exports.USER_PACKAGE_NAME = 'user';
|
|
13
|
+
function UserServiceControllerMethods() {
|
|
10
14
|
return function (constructor) {
|
|
11
15
|
const grpcMethods = [
|
|
12
16
|
'createChangePassword',
|
|
@@ -29,13 +33,13 @@ export function UserServiceControllerMethods() {
|
|
|
29
33
|
];
|
|
30
34
|
for (const method of grpcMethods) {
|
|
31
35
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
32
|
-
GrpcMethod('UserService', method)(constructor.prototype[method], method, descriptor);
|
|
36
|
+
(0, microservices_1.GrpcMethod)('UserService', method)(constructor.prototype[method], method, descriptor);
|
|
33
37
|
}
|
|
34
38
|
const grpcStreamMethods = [];
|
|
35
39
|
for (const method of grpcStreamMethods) {
|
|
36
40
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
37
|
-
GrpcStreamMethod('UserService', method)(constructor.prototype[method], method, descriptor);
|
|
41
|
+
(0, microservices_1.GrpcStreamMethod)('UserService', method)(constructor.prototype[method], method, descriptor);
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
|
-
|
|
45
|
+
exports.USER_SERVICE_NAME = 'UserService';
|
|
@@ -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: wallet.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.WALLET_SERVICE_NAME = exports.WALLET_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
9
|
+
exports.WalletServiceControllerMethods = WalletServiceControllerMethods;
|
|
6
10
|
/* eslint-disable */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
12
|
+
exports.protobufPackage = 'wallet';
|
|
13
|
+
exports.WALLET_PACKAGE_NAME = 'wallet';
|
|
14
|
+
function WalletServiceControllerMethods() {
|
|
11
15
|
return function (constructor) {
|
|
12
16
|
const grpcMethods = ['createWallet'];
|
|
13
17
|
for (const method of grpcMethods) {
|
|
14
18
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
15
|
-
GrpcMethod('WalletService', method)(constructor.prototype[method], method, descriptor);
|
|
19
|
+
(0, microservices_1.GrpcMethod)('WalletService', 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('WalletService', method)(constructor.prototype[method], method, descriptor);
|
|
24
|
+
(0, microservices_1.GrpcStreamMethod)('WalletService', method)(constructor.prototype[method], method, descriptor);
|
|
21
25
|
}
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
|
-
|
|
28
|
+
exports.WALLET_SERVICE_NAME = 'WalletService';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postpaybr/protos",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/typescript/index.js",
|
|
6
6
|
"types": "./dist/typescript/index.d.ts",
|
|
@@ -22,8 +22,17 @@
|
|
|
22
22
|
"ts-proto": "^2.7.0"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
|
-
".":
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
".": {
|
|
26
|
+
"import": "./dist/typescript/index.js",
|
|
27
|
+
"require": "./dist/typescript/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./typescript/*": {
|
|
30
|
+
"import": "./dist/typescript/*.js",
|
|
31
|
+
"require": "./dist/typescript/*.js"
|
|
32
|
+
},
|
|
33
|
+
"./*.proto": {
|
|
34
|
+
"import": "./src/protos/*.proto",
|
|
35
|
+
"require": "./src/protos/*.proto"
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
}
|