@postpaybr/protos 1.1.10 → 1.1.11

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.
@@ -1,4 +1,4 @@
1
- import { AccountEntryType, ChargeMetadata, GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { AccountEntryType, ChargeMetadata, GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "accountEntry";
4
4
  export interface CreateAccountEntryRequest {
@@ -1,4 +1,4 @@
1
- import { CardChallenge, CardRejectionReason, VerificationStatus } from '@postpaybr/contracts/dist/types';
1
+ import { CardChallenge, CardRejectionReason, VerificationStatus } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "adminCardVerification";
4
4
  export interface CreateCardVerificationRequest {
@@ -1,4 +1,4 @@
1
- import { HolderType, RecipientLegalType, UserStatus } from '@postpaybr/contracts/dist/enums';
1
+ import { HolderType, RecipientLegalType, UserStatus } from '@postpaybr/contracts/enums';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "administrator";
4
4
  export interface CreateAdministratorRequest {
@@ -1,4 +1,4 @@
1
- import { AnticipationStatus } from '@postpaybr/contracts/dist/types';
1
+ import { AnticipationStatus } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "anticipation";
4
4
  export interface SimulateAnticipationsRequest {
@@ -1,4 +1,4 @@
1
- import { BankAccountType, HolderType } from '@postpaybr/contracts/dist/enums';
1
+ import { BankAccountType, HolderType } from '@postpaybr/contracts/enums';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "bankAccount";
4
4
  export interface CreateBankAccountRequest {
@@ -1,4 +1,4 @@
1
- import { brandType } from '@postpaybr/contracts/dist/types';
1
+ import { brandType } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "card";
4
4
  export interface CreateCardRequest {
@@ -1,4 +1,4 @@
1
- import { brandType, ChargeMetadata, ChargeStatus, ChargeSummaryStatus, ChargeType, FailureReason, GatewayIdentification, taxMeta, OrderType, PayableStatus, PaymentMethods, TaxPayload, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { brandType, ChargeMetadata, ChargeStatus, ChargeSummaryStatus, ChargeType, FailureReason, GatewayIdentification, taxMeta, OrderType, PayableStatus, PaymentMethods, TaxPayload, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "charge";
4
4
  export interface DateFilter {
@@ -1,4 +1,4 @@
1
- import { brandType, GatewayIdentification, taxMeta, MetaType, OrderType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { brandType, GatewayIdentification, taxMeta, MetaType, OrderType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "context";
4
4
  export interface LocationDetails {
@@ -1,4 +1,4 @@
1
- import { DocumentRejectionReason, VerificationStatus } from '@postpaybr/contracts/dist/types';
1
+ import { DocumentRejectionReason, VerificationStatus } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "documentVerification";
4
4
  export interface UpdateDocumentVerificationStatusRequest {
@@ -1,4 +1,4 @@
1
- import { brandType, FeeType, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { brandType, FeeType, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "fee";
4
4
  export interface CreateFeeDto {
@@ -1,5 +1,5 @@
1
- import { RecipientType } from '@postpaybr/contracts/dist/enums';
2
- import { ChangesFieldType, NotificationCategory, NotificationImageType } from '@postpaybr/contracts/dist/types';
1
+ import { RecipientType } from '@postpaybr/contracts/enums';
2
+ import { ChangesFieldType, NotificationCategory, NotificationImageType } from '@postpaybr/contracts/types';
3
3
  import { Observable } from 'rxjs';
4
4
  export declare const protobufPackage = "notification";
5
5
  export interface GetAllNotificationsDto {
@@ -1,4 +1,4 @@
1
- import { OrderStatus, OrderType, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { OrderStatus, OrderType, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "order";
4
4
  export interface CreateOrderRequest {
@@ -1,4 +1,4 @@
1
- import { AnticipationStatus, ChargeStatus, PayableStatus, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { AnticipationStatus, ChargeStatus, PayableStatus, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "payable";
4
4
  export interface CreatePayableRequest {
@@ -1,4 +1,4 @@
1
- import { brandType, MetaType, PaymentMethods, PaymentScheduleType, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { brandType, MetaType, PaymentMethods, PaymentScheduleType, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "paymentCalculator";
4
4
  export interface CalculateInstallmentsRequest {
@@ -1,5 +1,5 @@
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';
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';
3
3
  import { Observable } from 'rxjs';
4
4
  export declare const protobufPackage = "paymentCard";
5
5
  export interface CreatePaymentRequest {
@@ -1,4 +1,4 @@
1
- import { GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { GatewayIdentification, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "paymentGateway";
4
4
  export interface PaymentGateway {
@@ -1,4 +1,4 @@
1
- import { brandType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { brandType, GatewayIdentification, taxMeta, MetaType, PaymentMethods, PaymentScheduleType, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "paymentPix";
4
4
  export interface CreatePaymentRequest {
@@ -1,4 +1,4 @@
1
- import { ChargeStatus, PaymentMethods, ReceiptMetadata, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { ChargeStatus, PaymentMethods, ReceiptMetadata, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ChargeScheduleDetail } from './charge';
4
4
  export declare const protobufPackage = "receipt";
@@ -1,4 +1,4 @@
1
- import { GatewayIdentification, PaymentGatewayType, PaymentMethods } from '@postpaybr/contracts/dist/types';
1
+ import { GatewayIdentification, PaymentGatewayType, PaymentMethods } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "recipientPaymentGateway";
4
4
  export interface RecipientPaymentGateway {
@@ -1,5 +1,5 @@
1
- import { BankAccountType, HolderType, RecipientLegalType } from '@postpaybr/contracts/dist/enums';
2
- import { GatewayIdentification } from '@postpaybr/contracts/dist/types';
1
+ import { BankAccountType, HolderType, RecipientLegalType } from '@postpaybr/contracts/enums';
2
+ import { GatewayIdentification } from '@postpaybr/contracts/types';
3
3
  import { Observable } from 'rxjs';
4
4
  export declare const protobufPackage = "recipient";
5
5
  export interface Recipient {
@@ -1,4 +1,4 @@
1
- import { Permission } from '@postpaybr/contracts/dist/enums';
1
+ import { Permission } from '@postpaybr/contracts/enums';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "role";
4
4
  export interface CreateRoleRequest {
@@ -1,4 +1,4 @@
1
- import { ChargeStatus, MetaType, OrderStatus, PaymentMethods, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/dist/types';
1
+ import { ChargeStatus, MetaType, OrderStatus, PaymentMethods, taxMeta, TaxStatus, TaxTypes } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "tax";
4
4
  export interface Payer {
@@ -1,4 +1,4 @@
1
- import { ChargeStatus, GatewayIdentification } from '@postpaybr/contracts/dist/types';
1
+ import { ChargeStatus, GatewayIdentification } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "transfer";
4
4
  export interface UpdateTransferStatusRequest {
@@ -1,4 +1,4 @@
1
- import { AccountTypeEnum } from '@postpaybr/contracts/dist/types';
1
+ import { AccountTypeEnum } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
3
  export declare const protobufPackage = "twoFactor";
4
4
  export interface EnableTwoFactorRequest {
@@ -1,6 +1,6 @@
1
- import { AccountType } from '@postpaybr/contracts/dist/types';
1
+ import { AccountType } from '@postpaybr/contracts/types';
2
2
  import { Observable } from 'rxjs';
3
- import { UserStatus } from '@postpaybr/contracts/dist/enums';
3
+ import { UserStatus } from '@postpaybr/contracts/enums';
4
4
  export declare const protobufPackage = "user";
5
5
  export interface CreateChangePasswordRequest {
6
6
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postpaybr/protos",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "main": "./dist/typescript/index.js",
5
5
  "types": "./dist/typescript/index.d.ts",
6
6
  "files": [
@@ -21,6 +21,7 @@
21
21
  "ts-proto": "^2.7.0"
22
22
  },
23
23
  "exports": {
24
+ ".": "./src/protos",
24
25
  "./account-entry": "./dist/typescript/account-entry.js",
25
26
  "./address": "./dist/typescript/address.js",
26
27
  "./admin-card-verification": "./dist/typescript/admin-card-verification.js",
@@ -59,7 +60,6 @@
59
60
  "./transfer": "./dist/typescript/transfer.js",
60
61
  "./two-factor": "./dist/typescript/two-factor.js",
61
62
  "./user": "./dist/typescript/user.js",
62
- "./wallet": "./dist/typescript/wallet.js",
63
- "./*.proto": "./src/protos/*.proto"
63
+ "./wallet": "./dist/typescript/wallet.js"
64
64
  }
65
65
  }