@postpaybr/protos 1.1.16 → 1.1.18
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.
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const PROTO_DIR: string;
|
|
2
|
+
export declare const PROTO_PATH: {
|
|
3
|
+
AUTH: string;
|
|
4
|
+
CUSTOMER: string;
|
|
5
|
+
USER: string;
|
|
6
|
+
DEVICE: string;
|
|
7
|
+
EMAIL: string;
|
|
8
|
+
WALLET: string;
|
|
9
|
+
CONTEXT: string;
|
|
10
|
+
PAYMENT_PIX: string;
|
|
11
|
+
PAYMENT_CARD: string;
|
|
12
|
+
CARD: string;
|
|
13
|
+
ADDRESS: string;
|
|
14
|
+
LOCATION: string;
|
|
15
|
+
SMS: string;
|
|
16
|
+
ORDER: string;
|
|
17
|
+
TAX: string;
|
|
18
|
+
RECIPIENT: string;
|
|
19
|
+
RECEIPT: string;
|
|
20
|
+
PAYMENT_CALCULATOR: string;
|
|
21
|
+
PAYER: string;
|
|
22
|
+
PAYABLE: string;
|
|
23
|
+
CHARGE: string;
|
|
24
|
+
NOTIFICATION: string;
|
|
25
|
+
EXPO_PUSH: string;
|
|
26
|
+
CARD_VAULT: string;
|
|
27
|
+
FEE: string;
|
|
28
|
+
RECIPIENT_PAYMENT_GATEWAY: string;
|
|
29
|
+
PAYMENT_GATEWAY: string;
|
|
30
|
+
REPRESENTATIVE: string;
|
|
31
|
+
BANK_ACCOUNT: string;
|
|
32
|
+
CHARGE_SCHEDULE: string;
|
|
33
|
+
ROLE: string;
|
|
34
|
+
ADMINISTRATOR: string;
|
|
35
|
+
ANTICIPATION: string;
|
|
36
|
+
ASSET: string;
|
|
37
|
+
CARD_VERIFICATION: string;
|
|
38
|
+
ADMIN_CARD_VERIFICATION: string;
|
|
39
|
+
DOCUMENT_VERIFICATION: string;
|
|
40
|
+
TRANSFER: string;
|
|
41
|
+
ACCOUNT_ENTRY: string;
|
|
42
|
+
DAILY_BALANCE: string;
|
|
43
|
+
TWO_FACTOR: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PROTO_PATH = exports.PROTO_DIR = void 0;
|
|
4
|
+
const path_1 = require("path");
|
|
5
|
+
exports.PROTO_DIR = (0, path_1.join)(__dirname, '../protos');
|
|
6
|
+
const getProtoPath = (file) => (0, path_1.join)(exports.PROTO_DIR, `${file}.proto`);
|
|
7
|
+
exports.PROTO_PATH = {
|
|
8
|
+
AUTH: getProtoPath('auth'),
|
|
9
|
+
CUSTOMER: getProtoPath('customer'),
|
|
10
|
+
USER: getProtoPath('user'),
|
|
11
|
+
DEVICE: getProtoPath('device'),
|
|
12
|
+
EMAIL: getProtoPath('email'),
|
|
13
|
+
WALLET: getProtoPath('wallet'),
|
|
14
|
+
CONTEXT: getProtoPath('context'),
|
|
15
|
+
PAYMENT_PIX: getProtoPath('payment-pix'),
|
|
16
|
+
PAYMENT_CARD: getProtoPath('payment-card'),
|
|
17
|
+
CARD: getProtoPath('card'),
|
|
18
|
+
ADDRESS: getProtoPath('address'),
|
|
19
|
+
LOCATION: getProtoPath('location'),
|
|
20
|
+
SMS: getProtoPath('sms'),
|
|
21
|
+
ORDER: getProtoPath('order'),
|
|
22
|
+
TAX: getProtoPath('tax'),
|
|
23
|
+
RECIPIENT: getProtoPath('recipient'),
|
|
24
|
+
RECEIPT: getProtoPath('receipt'),
|
|
25
|
+
PAYMENT_CALCULATOR: getProtoPath('payment-calculator'),
|
|
26
|
+
PAYER: getProtoPath('payer'),
|
|
27
|
+
PAYABLE: getProtoPath('payable'),
|
|
28
|
+
CHARGE: getProtoPath('charge'),
|
|
29
|
+
NOTIFICATION: getProtoPath('notification'),
|
|
30
|
+
EXPO_PUSH: getProtoPath('expo-push'),
|
|
31
|
+
CARD_VAULT: getProtoPath('card-vault'),
|
|
32
|
+
FEE: getProtoPath('fee'),
|
|
33
|
+
RECIPIENT_PAYMENT_GATEWAY: getProtoPath('recipient-payment-gateway'),
|
|
34
|
+
PAYMENT_GATEWAY: getProtoPath('payment-gateway'),
|
|
35
|
+
REPRESENTATIVE: getProtoPath('representative'),
|
|
36
|
+
BANK_ACCOUNT: getProtoPath('bank-account'),
|
|
37
|
+
CHARGE_SCHEDULE: getProtoPath('charge-schedule'),
|
|
38
|
+
ROLE: getProtoPath('role'),
|
|
39
|
+
ADMINISTRATOR: getProtoPath('administrator'),
|
|
40
|
+
ANTICIPATION: getProtoPath('anticipation'),
|
|
41
|
+
ASSET: getProtoPath('asset'),
|
|
42
|
+
CARD_VERIFICATION: getProtoPath('card-verification'),
|
|
43
|
+
ADMIN_CARD_VERIFICATION: getProtoPath('admin-card-verification'),
|
|
44
|
+
DOCUMENT_VERIFICATION: getProtoPath('document-verification'),
|
|
45
|
+
TRANSFER: getProtoPath('transfer'),
|
|
46
|
+
ACCOUNT_ENTRY: getProtoPath('account-entry'),
|
|
47
|
+
DAILY_BALANCE: getProtoPath('daily-balance'),
|
|
48
|
+
TWO_FACTOR: getProtoPath('two-factor'),
|
|
49
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postpaybr/protos",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"main": "./dist/typescript/index.js",
|
|
5
5
|
"types": "./dist/typescript/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"ts-proto": "^2.7.0"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
|
+
"./proto-paths": "./dist/typescript/proto-paths.js",
|
|
25
26
|
"./common": "./dist/typescript/common.js",
|
|
26
27
|
"./account-entry": "./dist/typescript/account-entry.js",
|
|
27
28
|
"./address": "./dist/typescript/address.js",
|