cecon-interfaces 1.7.83 → 1.7.84
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/esm2022/natipay/company/entities/company.entity.mjs +2 -1
- package/dist/esm2022/natipay/company/entities/fee-from.entity.mjs +17 -0
- package/dist/esm2022/natipay/company/entities/fee-sale-channel.entity.mjs +17 -0
- package/dist/esm2022/natipay/company/entities/index.mjs +3 -1
- package/dist/esm2022/natipay/company/entities/natipay-fee.entity.mjs +3 -7
- package/dist/esm2022/natipay/company/entities/natipay.entity.mjs +5 -1
- package/dist/esm2022/natipay/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/natipay/company/interfaces/i-fee-channel.mjs +2 -0
- package/dist/esm2022/natipay/company/interfaces/i-fee-from.mjs +2 -0
- package/dist/esm2022/natipay/company/interfaces/i-fee.mjs +2 -0
- package/dist/esm2022/natipay/company/interfaces/i-natipay.mjs +1 -1
- package/dist/esm2022/natipay/company/interfaces/index.mjs +1 -1
- package/dist/esm2022/natipay/index.mjs +2 -1
- package/dist/esm2022/natipay/orders/entities/mercado-pago.entity.mjs +2 -1
- package/dist/esm2022/natipay/orders/enums/sale-channel.enum.mjs +7 -1
- package/dist/esm2022/natipay/orders/interfaces/i-mercado-pago.mjs +1 -1
- package/dist/esm2022/natipay/sponsor/entities/index.mjs +2 -0
- package/dist/esm2022/natipay/sponsor/entities/sponsor.entity.mjs +23 -0
- package/dist/esm2022/natipay/sponsor/index.mjs +3 -0
- package/dist/esm2022/natipay/sponsor/interfaces/i-sponsor.mjs +2 -0
- package/dist/esm2022/natipay/sponsor/interfaces/index.mjs +2 -0
- package/dist/esm2022/transaction/entities/fee.entity.mjs +15 -0
- package/dist/esm2022/transaction/entities/index.mjs +2 -1
- package/dist/esm2022/transaction/entities/transaction-total.entity.mjs +1 -1
- package/dist/esm2022/transaction/enums/amount-mode.enum.mjs +6 -0
- package/dist/esm2022/transaction/enums/index.mjs +6 -6
- package/dist/esm2022/transaction/interfaces/i-fee.mjs +1 -1
- package/dist/esm2022/transaction/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +1537 -1456
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/company/entities/company.entity.d.ts +2 -0
- package/dist/natipay/company/entities/company.entity.js +1 -0
- package/dist/natipay/company/entities/fee-from.entity.d.ts +9 -0
- package/dist/natipay/company/entities/fee-from.entity.js +21 -0
- package/dist/natipay/company/entities/fee-sale-channel.entity.d.ts +9 -0
- package/dist/natipay/company/entities/fee-sale-channel.entity.js +21 -0
- package/dist/natipay/company/entities/index.d.ts +2 -0
- package/dist/natipay/company/entities/index.js +5 -1
- package/dist/natipay/company/entities/natipay-fee.entity.d.ts +3 -4
- package/dist/natipay/company/entities/natipay-fee.entity.js +2 -6
- package/dist/natipay/company/entities/natipay.entity.d.ts +6 -2
- package/dist/natipay/company/entities/natipay.entity.js +4 -0
- package/dist/natipay/company/interfaces/i-company.d.ts +6 -0
- package/dist/natipay/company/interfaces/i-fee-channel.d.ts +7 -0
- package/dist/natipay/company/interfaces/i-fee-from.d.ts +7 -0
- package/dist/natipay/company/interfaces/i-fee-from.js +2 -0
- package/dist/natipay/company/interfaces/i-fee.d.ts +6 -0
- package/dist/natipay/company/interfaces/i-fee.js +2 -0
- package/dist/natipay/company/interfaces/i-natipay.d.ts +6 -2
- package/dist/natipay/company/interfaces/index.d.ts +3 -1
- package/dist/natipay/index.d.ts +1 -0
- package/dist/natipay/index.js +1 -0
- package/dist/natipay/orders/entities/mercado-pago.entity.d.ts +2 -0
- package/dist/natipay/orders/entities/mercado-pago.entity.js +1 -0
- package/dist/natipay/orders/enums/sale-channel.enum.d.ts +7 -1
- package/dist/natipay/orders/enums/sale-channel.enum.js +6 -0
- package/dist/natipay/orders/interfaces/i-mercado-pago.d.ts +2 -0
- package/dist/natipay/sponsor/entities/index.d.ts +1 -0
- package/dist/natipay/sponsor/entities/index.js +5 -0
- package/dist/natipay/sponsor/entities/sponsor.entity.d.ts +16 -0
- package/dist/natipay/sponsor/entities/sponsor.entity.js +27 -0
- package/dist/natipay/sponsor/index.d.ts +2 -0
- package/dist/natipay/sponsor/index.js +18 -0
- package/dist/natipay/sponsor/interfaces/i-sponsor.d.ts +14 -0
- package/dist/natipay/sponsor/interfaces/i-sponsor.js +2 -0
- package/dist/natipay/sponsor/interfaces/index.d.ts +1 -0
- package/dist/natipay/sponsor/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/dist/transaction/entities/fee.entity.d.ts +8 -0
- package/dist/transaction/entities/fee.entity.js +19 -0
- package/dist/transaction/entities/index.d.ts +1 -0
- package/dist/transaction/entities/index.js +3 -1
- package/dist/transaction/enums/amount-mode.enum.d.ts +4 -0
- package/dist/transaction/enums/amount-mode.enum.js +8 -0
- package/dist/transaction/enums/index.d.ts +5 -5
- package/dist/transaction/enums/index.js +10 -9
- package/dist/transaction/interfaces/i-fee.d.ts +2 -1
- package/dist/transaction/interfaces/index.d.ts +1 -1
- package/package.json +1 -1
- package/readme.md +1 -0
- package/dist/esm2022/natipay/company/interfaces/i-natipay-fee.mjs +0 -2
- package/dist/natipay/company/interfaces/i-natipay-fee.d.ts +0 -5
- /package/dist/natipay/company/interfaces/{i-natipay-fee.js → i-fee-channel.js} +0 -0
@@ -5573,6 +5573,10 @@ class NatiapyAddressEntity {
|
|
5573
5573
|
}
|
5574
5574
|
}
|
5575
5575
|
|
5576
|
+
/**
|
5577
|
+
* @deprecated
|
5578
|
+
* Esta classe está obsoleta. Use a propriedade fees para saber a conta do marketplace.
|
5579
|
+
*/
|
5576
5580
|
class NatipayEntity {
|
5577
5581
|
balance = 0;
|
5578
5582
|
blockedBalance = 0;
|
@@ -5604,6 +5608,7 @@ class NatipayCompanyEntity {
|
|
5604
5608
|
doc = '';
|
5605
5609
|
docType = EDocType.CNPJ;
|
5606
5610
|
email = '';
|
5611
|
+
fees = [];
|
5607
5612
|
id = '';
|
5608
5613
|
imageUrl = null;
|
5609
5614
|
internationalCode = '55';
|
@@ -5629,12 +5634,169 @@ class NatipayCompanyEntity {
|
|
5629
5634
|
}
|
5630
5635
|
}
|
5631
5636
|
|
5632
|
-
|
5633
|
-
|
5634
|
-
|
5635
|
-
|
5636
|
-
|
5637
|
-
|
5637
|
+
var EMpStatusDetail;
|
5638
|
+
(function (EMpStatusDetail) {
|
5639
|
+
EMpStatusDetail["ACCREDITED"] = "accredited";
|
5640
|
+
EMpStatusDetail["PENDING_CONTINGENCY"] = "pending_contingency";
|
5641
|
+
EMpStatusDetail["PENDING_REVIEW_MANUAL"] = "pending_review_manual";
|
5642
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_DATE"] = "cc_rejected_bad_filled_date";
|
5643
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_OTHER"] = "cc_rejected_bad_filled_other";
|
5644
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_SECURITY_CODE"] = "cc_rejected_bad_filled_security_code";
|
5645
|
+
EMpStatusDetail["CC_REJECTED_BLACKLIST"] = "cc_rejected_blacklist";
|
5646
|
+
EMpStatusDetail["CC_REJECTED_CALL_FOR_AUTHORIZE"] = "cc_rejected_call_for_authorize";
|
5647
|
+
EMpStatusDetail["CC_REJECTED_CARD_DISABLED"] = "cc_rejected_card_disabled";
|
5648
|
+
EMpStatusDetail["CC_REJECTED_DUPLICATED_PAYMENT"] = "cc_rejected_duplicated_payment";
|
5649
|
+
EMpStatusDetail["CC_REJECTED_HIGH_RISK"] = "cc_rejected_high_risk";
|
5650
|
+
EMpStatusDetail["CC_REJECTED_INSUFFICIENT_AMOUNT"] = "cc_rejected_insufficient_amount";
|
5651
|
+
EMpStatusDetail["CC_REJECTED_INVALID_INSTALLMENTS"] = "cc_rejected_invalid_installments";
|
5652
|
+
EMpStatusDetail["CC_REJECTED_MAX_ATTEMPTS"] = "cc_rejected_max_attempts";
|
5653
|
+
EMpStatusDetail["CC_REJECTED_OTHER_REASON"] = "cc_rejected_other_reason";
|
5654
|
+
})(EMpStatusDetail || (EMpStatusDetail = {}));
|
5655
|
+
// Accredited: credited payment.
|
5656
|
+
// pending_contingency: the payment is being processed.
|
5657
|
+
// pending_review_manual: the payment is under review to determine its approval or rejection.
|
5658
|
+
// cc_rejected_bad_filled_date: incorrect expiration date.
|
5659
|
+
// cc_rejected_bad_filled_other: incorrect card details.
|
5660
|
+
// cc_rejected_bad_filled_security_code: incorrect CVV.
|
5661
|
+
// cc_rejected_blacklist: the card is in the denial list, being present in problems related to theft/complaints/fraud.
|
5662
|
+
// cc_rejected_call_for_authorize: the payment method requires prior authorization of the transaction value.
|
5663
|
+
// cc_rejected_card_disabled: the card is inactive.
|
5664
|
+
// cc_rejected_duplicated_payment: duplicated transaction.
|
5665
|
+
// cc_rejected_high_risk: rejected by Fraud Prevention.
|
5666
|
+
// cc_rejected_insufficient_amount: insufficient amount.
|
5667
|
+
// cc_rejected_invalid_installments: invalid number of installments.
|
5668
|
+
// cc_rejected_max_attempts: maximum number of attempts exceeded.
|
5669
|
+
// cc_rejected_other_reason: generic error.
|
5670
|
+
|
5671
|
+
var EMpStatus;
|
5672
|
+
(function (EMpStatus) {
|
5673
|
+
EMpStatus["PENDING"] = "pending";
|
5674
|
+
EMpStatus["APPROVED"] = "approved";
|
5675
|
+
EMpStatus["AUTHORIZED"] = "authorized";
|
5676
|
+
EMpStatus["IN_PROCESS"] = "in_process";
|
5677
|
+
EMpStatus["IN_MEDIATION"] = "in_mediation";
|
5678
|
+
EMpStatus["REJECTED"] = "rejected";
|
5679
|
+
EMpStatus["CANCELLED"] = "cancelled";
|
5680
|
+
EMpStatus["REFUNDED"] = "refunded";
|
5681
|
+
EMpStatus["CHARGED_BACK"] = "charged_back";
|
5682
|
+
})(EMpStatus || (EMpStatus = {}));
|
5683
|
+
// É o estado atual do pagamento. Podem ser ser dos seguintes tipos.
|
5684
|
+
// pending: The user has not concluded the payment process (for example, by generating a payment by boleto, it will be concluded at the moment in which the user makes the payment in the selected place).
|
5685
|
+
// approved: The payment has been approved and credited.
|
5686
|
+
// authorized: The payment has been authorized but not captured yet.
|
5687
|
+
// in_process: The payment is in analysis.
|
5688
|
+
// in_mediation: The user started a dispute.
|
5689
|
+
// rejected: The payment was rejected (the user can try to pay again).
|
5690
|
+
// cancelled: Either the payment was canceled by one of the parties or expired.
|
5691
|
+
// refunded: The payment was returned to the user.
|
5692
|
+
// charged_back: A chargeback was placed on the buyer's credit card.
|
5693
|
+
|
5694
|
+
var EOperationType;
|
5695
|
+
(function (EOperationType) {
|
5696
|
+
// mp enums :
|
5697
|
+
EOperationType["INVESTMENT"] = "investment";
|
5698
|
+
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
5699
|
+
EOperationType["MONEY_TRANSFER"] = "money_transfer";
|
5700
|
+
EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
|
5701
|
+
EOperationType["ACCOUNT_FUND"] = "account_fund";
|
5702
|
+
EOperationType["PAYMENT_ADDITION"] = "payment_addition";
|
5703
|
+
EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
|
5704
|
+
EOperationType["POS_PAYMENT"] = "pos_payment";
|
5705
|
+
EOperationType["MONEY_EXCHANGE"] = "money_exchange";
|
5706
|
+
// arcnet enums :
|
5707
|
+
EOperationType["FEE_SHIPPING"] = "Taxa de Entrega";
|
5708
|
+
EOperationType["FEE_CONVENIENCE"] = "Taxa de Conveniencia";
|
5709
|
+
EOperationType["NATI_PAY"] = "Nati Pay";
|
5710
|
+
EOperationType["NATIPAY"] = "Natipay";
|
5711
|
+
EOperationType["GOLIVE"] = "Go Live";
|
5712
|
+
EOperationType["FIN_TAX"] = "Taxa Financeira";
|
5713
|
+
EOperationType["WITHDRAW"] = "Saque em Conta";
|
5714
|
+
})(EOperationType || (EOperationType = {}));
|
5715
|
+
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
5716
|
+
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
5717
|
+
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
5718
|
+
// money_transfer: Funds transfer between two users.
|
5719
|
+
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
5720
|
+
// account_fund: Money income in the user's account.
|
5721
|
+
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
5722
|
+
// cellphone_recharge: Recharge of a user's cellphone account.
|
5723
|
+
// pos_payment: Payment done through a Point of Sale.
|
5724
|
+
// money_exchange: Payment to exchange currency for a user.
|
5725
|
+
|
5726
|
+
var EPaymentMethodId;
|
5727
|
+
(function (EPaymentMethodId) {
|
5728
|
+
EPaymentMethodId["ACCOUNT_MONEY"] = "account_money";
|
5729
|
+
EPaymentMethodId["PIX"] = "pix";
|
5730
|
+
EPaymentMethodId["TED"] = "ted";
|
5731
|
+
// casos internacionais
|
5732
|
+
EPaymentMethodId["DEBIN_TRANSFER"] = "debin_transfer";
|
5733
|
+
EPaymentMethodId["CVU"] = "cvu";
|
5734
|
+
EPaymentMethodId["PSE"] = "pse";
|
5735
|
+
})(EPaymentMethodId || (EPaymentMethodId = {}));
|
5736
|
+
// Indica o identificador do meio de pagamento selecionado para efetuar o pagamento. A seguir, apresentamos alguns exemplos. Obtenha todos os meios de pagamento disponíveis consultando a API de 'Obter meios de pagamento'.
|
5737
|
+
// Pix: Método de pagamento digital instantâneo utilizado no Brasil.
|
5738
|
+
// Debin_transfer: Método de pagamento digital utilizado na Argentina que debita imediatamente um valor da conta, solicitando autorização prévia.
|
5739
|
+
// Ted: É o pagamento por Transferência Eletrônica Disponível, usado no Brasil, que possui taxas de utilização. O pagamento é realizado no mesmo dia da transação, mas para isso, é necessário realizar a transferência dentro do período estipulado.
|
5740
|
+
// CVU: Método de pagamento utilizado na Argentina.
|
5741
|
+
// PSE: Método de pagamento digital utilizado na Colômbia, no qual os usuários autorizam o débito de fundos de seu banco por meio da banca virtual, seja de suas contas de poupança, corrente ou depósito eletrônico.
|
5742
|
+
|
5743
|
+
var EPaymentTypeId;
|
5744
|
+
(function (EPaymentTypeId) {
|
5745
|
+
EPaymentTypeId["TICKET"] = "ticket";
|
5746
|
+
EPaymentTypeId["BANK_TRANSFER"] = "bank_transfer";
|
5747
|
+
EPaymentTypeId["ATM"] = "atm";
|
5748
|
+
EPaymentTypeId["CREDIT_CARD"] = "credit_card";
|
5749
|
+
EPaymentTypeId["DEBIT_CARD"] = "debit_card";
|
5750
|
+
EPaymentTypeId["PREPAID_CARD"] = "prepaid_card";
|
5751
|
+
EPaymentTypeId["DIGITAL_CURRENCY"] = "digital_currency";
|
5752
|
+
EPaymentTypeId["DIGITAL_WALLET"] = "digital_wallet";
|
5753
|
+
EPaymentTypeId["VOUCHER_CARD"] = "voucher_card";
|
5754
|
+
EPaymentTypeId["CRYPTO_TRANSFER"] = "crypto_transfer";
|
5755
|
+
})(EPaymentTypeId || (EPaymentTypeId = {}));
|
5756
|
+
// É o tipo da forma de pagamento (cartão, transferência bancária, boleto, caixa eletrônico, etc). Podem ser dos seguintes tipos.
|
5757
|
+
// ticket: Boletos, Caixa Electronica Payment, PayCash, Efecty, Oxxo, etc.
|
5758
|
+
// bank_transfer: Pix e PSE (Pagos Seguros en Línea).
|
5759
|
+
// atm: Pagamento em caixa eletrônico (amplamente utilizado no México através do BBVA Bancomer).
|
5760
|
+
// credit_card: Pagamento com cartão de crédito.
|
5761
|
+
// debit_card: Pagamento com cartão de débito.
|
5762
|
+
// prepaid_card: Pagamento com cartão pré-pago.
|
5763
|
+
// digital_currency: Compras com Mercado Crédito.
|
5764
|
+
// digital_wallet: Paypal.
|
5765
|
+
// voucher_card: Benefícios Alelo e Sodexo.
|
5766
|
+
// crypto_transfer: Pagamento com criptomoedas como Ethereum e Bitcoin.
|
5767
|
+
|
5768
|
+
var EReleaseStatus;
|
5769
|
+
(function (EReleaseStatus) {
|
5770
|
+
EReleaseStatus["RELEASED"] = "released";
|
5771
|
+
EReleaseStatus["PENDING"] = "pending";
|
5772
|
+
})(EReleaseStatus || (EReleaseStatus = {}));
|
5773
|
+
// Data em que o pagamento é liquidado e o dinheiro é disponibilizado na conta Mercado Pago do Collector (aquele que recebe o pagamento). O campo pode assumir os valores “pending” ou “released”, sendo que o primeiro indica que o pagamento ainda não foi liberado (dinheiro retido por tempo) e “released” significa que o dinheiro já foi liberado para o saldo disponível do usuário.
|
5774
|
+
|
5775
|
+
var ETransactionResumesTargetType;
|
5776
|
+
(function (ETransactionResumesTargetType) {
|
5777
|
+
ETransactionResumesTargetType["BALANCE"] = "BALANCE";
|
5778
|
+
ETransactionResumesTargetType["TAX"] = "TAX";
|
5779
|
+
ETransactionResumesTargetType["WITHDRAW"] = "WITHDRAW";
|
5780
|
+
ETransactionResumesTargetType["EARNED"] = "EARNED";
|
5781
|
+
})(ETransactionResumesTargetType || (ETransactionResumesTargetType = {}));
|
5782
|
+
|
5783
|
+
var ETransactionStatus;
|
5784
|
+
(function (ETransactionStatus) {
|
5785
|
+
ETransactionStatus["BLOCKED"] = "BLOCKED";
|
5786
|
+
ETransactionStatus["PROCESSED"] = "PROCESSED";
|
5787
|
+
ETransactionStatus["PROCESSING"] = "PROCESSING";
|
5788
|
+
})(ETransactionStatus || (ETransactionStatus = {}));
|
5789
|
+
|
5790
|
+
var EAmountMode;
|
5791
|
+
(function (EAmountMode) {
|
5792
|
+
EAmountMode["PERCENTAGE"] = "percentage";
|
5793
|
+
EAmountMode["FIXED"] = "fixed";
|
5794
|
+
})(EAmountMode || (EAmountMode = {}));
|
5795
|
+
|
5796
|
+
class FeeDetailEntity {
|
5797
|
+
amount = 0;
|
5798
|
+
feePayer = '';
|
5799
|
+
type = '';
|
5638
5800
|
constructor(data) {
|
5639
5801
|
if (data) {
|
5640
5802
|
for (let key in data) {
|
@@ -5646,46 +5808,41 @@ class NatipayFeeEntity {
|
|
5646
5808
|
}
|
5647
5809
|
}
|
5648
5810
|
|
5649
|
-
|
5650
|
-
|
5651
|
-
|
5652
|
-
|
5653
|
-
|
5654
|
-
|
5655
|
-
|
5656
|
-
|
5657
|
-
|
5658
|
-
|
5659
|
-
|
5660
|
-
|
5661
|
-
}
|
5811
|
+
class FeeEntity {
|
5812
|
+
type = EFrom.PAYIO;
|
5813
|
+
value = 0;
|
5814
|
+
constructor(data) {
|
5815
|
+
if (data) {
|
5816
|
+
for (let key in data) {
|
5817
|
+
if (data.hasOwnProperty(key) && key in this) {
|
5818
|
+
this[key] = data[key];
|
5819
|
+
}
|
5820
|
+
}
|
5821
|
+
}
|
5822
|
+
}
|
5823
|
+
}
|
5662
5824
|
|
5663
|
-
|
5664
|
-
|
5665
|
-
|
5666
|
-
|
5667
|
-
|
5668
|
-
|
5669
|
-
|
5825
|
+
class TransactionBalanceEntity {
|
5826
|
+
before = 0;
|
5827
|
+
after = 0;
|
5828
|
+
constructor(data) {
|
5829
|
+
if (data) {
|
5830
|
+
for (let key in data) {
|
5831
|
+
if (data.hasOwnProperty(key) && key in this) {
|
5832
|
+
this[key] = data[key];
|
5833
|
+
}
|
5834
|
+
}
|
5835
|
+
}
|
5836
|
+
}
|
5837
|
+
}
|
5670
5838
|
|
5671
|
-
class
|
5672
|
-
|
5839
|
+
class TransactionInfoResumeEntity {
|
5840
|
+
// #region Properties (3)
|
5673
5841
|
companyId = '';
|
5674
5842
|
companyName = '';
|
5675
5843
|
containerId = '';
|
5676
|
-
|
5677
|
-
|
5678
|
-
email = '';
|
5679
|
-
id = '';
|
5680
|
-
imageUrl = '';
|
5681
|
-
internationalCode = '55';
|
5682
|
-
name = '';
|
5683
|
-
phoneNumber = '';
|
5684
|
-
rule = NatipayMemberRulesEnum.USER;
|
5685
|
-
tags = [];
|
5686
|
-
type = NatipayMemberTypeEnum.CLIENT;
|
5687
|
-
updatedAt = new Date();
|
5688
|
-
userId = '';
|
5844
|
+
// #endregion Properties (3)
|
5845
|
+
// #region Constructors (1)
|
5689
5846
|
constructor(data) {
|
5690
5847
|
if (data) {
|
5691
5848
|
for (let key in data) {
|
@@ -5697,11 +5854,10 @@ class NatipayMemberEntity {
|
|
5697
5854
|
}
|
5698
5855
|
}
|
5699
5856
|
|
5700
|
-
class
|
5701
|
-
|
5702
|
-
|
5703
|
-
|
5704
|
-
preferenceId = '';
|
5857
|
+
class TransactionPaymentMethodEntity {
|
5858
|
+
id = EPaymentMethodId.ACCOUNT_MONEY;
|
5859
|
+
issuerId = '';
|
5860
|
+
type = EPaymentTypeId.BANK_TRANSFER;
|
5705
5861
|
constructor(data) {
|
5706
5862
|
if (data) {
|
5707
5863
|
for (let key in data) {
|
@@ -5713,54 +5869,10 @@ class NatipayMercadoPagoEntity {
|
|
5713
5869
|
}
|
5714
5870
|
}
|
5715
5871
|
|
5716
|
-
|
5717
|
-
|
5718
|
-
|
5719
|
-
|
5720
|
-
ENatipayOrderStatus["CONFIRMED"] = "CONFIRMED";
|
5721
|
-
ENatipayOrderStatus["PENDING"] = "PENDING";
|
5722
|
-
ENatipayOrderStatus["CANCELLED"] = "CANCELLED";
|
5723
|
-
ENatipayOrderStatus["CONCLUDED"] = "CONCLUDED";
|
5724
|
-
ENatipayOrderStatus["PAID"] = "PAID";
|
5725
|
-
})(ENatipayOrderStatus || (ENatipayOrderStatus = {}));
|
5726
|
-
|
5727
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
5728
|
-
var ENatipaySaleChannel;
|
5729
|
-
(function (ENatipaySaleChannel) {
|
5730
|
-
ENatipaySaleChannel["PAYIO_CASH"] = "PAYIOCASH";
|
5731
|
-
ENatipaySaleChannel["PAYIO_CHEF"] = "PAYIOCHEF";
|
5732
|
-
ENatipaySaleChannel["NATIPAY_TAB"] = "NATIPAY-TAB";
|
5733
|
-
ENatipaySaleChannel["NATI_PDV"] = "NATI-PDV";
|
5734
|
-
ENatipaySaleChannel["NATI_SMART_POS"] = "NATI-SMART-POS";
|
5735
|
-
ENatipaySaleChannel["NATI_TOTEM"] = "NATI-TOTEM";
|
5736
|
-
ENatipaySaleChannel["MOBYO_DELIVERY"] = "MOBYO-DELIVERY";
|
5737
|
-
})(ENatipaySaleChannel || (ENatipaySaleChannel = {}));
|
5738
|
-
|
5739
|
-
// index.ts
|
5740
|
-
|
5741
|
-
class NatipayOrderEntity {
|
5742
|
-
additionalFees = [];
|
5743
|
-
benefits = [];
|
5744
|
-
cancellation = null;
|
5745
|
-
companyId = '';
|
5746
|
-
containerId = '';
|
5747
|
-
createdAt = new Date();
|
5748
|
-
customer = null;
|
5749
|
-
displayId = '';
|
5750
|
-
from = EFrom.NATIPAY;
|
5751
|
-
id = '';
|
5752
|
-
invoiceId = null;
|
5753
|
-
items = [];
|
5754
|
-
mercadoPago = null;
|
5755
|
-
payments = null;
|
5756
|
-
reference = '';
|
5757
|
-
saleChannel = ENatipaySaleChannel.NATI_PDV;
|
5758
|
-
sandbox = false;
|
5759
|
-
status = ENatipayOrderStatus.PLACED;
|
5760
|
-
total = new OrderTotalEntity();
|
5761
|
-
transactionId = null;
|
5762
|
-
updatedAt = new Date();
|
5763
|
-
version = '';
|
5872
|
+
class GeneralResumeTotalEntity {
|
5873
|
+
amount = 0;
|
5874
|
+
count = 0;
|
5875
|
+
avarageAmount = 0;
|
5764
5876
|
constructor(data) {
|
5765
5877
|
if (data) {
|
5766
5878
|
for (let key in data) {
|
@@ -5772,20 +5884,10 @@ class NatipayOrderEntity {
|
|
5772
5884
|
}
|
5773
5885
|
}
|
5774
5886
|
|
5775
|
-
class
|
5776
|
-
|
5887
|
+
class ResumeChildEntity {
|
5888
|
+
type = null;
|
5889
|
+
totals = new GeneralResumeTotalEntity();
|
5777
5890
|
id = '';
|
5778
|
-
index = 0;
|
5779
|
-
name = '';
|
5780
|
-
observations = '';
|
5781
|
-
picture = '';
|
5782
|
-
price = 0;
|
5783
|
-
productId = 0;
|
5784
|
-
quantity = 0;
|
5785
|
-
totalPrice = 0;
|
5786
|
-
unit = '';
|
5787
|
-
unitPrice = 0;
|
5788
|
-
weight = 0;
|
5789
5891
|
constructor(data) {
|
5790
5892
|
if (data) {
|
5791
5893
|
for (let key in data) {
|
@@ -5797,11 +5899,34 @@ class NatipayOrderItemEntity {
|
|
5797
5899
|
}
|
5798
5900
|
}
|
5799
5901
|
|
5800
|
-
|
5801
|
-
|
5902
|
+
var EResumeIntervalType;
|
5903
|
+
(function (EResumeIntervalType) {
|
5904
|
+
EResumeIntervalType["DAY"] = "DAY";
|
5905
|
+
EResumeIntervalType["MONTHS"] = "MONTH";
|
5906
|
+
EResumeIntervalType["YEAR"] = "YEAR";
|
5907
|
+
EResumeIntervalType["HOUR"] = "HOUR";
|
5908
|
+
})(EResumeIntervalType || (EResumeIntervalType = {}));
|
5909
|
+
|
5910
|
+
var EResumeType;
|
5911
|
+
(function (EResumeType) {
|
5912
|
+
EResumeType["NATI"] = "NATI";
|
5913
|
+
EResumeType["AUTOMATION"] = "AUTOMATION";
|
5914
|
+
EResumeType["NATIPAY"] = "NATIPAY";
|
5915
|
+
EResumeType["DESENFILA"] = "DESENFILA";
|
5916
|
+
EResumeType["NATIST"] = "NATIST";
|
5917
|
+
EResumeType["MOBYO"] = "MOBYO";
|
5918
|
+
EResumeType["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
5919
|
+
})(EResumeType || (EResumeType = {}));
|
5920
|
+
|
5921
|
+
class ResumeEntity {
|
5802
5922
|
id = '';
|
5803
|
-
|
5804
|
-
|
5923
|
+
interval = EResumeIntervalType.YEAR;
|
5924
|
+
info = null;
|
5925
|
+
createdAt = new Date();
|
5926
|
+
updatedAt = new Date();
|
5927
|
+
totals = new GeneralResumeTotalEntity();
|
5928
|
+
child = [];
|
5929
|
+
childByType = [];
|
5805
5930
|
constructor(data) {
|
5806
5931
|
if (data) {
|
5807
5932
|
for (let key in data) {
|
@@ -5813,13 +5938,16 @@ class NatipayJwtPayloadAppEntity {
|
|
5813
5938
|
}
|
5814
5939
|
}
|
5815
5940
|
|
5816
|
-
class
|
5817
|
-
|
5818
|
-
|
5941
|
+
class TransactionResumeEntity {
|
5942
|
+
info = new TransactionInfoResumeEntity();
|
5943
|
+
interval = EResumeIntervalType.YEAR;
|
5819
5944
|
id = '';
|
5820
|
-
|
5821
|
-
|
5822
|
-
|
5945
|
+
resumeVersion = '';
|
5946
|
+
createdAt = new Date();
|
5947
|
+
updatedAt = new Date();
|
5948
|
+
totalTarget = [];
|
5949
|
+
items = [];
|
5950
|
+
// #endregion Properties (6)
|
5823
5951
|
// #region Constructors (1)
|
5824
5952
|
constructor(data) {
|
5825
5953
|
if (data) {
|
@@ -5832,14 +5960,10 @@ class NatipayJwtPayloadDeviceEntity {
|
|
5832
5960
|
}
|
5833
5961
|
}
|
5834
5962
|
|
5835
|
-
class
|
5836
|
-
|
5837
|
-
|
5838
|
-
|
5839
|
-
containerId = null;
|
5840
|
-
containerName = null;
|
5841
|
-
// #endregion Properties (4)
|
5842
|
-
// #region Constructors (1)
|
5963
|
+
class TransactionTotalEntity {
|
5964
|
+
subTotal = 0;
|
5965
|
+
fees = 0;
|
5966
|
+
orderAmount = 0;
|
5843
5967
|
constructor(data) {
|
5844
5968
|
if (data) {
|
5845
5969
|
for (let key in data) {
|
@@ -5851,39 +5975,41 @@ class NatipayJwtPayloadInfoEntity {
|
|
5851
5975
|
}
|
5852
5976
|
}
|
5853
5977
|
|
5854
|
-
class
|
5855
|
-
|
5978
|
+
class TransactionEntity {
|
5979
|
+
balance = null;
|
5980
|
+
card = {};
|
5981
|
+
createdAt = new Date();
|
5982
|
+
dateApproved = null;
|
5983
|
+
dateCreated = new Date();
|
5984
|
+
dateLastUpdated = new Date();
|
5985
|
+
dateOfExpiration = null;
|
5986
|
+
description = '';
|
5987
|
+
desenfilaInfo = new DesenfilaInfoEntity();
|
5988
|
+
externalOrderReference = '';
|
5989
|
+
feeDetails = [];
|
5990
|
+
from = EFrom.NATIPAY;
|
5856
5991
|
id = '';
|
5857
|
-
|
5858
|
-
|
5859
|
-
|
5860
|
-
|
5861
|
-
|
5862
|
-
|
5863
|
-
|
5864
|
-
|
5865
|
-
|
5866
|
-
|
5867
|
-
|
5868
|
-
|
5869
|
-
|
5870
|
-
|
5871
|
-
|
5872
|
-
|
5873
|
-
|
5874
|
-
|
5875
|
-
|
5876
|
-
|
5877
|
-
|
5878
|
-
iat = 0;
|
5879
|
-
info = null;
|
5880
|
-
iss = '';
|
5881
|
-
jti = '';
|
5882
|
-
sub = '';
|
5883
|
-
type = null;
|
5884
|
-
user = null;
|
5885
|
-
// #endregion Properties (16)
|
5886
|
-
// #region Constructors (1)
|
5992
|
+
installments = 0;
|
5993
|
+
liveMode = true;
|
5994
|
+
mobyoInfo = new MobyoInfoEntity();
|
5995
|
+
moneyReleaseDate = null;
|
5996
|
+
moneyReleaseStatus = EReleaseStatus.PENDING;
|
5997
|
+
natiInfo = new InfoEntity();
|
5998
|
+
operationType = EOperationType.REGULAR_PAYMENT;
|
5999
|
+
paymentMethod = null;
|
6000
|
+
paymentMethodId = EPaymentMethodId.ACCOUNT_MONEY;
|
6001
|
+
posId = '';
|
6002
|
+
referenceId = '';
|
6003
|
+
resumeVersion = '';
|
6004
|
+
saleChannel = ENatipaySaleChannel.NATI_PDV;
|
6005
|
+
stamped = null;
|
6006
|
+
status = EMpStatus.PENDING;
|
6007
|
+
statusDetail = EMpStatusDetail.ACCREDITED;
|
6008
|
+
total = null;
|
6009
|
+
transactionAmount = 0;
|
6010
|
+
transactionAmountRefunded = 0;
|
6011
|
+
transactionStatus = ETransactionStatus.PROCESSING;
|
6012
|
+
updatedAt = new Date();
|
5887
6013
|
constructor(data) {
|
5888
6014
|
if (data) {
|
5889
6015
|
for (let key in data) {
|
@@ -5895,22 +6021,10 @@ class NatipayJwtPayloadEntity {
|
|
5895
6021
|
}
|
5896
6022
|
}
|
5897
6023
|
|
5898
|
-
class
|
5899
|
-
|
5900
|
-
|
5901
|
-
|
5902
|
-
expiresAt = new Date();
|
5903
|
-
id = '';
|
5904
|
-
ipAddress = null;
|
5905
|
-
isRevoked = false;
|
5906
|
-
refreshToken = '';
|
5907
|
-
revokedAt = null;
|
5908
|
-
sandbox = false;
|
5909
|
-
updatedAt = new Date();
|
5910
|
-
userAgent = null;
|
5911
|
-
userId = '';
|
5912
|
-
// #endregion Properties (12)
|
5913
|
-
// #region Constructors (1)
|
6024
|
+
class FeeFromEntity {
|
6025
|
+
amount = 0;
|
6026
|
+
amountMode = EAmountMode.PERCENTAGE;
|
6027
|
+
from = EFrom.DEFAULT;
|
5914
6028
|
constructor(data) {
|
5915
6029
|
if (data) {
|
5916
6030
|
for (let key in data) {
|
@@ -5922,52 +6036,10 @@ class NatipayTokenEntity {
|
|
5922
6036
|
}
|
5923
6037
|
}
|
5924
6038
|
|
5925
|
-
|
5926
|
-
|
5927
|
-
|
5928
|
-
|
5929
|
-
PayioUserTypeEnum["PARTNER"] = "PARTNER";
|
5930
|
-
PayioUserTypeEnum["ADMIN"] = "ADMIN";
|
5931
|
-
PayioUserTypeEnum["CLIENT"] = "CLIENT";
|
5932
|
-
PayioUserTypeEnum["CUSTOMER"] = "CUSTOMER";
|
5933
|
-
PayioUserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
5934
|
-
PayioUserTypeEnum["TESTER"] = "TESTER";
|
5935
|
-
PayioUserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
5936
|
-
})(PayioUserTypeEnum || (PayioUserTypeEnum = {}));
|
5937
|
-
|
5938
|
-
var UserTypeEnum;
|
5939
|
-
(function (UserTypeEnum) {
|
5940
|
-
UserTypeEnum["NONE"] = "NONE";
|
5941
|
-
UserTypeEnum["USER"] = "USER";
|
5942
|
-
UserTypeEnum["PARTNER"] = "PARTNER";
|
5943
|
-
UserTypeEnum["ADMIN"] = "ADMIN";
|
5944
|
-
UserTypeEnum["CLIENT"] = "CLIENT";
|
5945
|
-
UserTypeEnum["CUSTOMER"] = "CUSTOMER";
|
5946
|
-
UserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
5947
|
-
UserTypeEnum["TESTER"] = "TESTER";
|
5948
|
-
UserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
5949
|
-
})(UserTypeEnum || (UserTypeEnum = {}));
|
5950
|
-
|
5951
|
-
class UserEntity {
|
5952
|
-
// #region Properties (16)
|
5953
|
-
accessCount = 0;
|
5954
|
-
active = true;
|
5955
|
-
code = null;
|
5956
|
-
createdAt = new Date();
|
5957
|
-
currentCompanyId = null;
|
5958
|
-
currentCompanyName = null;
|
5959
|
-
email = null;
|
5960
|
-
id = '';
|
5961
|
-
imageUrl = null;
|
5962
|
-
internationalCode = '55';
|
5963
|
-
lastAccessAt = new Date();
|
5964
|
-
name = '';
|
5965
|
-
phoneNumber = '';
|
5966
|
-
tags = [];
|
5967
|
-
type = PayioUserTypeEnum.NONE;
|
5968
|
-
updatedAt = new Date();
|
5969
|
-
// #endregion Properties (16)
|
5970
|
-
// #region Constructors (1)
|
6039
|
+
class FeeSaleChannelEntity {
|
6040
|
+
amount = 0;
|
6041
|
+
amountMode = EAmountMode.PERCENTAGE;
|
6042
|
+
saleChannel = ENatipaySaleChannel.DEFAULT;
|
5971
6043
|
constructor(data) {
|
5972
6044
|
if (data) {
|
5973
6045
|
for (let key in data) {
|
@@ -5979,11 +6051,10 @@ class UserEntity {
|
|
5979
6051
|
}
|
5980
6052
|
}
|
5981
6053
|
|
5982
|
-
class
|
5983
|
-
|
5984
|
-
|
6054
|
+
class NatipayFeeEntity {
|
6055
|
+
from = [];
|
6056
|
+
saleChannel = [];
|
5985
6057
|
constructor(data) {
|
5986
|
-
super();
|
5987
6058
|
if (data) {
|
5988
6059
|
for (let key in data) {
|
5989
6060
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -5994,53 +6065,46 @@ class NatipayUserEntity extends UserEntity {
|
|
5994
6065
|
}
|
5995
6066
|
}
|
5996
6067
|
|
5997
|
-
var
|
5998
|
-
(function (
|
5999
|
-
|
6000
|
-
|
6001
|
-
|
6002
|
-
|
6003
|
-
|
6004
|
-
|
6005
|
-
|
6006
|
-
|
6007
|
-
|
6008
|
-
|
6009
|
-
|
6010
|
-
NotificationCategoryEnum["MEETING"] = "meeting";
|
6011
|
-
NotificationCategoryEnum["ALERT"] = "alert";
|
6012
|
-
NotificationCategoryEnum["INFO"] = "info";
|
6013
|
-
NotificationCategoryEnum["DANGER"] = "danger";
|
6014
|
-
NotificationCategoryEnum["WARN"] = "warning";
|
6015
|
-
NotificationCategoryEnum["UPDATE"] = "update";
|
6016
|
-
NotificationCategoryEnum["OTHER"] = "other";
|
6017
|
-
})(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
|
6018
|
-
|
6019
|
-
var NotificationPriorityEnum;
|
6020
|
-
(function (NotificationPriorityEnum) {
|
6021
|
-
NotificationPriorityEnum["LOW"] = "low";
|
6022
|
-
NotificationPriorityEnum["MEDIUM"] = "medium";
|
6023
|
-
NotificationPriorityEnum["HIGH"] = "high";
|
6024
|
-
NotificationPriorityEnum["URGENT"] = "urgent";
|
6025
|
-
})(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
|
6068
|
+
var NatipayMemberRulesEnum;
|
6069
|
+
(function (NatipayMemberRulesEnum) {
|
6070
|
+
NatipayMemberRulesEnum["ADMIN"] = "ADMIN";
|
6071
|
+
NatipayMemberRulesEnum["USER"] = "USER";
|
6072
|
+
NatipayMemberRulesEnum["OWNER"] = "OWNER";
|
6073
|
+
NatipayMemberRulesEnum["SUPPORT"] = "SUPPORT";
|
6074
|
+
NatipayMemberRulesEnum["PARTNER"] = "PARTNER";
|
6075
|
+
NatipayMemberRulesEnum["FINANCE"] = "FINANCE";
|
6076
|
+
NatipayMemberRulesEnum["MARKETING"] = "MARKETING";
|
6077
|
+
NatipayMemberRulesEnum["SALES"] = "SALES";
|
6078
|
+
NatipayMemberRulesEnum["MENAGER"] = "MENAGER";
|
6079
|
+
NatipayMemberRulesEnum["DEVELOPER"] = "DEVELOPER";
|
6080
|
+
})(NatipayMemberRulesEnum || (NatipayMemberRulesEnum = {}));
|
6026
6081
|
|
6027
|
-
var
|
6028
|
-
(function (
|
6029
|
-
|
6030
|
-
|
6031
|
-
|
6032
|
-
|
6033
|
-
|
6034
|
-
})(NotificationStatusEnum || (NotificationStatusEnum = {}));
|
6082
|
+
var NatipayMemberTypeEnum;
|
6083
|
+
(function (NatipayMemberTypeEnum) {
|
6084
|
+
NatipayMemberTypeEnum["ADMIN"] = "ADMIN";
|
6085
|
+
NatipayMemberTypeEnum["CLIENT"] = "CLIENT";
|
6086
|
+
NatipayMemberTypeEnum["DEVELOPER"] = "DEVELOPER";
|
6087
|
+
NatipayMemberTypeEnum["SUPPORT"] = "SUPPORT";
|
6088
|
+
})(NatipayMemberTypeEnum || (NatipayMemberTypeEnum = {}));
|
6035
6089
|
|
6036
|
-
class
|
6037
|
-
|
6038
|
-
|
6039
|
-
|
6040
|
-
|
6041
|
-
|
6042
|
-
|
6043
|
-
|
6090
|
+
class NatipayMemberEntity {
|
6091
|
+
active = true;
|
6092
|
+
companyId = '';
|
6093
|
+
companyName = '';
|
6094
|
+
containerId = '';
|
6095
|
+
containerName = '';
|
6096
|
+
createdAt = new Date();
|
6097
|
+
email = '';
|
6098
|
+
id = '';
|
6099
|
+
imageUrl = '';
|
6100
|
+
internationalCode = '55';
|
6101
|
+
name = '';
|
6102
|
+
phoneNumber = '';
|
6103
|
+
rule = NatipayMemberRulesEnum.USER;
|
6104
|
+
tags = [];
|
6105
|
+
type = NatipayMemberTypeEnum.CLIENT;
|
6106
|
+
updatedAt = new Date();
|
6107
|
+
userId = '';
|
6044
6108
|
constructor(data) {
|
6045
6109
|
if (data) {
|
6046
6110
|
for (let key in data) {
|
@@ -6052,23 +6116,12 @@ class NotificationActionEntity {
|
|
6052
6116
|
}
|
6053
6117
|
}
|
6054
6118
|
|
6055
|
-
class
|
6056
|
-
|
6057
|
-
|
6058
|
-
|
6059
|
-
|
6060
|
-
|
6061
|
-
description = '';
|
6062
|
-
expirationTime = 3600;
|
6063
|
-
id = '';
|
6064
|
-
imageUrl = '';
|
6065
|
-
priority = NotificationPriorityEnum.HIGH;
|
6066
|
-
sound = true;
|
6067
|
-
status = NotificationStatusEnum.DELIVERED;
|
6068
|
-
title = '';
|
6069
|
-
topicName = '';
|
6070
|
-
// #endregion Properties (13)
|
6071
|
-
// #region Constructors (1)
|
6119
|
+
class NatipayMercadoPagoEntity {
|
6120
|
+
amountPaid = 0;
|
6121
|
+
paymentId = '';
|
6122
|
+
paymentStatus = '';
|
6123
|
+
preferenceId = '';
|
6124
|
+
feeDetails = [];
|
6072
6125
|
constructor(data) {
|
6073
6126
|
if (data) {
|
6074
6127
|
for (let key in data) {
|
@@ -6080,28 +6133,60 @@ class NotificationEntity {
|
|
6080
6133
|
}
|
6081
6134
|
}
|
6082
6135
|
|
6083
|
-
|
6084
|
-
|
6085
|
-
|
6086
|
-
|
6087
|
-
|
6088
|
-
|
6089
|
-
|
6090
|
-
|
6136
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
6137
|
+
var ENatipayOrderStatus;
|
6138
|
+
(function (ENatipayOrderStatus) {
|
6139
|
+
ENatipayOrderStatus["PLACED"] = "PLACED";
|
6140
|
+
ENatipayOrderStatus["CONFIRMED"] = "CONFIRMED";
|
6141
|
+
ENatipayOrderStatus["PENDING"] = "PENDING";
|
6142
|
+
ENatipayOrderStatus["CANCELLED"] = "CANCELLED";
|
6143
|
+
ENatipayOrderStatus["CONCLUDED"] = "CONCLUDED";
|
6144
|
+
ENatipayOrderStatus["PAID"] = "PAID";
|
6145
|
+
})(ENatipayOrderStatus || (ENatipayOrderStatus = {}));
|
6146
|
+
|
6147
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
6148
|
+
var ENatipaySaleChannel;
|
6149
|
+
(function (ENatipaySaleChannel) {
|
6150
|
+
ENatipaySaleChannel["PAYIO_CASH"] = "PAYIOCASH";
|
6151
|
+
ENatipaySaleChannel["PAYIO_CHEF"] = "PAYIOCHEF";
|
6152
|
+
ENatipaySaleChannel["GESTOR_FINANCE"] = "GESTOR-FINANCE";
|
6153
|
+
ENatipaySaleChannel["NATIPAY_TAB"] = "NATIPAY-TAB";
|
6154
|
+
ENatipaySaleChannel["NATI_PDV"] = "NATI-PDV";
|
6155
|
+
ENatipaySaleChannel["NATI_SMART_POS"] = "NATI-SMART-POS";
|
6156
|
+
ENatipaySaleChannel["NATI_TOTEM"] = "NATI-TOTEM";
|
6157
|
+
ENatipaySaleChannel["MOBYO_DELIVERY"] = "MOBYO-DELIVERY";
|
6158
|
+
ENatipaySaleChannel["MOBYO_TAB"] = "MOBYO-TAB";
|
6159
|
+
ENatipaySaleChannel["MOBYO_PDV"] = "MOBYO-PDV";
|
6160
|
+
ENatipaySaleChannel["MOBYO_SMART_POS"] = "MOBYO-SMART-POS";
|
6161
|
+
ENatipaySaleChannel["MOBYO_TOTEM"] = "MOBYO-TOTEM";
|
6162
|
+
ENatipaySaleChannel["DEFAULT"] = "DEFAULT";
|
6163
|
+
})(ENatipaySaleChannel || (ENatipaySaleChannel = {}));
|
6164
|
+
|
6165
|
+
// index.ts
|
6166
|
+
|
6167
|
+
class NatipayOrderEntity {
|
6168
|
+
additionalFees = [];
|
6169
|
+
benefits = [];
|
6170
|
+
cancellation = null;
|
6171
|
+
companyId = '';
|
6172
|
+
containerId = '';
|
6173
|
+
createdAt = new Date();
|
6174
|
+
customer = null;
|
6175
|
+
displayId = '';
|
6176
|
+
from = EFrom.NATIPAY;
|
6091
6177
|
id = '';
|
6092
|
-
|
6093
|
-
|
6094
|
-
|
6095
|
-
|
6096
|
-
|
6097
|
-
|
6098
|
-
phoneNumber = '';
|
6178
|
+
invoiceId = null;
|
6179
|
+
items = [];
|
6180
|
+
mercadoPago = null;
|
6181
|
+
payments = null;
|
6182
|
+
reference = '';
|
6183
|
+
saleChannel = ENatipaySaleChannel.NATI_PDV;
|
6099
6184
|
sandbox = false;
|
6100
|
-
|
6185
|
+
status = ENatipayOrderStatus.PLACED;
|
6186
|
+
total = new OrderTotalEntity();
|
6187
|
+
transactionId = null;
|
6101
6188
|
updatedAt = new Date();
|
6102
6189
|
version = '';
|
6103
|
-
// #endregion Properties (18)
|
6104
|
-
// #region Constructors (1)
|
6105
6190
|
constructor(data) {
|
6106
6191
|
if (data) {
|
6107
6192
|
for (let key in data) {
|
@@ -6113,43 +6198,20 @@ class PartnerEntity {
|
|
6113
6198
|
}
|
6114
6199
|
}
|
6115
6200
|
|
6116
|
-
|
6117
|
-
|
6118
|
-
EPayuioActivationStatus["NONE"] = "NONE";
|
6119
|
-
EPayuioActivationStatus["PENDING"] = "PENDING";
|
6120
|
-
EPayuioActivationStatus["ACTIVE"] = "ACTIVE";
|
6121
|
-
EPayuioActivationStatus["EXPIRED"] = "EXPIRED";
|
6122
|
-
EPayuioActivationStatus["CANCELLED"] = "CANCELLED";
|
6123
|
-
EPayuioActivationStatus["REVOKED"] = "REVOKED";
|
6124
|
-
EPayuioActivationStatus["TRIAL_7"] = "TRIAL_7";
|
6125
|
-
EPayuioActivationStatus["TRIAL_15"] = "TRIAL_15";
|
6126
|
-
EPayuioActivationStatus["TRIAL_30"] = "TRIAL_30";
|
6127
|
-
})(EPayuioActivationStatus || (EPayuioActivationStatus = {}));
|
6128
|
-
|
6129
|
-
class PayioActivationKeyEntity {
|
6130
|
-
// #region Properties (20)
|
6131
|
-
activationDate = null;
|
6132
|
-
activationReleasedId = '';
|
6133
|
-
appId = null;
|
6134
|
-
appSlug = null;
|
6135
|
-
clientKey = null;
|
6136
|
-
companyId = null;
|
6137
|
-
companyName = null;
|
6138
|
-
createdAt = new Date();
|
6139
|
-
createdBy = null;
|
6140
|
-
deviceId = null;
|
6141
|
-
distributorId = null;
|
6142
|
-
distributorKey = null;
|
6143
|
-
distributorName = null;
|
6144
|
-
expirationDate = null;
|
6201
|
+
class NatipayOrderItemEntity {
|
6202
|
+
externalCode = '';
|
6145
6203
|
id = '';
|
6146
|
-
|
6147
|
-
|
6148
|
-
|
6149
|
-
|
6150
|
-
|
6151
|
-
|
6152
|
-
|
6204
|
+
index = 0;
|
6205
|
+
name = '';
|
6206
|
+
observations = '';
|
6207
|
+
picture = '';
|
6208
|
+
price = 0;
|
6209
|
+
productId = 0;
|
6210
|
+
quantity = 0;
|
6211
|
+
totalPrice = 0;
|
6212
|
+
unit = '';
|
6213
|
+
unitPrice = 0;
|
6214
|
+
weight = 0;
|
6153
6215
|
constructor(data) {
|
6154
6216
|
if (data) {
|
6155
6217
|
for (let key in data) {
|
@@ -6161,36 +6223,29 @@ class PayioActivationKeyEntity {
|
|
6161
6223
|
}
|
6162
6224
|
}
|
6163
6225
|
|
6164
|
-
|
6165
|
-
|
6166
|
-
|
6167
|
-
|
6168
|
-
|
6169
|
-
|
6170
|
-
|
6171
|
-
|
6172
|
-
|
6173
|
-
|
6174
|
-
|
6175
|
-
|
6176
|
-
}
|
6226
|
+
class NatipayJwtPayloadAppEntity {
|
6227
|
+
developerId = null;
|
6228
|
+
id = '';
|
6229
|
+
name = null;
|
6230
|
+
slug = '';
|
6231
|
+
constructor(data) {
|
6232
|
+
if (data) {
|
6233
|
+
for (let key in data) {
|
6234
|
+
if (data.hasOwnProperty(key) && key in this) {
|
6235
|
+
this[key] = data[key];
|
6236
|
+
}
|
6237
|
+
}
|
6238
|
+
}
|
6239
|
+
}
|
6240
|
+
}
|
6177
6241
|
|
6178
|
-
class
|
6179
|
-
// #region Properties (
|
6180
|
-
|
6181
|
-
active = true;
|
6182
|
-
createdAt = new Date();
|
6242
|
+
class NatipayJwtPayloadDeviceEntity {
|
6243
|
+
// #region Properties (4)
|
6244
|
+
chefConfigId = '';
|
6183
6245
|
id = '';
|
6184
|
-
imageUrl = null;
|
6185
|
-
internationalCode = '55';
|
6186
|
-
lastAccessAt = null;
|
6187
6246
|
name = '';
|
6188
|
-
|
6189
|
-
|
6190
|
-
tags = [];
|
6191
|
-
updatedAt = new Date();
|
6192
|
-
userId = '';
|
6193
|
-
// #endregion Properties (13)
|
6247
|
+
scheduleId = '';
|
6248
|
+
// #endregion Properties (4)
|
6194
6249
|
// #region Constructors (1)
|
6195
6250
|
constructor(data) {
|
6196
6251
|
if (data) {
|
@@ -6203,90 +6258,14 @@ class PayioAdminEntity {
|
|
6203
6258
|
}
|
6204
6259
|
}
|
6205
6260
|
|
6206
|
-
|
6207
|
-
|
6208
|
-
|
6209
|
-
|
6210
|
-
|
6211
|
-
|
6212
|
-
|
6213
|
-
|
6214
|
-
|
6215
|
-
class PayioAppEntity {
|
6216
|
-
active = false;
|
6217
|
-
clientKey = null;
|
6218
|
-
clientSecret = null;
|
6219
|
-
createdAt = new Date();
|
6220
|
-
description = '';
|
6221
|
-
downloadUrl = '';
|
6222
|
-
expiresAt = null;
|
6223
|
-
expiresIn = null;
|
6224
|
-
id = '';
|
6225
|
-
name = '';
|
6226
|
-
price = 0;
|
6227
|
-
refreshToken = null;
|
6228
|
-
secret = '';
|
6229
|
-
slug = EPayuioAppSlug.none;
|
6230
|
-
tags = [];
|
6231
|
-
accessToken = null;
|
6232
|
-
updatedAt = new Date();
|
6233
|
-
version = '0.0.1';
|
6234
|
-
constructor(data) {
|
6235
|
-
if (data) {
|
6236
|
-
for (let key in data) {
|
6237
|
-
if (data.hasOwnProperty(key) && key in this) {
|
6238
|
-
this[key] = data[key];
|
6239
|
-
}
|
6240
|
-
}
|
6241
|
-
}
|
6242
|
-
}
|
6243
|
-
}
|
6244
|
-
|
6245
|
-
var EBarcodeFormat;
|
6246
|
-
(function (EBarcodeFormat) {
|
6247
|
-
EBarcodeFormat["CODE_4_PRICE_5"] = "FCCCCTTTTT";
|
6248
|
-
EBarcodeFormat["CODE_4_PRICE_6"] = "FCCCCTTTTTT";
|
6249
|
-
EBarcodeFormat["CODE_4_WEIGHT"] = "FCCCCPPPPP";
|
6250
|
-
EBarcodeFormat["CODE_5_PRICE_5"] = "FCCCCCTTTTT";
|
6251
|
-
EBarcodeFormat["CODE_5_PRICE_6"] = "FCCCCCTTTTTT";
|
6252
|
-
EBarcodeFormat["CODE_5_WEIGHT"] = "FCCCCCPPPPP";
|
6253
|
-
EBarcodeFormat["CODE_6_PRICE_5"] = "FCCCCCCTTTTT";
|
6254
|
-
EBarcodeFormat["CODE_6_PRICE_6"] = "FCCCCCCTTTTTT";
|
6255
|
-
EBarcodeFormat["CODE_6_WEIGHT"] = "FCCCCCCPPPPP";
|
6256
|
-
})(EBarcodeFormat || (EBarcodeFormat = {}));
|
6257
|
-
|
6258
|
-
var EPayioChefOperationMode;
|
6259
|
-
(function (EPayioChefOperationMode) {
|
6260
|
-
EPayioChefOperationMode["SCALE"] = "SCALE";
|
6261
|
-
EPayioChefOperationMode["MANUAL"] = "MANUAL";
|
6262
|
-
})(EPayioChefOperationMode || (EPayioChefOperationMode = {}));
|
6263
|
-
|
6264
|
-
var EPayioChefTabMode;
|
6265
|
-
(function (EPayioChefTabMode) {
|
6266
|
-
EPayioChefTabMode["DIGITAL"] = "DIGITAL";
|
6267
|
-
EPayioChefTabMode["MANUAL"] = "MANUAL";
|
6268
|
-
EPayioChefTabMode["FACE"] = "FACE";
|
6269
|
-
})(EPayioChefTabMode || (EPayioChefTabMode = {}));
|
6270
|
-
|
6271
|
-
class PayioChefConfigOperationEntity {
|
6272
|
-
barcodeFormat = EBarcodeFormat.CODE_6_PRICE_6;
|
6273
|
-
barcodeInitialFlag = '2';
|
6274
|
-
bipOnPrint = true;
|
6275
|
-
headerMessages = [];
|
6276
|
-
listItems = [];
|
6277
|
-
multiOrder = false;
|
6278
|
-
operationMode = EPayioChefOperationMode.SCALE;
|
6279
|
-
printFormat = 'simple';
|
6280
|
-
showBarCode = true;
|
6281
|
-
showNetWeight = true;
|
6282
|
-
showOrderNumber = true;
|
6283
|
-
showPricePerKg = true;
|
6284
|
-
showTotalPrice = true;
|
6285
|
-
startOrderIn = 1;
|
6286
|
-
tabFormat = '';
|
6287
|
-
tabMode = EPayioChefTabMode.MANUAL;
|
6288
|
-
tabRegistered = false;
|
6289
|
-
urlLogo = '';
|
6261
|
+
class NatipayJwtPayloadInfoEntity {
|
6262
|
+
// #region Properties (4)
|
6263
|
+
companyId = null;
|
6264
|
+
companyName = null;
|
6265
|
+
containerId = null;
|
6266
|
+
containerName = null;
|
6267
|
+
// #endregion Properties (4)
|
6268
|
+
// #region Constructors (1)
|
6290
6269
|
constructor(data) {
|
6291
6270
|
if (data) {
|
6292
6271
|
for (let key in data) {
|
@@ -6296,18 +6275,15 @@ class PayioChefConfigOperationEntity {
|
|
6296
6275
|
}
|
6297
6276
|
}
|
6298
6277
|
}
|
6299
|
-
tabRegistred;
|
6300
6278
|
}
|
6301
6279
|
|
6302
|
-
class
|
6303
|
-
|
6304
|
-
|
6305
|
-
|
6306
|
-
|
6307
|
-
|
6308
|
-
|
6309
|
-
// #endregion Properties (5)
|
6310
|
-
// #region Constructors (1)
|
6280
|
+
class NatipayJwtPayloadUserEntity {
|
6281
|
+
email = null;
|
6282
|
+
id = '';
|
6283
|
+
internationalCode = '';
|
6284
|
+
memberRule = null;
|
6285
|
+
name = '';
|
6286
|
+
phoneNumber = '';
|
6311
6287
|
constructor(data) {
|
6312
6288
|
if (data) {
|
6313
6289
|
for (let key in data) {
|
@@ -6319,12 +6295,20 @@ class PayioChefConfigPrinterEntity {
|
|
6319
6295
|
}
|
6320
6296
|
}
|
6321
6297
|
|
6322
|
-
class
|
6323
|
-
// #region Properties (
|
6324
|
-
|
6325
|
-
|
6326
|
-
|
6327
|
-
|
6298
|
+
class NatipayJwtPayloadEntity {
|
6299
|
+
// #region Properties (16)
|
6300
|
+
app = null;
|
6301
|
+
aud = '';
|
6302
|
+
device = null;
|
6303
|
+
exp = 0;
|
6304
|
+
iat = 0;
|
6305
|
+
info = null;
|
6306
|
+
iss = '';
|
6307
|
+
jti = '';
|
6308
|
+
sub = '';
|
6309
|
+
type = null;
|
6310
|
+
user = null;
|
6311
|
+
// #endregion Properties (16)
|
6328
6312
|
// #region Constructors (1)
|
6329
6313
|
constructor(data) {
|
6330
6314
|
if (data) {
|
@@ -6337,10 +6321,17 @@ class PayioChefConfigScaleEntity {
|
|
6337
6321
|
}
|
6338
6322
|
}
|
6339
6323
|
|
6340
|
-
class
|
6341
|
-
|
6324
|
+
class NatipaySponsorEntity {
|
6325
|
+
createdAt = new Date();
|
6326
|
+
doc = '';
|
6327
|
+
docType = EDocType.CNPJ;
|
6328
|
+
email = null;
|
6329
|
+
fees = [];
|
6342
6330
|
id = '';
|
6331
|
+
info = new InfoEntity();
|
6332
|
+
internationalCode = '55';
|
6343
6333
|
name = '';
|
6334
|
+
phoneNumber = '';
|
6344
6335
|
constructor(data) {
|
6345
6336
|
if (data) {
|
6346
6337
|
for (let key in data) {
|
@@ -6352,9 +6343,22 @@ class PayioChefConfigTabsEntity {
|
|
6352
6343
|
}
|
6353
6344
|
}
|
6354
6345
|
|
6355
|
-
class
|
6356
|
-
|
6357
|
-
|
6346
|
+
class NatipayTokenEntity {
|
6347
|
+
// #region Properties (12)
|
6348
|
+
createdAt = new Date();
|
6349
|
+
deviceId = null;
|
6350
|
+
expiresAt = new Date();
|
6351
|
+
id = '';
|
6352
|
+
ipAddress = null;
|
6353
|
+
isRevoked = false;
|
6354
|
+
refreshToken = '';
|
6355
|
+
revokedAt = null;
|
6356
|
+
sandbox = false;
|
6357
|
+
updatedAt = new Date();
|
6358
|
+
userAgent = null;
|
6359
|
+
userId = '';
|
6360
|
+
// #endregion Properties (12)
|
6361
|
+
// #region Constructors (1)
|
6358
6362
|
constructor(data) {
|
6359
6363
|
if (data) {
|
6360
6364
|
for (let key in data) {
|
@@ -6366,59 +6370,51 @@ class PayioChefConfigWebhookHeaderEntity {
|
|
6366
6370
|
}
|
6367
6371
|
}
|
6368
6372
|
|
6369
|
-
|
6370
|
-
|
6371
|
-
|
6372
|
-
|
6373
|
-
|
6374
|
-
|
6375
|
-
|
6376
|
-
|
6377
|
-
|
6378
|
-
|
6379
|
-
|
6380
|
-
|
6381
|
-
if (data.hasOwnProperty(key) && key in this) {
|
6382
|
-
this[key] = data[key];
|
6383
|
-
}
|
6384
|
-
}
|
6385
|
-
}
|
6386
|
-
}
|
6387
|
-
}
|
6373
|
+
var PayioUserTypeEnum;
|
6374
|
+
(function (PayioUserTypeEnum) {
|
6375
|
+
PayioUserTypeEnum["NONE"] = "NONE";
|
6376
|
+
PayioUserTypeEnum["USER"] = "USER";
|
6377
|
+
PayioUserTypeEnum["PARTNER"] = "PARTNER";
|
6378
|
+
PayioUserTypeEnum["ADMIN"] = "ADMIN";
|
6379
|
+
PayioUserTypeEnum["CLIENT"] = "CLIENT";
|
6380
|
+
PayioUserTypeEnum["CUSTOMER"] = "CUSTOMER";
|
6381
|
+
PayioUserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
6382
|
+
PayioUserTypeEnum["TESTER"] = "TESTER";
|
6383
|
+
PayioUserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
6384
|
+
})(PayioUserTypeEnum || (PayioUserTypeEnum = {}));
|
6388
6385
|
|
6389
|
-
|
6386
|
+
var UserTypeEnum;
|
6387
|
+
(function (UserTypeEnum) {
|
6388
|
+
UserTypeEnum["NONE"] = "NONE";
|
6389
|
+
UserTypeEnum["USER"] = "USER";
|
6390
|
+
UserTypeEnum["PARTNER"] = "PARTNER";
|
6391
|
+
UserTypeEnum["ADMIN"] = "ADMIN";
|
6392
|
+
UserTypeEnum["CLIENT"] = "CLIENT";
|
6393
|
+
UserTypeEnum["CUSTOMER"] = "CUSTOMER";
|
6394
|
+
UserTypeEnum["DEVELOPER"] = "DEVELOPER";
|
6395
|
+
UserTypeEnum["TESTER"] = "TESTER";
|
6396
|
+
UserTypeEnum["DISTRIBUTOR"] = "DISTRIBUTOR";
|
6397
|
+
})(UserTypeEnum || (UserTypeEnum = {}));
|
6398
|
+
|
6399
|
+
class UserEntity {
|
6400
|
+
// #region Properties (16)
|
6401
|
+
accessCount = 0;
|
6402
|
+
active = true;
|
6403
|
+
code = null;
|
6390
6404
|
createdAt = new Date();
|
6405
|
+
currentCompanyId = null;
|
6406
|
+
currentCompanyName = null;
|
6407
|
+
email = null;
|
6391
6408
|
id = '';
|
6409
|
+
imageUrl = null;
|
6410
|
+
internationalCode = '55';
|
6411
|
+
lastAccessAt = new Date();
|
6392
6412
|
name = '';
|
6393
|
-
|
6394
|
-
|
6395
|
-
|
6396
|
-
tabs = [];
|
6413
|
+
phoneNumber = '';
|
6414
|
+
tags = [];
|
6415
|
+
type = PayioUserTypeEnum.NONE;
|
6397
6416
|
updatedAt = new Date();
|
6398
|
-
|
6399
|
-
constructor(data) {
|
6400
|
-
if (data) {
|
6401
|
-
for (let key in data) {
|
6402
|
-
if (data.hasOwnProperty(key) && key in this) {
|
6403
|
-
this[key] = data[key];
|
6404
|
-
}
|
6405
|
-
}
|
6406
|
-
}
|
6407
|
-
}
|
6408
|
-
}
|
6409
|
-
|
6410
|
-
class PayioAddressEntity {
|
6411
|
-
// #region Properties (11)
|
6412
|
-
city = '';
|
6413
|
-
complement = '';
|
6414
|
-
coords = new CoordsEntity();
|
6415
|
-
country;
|
6416
|
-
neighborhood = '';
|
6417
|
-
postalCode = '';
|
6418
|
-
state = '';
|
6419
|
-
streetName = '';
|
6420
|
-
streetNumber = '';
|
6421
|
-
// #endregion Properties (11)
|
6417
|
+
// #endregion Properties (16)
|
6422
6418
|
// #region Constructors (1)
|
6423
6419
|
constructor(data) {
|
6424
6420
|
if (data) {
|
@@ -6431,13 +6427,11 @@ class PayioAddressEntity {
|
|
6431
6427
|
}
|
6432
6428
|
}
|
6433
6429
|
|
6434
|
-
class
|
6435
|
-
|
6436
|
-
|
6437
|
-
expiresIn = 0;
|
6438
|
-
refreshToken = '';
|
6439
|
-
tokenType = '';
|
6430
|
+
class NatipayUserEntity extends UserEntity {
|
6431
|
+
currentContainerId = null;
|
6432
|
+
currentContainerName = null;
|
6440
6433
|
constructor(data) {
|
6434
|
+
super();
|
6441
6435
|
if (data) {
|
6442
6436
|
for (let key in data) {
|
6443
6437
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -6448,29 +6442,53 @@ class PayioCompanyNatipayCredentialEntity {
|
|
6448
6442
|
}
|
6449
6443
|
}
|
6450
6444
|
|
6451
|
-
|
6452
|
-
|
6453
|
-
|
6454
|
-
|
6455
|
-
|
6456
|
-
|
6457
|
-
|
6458
|
-
|
6459
|
-
|
6460
|
-
|
6461
|
-
|
6462
|
-
|
6463
|
-
|
6464
|
-
|
6465
|
-
|
6466
|
-
|
6467
|
-
|
6468
|
-
|
6469
|
-
|
6470
|
-
|
6471
|
-
|
6472
|
-
|
6473
|
-
|
6445
|
+
var NotificationActionTypeEnum;
|
6446
|
+
(function (NotificationActionTypeEnum) {
|
6447
|
+
NotificationActionTypeEnum["URL"] = "url";
|
6448
|
+
NotificationActionTypeEnum["FUNCTION"] = "function";
|
6449
|
+
NotificationActionTypeEnum["CUSTOM"] = "custom";
|
6450
|
+
})(NotificationActionTypeEnum || (NotificationActionTypeEnum = {}));
|
6451
|
+
|
6452
|
+
var NotificationCategoryEnum;
|
6453
|
+
(function (NotificationCategoryEnum) {
|
6454
|
+
NotificationCategoryEnum["INVITE"] = "invite";
|
6455
|
+
NotificationCategoryEnum["DEVICE"] = "device";
|
6456
|
+
NotificationCategoryEnum["LEAD"] = "lead";
|
6457
|
+
NotificationCategoryEnum["TASK"] = "task";
|
6458
|
+
NotificationCategoryEnum["MEETING"] = "meeting";
|
6459
|
+
NotificationCategoryEnum["ALERT"] = "alert";
|
6460
|
+
NotificationCategoryEnum["INFO"] = "info";
|
6461
|
+
NotificationCategoryEnum["DANGER"] = "danger";
|
6462
|
+
NotificationCategoryEnum["WARN"] = "warning";
|
6463
|
+
NotificationCategoryEnum["UPDATE"] = "update";
|
6464
|
+
NotificationCategoryEnum["OTHER"] = "other";
|
6465
|
+
})(NotificationCategoryEnum || (NotificationCategoryEnum = {}));
|
6466
|
+
|
6467
|
+
var NotificationPriorityEnum;
|
6468
|
+
(function (NotificationPriorityEnum) {
|
6469
|
+
NotificationPriorityEnum["LOW"] = "low";
|
6470
|
+
NotificationPriorityEnum["MEDIUM"] = "medium";
|
6471
|
+
NotificationPriorityEnum["HIGH"] = "high";
|
6472
|
+
NotificationPriorityEnum["URGENT"] = "urgent";
|
6473
|
+
})(NotificationPriorityEnum || (NotificationPriorityEnum = {}));
|
6474
|
+
|
6475
|
+
var NotificationStatusEnum;
|
6476
|
+
(function (NotificationStatusEnum) {
|
6477
|
+
NotificationStatusEnum["DELIVERED"] = "delivered";
|
6478
|
+
NotificationStatusEnum["READ"] = "read";
|
6479
|
+
NotificationStatusEnum["FAILED"] = "failed";
|
6480
|
+
NotificationStatusEnum["PLACED"] = "placed";
|
6481
|
+
NotificationStatusEnum["SENT"] = "sent";
|
6482
|
+
})(NotificationStatusEnum || (NotificationStatusEnum = {}));
|
6483
|
+
|
6484
|
+
class NotificationActionEntity {
|
6485
|
+
// #region Properties (4)
|
6486
|
+
icon = '';
|
6487
|
+
label = '';
|
6488
|
+
type = NotificationActionTypeEnum.URL;
|
6489
|
+
value = '';
|
6490
|
+
// #endregion Properties (4)
|
6491
|
+
// #region Constructors (1)
|
6474
6492
|
constructor(data) {
|
6475
6493
|
if (data) {
|
6476
6494
|
for (let key in data) {
|
@@ -6482,13 +6500,22 @@ class PayioCompanyEntity {
|
|
6482
6500
|
}
|
6483
6501
|
}
|
6484
6502
|
|
6485
|
-
class
|
6486
|
-
// #region Properties (
|
6487
|
-
|
6488
|
-
|
6489
|
-
|
6490
|
-
|
6491
|
-
|
6503
|
+
class NotificationEntity {
|
6504
|
+
// #region Properties (13)
|
6505
|
+
action = new NotificationActionEntity();
|
6506
|
+
category = NotificationCategoryEnum.ALERT;
|
6507
|
+
createdAt = new Date();
|
6508
|
+
data = '';
|
6509
|
+
description = '';
|
6510
|
+
expirationTime = 3600;
|
6511
|
+
id = '';
|
6512
|
+
imageUrl = '';
|
6513
|
+
priority = NotificationPriorityEnum.HIGH;
|
6514
|
+
sound = true;
|
6515
|
+
status = NotificationStatusEnum.DELIVERED;
|
6516
|
+
title = '';
|
6517
|
+
topicName = '';
|
6518
|
+
// #endregion Properties (13)
|
6492
6519
|
// #region Constructors (1)
|
6493
6520
|
constructor(data) {
|
6494
6521
|
if (data) {
|
@@ -6501,21 +6528,27 @@ class PayioDeviceChefEntity {
|
|
6501
6528
|
}
|
6502
6529
|
}
|
6503
6530
|
|
6504
|
-
class
|
6505
|
-
// #region Properties (
|
6506
|
-
active =
|
6507
|
-
|
6508
|
-
|
6509
|
-
|
6510
|
-
|
6511
|
-
|
6531
|
+
class PartnerEntity {
|
6532
|
+
// #region Properties (18)
|
6533
|
+
active = true;
|
6534
|
+
address = new AddressEntity();
|
6535
|
+
doc = '';
|
6536
|
+
docType = EDocType.CNPJ;
|
6537
|
+
email = '';
|
6538
|
+
fullName = '';
|
6512
6539
|
id = '';
|
6513
|
-
|
6540
|
+
imageUrl = '';
|
6541
|
+
internationalCode = '';
|
6542
|
+
level = 50;
|
6543
|
+
logoUrl = '';
|
6514
6544
|
name = '';
|
6545
|
+
paymentProvider = new PaymentProviderEntity();
|
6546
|
+
phoneNumber = '';
|
6515
6547
|
sandbox = false;
|
6516
6548
|
tags = [];
|
6517
6549
|
updatedAt = new Date();
|
6518
|
-
|
6550
|
+
version = '';
|
6551
|
+
// #endregion Properties (18)
|
6519
6552
|
// #region Constructors (1)
|
6520
6553
|
constructor(data) {
|
6521
6554
|
if (data) {
|
@@ -6528,45 +6561,41 @@ class PayioDeviceEntity {
|
|
6528
6561
|
}
|
6529
6562
|
}
|
6530
6563
|
|
6531
|
-
var
|
6532
|
-
(function (
|
6533
|
-
|
6534
|
-
|
6535
|
-
|
6536
|
-
|
6537
|
-
|
6538
|
-
|
6539
|
-
|
6540
|
-
|
6541
|
-
|
6542
|
-
|
6543
|
-
EPayioDistributorStatus["REJECTED_BY_ADMIN"] = "REJECTED_BY_ADMIN";
|
6544
|
-
EPayioDistributorStatus["REJECTED_BY_SYSTEM"] = "REJECTED_BY_SYSTEM";
|
6545
|
-
EPayioDistributorStatus["PAUSED"] = "PAUSED";
|
6546
|
-
})(EPayioDistributorStatus || (EPayioDistributorStatus = {}));
|
6564
|
+
var EPayuioActivationStatus;
|
6565
|
+
(function (EPayuioActivationStatus) {
|
6566
|
+
EPayuioActivationStatus["NONE"] = "NONE";
|
6567
|
+
EPayuioActivationStatus["PENDING"] = "PENDING";
|
6568
|
+
EPayuioActivationStatus["ACTIVE"] = "ACTIVE";
|
6569
|
+
EPayuioActivationStatus["EXPIRED"] = "EXPIRED";
|
6570
|
+
EPayuioActivationStatus["CANCELLED"] = "CANCELLED";
|
6571
|
+
EPayuioActivationStatus["REVOKED"] = "REVOKED";
|
6572
|
+
EPayuioActivationStatus["TRIAL_7"] = "TRIAL_7";
|
6573
|
+
EPayuioActivationStatus["TRIAL_15"] = "TRIAL_15";
|
6574
|
+
EPayuioActivationStatus["TRIAL_30"] = "TRIAL_30";
|
6575
|
+
})(EPayuioActivationStatus || (EPayuioActivationStatus = {}));
|
6547
6576
|
|
6548
|
-
class
|
6577
|
+
class PayioActivationKeyEntity {
|
6549
6578
|
// #region Properties (20)
|
6550
|
-
|
6551
|
-
|
6552
|
-
|
6579
|
+
activationDate = null;
|
6580
|
+
activationReleasedId = '';
|
6581
|
+
appId = null;
|
6582
|
+
appSlug = null;
|
6583
|
+
clientKey = null;
|
6584
|
+
companyId = null;
|
6585
|
+
companyName = null;
|
6553
6586
|
createdAt = new Date();
|
6554
|
-
|
6555
|
-
|
6556
|
-
|
6587
|
+
createdBy = null;
|
6588
|
+
deviceId = null;
|
6589
|
+
distributorId = null;
|
6590
|
+
distributorKey = null;
|
6591
|
+
distributorName = null;
|
6592
|
+
expirationDate = null;
|
6557
6593
|
id = '';
|
6558
|
-
imageUrl = null;
|
6559
|
-
internationalCode = '55';
|
6560
|
-
logoUrl = null;
|
6561
6594
|
logs = [];
|
6562
|
-
name = '';
|
6563
|
-
phoneNumber = '';
|
6564
|
-
responsibles = [];
|
6565
6595
|
sandbox = false;
|
6566
|
-
|
6567
|
-
|
6568
|
-
|
6569
|
-
updatedAt = new Date();
|
6596
|
+
status = EPayuioActivationStatus.PENDING;
|
6597
|
+
usageLimit = 0;
|
6598
|
+
usedCount = 0;
|
6570
6599
|
// #endregion Properties (20)
|
6571
6600
|
// #region Constructors (1)
|
6572
6601
|
constructor(data) {
|
@@ -6580,16 +6609,36 @@ class PayioDistributorEntity {
|
|
6580
6609
|
}
|
6581
6610
|
}
|
6582
6611
|
|
6583
|
-
|
6584
|
-
|
6585
|
-
|
6586
|
-
|
6587
|
-
|
6588
|
-
|
6612
|
+
var EPayioAdminRole;
|
6613
|
+
(function (EPayioAdminRole) {
|
6614
|
+
// #region Properties (1)
|
6615
|
+
// Usuário ou sistema que gerou a chave
|
6616
|
+
EPayioAdminRole["SYSTEM"] = "SYSTEM";
|
6617
|
+
EPayioAdminRole["SUPPORT"] = "SUPPORT";
|
6618
|
+
EPayioAdminRole["USER"] = "USER";
|
6619
|
+
EPayioAdminRole["OWNER"] = "OWNER";
|
6620
|
+
EPayioAdminRole["ADMIN"] = "ADMIN";
|
6621
|
+
EPayioAdminRole["MANAGER"] = "MANAGER";
|
6622
|
+
EPayioAdminRole["SALES"] = "SALES";
|
6623
|
+
// #endregion Properties (1)
|
6624
|
+
})(EPayioAdminRole || (EPayioAdminRole = {}));
|
6625
|
+
|
6626
|
+
class PayioAdminEntity {
|
6627
|
+
// #region Properties (13)
|
6628
|
+
accessCount = null;
|
6629
|
+
active = true;
|
6630
|
+
createdAt = new Date();
|
6631
|
+
id = '';
|
6632
|
+
imageUrl = null;
|
6589
6633
|
internationalCode = '55';
|
6634
|
+
lastAccessAt = null;
|
6590
6635
|
name = '';
|
6591
6636
|
phoneNumber = '';
|
6592
|
-
|
6637
|
+
role = EPayioAdminRole.USER;
|
6638
|
+
tags = [];
|
6639
|
+
updatedAt = new Date();
|
6640
|
+
userId = '';
|
6641
|
+
// #endregion Properties (13)
|
6593
6642
|
// #region Constructors (1)
|
6594
6643
|
constructor(data) {
|
6595
6644
|
if (data) {
|
@@ -6602,25 +6651,34 @@ class PayioDistributorResponsibleEntity {
|
|
6602
6651
|
}
|
6603
6652
|
}
|
6604
6653
|
|
6605
|
-
|
6606
|
-
|
6607
|
-
|
6608
|
-
|
6609
|
-
|
6610
|
-
|
6654
|
+
var EPayuioAppSlug;
|
6655
|
+
(function (EPayuioAppSlug) {
|
6656
|
+
EPayuioAppSlug["payio_cash"] = "payio-cash";
|
6657
|
+
EPayuioAppSlug["payio_chef"] = "payio-chef";
|
6658
|
+
EPayuioAppSlug["payio_distributor"] = "payio-distributor";
|
6659
|
+
EPayuioAppSlug["payio_main"] = "payio-main";
|
6660
|
+
EPayuioAppSlug["none"] = "none";
|
6661
|
+
})(EPayuioAppSlug || (EPayuioAppSlug = {}));
|
6662
|
+
|
6663
|
+
class PayioAppEntity {
|
6664
|
+
active = false;
|
6665
|
+
clientKey = null;
|
6666
|
+
clientSecret = null;
|
6611
6667
|
createdAt = new Date();
|
6668
|
+
description = '';
|
6669
|
+
downloadUrl = '';
|
6670
|
+
expiresAt = null;
|
6671
|
+
expiresIn = null;
|
6612
6672
|
id = '';
|
6613
|
-
lastPrices = [];
|
6614
|
-
maxPrice = 0;
|
6615
|
-
minPrice = 0;
|
6616
6673
|
name = '';
|
6617
|
-
|
6618
|
-
|
6674
|
+
price = 0;
|
6675
|
+
refreshToken = null;
|
6676
|
+
secret = '';
|
6677
|
+
slug = EPayuioAppSlug.none;
|
6619
6678
|
tags = [];
|
6620
|
-
|
6621
|
-
unit = '';
|
6679
|
+
accessToken = null;
|
6622
6680
|
updatedAt = new Date();
|
6623
|
-
|
6681
|
+
version = '0.0.1';
|
6624
6682
|
constructor(data) {
|
6625
6683
|
if (data) {
|
6626
6684
|
for (let key in data) {
|
@@ -6632,25 +6690,51 @@ class PayioGlobalProductEntity {
|
|
6632
6690
|
}
|
6633
6691
|
}
|
6634
6692
|
|
6635
|
-
|
6636
|
-
|
6637
|
-
|
6638
|
-
|
6639
|
-
|
6640
|
-
|
6641
|
-
|
6642
|
-
|
6643
|
-
|
6644
|
-
|
6645
|
-
|
6646
|
-
|
6647
|
-
|
6648
|
-
|
6649
|
-
|
6650
|
-
|
6651
|
-
|
6652
|
-
|
6653
|
-
|
6693
|
+
var EBarcodeFormat;
|
6694
|
+
(function (EBarcodeFormat) {
|
6695
|
+
EBarcodeFormat["CODE_4_PRICE_5"] = "FCCCCTTTTT";
|
6696
|
+
EBarcodeFormat["CODE_4_PRICE_6"] = "FCCCCTTTTTT";
|
6697
|
+
EBarcodeFormat["CODE_4_WEIGHT"] = "FCCCCPPPPP";
|
6698
|
+
EBarcodeFormat["CODE_5_PRICE_5"] = "FCCCCCTTTTT";
|
6699
|
+
EBarcodeFormat["CODE_5_PRICE_6"] = "FCCCCCTTTTTT";
|
6700
|
+
EBarcodeFormat["CODE_5_WEIGHT"] = "FCCCCCPPPPP";
|
6701
|
+
EBarcodeFormat["CODE_6_PRICE_5"] = "FCCCCCCTTTTT";
|
6702
|
+
EBarcodeFormat["CODE_6_PRICE_6"] = "FCCCCCCTTTTTT";
|
6703
|
+
EBarcodeFormat["CODE_6_WEIGHT"] = "FCCCCCCPPPPP";
|
6704
|
+
})(EBarcodeFormat || (EBarcodeFormat = {}));
|
6705
|
+
|
6706
|
+
var EPayioChefOperationMode;
|
6707
|
+
(function (EPayioChefOperationMode) {
|
6708
|
+
EPayioChefOperationMode["SCALE"] = "SCALE";
|
6709
|
+
EPayioChefOperationMode["MANUAL"] = "MANUAL";
|
6710
|
+
})(EPayioChefOperationMode || (EPayioChefOperationMode = {}));
|
6711
|
+
|
6712
|
+
var EPayioChefTabMode;
|
6713
|
+
(function (EPayioChefTabMode) {
|
6714
|
+
EPayioChefTabMode["DIGITAL"] = "DIGITAL";
|
6715
|
+
EPayioChefTabMode["MANUAL"] = "MANUAL";
|
6716
|
+
EPayioChefTabMode["FACE"] = "FACE";
|
6717
|
+
})(EPayioChefTabMode || (EPayioChefTabMode = {}));
|
6718
|
+
|
6719
|
+
class PayioChefConfigOperationEntity {
|
6720
|
+
barcodeFormat = EBarcodeFormat.CODE_6_PRICE_6;
|
6721
|
+
barcodeInitialFlag = '2';
|
6722
|
+
bipOnPrint = true;
|
6723
|
+
headerMessages = [];
|
6724
|
+
listItems = [];
|
6725
|
+
multiOrder = false;
|
6726
|
+
operationMode = EPayioChefOperationMode.SCALE;
|
6727
|
+
printFormat = 'simple';
|
6728
|
+
showBarCode = true;
|
6729
|
+
showNetWeight = true;
|
6730
|
+
showOrderNumber = true;
|
6731
|
+
showPricePerKg = true;
|
6732
|
+
showTotalPrice = true;
|
6733
|
+
startOrderIn = 1;
|
6734
|
+
tabFormat = '';
|
6735
|
+
tabMode = EPayioChefTabMode.MANUAL;
|
6736
|
+
tabRegistered = false;
|
6737
|
+
urlLogo = '';
|
6654
6738
|
constructor(data) {
|
6655
6739
|
if (data) {
|
6656
6740
|
for (let key in data) {
|
@@ -6660,15 +6744,16 @@ class PayioMemberEntity {
|
|
6660
6744
|
}
|
6661
6745
|
}
|
6662
6746
|
}
|
6747
|
+
tabRegistred;
|
6663
6748
|
}
|
6664
6749
|
|
6665
|
-
class
|
6750
|
+
class PayioChefConfigPrinterEntity {
|
6666
6751
|
// #region Properties (5)
|
6667
|
-
|
6668
|
-
|
6669
|
-
|
6670
|
-
|
6671
|
-
|
6752
|
+
active = true;
|
6753
|
+
brand = null;
|
6754
|
+
interface = 'USB';
|
6755
|
+
model = null;
|
6756
|
+
port = null;
|
6672
6757
|
// #endregion Properties (5)
|
6673
6758
|
// #region Constructors (1)
|
6674
6759
|
constructor(data) {
|
@@ -6682,16 +6767,14 @@ class PayioOrderIndoorEntity {
|
|
6682
6767
|
}
|
6683
6768
|
}
|
6684
6769
|
|
6685
|
-
class
|
6686
|
-
// #region Properties (
|
6687
|
-
|
6688
|
-
|
6689
|
-
|
6690
|
-
|
6691
|
-
// #endregion Properties (4)
|
6770
|
+
class PayioChefConfigScaleEntity {
|
6771
|
+
// #region Properties (3)
|
6772
|
+
baudRate = '2400';
|
6773
|
+
brand = null;
|
6774
|
+
model = null;
|
6775
|
+
// #endregion Properties (3)
|
6692
6776
|
// #region Constructors (1)
|
6693
6777
|
constructor(data) {
|
6694
|
-
super();
|
6695
6778
|
if (data) {
|
6696
6779
|
for (let key in data) {
|
6697
6780
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -6702,46 +6785,10 @@ class PayioOrderEntity extends OrderEntity {
|
|
6702
6785
|
}
|
6703
6786
|
}
|
6704
6787
|
|
6705
|
-
|
6706
|
-
(function (PayioOrderQueueStatusEnum) {
|
6707
|
-
PayioOrderQueueStatusEnum["pending"] = "pending";
|
6708
|
-
PayioOrderQueueStatusEnum["processing"] = "processing";
|
6709
|
-
PayioOrderQueueStatusEnum["completed"] = "completed";
|
6710
|
-
PayioOrderQueueStatusEnum["error"] = "error";
|
6711
|
-
})(PayioOrderQueueStatusEnum || (PayioOrderQueueStatusEnum = {}));
|
6712
|
-
|
6713
|
-
class PayioOrderQueueEntity {
|
6714
|
-
appId = '';
|
6715
|
-
attempts = 0;
|
6716
|
-
companyId = '';
|
6717
|
-
companyName = '';
|
6718
|
-
createdAt = new Date();
|
6719
|
-
data = '';
|
6720
|
-
error = '';
|
6721
|
-
id = '';
|
6722
|
-
lastAttemptAt = new Date();
|
6723
|
-
reference = '';
|
6724
|
-
status = PayioOrderQueueStatusEnum.pending;
|
6725
|
-
}
|
6726
|
-
|
6727
|
-
class PayioPartnerEntity {
|
6728
|
-
// #region Properties (15)
|
6729
|
-
accessCount = null;
|
6788
|
+
class PayioChefConfigTabsEntity {
|
6730
6789
|
active = true;
|
6731
|
-
companyId = '';
|
6732
|
-
companyName = '';
|
6733
|
-
containerId = null;
|
6734
|
-
createdAt = new Date();
|
6735
6790
|
id = '';
|
6736
|
-
imageUrl = null;
|
6737
|
-
lastAccessAt = null;
|
6738
6791
|
name = '';
|
6739
|
-
roles = [];
|
6740
|
-
tags = [];
|
6741
|
-
updated = new Date();
|
6742
|
-
userId = '';
|
6743
|
-
// #endregion Properties (15)
|
6744
|
-
// #region Constructors (1)
|
6745
6792
|
constructor(data) {
|
6746
6793
|
if (data) {
|
6747
6794
|
for (let key in data) {
|
@@ -6753,12 +6800,9 @@ class PayioPartnerEntity {
|
|
6753
6800
|
}
|
6754
6801
|
}
|
6755
6802
|
|
6756
|
-
class
|
6757
|
-
|
6758
|
-
|
6759
|
-
slug = '';
|
6760
|
-
// #endregion Properties (3)
|
6761
|
-
// #region Constructors (1)
|
6803
|
+
class PayioChefConfigWebhookHeaderEntity {
|
6804
|
+
key = '';
|
6805
|
+
value = '';
|
6762
6806
|
constructor(data) {
|
6763
6807
|
if (data) {
|
6764
6808
|
for (let key in data) {
|
@@ -6770,14 +6814,36 @@ class PayioJwtPayloadAppEntity {
|
|
6770
6814
|
}
|
6771
6815
|
}
|
6772
6816
|
|
6773
|
-
class
|
6774
|
-
|
6775
|
-
|
6817
|
+
class PayioChefConfigWebhookEntity {
|
6818
|
+
active = true;
|
6819
|
+
headers = [];
|
6820
|
+
locked = false;
|
6821
|
+
method = 'POST';
|
6822
|
+
// Travar caso não esteja respondendo
|
6823
|
+
response;
|
6824
|
+
type = 'SEND_ORDER';
|
6825
|
+
url = '';
|
6826
|
+
constructor(data) {
|
6827
|
+
if (data) {
|
6828
|
+
for (let key in data) {
|
6829
|
+
if (data.hasOwnProperty(key) && key in this) {
|
6830
|
+
this[key] = data[key];
|
6831
|
+
}
|
6832
|
+
}
|
6833
|
+
}
|
6834
|
+
}
|
6835
|
+
}
|
6836
|
+
|
6837
|
+
class PayioChefConfigEntity {
|
6838
|
+
createdAt = new Date();
|
6776
6839
|
id = '';
|
6777
6840
|
name = '';
|
6778
|
-
|
6779
|
-
|
6780
|
-
|
6841
|
+
operation = new PayioChefConfigOperationEntity();
|
6842
|
+
printer = null;
|
6843
|
+
scale = new PayioChefConfigScaleEntity();
|
6844
|
+
tabs = [];
|
6845
|
+
updatedAt = new Date();
|
6846
|
+
webhook = [];
|
6781
6847
|
constructor(data) {
|
6782
6848
|
if (data) {
|
6783
6849
|
for (let key in data) {
|
@@ -6789,13 +6855,18 @@ class PayioJwtPayloadDeviceEntity {
|
|
6789
6855
|
}
|
6790
6856
|
}
|
6791
6857
|
|
6792
|
-
class
|
6793
|
-
// #region Properties (
|
6794
|
-
|
6795
|
-
|
6796
|
-
|
6797
|
-
|
6798
|
-
|
6858
|
+
class PayioAddressEntity {
|
6859
|
+
// #region Properties (11)
|
6860
|
+
city = '';
|
6861
|
+
complement = '';
|
6862
|
+
coords = new CoordsEntity();
|
6863
|
+
country;
|
6864
|
+
neighborhood = '';
|
6865
|
+
postalCode = '';
|
6866
|
+
state = '';
|
6867
|
+
streetName = '';
|
6868
|
+
streetNumber = '';
|
6869
|
+
// #endregion Properties (11)
|
6799
6870
|
// #region Constructors (1)
|
6800
6871
|
constructor(data) {
|
6801
6872
|
if (data) {
|
@@ -6808,14 +6879,12 @@ class PayioJwtPayloadInfoEntity {
|
|
6808
6879
|
}
|
6809
6880
|
}
|
6810
6881
|
|
6811
|
-
class
|
6812
|
-
|
6813
|
-
expiresAt =
|
6814
|
-
|
6815
|
-
|
6816
|
-
|
6817
|
-
// #endregion Properties (4)
|
6818
|
-
// #region Constructors (1)
|
6882
|
+
class PayioCompanyNatipayCredentialEntity {
|
6883
|
+
accessToken = '';
|
6884
|
+
expiresAt = new Date();
|
6885
|
+
expiresIn = 0;
|
6886
|
+
refreshToken = '';
|
6887
|
+
tokenType = '';
|
6819
6888
|
constructor(data) {
|
6820
6889
|
if (data) {
|
6821
6890
|
for (let key in data) {
|
@@ -6827,15 +6896,29 @@ class PayioJwtPayloadSubscriptionEntity {
|
|
6827
6896
|
}
|
6828
6897
|
}
|
6829
6898
|
|
6830
|
-
class
|
6831
|
-
|
6832
|
-
|
6899
|
+
class PayioCompanyEntity {
|
6900
|
+
active = false;
|
6901
|
+
address = new PayioAddressEntity();
|
6902
|
+
containerId = '';
|
6903
|
+
country = 'BR';
|
6904
|
+
createdAt = new Date();
|
6905
|
+
currency = 'BRL';
|
6906
|
+
doc = '';
|
6907
|
+
docType = EIntDocType.CNPJ;
|
6908
|
+
email = '';
|
6833
6909
|
id = '';
|
6834
|
-
|
6910
|
+
imageUrl = null;
|
6911
|
+
internationalCode = '55';
|
6912
|
+
logoUrl = null;
|
6835
6913
|
name = '';
|
6914
|
+
natipayCredential = new PayioCompanyNatipayCredentialEntity();
|
6915
|
+
paymentProvider = null;
|
6836
6916
|
phoneNumber = '';
|
6837
|
-
|
6838
|
-
|
6917
|
+
sandbox = false;
|
6918
|
+
shortName = '';
|
6919
|
+
tags = [];
|
6920
|
+
updatedAt = new Date();
|
6921
|
+
version = '';
|
6839
6922
|
constructor(data) {
|
6840
6923
|
if (data) {
|
6841
6924
|
for (let key in data) {
|
@@ -6847,23 +6930,13 @@ class PayioJwtPayloadUserEntity {
|
|
6847
6930
|
}
|
6848
6931
|
}
|
6849
6932
|
|
6850
|
-
class
|
6851
|
-
// #region Properties (
|
6852
|
-
|
6853
|
-
|
6854
|
-
|
6855
|
-
|
6856
|
-
|
6857
|
-
exp = 0;
|
6858
|
-
iat = 0;
|
6859
|
-
info = null;
|
6860
|
-
iss = '';
|
6861
|
-
jti = '';
|
6862
|
-
permissions = [];
|
6863
|
-
sub = '';
|
6864
|
-
type = null;
|
6865
|
-
user = null;
|
6866
|
-
// #endregion Properties (16)
|
6933
|
+
class PayioDeviceChefEntity {
|
6934
|
+
// #region Properties (4)
|
6935
|
+
chefConfigId = null;
|
6936
|
+
chefConfigName = null;
|
6937
|
+
scheduleId = null;
|
6938
|
+
scheduleName = null;
|
6939
|
+
// #endregion Properties (4)
|
6867
6940
|
// #region Constructors (1)
|
6868
6941
|
constructor(data) {
|
6869
6942
|
if (data) {
|
@@ -6876,32 +6949,22 @@ class PayioJwtPayloadEntity {
|
|
6876
6949
|
}
|
6877
6950
|
}
|
6878
6951
|
|
6879
|
-
|
6880
|
-
|
6881
|
-
|
6882
|
-
|
6883
|
-
|
6884
|
-
|
6885
|
-
EPayioRole["PAYMENTS"] = "PAYMENTS";
|
6886
|
-
EPayioRole["SETTINGS"] = "SETTINGS";
|
6887
|
-
EPayioRole["GENERAL"] = "GENERAL";
|
6888
|
-
EPayioRole["ACCOUNT"] = "ACCOUNT";
|
6889
|
-
EPayioRole["CHEF_CONFIG"] = "CHEF_CONFIG";
|
6890
|
-
EPayioRole["CHEF_SCHEDULE"] = "CHEF_SCHEDULE";
|
6891
|
-
EPayioRole["CASH_CONFIG"] = "CASH_CONFIG";
|
6892
|
-
EPayioRole["OWNER"] = "OWNER";
|
6893
|
-
})(EPayioRole || (EPayioRole = {}));
|
6894
|
-
|
6895
|
-
class PayioPermissionEntity {
|
6896
|
-
active = true;
|
6897
|
-
code = '';
|
6952
|
+
class PayioDeviceEntity {
|
6953
|
+
// #region Properties (12)
|
6954
|
+
active = false;
|
6955
|
+
chef = null;
|
6956
|
+
companyId = '';
|
6957
|
+
containerId = '';
|
6898
6958
|
createdAt = new Date();
|
6899
|
-
|
6959
|
+
deviceId = '';
|
6900
6960
|
id = '';
|
6961
|
+
lastAccess = new Date();
|
6901
6962
|
name = '';
|
6902
|
-
|
6963
|
+
sandbox = false;
|
6903
6964
|
tags = [];
|
6904
6965
|
updatedAt = new Date();
|
6966
|
+
// #endregion Properties (12)
|
6967
|
+
// #region Constructors (1)
|
6905
6968
|
constructor(data) {
|
6906
6969
|
if (data) {
|
6907
6970
|
for (let key in data) {
|
@@ -6913,24 +6976,47 @@ class PayioPermissionEntity {
|
|
6913
6976
|
}
|
6914
6977
|
}
|
6915
6978
|
|
6916
|
-
|
6917
|
-
|
6918
|
-
|
6919
|
-
|
6920
|
-
|
6921
|
-
|
6979
|
+
var EPayioDistributorStatus;
|
6980
|
+
(function (EPayioDistributorStatus) {
|
6981
|
+
EPayioDistributorStatus["BLOCKED"] = "BLOCKED";
|
6982
|
+
EPayioDistributorStatus["ACTIVE"] = "ACTIVE";
|
6983
|
+
EPayioDistributorStatus["PLACED"] = "PLACED";
|
6984
|
+
EPayioDistributorStatus["INACTIVE"] = "INACTIVE";
|
6985
|
+
EPayioDistributorStatus["DELETED"] = "DELETED";
|
6986
|
+
EPayioDistributorStatus["PENDING"] = "PENDING";
|
6987
|
+
EPayioDistributorStatus["SUSPENDED"] = "SUSPENDED";
|
6988
|
+
EPayioDistributorStatus["REJECTED"] = "REJECTED";
|
6989
|
+
EPayioDistributorStatus["APPROVED"] = "APPROVED";
|
6990
|
+
EPayioDistributorStatus["PARTIALLY_APPROVED"] = "PARTIALLY_APPROVED";
|
6991
|
+
EPayioDistributorStatus["REJECTED_BY_ADMIN"] = "REJECTED_BY_ADMIN";
|
6992
|
+
EPayioDistributorStatus["REJECTED_BY_SYSTEM"] = "REJECTED_BY_SYSTEM";
|
6993
|
+
EPayioDistributorStatus["PAUSED"] = "PAUSED";
|
6994
|
+
})(EPayioDistributorStatus || (EPayioDistributorStatus = {}));
|
6995
|
+
|
6996
|
+
class PayioDistributorEntity {
|
6997
|
+
// #region Properties (20)
|
6998
|
+
actions = [];
|
6999
|
+
address = new PayioAddressEntity();
|
7000
|
+
contratoSocialPdfUrl = null;
|
6922
7001
|
createdAt = new Date();
|
7002
|
+
doc = '';
|
7003
|
+
docType = EDocType.CNPJ;
|
7004
|
+
email = '';
|
6923
7005
|
id = '';
|
7006
|
+
imageUrl = null;
|
7007
|
+
internationalCode = '55';
|
7008
|
+
logoUrl = null;
|
7009
|
+
logs = [];
|
6924
7010
|
name = '';
|
6925
|
-
|
6926
|
-
|
6927
|
-
quantityPackaging = 0;
|
7011
|
+
phoneNumber = '';
|
7012
|
+
responsibles = [];
|
6928
7013
|
sandbox = false;
|
7014
|
+
slug = '';
|
7015
|
+
status = EPayioDistributorStatus.PLACED;
|
6929
7016
|
tags = [];
|
6930
|
-
thumbnail = null;
|
6931
|
-
unit = 'UN';
|
6932
7017
|
updatedAt = new Date();
|
6933
|
-
|
7018
|
+
// #endregion Properties (20)
|
7019
|
+
// #region Constructors (1)
|
6934
7020
|
constructor(data) {
|
6935
7021
|
if (data) {
|
6936
7022
|
for (let key in data) {
|
@@ -6942,11 +7028,16 @@ class PayioProductEntity {
|
|
6942
7028
|
}
|
6943
7029
|
}
|
6944
7030
|
|
6945
|
-
class
|
6946
|
-
// #region Properties (
|
6947
|
-
|
6948
|
-
|
6949
|
-
|
7031
|
+
class PayioDistributorResponsibleEntity {
|
7032
|
+
// #region Properties (7)
|
7033
|
+
doc = '';
|
7034
|
+
docType = EDocType.CPF;
|
7035
|
+
documentFileUrl = '';
|
7036
|
+
email = '';
|
7037
|
+
internationalCode = '55';
|
7038
|
+
name = '';
|
7039
|
+
phoneNumber = '';
|
7040
|
+
// #endregion Properties (7)
|
6950
7041
|
// #region Constructors (1)
|
6951
7042
|
constructor(data) {
|
6952
7043
|
if (data) {
|
@@ -6959,13 +7050,25 @@ class PayioResumeCompanyItemDetailEntity {
|
|
6959
7050
|
}
|
6960
7051
|
}
|
6961
7052
|
|
6962
|
-
class
|
6963
|
-
|
6964
|
-
|
6965
|
-
|
6966
|
-
|
6967
|
-
|
6968
|
-
|
7053
|
+
class PayioGlobalProductEntity {
|
7054
|
+
active = true;
|
7055
|
+
avgPrice = 0;
|
7056
|
+
brand = '';
|
7057
|
+
cest = null;
|
7058
|
+
code = '';
|
7059
|
+
createdAt = new Date();
|
7060
|
+
id = '';
|
7061
|
+
lastPrices = [];
|
7062
|
+
maxPrice = 0;
|
7063
|
+
minPrice = 0;
|
7064
|
+
name = '';
|
7065
|
+
ncm = null;
|
7066
|
+
quantityPackaging = 0;
|
7067
|
+
tags = [];
|
7068
|
+
thumbnail = null;
|
7069
|
+
unit = '';
|
7070
|
+
updatedAt = new Date();
|
7071
|
+
weight = 0;
|
6969
7072
|
constructor(data) {
|
6970
7073
|
if (data) {
|
6971
7074
|
for (let key in data) {
|
@@ -6977,14 +7080,24 @@ class PayioResumeCompanyItemEntity {
|
|
6977
7080
|
}
|
6978
7081
|
}
|
6979
7082
|
|
6980
|
-
class
|
6981
|
-
// #region Properties (
|
7083
|
+
class PayioMemberEntity {
|
7084
|
+
// #region Properties (15)
|
7085
|
+
accessCount = null;
|
7086
|
+
active = true;
|
7087
|
+
companyId = '';
|
7088
|
+
companyName = '';
|
7089
|
+
containerId = null;
|
6982
7090
|
createdAt = new Date();
|
6983
7091
|
id = '';
|
6984
|
-
|
6985
|
-
|
7092
|
+
imageUrl = null;
|
7093
|
+
lastAccessAt = null;
|
7094
|
+
name = '';
|
7095
|
+
permissions = [];
|
7096
|
+
sandbox = false;
|
7097
|
+
tags = [];
|
6986
7098
|
updatedAt = new Date();
|
6987
|
-
|
7099
|
+
userId = '';
|
7100
|
+
// #endregion Properties (15)
|
6988
7101
|
// #region Constructors (1)
|
6989
7102
|
constructor(data) {
|
6990
7103
|
if (data) {
|
@@ -6997,53 +7110,14 @@ class PayioResumeCompanyEntity {
|
|
6997
7110
|
}
|
6998
7111
|
}
|
6999
7112
|
|
7000
|
-
|
7001
|
-
|
7002
|
-
|
7003
|
-
|
7004
|
-
|
7005
|
-
|
7006
|
-
|
7007
|
-
|
7008
|
-
PayioEntitiesEnum["products"] = "products";
|
7009
|
-
PayioEntitiesEnum["resumes"] = "resumes";
|
7010
|
-
PayioEntitiesEnum["tokens"] = "tokens";
|
7011
|
-
PayioEntitiesEnum["users"] = "users";
|
7012
|
-
PayioEntitiesEnum["distributors"] = "distributors";
|
7013
|
-
PayioEntitiesEnum["block_activations"] = "block-activations";
|
7014
|
-
PayioEntitiesEnum["bath_activations"] = "bath-activations";
|
7015
|
-
PayioEntitiesEnum["activation_keys"] = "activation-keys";
|
7016
|
-
})(PayioEntitiesEnum || (PayioEntitiesEnum = {}));
|
7017
|
-
// Adiquirida
|
7018
|
-
|
7019
|
-
var PayioResumeQueueActionEnum;
|
7020
|
-
(function (PayioResumeQueueActionEnum) {
|
7021
|
-
PayioResumeQueueActionEnum["create"] = "create";
|
7022
|
-
PayioResumeQueueActionEnum["update"] = "update";
|
7023
|
-
PayioResumeQueueActionEnum["delete"] = "delete";
|
7024
|
-
})(PayioResumeQueueActionEnum || (PayioResumeQueueActionEnum = {}));
|
7025
|
-
|
7026
|
-
var PayioResumeQueueStatusEnum;
|
7027
|
-
(function (PayioResumeQueueStatusEnum) {
|
7028
|
-
PayioResumeQueueStatusEnum["pending"] = "pending";
|
7029
|
-
PayioResumeQueueStatusEnum["processing"] = "processing";
|
7030
|
-
PayioResumeQueueStatusEnum["completed"] = "completed";
|
7031
|
-
PayioResumeQueueStatusEnum["error"] = "error";
|
7032
|
-
})(PayioResumeQueueStatusEnum || (PayioResumeQueueStatusEnum = {}));
|
7033
|
-
|
7034
|
-
class PayioResumeQueueEntity {
|
7035
|
-
// #region Properties (10)
|
7036
|
-
action = PayioResumeQueueActionEnum.create;
|
7037
|
-
attempts = 0;
|
7038
|
-
createdAt = new Date();
|
7039
|
-
data = null;
|
7040
|
-
entityId = '';
|
7041
|
-
entityType = PayioEntitiesEnum.aplications;
|
7042
|
-
error = '';
|
7043
|
-
id = '';
|
7044
|
-
lastAttemptAt = new Date();
|
7045
|
-
status = PayioResumeQueueStatusEnum.pending;
|
7046
|
-
// #endregion Properties (10)
|
7113
|
+
class PayioOrderIndoorEntity {
|
7114
|
+
// #region Properties (5)
|
7115
|
+
deliveryDateTime = new Date(new Date().getTime() + 1000 * 60 * 15);
|
7116
|
+
mode = EIndoorMode.DEFAULT;
|
7117
|
+
preferential = false;
|
7118
|
+
tab = '';
|
7119
|
+
table = '';
|
7120
|
+
// #endregion Properties (5)
|
7047
7121
|
// #region Constructors (1)
|
7048
7122
|
constructor(data) {
|
7049
7123
|
if (data) {
|
@@ -7056,13 +7130,16 @@ class PayioResumeQueueEntity {
|
|
7056
7130
|
}
|
7057
7131
|
}
|
7058
7132
|
|
7059
|
-
class
|
7060
|
-
// #region Properties (
|
7061
|
-
|
7062
|
-
|
7063
|
-
|
7133
|
+
class PayioOrderEntity extends OrderEntity {
|
7134
|
+
// #region Properties (4)
|
7135
|
+
appId = null;
|
7136
|
+
appSlug = EPayuioAppSlug.none;
|
7137
|
+
deviceId = null;
|
7138
|
+
indoor = null;
|
7139
|
+
// #endregion Properties (4)
|
7064
7140
|
// #region Constructors (1)
|
7065
7141
|
constructor(data) {
|
7142
|
+
super();
|
7066
7143
|
if (data) {
|
7067
7144
|
for (let key in data) {
|
7068
7145
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7073,19 +7150,45 @@ class PayioScheduleDayEntity {
|
|
7073
7150
|
}
|
7074
7151
|
}
|
7075
7152
|
|
7076
|
-
|
7077
|
-
|
7078
|
-
|
7079
|
-
|
7080
|
-
|
7081
|
-
|
7082
|
-
|
7153
|
+
var PayioOrderQueueStatusEnum;
|
7154
|
+
(function (PayioOrderQueueStatusEnum) {
|
7155
|
+
PayioOrderQueueStatusEnum["pending"] = "pending";
|
7156
|
+
PayioOrderQueueStatusEnum["processing"] = "processing";
|
7157
|
+
PayioOrderQueueStatusEnum["completed"] = "completed";
|
7158
|
+
PayioOrderQueueStatusEnum["error"] = "error";
|
7159
|
+
})(PayioOrderQueueStatusEnum || (PayioOrderQueueStatusEnum = {}));
|
7160
|
+
|
7161
|
+
class PayioOrderQueueEntity {
|
7162
|
+
appId = '';
|
7163
|
+
attempts = 0;
|
7164
|
+
companyId = '';
|
7165
|
+
companyName = '';
|
7166
|
+
createdAt = new Date();
|
7167
|
+
data = '';
|
7168
|
+
error = '';
|
7083
7169
|
id = '';
|
7084
|
-
|
7085
|
-
|
7086
|
-
|
7087
|
-
|
7088
|
-
|
7170
|
+
lastAttemptAt = new Date();
|
7171
|
+
reference = '';
|
7172
|
+
status = PayioOrderQueueStatusEnum.pending;
|
7173
|
+
}
|
7174
|
+
|
7175
|
+
class PayioPartnerEntity {
|
7176
|
+
// #region Properties (15)
|
7177
|
+
accessCount = null;
|
7178
|
+
active = true;
|
7179
|
+
companyId = '';
|
7180
|
+
companyName = '';
|
7181
|
+
containerId = null;
|
7182
|
+
createdAt = new Date();
|
7183
|
+
id = '';
|
7184
|
+
imageUrl = null;
|
7185
|
+
lastAccessAt = null;
|
7186
|
+
name = '';
|
7187
|
+
roles = [];
|
7188
|
+
tags = [];
|
7189
|
+
updated = new Date();
|
7190
|
+
userId = '';
|
7191
|
+
// #endregion Properties (15)
|
7089
7192
|
// #region Constructors (1)
|
7090
7193
|
constructor(data) {
|
7091
7194
|
if (data) {
|
@@ -7098,13 +7201,13 @@ class PayioScheduleProductEntity {
|
|
7098
7201
|
}
|
7099
7202
|
}
|
7100
7203
|
|
7101
|
-
class
|
7102
|
-
// #region Properties (
|
7103
|
-
|
7104
|
-
|
7105
|
-
// #endregion Properties (
|
7106
|
-
// #region Constructors (1)
|
7107
|
-
constructor(data) {
|
7204
|
+
class PayioJwtPayloadAppEntity {
|
7205
|
+
// #region Properties (3)
|
7206
|
+
id = '';
|
7207
|
+
slug = '';
|
7208
|
+
// #endregion Properties (3)
|
7209
|
+
// #region Constructors (1)
|
7210
|
+
constructor(data) {
|
7108
7211
|
if (data) {
|
7109
7212
|
for (let key in data) {
|
7110
7213
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7115,16 +7218,13 @@ class PayioScheduleSlotEntity {
|
|
7115
7218
|
}
|
7116
7219
|
}
|
7117
7220
|
|
7118
|
-
class
|
7119
|
-
// #region Properties (
|
7120
|
-
|
7121
|
-
createdAt = new Date();
|
7122
|
-
days = [];
|
7221
|
+
class PayioJwtPayloadDeviceEntity {
|
7222
|
+
// #region Properties (4)
|
7223
|
+
chefConfigId = '';
|
7123
7224
|
id = '';
|
7124
7225
|
name = '';
|
7125
|
-
|
7126
|
-
|
7127
|
-
// #endregion Properties (7)
|
7226
|
+
scheduleId = '';
|
7227
|
+
// #endregion Properties (4)
|
7128
7228
|
// #region Constructors (1)
|
7129
7229
|
constructor(data) {
|
7130
7230
|
if (data) {
|
@@ -7137,13 +7237,33 @@ class PayioScheduleEntity {
|
|
7137
7237
|
}
|
7138
7238
|
}
|
7139
7239
|
|
7140
|
-
class
|
7141
|
-
|
7142
|
-
|
7240
|
+
class PayioJwtPayloadInfoEntity {
|
7241
|
+
// #region Properties (4)
|
7242
|
+
companyId = '';
|
7243
|
+
companyName = '';
|
7244
|
+
containerId = null;
|
7245
|
+
containerName = null;
|
7246
|
+
// #endregion Properties (4)
|
7247
|
+
// #region Constructors (1)
|
7248
|
+
constructor(data) {
|
7249
|
+
if (data) {
|
7250
|
+
for (let key in data) {
|
7251
|
+
if (data.hasOwnProperty(key) && key in this) {
|
7252
|
+
this[key] = data[key];
|
7253
|
+
}
|
7254
|
+
}
|
7255
|
+
}
|
7256
|
+
}
|
7257
|
+
}
|
7258
|
+
|
7259
|
+
class PayioJwtPayloadSubscriptionEntity {
|
7260
|
+
// #region Properties (4)
|
7261
|
+
expiresAt = 0;
|
7143
7262
|
id = '';
|
7144
|
-
|
7145
|
-
|
7146
|
-
|
7263
|
+
status = ESubsStatus.PENDING;
|
7264
|
+
usedTrial = false;
|
7265
|
+
// #endregion Properties (4)
|
7266
|
+
// #region Constructors (1)
|
7147
7267
|
constructor(data) {
|
7148
7268
|
if (data) {
|
7149
7269
|
for (let key in data) {
|
@@ -7155,21 +7275,14 @@ class PayioTabEntity {
|
|
7155
7275
|
}
|
7156
7276
|
}
|
7157
7277
|
|
7158
|
-
class
|
7159
|
-
// #region Properties (
|
7160
|
-
|
7161
|
-
deviceId = null;
|
7162
|
-
expiresAt = new Date();
|
7278
|
+
class PayioJwtPayloadUserEntity {
|
7279
|
+
// #region Properties (6)
|
7280
|
+
email = null;
|
7163
7281
|
id = '';
|
7164
|
-
|
7165
|
-
|
7166
|
-
|
7167
|
-
|
7168
|
-
sandbox = false;
|
7169
|
-
updatedAt = new Date();
|
7170
|
-
userAgent = null;
|
7171
|
-
userId = '';
|
7172
|
-
// #endregion Properties (12)
|
7282
|
+
internationalCode = '';
|
7283
|
+
name = '';
|
7284
|
+
phoneNumber = '';
|
7285
|
+
// #endregion Properties (6)
|
7173
7286
|
// #region Constructors (1)
|
7174
7287
|
constructor(data) {
|
7175
7288
|
if (data) {
|
@@ -7182,26 +7295,61 @@ class PayioTokenEntity {
|
|
7182
7295
|
}
|
7183
7296
|
}
|
7184
7297
|
|
7185
|
-
|
7186
|
-
|
7187
|
-
|
7188
|
-
|
7189
|
-
|
7298
|
+
class PayioJwtPayloadEntity {
|
7299
|
+
// #region Properties (16)
|
7300
|
+
activationStatus = EPayuioActivationStatus.NONE;
|
7301
|
+
app = null;
|
7302
|
+
aud = '';
|
7303
|
+
device = null;
|
7304
|
+
distributorId = null;
|
7305
|
+
exp = 0;
|
7306
|
+
iat = 0;
|
7307
|
+
info = null;
|
7308
|
+
iss = '';
|
7309
|
+
jti = '';
|
7310
|
+
permissions = [];
|
7311
|
+
sub = '';
|
7312
|
+
type = null;
|
7313
|
+
user = null;
|
7314
|
+
// #endregion Properties (16)
|
7315
|
+
// #region Constructors (1)
|
7316
|
+
constructor(data) {
|
7317
|
+
if (data) {
|
7318
|
+
for (let key in data) {
|
7319
|
+
if (data.hasOwnProperty(key) && key in this) {
|
7320
|
+
this[key] = data[key];
|
7321
|
+
}
|
7322
|
+
}
|
7323
|
+
}
|
7324
|
+
}
|
7325
|
+
}
|
7190
7326
|
|
7191
|
-
|
7192
|
-
|
7193
|
-
|
7327
|
+
var EPayioRole;
|
7328
|
+
(function (EPayioRole) {
|
7329
|
+
EPayioRole["MEMBERS"] = "MEMBERS";
|
7330
|
+
EPayioRole["COMPANIES"] = "COMPANIES";
|
7331
|
+
EPayioRole["PRODUCTS"] = "PRODUCTS";
|
7332
|
+
EPayioRole["ORDERS"] = "ORDERS";
|
7333
|
+
EPayioRole["PAYMENTS"] = "PAYMENTS";
|
7334
|
+
EPayioRole["SETTINGS"] = "SETTINGS";
|
7335
|
+
EPayioRole["GENERAL"] = "GENERAL";
|
7336
|
+
EPayioRole["ACCOUNT"] = "ACCOUNT";
|
7337
|
+
EPayioRole["CHEF_CONFIG"] = "CHEF_CONFIG";
|
7338
|
+
EPayioRole["CHEF_SCHEDULE"] = "CHEF_SCHEDULE";
|
7339
|
+
EPayioRole["CASH_CONFIG"] = "CASH_CONFIG";
|
7340
|
+
EPayioRole["OWNER"] = "OWNER";
|
7341
|
+
})(EPayioRole || (EPayioRole = {}));
|
7342
|
+
|
7343
|
+
class PayioPermissionEntity {
|
7344
|
+
active = true;
|
7345
|
+
code = '';
|
7194
7346
|
createdAt = new Date();
|
7195
|
-
|
7347
|
+
description = '';
|
7196
7348
|
id = '';
|
7197
|
-
index = 0;
|
7198
7349
|
name = '';
|
7199
|
-
|
7200
|
-
|
7201
|
-
quantity = 0;
|
7350
|
+
role = EPayioRole.GENERAL;
|
7351
|
+
tags = [];
|
7202
7352
|
updatedAt = new Date();
|
7203
|
-
// #endregion Properties (10)
|
7204
|
-
// #region Constructors (1)
|
7205
7353
|
constructor(data) {
|
7206
7354
|
if (data) {
|
7207
7355
|
for (let key in data) {
|
@@ -7213,34 +7361,24 @@ class PlanFeatureEntity {
|
|
7213
7361
|
}
|
7214
7362
|
}
|
7215
7363
|
|
7216
|
-
|
7217
|
-
|
7218
|
-
|
7219
|
-
|
7220
|
-
|
7221
|
-
|
7222
|
-
EPlanIdentifier["NATI"] = "NATI-V1";
|
7223
|
-
EPlanIdentifier["NATI_CHEF"] = "NATI_CHEF";
|
7224
|
-
EPlanIdentifier["MOBYO"] = "MOBYO";
|
7225
|
-
EPlanIdentifier["NOTAPP"] = "NOTAPP";
|
7226
|
-
})(EPlanIdentifier || (EPlanIdentifier = {}));
|
7227
|
-
|
7228
|
-
class PlanEntity {
|
7229
|
-
// #region Properties (12)
|
7364
|
+
class PayioProductEntity {
|
7365
|
+
active = true;
|
7366
|
+
brand = '';
|
7367
|
+
code = '';
|
7368
|
+
companyId = '';
|
7369
|
+
containerId = null;
|
7230
7370
|
createdAt = new Date();
|
7231
|
-
features = [];
|
7232
7371
|
id = '';
|
7233
|
-
identifier = EPlanIdentifier.NATIGO;
|
7234
|
-
index = 0;
|
7235
|
-
interval = 12;
|
7236
|
-
intervalType = EIntervalType.MONTHS;
|
7237
7372
|
name = '';
|
7373
|
+
ncm = '';
|
7238
7374
|
price = 0;
|
7375
|
+
quantityPackaging = 0;
|
7376
|
+
sandbox = false;
|
7239
7377
|
tags = [];
|
7240
|
-
|
7378
|
+
thumbnail = null;
|
7379
|
+
unit = 'UN';
|
7241
7380
|
updatedAt = new Date();
|
7242
|
-
|
7243
|
-
// #region Constructors (1)
|
7381
|
+
weight = 0;
|
7244
7382
|
constructor(data) {
|
7245
7383
|
if (data) {
|
7246
7384
|
for (let key in data) {
|
@@ -7252,19 +7390,10 @@ class PlanEntity {
|
|
7252
7390
|
}
|
7253
7391
|
}
|
7254
7392
|
|
7255
|
-
|
7256
|
-
(function (EGtintype) {
|
7257
|
-
EGtintype["ZERO"] = "SEM GTIN";
|
7258
|
-
EGtintype["EIGHT"] = "8";
|
7259
|
-
EGtintype["TWELVE"] = "12";
|
7260
|
-
EGtintype["THIRTEEN"] = "13";
|
7261
|
-
EGtintype["FOURTEEN"] = "14";
|
7262
|
-
})(EGtintype || (EGtintype = {}));
|
7263
|
-
|
7264
|
-
class ProductBrandEntity {
|
7393
|
+
class PayioResumeCompanyItemDetailEntity {
|
7265
7394
|
// #region Properties (2)
|
7266
|
-
|
7267
|
-
|
7395
|
+
cords = [];
|
7396
|
+
count = 0;
|
7268
7397
|
// #endregion Properties (2)
|
7269
7398
|
// #region Constructors (1)
|
7270
7399
|
constructor(data) {
|
@@ -7278,12 +7407,11 @@ class ProductBrandEntity {
|
|
7278
7407
|
}
|
7279
7408
|
}
|
7280
7409
|
|
7281
|
-
class
|
7410
|
+
class PayioResumeCompanyItemEntity {
|
7282
7411
|
// #region Properties (3)
|
7283
|
-
|
7284
|
-
|
7285
|
-
|
7286
|
-
ex = null;
|
7412
|
+
created = new PayioResumeCompanyItemDetailEntity();
|
7413
|
+
deleted = new PayioResumeCompanyItemDetailEntity();
|
7414
|
+
sandbox = new PayioResumeCompanyItemDetailEntity();
|
7287
7415
|
// #endregion Properties (3)
|
7288
7416
|
// #region Constructors (1)
|
7289
7417
|
constructor(data) {
|
@@ -7297,64 +7425,16 @@ class ProductNcmEntity {
|
|
7297
7425
|
}
|
7298
7426
|
}
|
7299
7427
|
|
7300
|
-
class
|
7301
|
-
// #region Properties (
|
7302
|
-
active = true;
|
7303
|
-
avgPrice = 0;
|
7304
|
-
barcodeImage = null;
|
7305
|
-
brand = new ProductBrandEntity();
|
7306
|
-
cest = null;
|
7428
|
+
class PayioResumeCompanyEntity {
|
7429
|
+
// #region Properties (5)
|
7307
7430
|
createdAt = new Date();
|
7308
|
-
description = '';
|
7309
|
-
grossWeight = 0;
|
7310
|
-
gtin = null;
|
7311
|
-
gtinType = EGtintype.THIRTEEN;
|
7312
|
-
height = 0;
|
7313
7431
|
id = '';
|
7314
|
-
|
7315
|
-
|
7316
|
-
measureQuantity = 1;
|
7317
|
-
measureUnit = 'UN';
|
7318
|
-
minPrice = 0;
|
7319
|
-
name = '';
|
7320
|
-
ncm = new ProductNcmEntity();
|
7321
|
-
netWeight = 0;
|
7322
|
-
createdBy = '';
|
7323
|
-
price = 0;
|
7324
|
-
tags = [];
|
7325
|
-
thumbnail = null;
|
7432
|
+
item = new PayioResumeCompanyItemEntity();
|
7433
|
+
items = [];
|
7326
7434
|
updatedAt = new Date();
|
7327
|
-
|
7328
|
-
// #endregion Properties (26)
|
7435
|
+
// #endregion Properties (5)
|
7329
7436
|
// #region Constructors (1)
|
7330
|
-
constructor(data
|
7331
|
-
if (bluesoft) {
|
7332
|
-
this.active = true;
|
7333
|
-
this.avgPrice = bluesoft.avgPrice;
|
7334
|
-
this.barcodeImage = bluesoft.barcodeImage;
|
7335
|
-
this.brand = new ProductBrandEntity(bluesoft.brand);
|
7336
|
-
this.cest = '';
|
7337
|
-
this.createdAt = new Date();
|
7338
|
-
this.description = bluesoft.description;
|
7339
|
-
this.grossWeight = bluesoft.grossWeight || 0;
|
7340
|
-
this.gtin = bluesoft.gtin || null;
|
7341
|
-
this.gtinType = EGtintype.FOURTEEN;
|
7342
|
-
this.height = bluesoft.height || 0;
|
7343
|
-
this.id = '';
|
7344
|
-
this.length = bluesoft.length || 0;
|
7345
|
-
this.maxPrice = bluesoft.maxPrice || 0;
|
7346
|
-
this.measureQuantity = this.getGtinFromGtins(bluesoft.gtin || 0, bluesoft.gtins)?.commercialUnit?.quantityPackaging || 1;
|
7347
|
-
this.measureUnit = this.getGtinFromGtins(bluesoft.gtin || 0, bluesoft.gtins)?.commercialUnit?.typePackaging || 'Unidade';
|
7348
|
-
this.minPrice = bluesoft.minPrice || 0;
|
7349
|
-
this.name = bluesoft.description || '';
|
7350
|
-
this.ncm = new ProductNcmEntity(bluesoft.ncm);
|
7351
|
-
this.netWeight = bluesoft.netWeight || 0;
|
7352
|
-
this.price = this.currencyStringToNumber(bluesoft.price);
|
7353
|
-
this.tags = [];
|
7354
|
-
this.thumbnail = bluesoft.thumbnail || '';
|
7355
|
-
this.updatedAt = new Date();
|
7356
|
-
this.width = bluesoft.width || 0;
|
7357
|
-
}
|
7437
|
+
constructor(data) {
|
7358
7438
|
if (data) {
|
7359
7439
|
for (let key in data) {
|
7360
7440
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7363,31 +7443,74 @@ class ProductGlobalEntity {
|
|
7363
7443
|
}
|
7364
7444
|
}
|
7365
7445
|
}
|
7366
|
-
|
7367
|
-
|
7368
|
-
|
7369
|
-
|
7370
|
-
|
7371
|
-
|
7446
|
+
}
|
7447
|
+
|
7448
|
+
var PayioEntitiesEnum;
|
7449
|
+
(function (PayioEntitiesEnum) {
|
7450
|
+
PayioEntitiesEnum["aplications"] = "apps";
|
7451
|
+
PayioEntitiesEnum["companies"] = "companies";
|
7452
|
+
PayioEntitiesEnum["devices"] = "devices";
|
7453
|
+
PayioEntitiesEnum["members"] = "members";
|
7454
|
+
PayioEntitiesEnum["admins"] = "admins";
|
7455
|
+
PayioEntitiesEnum["orders"] = "orders";
|
7456
|
+
PayioEntitiesEnum["products"] = "products";
|
7457
|
+
PayioEntitiesEnum["resumes"] = "resumes";
|
7458
|
+
PayioEntitiesEnum["tokens"] = "tokens";
|
7459
|
+
PayioEntitiesEnum["users"] = "users";
|
7460
|
+
PayioEntitiesEnum["distributors"] = "distributors";
|
7461
|
+
PayioEntitiesEnum["block_activations"] = "block-activations";
|
7462
|
+
PayioEntitiesEnum["bath_activations"] = "bath-activations";
|
7463
|
+
PayioEntitiesEnum["activation_keys"] = "activation-keys";
|
7464
|
+
})(PayioEntitiesEnum || (PayioEntitiesEnum = {}));
|
7465
|
+
// Adiquirida
|
7466
|
+
|
7467
|
+
var PayioResumeQueueActionEnum;
|
7468
|
+
(function (PayioResumeQueueActionEnum) {
|
7469
|
+
PayioResumeQueueActionEnum["create"] = "create";
|
7470
|
+
PayioResumeQueueActionEnum["update"] = "update";
|
7471
|
+
PayioResumeQueueActionEnum["delete"] = "delete";
|
7472
|
+
})(PayioResumeQueueActionEnum || (PayioResumeQueueActionEnum = {}));
|
7473
|
+
|
7474
|
+
var PayioResumeQueueStatusEnum;
|
7475
|
+
(function (PayioResumeQueueStatusEnum) {
|
7476
|
+
PayioResumeQueueStatusEnum["pending"] = "pending";
|
7477
|
+
PayioResumeQueueStatusEnum["processing"] = "processing";
|
7478
|
+
PayioResumeQueueStatusEnum["completed"] = "completed";
|
7479
|
+
PayioResumeQueueStatusEnum["error"] = "error";
|
7480
|
+
})(PayioResumeQueueStatusEnum || (PayioResumeQueueStatusEnum = {}));
|
7481
|
+
|
7482
|
+
class PayioResumeQueueEntity {
|
7483
|
+
// #region Properties (10)
|
7484
|
+
action = PayioResumeQueueActionEnum.create;
|
7485
|
+
attempts = 0;
|
7486
|
+
createdAt = new Date();
|
7487
|
+
data = null;
|
7488
|
+
entityId = '';
|
7489
|
+
entityType = PayioEntitiesEnum.aplications;
|
7490
|
+
error = '';
|
7491
|
+
id = '';
|
7492
|
+
lastAttemptAt = new Date();
|
7493
|
+
status = PayioResumeQueueStatusEnum.pending;
|
7494
|
+
// #endregion Properties (10)
|
7495
|
+
// #region Constructors (1)
|
7496
|
+
constructor(data) {
|
7497
|
+
if (data) {
|
7498
|
+
for (let key in data) {
|
7499
|
+
if (data.hasOwnProperty(key) && key in this) {
|
7500
|
+
this[key] = data[key];
|
7501
|
+
}
|
7372
7502
|
}
|
7373
7503
|
}
|
7374
|
-
return null;
|
7375
|
-
}
|
7376
|
-
currencyStringToNumber(value) {
|
7377
|
-
return Number(value.replace(/[^0-9.-]+/g, ''));
|
7378
7504
|
}
|
7379
7505
|
}
|
7380
7506
|
|
7381
|
-
class
|
7382
|
-
// #region Properties (
|
7383
|
-
|
7384
|
-
|
7385
|
-
|
7386
|
-
exTipi = '';
|
7387
|
-
// #endregion Properties (5)
|
7507
|
+
class PayioScheduleDayEntity {
|
7508
|
+
// #region Properties (2)
|
7509
|
+
day = '';
|
7510
|
+
slots = [];
|
7511
|
+
// #endregion Properties (2)
|
7388
7512
|
// #region Constructors (1)
|
7389
7513
|
constructor(data) {
|
7390
|
-
super(data);
|
7391
7514
|
if (data) {
|
7392
7515
|
for (let key in data) {
|
7393
7516
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7395,16 +7518,24 @@ class ProductContainerEntity extends ProductGlobalEntity {
|
|
7395
7518
|
}
|
7396
7519
|
}
|
7397
7520
|
}
|
7398
|
-
}
|
7521
|
+
}
|
7399
7522
|
}
|
7400
7523
|
|
7401
|
-
class
|
7402
|
-
// #region Properties (
|
7403
|
-
|
7404
|
-
|
7524
|
+
class PayioScheduleProductEntity {
|
7525
|
+
// #region Properties (11)
|
7526
|
+
code = '';
|
7527
|
+
description = '';
|
7528
|
+
exceededWeightMessageText = '';
|
7529
|
+
exceededWeightPrice = 0;
|
7530
|
+
helpYourSelf = false;
|
7531
|
+
id = '';
|
7532
|
+
price = 0;
|
7533
|
+
unit = 'KG';
|
7534
|
+
weightLimitMessage = 0;
|
7535
|
+
weightLimitPrice = 0;
|
7536
|
+
// #endregion Properties (11)
|
7405
7537
|
// #region Constructors (1)
|
7406
7538
|
constructor(data) {
|
7407
|
-
super(data);
|
7408
7539
|
if (data) {
|
7409
7540
|
for (let key in data) {
|
7410
7541
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7415,13 +7546,11 @@ class ProductCompanyEntity extends ProductContainerEntity {
|
|
7415
7546
|
}
|
7416
7547
|
}
|
7417
7548
|
|
7418
|
-
class
|
7419
|
-
// #region Properties (
|
7420
|
-
|
7421
|
-
|
7422
|
-
|
7423
|
-
topicType = null;
|
7424
|
-
// #endregion Properties (4)
|
7549
|
+
class PayioScheduleSlotEntity {
|
7550
|
+
// #region Properties (2)
|
7551
|
+
productCode = '';
|
7552
|
+
time = '';
|
7553
|
+
// #endregion Properties (2)
|
7425
7554
|
// #region Constructors (1)
|
7426
7555
|
constructor(data) {
|
7427
7556
|
if (data) {
|
@@ -7434,18 +7563,16 @@ class PubsubSubscriptionChangeStatusEntity {
|
|
7434
7563
|
}
|
7435
7564
|
}
|
7436
7565
|
|
7437
|
-
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
class AppInfoEntity {
|
7444
|
-
// #region Properties (3)
|
7445
|
-
appId = '';
|
7566
|
+
class PayioScheduleEntity {
|
7567
|
+
// #region Properties (7)
|
7568
|
+
active = true;
|
7569
|
+
createdAt = new Date();
|
7570
|
+
days = [];
|
7571
|
+
id = '';
|
7446
7572
|
name = '';
|
7447
|
-
|
7448
|
-
|
7573
|
+
products = [];
|
7574
|
+
updatedAt = new Date();
|
7575
|
+
// #endregion Properties (7)
|
7449
7576
|
// #region Constructors (1)
|
7450
7577
|
constructor(data) {
|
7451
7578
|
if (data) {
|
@@ -7458,16 +7585,14 @@ class AppInfoEntity {
|
|
7458
7585
|
}
|
7459
7586
|
}
|
7460
7587
|
|
7461
|
-
class
|
7462
|
-
|
7463
|
-
|
7464
|
-
|
7465
|
-
|
7466
|
-
|
7467
|
-
|
7468
|
-
// #region Constructors (1)
|
7588
|
+
class PayioTabEntity {
|
7589
|
+
active = true;
|
7590
|
+
createdAt = new Date();
|
7591
|
+
id = '';
|
7592
|
+
name = '';
|
7593
|
+
tags = [];
|
7594
|
+
updatedAt = new Date();
|
7469
7595
|
constructor(data) {
|
7470
|
-
super(data);
|
7471
7596
|
if (data) {
|
7472
7597
|
for (let key in data) {
|
7473
7598
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7478,14 +7603,21 @@ class PurchaseEntity extends OrderEntity {
|
|
7478
7603
|
}
|
7479
7604
|
}
|
7480
7605
|
|
7481
|
-
class
|
7482
|
-
// #region Properties (
|
7483
|
-
|
7484
|
-
|
7485
|
-
|
7486
|
-
|
7487
|
-
|
7488
|
-
|
7606
|
+
class PayioTokenEntity {
|
7607
|
+
// #region Properties (12)
|
7608
|
+
createdAt = new Date();
|
7609
|
+
deviceId = null;
|
7610
|
+
expiresAt = new Date();
|
7611
|
+
id = '';
|
7612
|
+
ipAddress = null;
|
7613
|
+
isRevoked = false;
|
7614
|
+
refreshToken = '';
|
7615
|
+
revokedAt = null;
|
7616
|
+
sandbox = false;
|
7617
|
+
updatedAt = new Date();
|
7618
|
+
userAgent = null;
|
7619
|
+
userId = '';
|
7620
|
+
// #endregion Properties (12)
|
7489
7621
|
// #region Constructors (1)
|
7490
7622
|
constructor(data) {
|
7491
7623
|
if (data) {
|
@@ -7498,24 +7630,25 @@ class RequestedItemDataEntity {
|
|
7498
7630
|
}
|
7499
7631
|
}
|
7500
7632
|
|
7501
|
-
|
7502
|
-
|
7503
|
-
|
7504
|
-
|
7633
|
+
var EPlanFeatureType;
|
7634
|
+
(function (EPlanFeatureType) {
|
7635
|
+
EPlanFeatureType["FEATURE"] = "FEATURE";
|
7636
|
+
EPlanFeatureType["DESCRIPTION"] = "DESCRIPTION";
|
7637
|
+
})(EPlanFeatureType || (EPlanFeatureType = {}));
|
7638
|
+
|
7639
|
+
class PlanFeatureEntity {
|
7640
|
+
// #region Properties (10)
|
7641
|
+
appId = '';
|
7505
7642
|
createdAt = new Date();
|
7506
|
-
|
7643
|
+
featureType = EPlanFeatureType.FEATURE;
|
7507
7644
|
id = '';
|
7508
|
-
|
7509
|
-
|
7510
|
-
|
7645
|
+
index = 0;
|
7646
|
+
name = '';
|
7647
|
+
planId = '';
|
7648
|
+
price = 0;
|
7649
|
+
quantity = 0;
|
7511
7650
|
updatedAt = new Date();
|
7512
|
-
|
7513
|
-
status = null;
|
7514
|
-
message = null;
|
7515
|
-
messageException = null;
|
7516
|
-
referenceToken = null;
|
7517
|
-
resendCount = 0;
|
7518
|
-
// #endregion Properties (9)
|
7651
|
+
// #endregion Properties (10)
|
7519
7652
|
// #region Constructors (1)
|
7520
7653
|
constructor(data) {
|
7521
7654
|
if (data) {
|
@@ -7528,10 +7661,34 @@ class RequestedItemsEntity {
|
|
7528
7661
|
}
|
7529
7662
|
}
|
7530
7663
|
|
7531
|
-
|
7532
|
-
|
7533
|
-
|
7534
|
-
|
7664
|
+
var EPlanIdentifier;
|
7665
|
+
(function (EPlanIdentifier) {
|
7666
|
+
EPlanIdentifier["NATIGO"] = "NATIGO-UNO";
|
7667
|
+
EPlanIdentifier["SAT_MANAGER_NAPOLEON"] = "SAT-MANAGER-NAPOLEON";
|
7668
|
+
EPlanIdentifier["NATI_PDV"] = "NATI-PDV";
|
7669
|
+
EPlanIdentifier["NATI_WA"] = "NATI-WA";
|
7670
|
+
EPlanIdentifier["NATI"] = "NATI-V1";
|
7671
|
+
EPlanIdentifier["NATI_CHEF"] = "NATI_CHEF";
|
7672
|
+
EPlanIdentifier["MOBYO"] = "MOBYO";
|
7673
|
+
EPlanIdentifier["NOTAPP"] = "NOTAPP";
|
7674
|
+
})(EPlanIdentifier || (EPlanIdentifier = {}));
|
7675
|
+
|
7676
|
+
class PlanEntity {
|
7677
|
+
// #region Properties (12)
|
7678
|
+
createdAt = new Date();
|
7679
|
+
features = [];
|
7680
|
+
id = '';
|
7681
|
+
identifier = EPlanIdentifier.NATIGO;
|
7682
|
+
index = 0;
|
7683
|
+
interval = 12;
|
7684
|
+
intervalType = EIntervalType.MONTHS;
|
7685
|
+
name = '';
|
7686
|
+
price = 0;
|
7687
|
+
tags = [];
|
7688
|
+
trialDays = 0;
|
7689
|
+
updatedAt = new Date();
|
7690
|
+
// #endregion Properties (12)
|
7691
|
+
// #region Constructors (1)
|
7535
7692
|
constructor(data) {
|
7536
7693
|
if (data) {
|
7537
7694
|
for (let key in data) {
|
@@ -7543,10 +7700,21 @@ class GeneralResumeTotalEntity {
|
|
7543
7700
|
}
|
7544
7701
|
}
|
7545
7702
|
|
7546
|
-
|
7547
|
-
|
7548
|
-
|
7549
|
-
|
7703
|
+
var EGtintype;
|
7704
|
+
(function (EGtintype) {
|
7705
|
+
EGtintype["ZERO"] = "SEM GTIN";
|
7706
|
+
EGtintype["EIGHT"] = "8";
|
7707
|
+
EGtintype["TWELVE"] = "12";
|
7708
|
+
EGtintype["THIRTEEN"] = "13";
|
7709
|
+
EGtintype["FOURTEEN"] = "14";
|
7710
|
+
})(EGtintype || (EGtintype = {}));
|
7711
|
+
|
7712
|
+
class ProductBrandEntity {
|
7713
|
+
// #region Properties (2)
|
7714
|
+
picture = '';
|
7715
|
+
name = '';
|
7716
|
+
// #endregion Properties (2)
|
7717
|
+
// #region Constructors (1)
|
7550
7718
|
constructor(data) {
|
7551
7719
|
if (data) {
|
7552
7720
|
for (let key in data) {
|
@@ -7558,34 +7726,14 @@ class ResumeChildEntity {
|
|
7558
7726
|
}
|
7559
7727
|
}
|
7560
7728
|
|
7561
|
-
|
7562
|
-
|
7563
|
-
|
7564
|
-
|
7565
|
-
|
7566
|
-
|
7567
|
-
|
7568
|
-
|
7569
|
-
var EResumeType;
|
7570
|
-
(function (EResumeType) {
|
7571
|
-
EResumeType["NATI"] = "NATI";
|
7572
|
-
EResumeType["AUTOMATION"] = "AUTOMATION";
|
7573
|
-
EResumeType["NATIPAY"] = "NATIPAY";
|
7574
|
-
EResumeType["DESENFILA"] = "DESENFILA";
|
7575
|
-
EResumeType["NATIST"] = "NATIST";
|
7576
|
-
EResumeType["MOBYO"] = "MOBYO";
|
7577
|
-
EResumeType["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
7578
|
-
})(EResumeType || (EResumeType = {}));
|
7579
|
-
|
7580
|
-
class ResumeEntity {
|
7581
|
-
id = '';
|
7582
|
-
interval = EResumeIntervalType.YEAR;
|
7583
|
-
info = null;
|
7584
|
-
createdAt = new Date();
|
7585
|
-
updatedAt = new Date();
|
7586
|
-
totals = new GeneralResumeTotalEntity();
|
7587
|
-
child = [];
|
7588
|
-
childByType = [];
|
7729
|
+
class ProductNcmEntity {
|
7730
|
+
// #region Properties (3)
|
7731
|
+
code = '';
|
7732
|
+
description = '';
|
7733
|
+
fullDescription = '';
|
7734
|
+
ex = null;
|
7735
|
+
// #endregion Properties (3)
|
7736
|
+
// #region Constructors (1)
|
7589
7737
|
constructor(data) {
|
7590
7738
|
if (data) {
|
7591
7739
|
for (let key in data) {
|
@@ -7597,82 +7745,64 @@ class ResumeEntity {
|
|
7597
7745
|
}
|
7598
7746
|
}
|
7599
7747
|
|
7600
|
-
class
|
7601
|
-
|
7602
|
-
|
7603
|
-
|
7748
|
+
class ProductGlobalEntity {
|
7749
|
+
// #region Properties (26)
|
7750
|
+
active = true;
|
7751
|
+
avgPrice = 0;
|
7752
|
+
barcodeImage = null;
|
7753
|
+
brand = new ProductBrandEntity();
|
7754
|
+
cest = null;
|
7604
7755
|
createdAt = new Date();
|
7605
|
-
|
7606
|
-
|
7607
|
-
|
7608
|
-
|
7609
|
-
|
7610
|
-
mobyoRefId = null;
|
7611
|
-
from = EFrom.DEFAULT;
|
7612
|
-
internationalCode = '';
|
7613
|
-
phoneNumer = '';
|
7614
|
-
email = '';
|
7615
|
-
natiInfo = new InfoEntity();
|
7616
|
-
mobyoInfo = new MobyoInfoEntity();
|
7617
|
-
desenfilaInfo = new DesenfilaInfoEntity();
|
7618
|
-
constructor(data) {
|
7619
|
-
if (data) {
|
7620
|
-
for (let key in data) {
|
7621
|
-
if (data.hasOwnProperty(key) && key in this) {
|
7622
|
-
this[key] = data[key];
|
7623
|
-
}
|
7624
|
-
}
|
7625
|
-
}
|
7626
|
-
}
|
7627
|
-
}
|
7628
|
-
|
7629
|
-
var EImageFolder;
|
7630
|
-
(function (EImageFolder) {
|
7631
|
-
EImageFolder["COMPANIES"] = "companies";
|
7632
|
-
EImageFolder["CUSTOMERS"] = "customers";
|
7633
|
-
EImageFolder["MEMBERS"] = "members";
|
7634
|
-
// MENU_CATEGORIES = 'menu-categories',
|
7635
|
-
EImageFolder["MENUS"] = "menus";
|
7636
|
-
EImageFolder["SECTIONS"] = "sections";
|
7637
|
-
EImageFolder["PRODUCTS"] = "products";
|
7638
|
-
EImageFolder["COMPOSITIONS"] = "compositions";
|
7639
|
-
EImageFolder["TYPES"] = "types";
|
7640
|
-
EImageFolder["PRODUCT_SIZES"] = "product-sizes";
|
7641
|
-
EImageFolder["TOPPINGS"] = "toppings";
|
7642
|
-
EImageFolder["DEVICE"] = "device";
|
7643
|
-
EImageFolder["TAA"] = "taa";
|
7644
|
-
EImageFolder["IN_TAB"] = "in-tab";
|
7645
|
-
EImageFolder["TOP"] = "top";
|
7646
|
-
EImageFolder["DELIVERERS"] = "deliverers";
|
7647
|
-
EImageFolder["DEFAULT"] = "default";
|
7648
|
-
})(EImageFolder || (EImageFolder = {}));
|
7649
|
-
|
7650
|
-
var EMimeTypeFile;
|
7651
|
-
(function (EMimeTypeFile) {
|
7652
|
-
EMimeTypeFile["PNG"] = "image/png";
|
7653
|
-
EMimeTypeFile["JPEG"] = "image/jpeg";
|
7654
|
-
EMimeTypeFile["MPFOUR"] = "video/mp4";
|
7655
|
-
EMimeTypeFile["OGG"] = "video/ogg";
|
7656
|
-
EMimeTypeFile["WEBP"] = "image/webp";
|
7657
|
-
})(EMimeTypeFile || (EMimeTypeFile = {}));
|
7658
|
-
|
7659
|
-
var ETypeFile;
|
7660
|
-
(function (ETypeFile) {
|
7661
|
-
ETypeFile["FILE"] = "file";
|
7662
|
-
ETypeFile["FOLDER"] = "folder";
|
7663
|
-
})(ETypeFile || (ETypeFile = {}));
|
7664
|
-
|
7665
|
-
class SubscriptionCompanyProfileEntity {
|
7666
|
-
// #region Properties (6)
|
7667
|
-
containerId = '';
|
7668
|
-
doc = '';
|
7669
|
-
docType = '';
|
7756
|
+
description = '';
|
7757
|
+
grossWeight = 0;
|
7758
|
+
gtin = null;
|
7759
|
+
gtinType = EGtintype.THIRTEEN;
|
7760
|
+
height = 0;
|
7670
7761
|
id = '';
|
7671
|
-
|
7762
|
+
length = 0;
|
7763
|
+
maxPrice = 0;
|
7764
|
+
measureQuantity = 1;
|
7765
|
+
measureUnit = 'UN';
|
7766
|
+
minPrice = 0;
|
7672
7767
|
name = '';
|
7673
|
-
|
7768
|
+
ncm = new ProductNcmEntity();
|
7769
|
+
netWeight = 0;
|
7770
|
+
createdBy = '';
|
7771
|
+
price = 0;
|
7772
|
+
tags = [];
|
7773
|
+
thumbnail = null;
|
7774
|
+
updatedAt = new Date();
|
7775
|
+
width = 0;
|
7776
|
+
// #endregion Properties (26)
|
7674
7777
|
// #region Constructors (1)
|
7675
|
-
constructor(data) {
|
7778
|
+
constructor(data, bluesoft) {
|
7779
|
+
if (bluesoft) {
|
7780
|
+
this.active = true;
|
7781
|
+
this.avgPrice = bluesoft.avgPrice;
|
7782
|
+
this.barcodeImage = bluesoft.barcodeImage;
|
7783
|
+
this.brand = new ProductBrandEntity(bluesoft.brand);
|
7784
|
+
this.cest = '';
|
7785
|
+
this.createdAt = new Date();
|
7786
|
+
this.description = bluesoft.description;
|
7787
|
+
this.grossWeight = bluesoft.grossWeight || 0;
|
7788
|
+
this.gtin = bluesoft.gtin || null;
|
7789
|
+
this.gtinType = EGtintype.FOURTEEN;
|
7790
|
+
this.height = bluesoft.height || 0;
|
7791
|
+
this.id = '';
|
7792
|
+
this.length = bluesoft.length || 0;
|
7793
|
+
this.maxPrice = bluesoft.maxPrice || 0;
|
7794
|
+
this.measureQuantity = this.getGtinFromGtins(bluesoft.gtin || 0, bluesoft.gtins)?.commercialUnit?.quantityPackaging || 1;
|
7795
|
+
this.measureUnit = this.getGtinFromGtins(bluesoft.gtin || 0, bluesoft.gtins)?.commercialUnit?.typePackaging || 'Unidade';
|
7796
|
+
this.minPrice = bluesoft.minPrice || 0;
|
7797
|
+
this.name = bluesoft.description || '';
|
7798
|
+
this.ncm = new ProductNcmEntity(bluesoft.ncm);
|
7799
|
+
this.netWeight = bluesoft.netWeight || 0;
|
7800
|
+
this.price = this.currencyStringToNumber(bluesoft.price);
|
7801
|
+
this.tags = [];
|
7802
|
+
this.thumbnail = bluesoft.thumbnail || '';
|
7803
|
+
this.updatedAt = new Date();
|
7804
|
+
this.width = bluesoft.width || 0;
|
7805
|
+
}
|
7676
7806
|
if (data) {
|
7677
7807
|
for (let key in data) {
|
7678
7808
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7681,37 +7811,31 @@ class SubscriptionCompanyProfileEntity {
|
|
7681
7811
|
}
|
7682
7812
|
}
|
7683
7813
|
}
|
7684
|
-
|
7685
|
-
|
7686
|
-
|
7687
|
-
|
7688
|
-
|
7689
|
-
|
7690
|
-
profile = new SubscriptionCompanyProfileEntity();
|
7691
|
-
// #endregion Properties (9)
|
7692
|
-
// #region Constructors (1)
|
7693
|
-
constructor(data) {
|
7694
|
-
super(data);
|
7695
|
-
if (data) {
|
7696
|
-
for (let key in data) {
|
7697
|
-
if (data.hasOwnProperty(key) && key in this) {
|
7698
|
-
this[key] = data[key];
|
7699
|
-
}
|
7814
|
+
// #endregion Constructors (1)
|
7815
|
+
// #region Private Methods (1)
|
7816
|
+
getGtinFromGtins(ref, gtins) {
|
7817
|
+
for (let i = 0; i < gtins.length; i++) {
|
7818
|
+
if (gtins[i].gtin === ref) {
|
7819
|
+
return gtins[i];
|
7700
7820
|
}
|
7701
7821
|
}
|
7822
|
+
return null;
|
7823
|
+
}
|
7824
|
+
currencyStringToNumber(value) {
|
7825
|
+
return Number(value.replace(/[^0-9.-]+/g, ''));
|
7702
7826
|
}
|
7703
7827
|
}
|
7704
7828
|
|
7705
|
-
class
|
7706
|
-
// #region Properties (
|
7707
|
-
|
7708
|
-
currentBalance = 0;
|
7709
|
-
creditLimit = 0;
|
7710
|
-
companyId = '';
|
7829
|
+
class ProductContainerEntity extends ProductGlobalEntity {
|
7830
|
+
// #region Properties (5)
|
7831
|
+
cest = null;
|
7711
7832
|
containerId = '';
|
7712
|
-
|
7833
|
+
customEAN = '';
|
7834
|
+
exTipi = '';
|
7835
|
+
// #endregion Properties (5)
|
7713
7836
|
// #region Constructors (1)
|
7714
7837
|
constructor(data) {
|
7838
|
+
super(data);
|
7715
7839
|
if (data) {
|
7716
7840
|
for (let key in data) {
|
7717
7841
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7719,22 +7843,16 @@ class CustomerCreditLimitEntity {
|
|
7719
7843
|
}
|
7720
7844
|
}
|
7721
7845
|
}
|
7722
|
-
}
|
7846
|
+
} // #endregion Constructors (1)
|
7723
7847
|
}
|
7724
7848
|
|
7725
|
-
class
|
7726
|
-
// #region Properties (
|
7727
|
-
|
7728
|
-
|
7729
|
-
email = '';
|
7730
|
-
id = '';
|
7731
|
-
imageUrl = '';
|
7732
|
-
name = '';
|
7733
|
-
phoneNumber = '';
|
7734
|
-
uid = '';
|
7735
|
-
// #endregion Properties (8)
|
7849
|
+
class ProductCompanyEntity extends ProductContainerEntity {
|
7850
|
+
// #region Properties (6)
|
7851
|
+
companyId = '';
|
7852
|
+
// #endregion Properties (6)
|
7736
7853
|
// #region Constructors (1)
|
7737
7854
|
constructor(data) {
|
7855
|
+
super(data);
|
7738
7856
|
if (data) {
|
7739
7857
|
for (let key in data) {
|
7740
7858
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7745,18 +7863,15 @@ class SubscriptionCustomerProfileEntity {
|
|
7745
7863
|
}
|
7746
7864
|
}
|
7747
7865
|
|
7748
|
-
class
|
7749
|
-
// #region Properties (
|
7750
|
-
|
7751
|
-
|
7752
|
-
|
7753
|
-
|
7754
|
-
|
7755
|
-
profile = new SubscriptionCustomerProfileEntity();
|
7756
|
-
// #endregion Properties (9)
|
7866
|
+
class PubsubSubscriptionChangeStatusEntity {
|
7867
|
+
// #region Properties (4)
|
7868
|
+
afterStatus = null;
|
7869
|
+
beforeStatus = null;
|
7870
|
+
subscriptionId = '';
|
7871
|
+
topicType = null;
|
7872
|
+
// #endregion Properties (4)
|
7757
7873
|
// #region Constructors (1)
|
7758
7874
|
constructor(data) {
|
7759
|
-
super(data);
|
7760
7875
|
if (data) {
|
7761
7876
|
for (let key in data) {
|
7762
7877
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -7767,23 +7882,18 @@ class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
|
7767
7882
|
}
|
7768
7883
|
}
|
7769
7884
|
|
7770
|
-
|
7771
|
-
|
7772
|
-
|
7773
|
-
|
7774
|
-
|
7775
|
-
|
7776
|
-
|
7777
|
-
|
7778
|
-
|
7779
|
-
expiresAt = Date.now();
|
7780
|
-
id = '';
|
7781
|
-
lastAccessAt = Date.now();
|
7885
|
+
var EPubSubTopicType;
|
7886
|
+
(function (EPubSubTopicType) {
|
7887
|
+
EPubSubTopicType["SUB_CHANGE_STATUS"] = "SUBSCRIPTION_CHANGE_STATUS";
|
7888
|
+
EPubSubTopicType["OTHER"] = "OTHER";
|
7889
|
+
})(EPubSubTopicType || (EPubSubTopicType = {}));
|
7890
|
+
|
7891
|
+
class AppInfoEntity {
|
7892
|
+
// #region Properties (3)
|
7893
|
+
appId = '';
|
7782
7894
|
name = '';
|
7783
|
-
|
7784
|
-
|
7785
|
-
value = '';
|
7786
|
-
// #endregion Properties (14)
|
7895
|
+
version = '';
|
7896
|
+
// #endregion Properties (3)
|
7787
7897
|
// #region Constructors (1)
|
7788
7898
|
constructor(data) {
|
7789
7899
|
if (data) {
|
@@ -7793,166 +7903,38 @@ class TokenEntity {
|
|
7793
7903
|
}
|
7794
7904
|
}
|
7795
7905
|
}
|
7796
|
-
}
|
7797
|
-
}
|
7798
|
-
|
7799
|
-
var EReleaseStatus;
|
7800
|
-
(function (EReleaseStatus) {
|
7801
|
-
EReleaseStatus["RELEASED"] = "released";
|
7802
|
-
EReleaseStatus["PENDING"] = "pending";
|
7803
|
-
})(EReleaseStatus || (EReleaseStatus = {}));
|
7804
|
-
// Data em que o pagamento é liquidado e o dinheiro é disponibilizado na conta Mercado Pago do Collector (aquele que recebe o pagamento). O campo pode assumir os valores “pending” ou “released”, sendo que o primeiro indica que o pagamento ainda não foi liberado (dinheiro retido por tempo) e “released” significa que o dinheiro já foi liberado para o saldo disponível do usuário.
|
7805
|
-
|
7806
|
-
var ETransactionStatus;
|
7807
|
-
(function (ETransactionStatus) {
|
7808
|
-
ETransactionStatus["BLOCKED"] = "BLOCKED";
|
7809
|
-
ETransactionStatus["PROCESSED"] = "PROCESSED";
|
7810
|
-
ETransactionStatus["PROCESSING"] = "PROCESSING";
|
7811
|
-
})(ETransactionStatus || (ETransactionStatus = {}));
|
7812
|
-
|
7813
|
-
var EMpStatus;
|
7814
|
-
(function (EMpStatus) {
|
7815
|
-
EMpStatus["PENDING"] = "pending";
|
7816
|
-
EMpStatus["APPROVED"] = "approved";
|
7817
|
-
EMpStatus["AUTHORIZED"] = "authorized";
|
7818
|
-
EMpStatus["IN_PROCESS"] = "in_process";
|
7819
|
-
EMpStatus["IN_MEDIATION"] = "in_mediation";
|
7820
|
-
EMpStatus["REJECTED"] = "rejected";
|
7821
|
-
EMpStatus["CANCELLED"] = "cancelled";
|
7822
|
-
EMpStatus["REFUNDED"] = "refunded";
|
7823
|
-
EMpStatus["CHARGED_BACK"] = "charged_back";
|
7824
|
-
})(EMpStatus || (EMpStatus = {}));
|
7825
|
-
// É o estado atual do pagamento. Podem ser ser dos seguintes tipos.
|
7826
|
-
// pending: The user has not concluded the payment process (for example, by generating a payment by boleto, it will be concluded at the moment in which the user makes the payment in the selected place).
|
7827
|
-
// approved: The payment has been approved and credited.
|
7828
|
-
// authorized: The payment has been authorized but not captured yet.
|
7829
|
-
// in_process: The payment is in analysis.
|
7830
|
-
// in_mediation: The user started a dispute.
|
7831
|
-
// rejected: The payment was rejected (the user can try to pay again).
|
7832
|
-
// cancelled: Either the payment was canceled by one of the parties or expired.
|
7833
|
-
// refunded: The payment was returned to the user.
|
7834
|
-
// charged_back: A chargeback was placed on the buyer's credit card.
|
7835
|
-
|
7836
|
-
var EMpStatusDetail;
|
7837
|
-
(function (EMpStatusDetail) {
|
7838
|
-
EMpStatusDetail["ACCREDITED"] = "accredited";
|
7839
|
-
EMpStatusDetail["PENDING_CONTINGENCY"] = "pending_contingency";
|
7840
|
-
EMpStatusDetail["PENDING_REVIEW_MANUAL"] = "pending_review_manual";
|
7841
|
-
EMpStatusDetail["CC_REJECTED_BAD_FILLED_DATE"] = "cc_rejected_bad_filled_date";
|
7842
|
-
EMpStatusDetail["CC_REJECTED_BAD_FILLED_OTHER"] = "cc_rejected_bad_filled_other";
|
7843
|
-
EMpStatusDetail["CC_REJECTED_BAD_FILLED_SECURITY_CODE"] = "cc_rejected_bad_filled_security_code";
|
7844
|
-
EMpStatusDetail["CC_REJECTED_BLACKLIST"] = "cc_rejected_blacklist";
|
7845
|
-
EMpStatusDetail["CC_REJECTED_CALL_FOR_AUTHORIZE"] = "cc_rejected_call_for_authorize";
|
7846
|
-
EMpStatusDetail["CC_REJECTED_CARD_DISABLED"] = "cc_rejected_card_disabled";
|
7847
|
-
EMpStatusDetail["CC_REJECTED_DUPLICATED_PAYMENT"] = "cc_rejected_duplicated_payment";
|
7848
|
-
EMpStatusDetail["CC_REJECTED_HIGH_RISK"] = "cc_rejected_high_risk";
|
7849
|
-
EMpStatusDetail["CC_REJECTED_INSUFFICIENT_AMOUNT"] = "cc_rejected_insufficient_amount";
|
7850
|
-
EMpStatusDetail["CC_REJECTED_INVALID_INSTALLMENTS"] = "cc_rejected_invalid_installments";
|
7851
|
-
EMpStatusDetail["CC_REJECTED_MAX_ATTEMPTS"] = "cc_rejected_max_attempts";
|
7852
|
-
EMpStatusDetail["CC_REJECTED_OTHER_REASON"] = "cc_rejected_other_reason";
|
7853
|
-
})(EMpStatusDetail || (EMpStatusDetail = {}));
|
7854
|
-
// Accredited: credited payment.
|
7855
|
-
// pending_contingency: the payment is being processed.
|
7856
|
-
// pending_review_manual: the payment is under review to determine its approval or rejection.
|
7857
|
-
// cc_rejected_bad_filled_date: incorrect expiration date.
|
7858
|
-
// cc_rejected_bad_filled_other: incorrect card details.
|
7859
|
-
// cc_rejected_bad_filled_security_code: incorrect CVV.
|
7860
|
-
// cc_rejected_blacklist: the card is in the denial list, being present in problems related to theft/complaints/fraud.
|
7861
|
-
// cc_rejected_call_for_authorize: the payment method requires prior authorization of the transaction value.
|
7862
|
-
// cc_rejected_card_disabled: the card is inactive.
|
7863
|
-
// cc_rejected_duplicated_payment: duplicated transaction.
|
7864
|
-
// cc_rejected_high_risk: rejected by Fraud Prevention.
|
7865
|
-
// cc_rejected_insufficient_amount: insufficient amount.
|
7866
|
-
// cc_rejected_invalid_installments: invalid number of installments.
|
7867
|
-
// cc_rejected_max_attempts: maximum number of attempts exceeded.
|
7868
|
-
// cc_rejected_other_reason: generic error.
|
7869
|
-
|
7870
|
-
var EOperationType;
|
7871
|
-
(function (EOperationType) {
|
7872
|
-
// mp enums :
|
7873
|
-
EOperationType["INVESTMENT"] = "investment";
|
7874
|
-
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
7875
|
-
EOperationType["MONEY_TRANSFER"] = "money_transfer";
|
7876
|
-
EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
|
7877
|
-
EOperationType["ACCOUNT_FUND"] = "account_fund";
|
7878
|
-
EOperationType["PAYMENT_ADDITION"] = "payment_addition";
|
7879
|
-
EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
|
7880
|
-
EOperationType["POS_PAYMENT"] = "pos_payment";
|
7881
|
-
EOperationType["MONEY_EXCHANGE"] = "money_exchange";
|
7882
|
-
// arcnet enums :
|
7883
|
-
EOperationType["FEE_SHIPPING"] = "Taxa de Entrega";
|
7884
|
-
EOperationType["FEE_CONVENIENCE"] = "Taxa de Conveniencia";
|
7885
|
-
EOperationType["NATI_PAY"] = "Nati Pay";
|
7886
|
-
EOperationType["NATIPAY"] = "Natipay";
|
7887
|
-
EOperationType["GOLIVE"] = "Go Live";
|
7888
|
-
EOperationType["FIN_TAX"] = "Taxa Financeira";
|
7889
|
-
EOperationType["WITHDRAW"] = "Saque em Conta";
|
7890
|
-
})(EOperationType || (EOperationType = {}));
|
7891
|
-
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
7892
|
-
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
7893
|
-
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
7894
|
-
// money_transfer: Funds transfer between two users.
|
7895
|
-
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
7896
|
-
// account_fund: Money income in the user's account.
|
7897
|
-
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
7898
|
-
// cellphone_recharge: Recharge of a user's cellphone account.
|
7899
|
-
// pos_payment: Payment done through a Point of Sale.
|
7900
|
-
// money_exchange: Payment to exchange currency for a user.
|
7901
|
-
|
7902
|
-
var EPaymentMethodId;
|
7903
|
-
(function (EPaymentMethodId) {
|
7904
|
-
EPaymentMethodId["ACCOUNT_MONEY"] = "account_money";
|
7905
|
-
EPaymentMethodId["PIX"] = "pix";
|
7906
|
-
EPaymentMethodId["TED"] = "ted";
|
7907
|
-
// casos internacionais
|
7908
|
-
EPaymentMethodId["DEBIN_TRANSFER"] = "debin_transfer";
|
7909
|
-
EPaymentMethodId["CVU"] = "cvu";
|
7910
|
-
EPaymentMethodId["PSE"] = "pse";
|
7911
|
-
})(EPaymentMethodId || (EPaymentMethodId = {}));
|
7912
|
-
// Indica o identificador do meio de pagamento selecionado para efetuar o pagamento. A seguir, apresentamos alguns exemplos. Obtenha todos os meios de pagamento disponíveis consultando a API de 'Obter meios de pagamento'.
|
7913
|
-
// Pix: Método de pagamento digital instantâneo utilizado no Brasil.
|
7914
|
-
// Debin_transfer: Método de pagamento digital utilizado na Argentina que debita imediatamente um valor da conta, solicitando autorização prévia.
|
7915
|
-
// Ted: É o pagamento por Transferência Eletrônica Disponível, usado no Brasil, que possui taxas de utilização. O pagamento é realizado no mesmo dia da transação, mas para isso, é necessário realizar a transferência dentro do período estipulado.
|
7916
|
-
// CVU: Método de pagamento utilizado na Argentina.
|
7917
|
-
// PSE: Método de pagamento digital utilizado na Colômbia, no qual os usuários autorizam o débito de fundos de seu banco por meio da banca virtual, seja de suas contas de poupança, corrente ou depósito eletrônico.
|
7918
|
-
|
7919
|
-
var EPaymentTypeId;
|
7920
|
-
(function (EPaymentTypeId) {
|
7921
|
-
EPaymentTypeId["TICKET"] = "ticket";
|
7922
|
-
EPaymentTypeId["BANK_TRANSFER"] = "bank_transfer";
|
7923
|
-
EPaymentTypeId["ATM"] = "atm";
|
7924
|
-
EPaymentTypeId["CREDIT_CARD"] = "credit_card";
|
7925
|
-
EPaymentTypeId["DEBIT_CARD"] = "debit_card";
|
7926
|
-
EPaymentTypeId["PREPAID_CARD"] = "prepaid_card";
|
7927
|
-
EPaymentTypeId["DIGITAL_CURRENCY"] = "digital_currency";
|
7928
|
-
EPaymentTypeId["DIGITAL_WALLET"] = "digital_wallet";
|
7929
|
-
EPaymentTypeId["VOUCHER_CARD"] = "voucher_card";
|
7930
|
-
EPaymentTypeId["CRYPTO_TRANSFER"] = "crypto_transfer";
|
7931
|
-
})(EPaymentTypeId || (EPaymentTypeId = {}));
|
7932
|
-
// É o tipo da forma de pagamento (cartão, transferência bancária, boleto, caixa eletrônico, etc). Podem ser dos seguintes tipos.
|
7933
|
-
// ticket: Boletos, Caixa Electronica Payment, PayCash, Efecty, Oxxo, etc.
|
7934
|
-
// bank_transfer: Pix e PSE (Pagos Seguros en Línea).
|
7935
|
-
// atm: Pagamento em caixa eletrônico (amplamente utilizado no México através do BBVA Bancomer).
|
7936
|
-
// credit_card: Pagamento com cartão de crédito.
|
7937
|
-
// debit_card: Pagamento com cartão de débito.
|
7938
|
-
// prepaid_card: Pagamento com cartão pré-pago.
|
7939
|
-
// digital_currency: Compras com Mercado Crédito.
|
7940
|
-
// digital_wallet: Paypal.
|
7941
|
-
// voucher_card: Benefícios Alelo e Sodexo.
|
7942
|
-
// crypto_transfer: Pagamento com criptomoedas como Ethereum e Bitcoin.
|
7906
|
+
}
|
7907
|
+
}
|
7943
7908
|
|
7944
|
-
|
7945
|
-
|
7946
|
-
|
7947
|
-
|
7948
|
-
|
7949
|
-
|
7950
|
-
|
7909
|
+
class PurchaseEntity extends OrderEntity {
|
7910
|
+
// #region Properties (4)
|
7911
|
+
additionalNotes = '';
|
7912
|
+
appInfo = new AppInfoEntity();
|
7913
|
+
deviceUid = '';
|
7914
|
+
providerName = EPaymentProvider.IUGU;
|
7915
|
+
// #endregion Properties (4)
|
7916
|
+
// #region Constructors (1)
|
7917
|
+
constructor(data) {
|
7918
|
+
super(data);
|
7919
|
+
if (data) {
|
7920
|
+
for (let key in data) {
|
7921
|
+
if (data.hasOwnProperty(key) && key in this) {
|
7922
|
+
this[key] = data[key];
|
7923
|
+
}
|
7924
|
+
}
|
7925
|
+
}
|
7926
|
+
}
|
7927
|
+
}
|
7951
7928
|
|
7952
|
-
class
|
7953
|
-
|
7954
|
-
|
7955
|
-
|
7929
|
+
class RequestedItemDataEntity {
|
7930
|
+
// #region Properties (5)
|
7931
|
+
description = '';
|
7932
|
+
quantity = 1;
|
7933
|
+
totalPrice = 0;
|
7934
|
+
unit = 'UN';
|
7935
|
+
unitPrice = 0;
|
7936
|
+
// #endregion Properties (5)
|
7937
|
+
// #region Constructors (1)
|
7956
7938
|
constructor(data) {
|
7957
7939
|
if (data) {
|
7958
7940
|
for (let key in data) {
|
@@ -7964,9 +7946,25 @@ class FeeDetailEntity {
|
|
7964
7946
|
}
|
7965
7947
|
}
|
7966
7948
|
|
7967
|
-
class
|
7968
|
-
|
7969
|
-
|
7949
|
+
class RequestedItemsEntity {
|
7950
|
+
// #region Properties (9)
|
7951
|
+
companyId = null;
|
7952
|
+
containerId = null;
|
7953
|
+
createdAt = new Date();
|
7954
|
+
data = [];
|
7955
|
+
id = '';
|
7956
|
+
pos = null;
|
7957
|
+
preview = false;
|
7958
|
+
token = '';
|
7959
|
+
updatedAt = new Date();
|
7960
|
+
isPaid = false;
|
7961
|
+
status = null;
|
7962
|
+
message = null;
|
7963
|
+
messageException = null;
|
7964
|
+
referenceToken = null;
|
7965
|
+
resendCount = 0;
|
7966
|
+
// #endregion Properties (9)
|
7967
|
+
// #region Constructors (1)
|
7970
7968
|
constructor(data) {
|
7971
7969
|
if (data) {
|
7972
7970
|
for (let key in data) {
|
@@ -7978,12 +7976,80 @@ class TransactionBalanceEntity {
|
|
7978
7976
|
}
|
7979
7977
|
}
|
7980
7978
|
|
7981
|
-
class
|
7982
|
-
|
7983
|
-
|
7984
|
-
|
7979
|
+
class SponsorEntity {
|
7980
|
+
id = '';
|
7981
|
+
name = '';
|
7982
|
+
doc = '';
|
7983
|
+
createdAt = new Date();
|
7984
|
+
fees = [];
|
7985
|
+
docType = EDocType.CNPJ;
|
7986
|
+
desenfilaMerchantId = null;
|
7987
|
+
desenfilaContainerId = null;
|
7988
|
+
natiRefId = null;
|
7989
|
+
mobyoRefId = null;
|
7990
|
+
from = EFrom.DEFAULT;
|
7991
|
+
internationalCode = '';
|
7992
|
+
phoneNumer = '';
|
7993
|
+
email = '';
|
7994
|
+
natiInfo = new InfoEntity();
|
7995
|
+
mobyoInfo = new MobyoInfoEntity();
|
7996
|
+
desenfilaInfo = new DesenfilaInfoEntity();
|
7997
|
+
constructor(data) {
|
7998
|
+
if (data) {
|
7999
|
+
for (let key in data) {
|
8000
|
+
if (data.hasOwnProperty(key) && key in this) {
|
8001
|
+
this[key] = data[key];
|
8002
|
+
}
|
8003
|
+
}
|
8004
|
+
}
|
8005
|
+
}
|
8006
|
+
}
|
8007
|
+
|
8008
|
+
var EImageFolder;
|
8009
|
+
(function (EImageFolder) {
|
8010
|
+
EImageFolder["COMPANIES"] = "companies";
|
8011
|
+
EImageFolder["CUSTOMERS"] = "customers";
|
8012
|
+
EImageFolder["MEMBERS"] = "members";
|
8013
|
+
// MENU_CATEGORIES = 'menu-categories',
|
8014
|
+
EImageFolder["MENUS"] = "menus";
|
8015
|
+
EImageFolder["SECTIONS"] = "sections";
|
8016
|
+
EImageFolder["PRODUCTS"] = "products";
|
8017
|
+
EImageFolder["COMPOSITIONS"] = "compositions";
|
8018
|
+
EImageFolder["TYPES"] = "types";
|
8019
|
+
EImageFolder["PRODUCT_SIZES"] = "product-sizes";
|
8020
|
+
EImageFolder["TOPPINGS"] = "toppings";
|
8021
|
+
EImageFolder["DEVICE"] = "device";
|
8022
|
+
EImageFolder["TAA"] = "taa";
|
8023
|
+
EImageFolder["IN_TAB"] = "in-tab";
|
8024
|
+
EImageFolder["TOP"] = "top";
|
8025
|
+
EImageFolder["DELIVERERS"] = "deliverers";
|
8026
|
+
EImageFolder["DEFAULT"] = "default";
|
8027
|
+
})(EImageFolder || (EImageFolder = {}));
|
8028
|
+
|
8029
|
+
var EMimeTypeFile;
|
8030
|
+
(function (EMimeTypeFile) {
|
8031
|
+
EMimeTypeFile["PNG"] = "image/png";
|
8032
|
+
EMimeTypeFile["JPEG"] = "image/jpeg";
|
8033
|
+
EMimeTypeFile["MPFOUR"] = "video/mp4";
|
8034
|
+
EMimeTypeFile["OGG"] = "video/ogg";
|
8035
|
+
EMimeTypeFile["WEBP"] = "image/webp";
|
8036
|
+
})(EMimeTypeFile || (EMimeTypeFile = {}));
|
8037
|
+
|
8038
|
+
var ETypeFile;
|
8039
|
+
(function (ETypeFile) {
|
8040
|
+
ETypeFile["FILE"] = "file";
|
8041
|
+
ETypeFile["FOLDER"] = "folder";
|
8042
|
+
})(ETypeFile || (ETypeFile = {}));
|
8043
|
+
|
8044
|
+
class SubscriptionCompanyProfileEntity {
|
8045
|
+
// #region Properties (6)
|
7985
8046
|
containerId = '';
|
7986
|
-
|
8047
|
+
doc = '';
|
8048
|
+
docType = '';
|
8049
|
+
id = '';
|
8050
|
+
imageUrl = '';
|
8051
|
+
name = '';
|
8052
|
+
// #endregion Properties (6)
|
7987
8053
|
// #region Constructors (1)
|
7988
8054
|
constructor(data) {
|
7989
8055
|
if (data) {
|
@@ -7996,11 +8062,15 @@ class TransactionInfoResumeEntity {
|
|
7996
8062
|
}
|
7997
8063
|
}
|
7998
8064
|
|
7999
|
-
class
|
8000
|
-
|
8001
|
-
|
8002
|
-
|
8065
|
+
class SubscriptionCompanyEntity extends SubscriptionBaseEntity {
|
8066
|
+
// #region Properties (9)
|
8067
|
+
features = [];
|
8068
|
+
partnerId = '';
|
8069
|
+
profile = new SubscriptionCompanyProfileEntity();
|
8070
|
+
// #endregion Properties (9)
|
8071
|
+
// #region Constructors (1)
|
8003
8072
|
constructor(data) {
|
8073
|
+
super(data);
|
8004
8074
|
if (data) {
|
8005
8075
|
for (let key in data) {
|
8006
8076
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -8011,16 +8081,37 @@ class TransactionPaymentMethodEntity {
|
|
8011
8081
|
}
|
8012
8082
|
}
|
8013
8083
|
|
8014
|
-
class
|
8015
|
-
|
8016
|
-
|
8084
|
+
class CustomerCreditLimitEntity {
|
8085
|
+
// #region Properties (8)
|
8086
|
+
amountUsed = 0;
|
8087
|
+
currentBalance = 0;
|
8088
|
+
creditLimit = 0;
|
8089
|
+
companyId = '';
|
8090
|
+
containerId = '';
|
8091
|
+
// #endregion Properties (8)
|
8092
|
+
// #region Constructors (1)
|
8093
|
+
constructor(data) {
|
8094
|
+
if (data) {
|
8095
|
+
for (let key in data) {
|
8096
|
+
if (data.hasOwnProperty(key) && key in this) {
|
8097
|
+
this[key] = data[key];
|
8098
|
+
}
|
8099
|
+
}
|
8100
|
+
}
|
8101
|
+
}
|
8102
|
+
}
|
8103
|
+
|
8104
|
+
class SubscriptionCustomerProfileEntity {
|
8105
|
+
// #region Properties (8)
|
8106
|
+
doc = '';
|
8107
|
+
docType = EDocType.CNPJ;
|
8108
|
+
email = '';
|
8017
8109
|
id = '';
|
8018
|
-
|
8019
|
-
|
8020
|
-
|
8021
|
-
|
8022
|
-
|
8023
|
-
// #endregion Properties (6)
|
8110
|
+
imageUrl = '';
|
8111
|
+
name = '';
|
8112
|
+
phoneNumber = '';
|
8113
|
+
uid = '';
|
8114
|
+
// #endregion Properties (8)
|
8024
8115
|
// #region Constructors (1)
|
8025
8116
|
constructor(data) {
|
8026
8117
|
if (data) {
|
@@ -8033,11 +8124,18 @@ class TransactionResumeEntity {
|
|
8033
8124
|
}
|
8034
8125
|
}
|
8035
8126
|
|
8036
|
-
class
|
8037
|
-
|
8038
|
-
|
8039
|
-
|
8127
|
+
class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
8128
|
+
// #region Properties (9)
|
8129
|
+
customerCreditLimit = [];
|
8130
|
+
customerId = null;
|
8131
|
+
customerInterval = ECustomerInterval.MONTHLY;
|
8132
|
+
openedInvoices = [];
|
8133
|
+
preferedDueDate = 7;
|
8134
|
+
profile = new SubscriptionCustomerProfileEntity();
|
8135
|
+
// #endregion Properties (9)
|
8136
|
+
// #region Constructors (1)
|
8040
8137
|
constructor(data) {
|
8138
|
+
super(data);
|
8041
8139
|
if (data) {
|
8042
8140
|
for (let key in data) {
|
8043
8141
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -8048,41 +8146,24 @@ class TransactionTotalEntity {
|
|
8048
8146
|
}
|
8049
8147
|
}
|
8050
8148
|
|
8051
|
-
class
|
8052
|
-
|
8053
|
-
|
8054
|
-
|
8055
|
-
|
8056
|
-
|
8057
|
-
|
8058
|
-
|
8149
|
+
class TokenEntity {
|
8150
|
+
// #region Properties (14)
|
8151
|
+
active = true;
|
8152
|
+
companyId = '';
|
8153
|
+
companyName = '';
|
8154
|
+
containerId = '';
|
8155
|
+
createdAt = Date.now();
|
8156
|
+
customerId = '';
|
8059
8157
|
description = '';
|
8060
|
-
|
8061
|
-
externalOrderReference = '';
|
8062
|
-
feeDetails = [];
|
8063
|
-
from = EFrom.NATIPAY;
|
8158
|
+
expiresAt = Date.now();
|
8064
8159
|
id = '';
|
8065
|
-
|
8066
|
-
|
8067
|
-
|
8068
|
-
|
8069
|
-
|
8070
|
-
|
8071
|
-
|
8072
|
-
paymentMethod = null;
|
8073
|
-
paymentMethodId = EPaymentMethodId.ACCOUNT_MONEY;
|
8074
|
-
posId = '';
|
8075
|
-
referenceId = '';
|
8076
|
-
resumeVersion = '';
|
8077
|
-
saleChannel = ENatipaySaleChannel.NATI_PDV;
|
8078
|
-
stamped = null;
|
8079
|
-
status = EMpStatus.PENDING;
|
8080
|
-
statusDetail = EMpStatusDetail.ACCREDITED;
|
8081
|
-
total = null;
|
8082
|
-
transactionAmount = 0;
|
8083
|
-
transactionAmountRefunded = 0;
|
8084
|
-
transactionStatus = ETransactionStatus.PROCESSING;
|
8085
|
-
updatedAt = new Date();
|
8160
|
+
lastAccessAt = Date.now();
|
8161
|
+
name = '';
|
8162
|
+
partnerId = '';
|
8163
|
+
sandbox = false;
|
8164
|
+
value = '';
|
8165
|
+
// #endregion Properties (14)
|
8166
|
+
// #region Constructors (1)
|
8086
8167
|
constructor(data) {
|
8087
8168
|
if (data) {
|
8088
8169
|
for (let key in data) {
|
@@ -8221,5 +8302,5 @@ class WithDrawRequestEntity {
|
|
8221
8302
|
* Generated bundle index. Do not edit.
|
8222
8303
|
*/
|
8223
8304
|
|
8224
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignRuleEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyContactEntity, CompanyCustomDataEntity, CompanyEntity, CompanyRemoteAccessEntity, CompanySettingsEntity, CompanySettingsWaServerEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, CustomerMobyoEntity, DelivererMobyoEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaContainerOrderEntity, DesenfilaContainerOrderItemEntity, DesenfilaContainerOrderPaymentEntity, DesenfilaContainerOrderPixEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaInfoEntity, DesenfilaMerchantAddressEntity, DesenfilaMerchantEntity, DesenfilaMerchantV2PaymentProviderEntity, DesenfilaTokenEntity, DeveloperAppCredentialsEntity, DeveloperAppEntity, DeveloperAppStatusEnum, DeveloperEntity, DeveloperMemberEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBarcodeFormat, EBillingStatus, EBooleanString, ECollectionsTypes, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EPaymentType as EDeprecatedPaymentType, EDeviceAppImages, EDeviceCheckoutImages, EDeviceStatus, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EEvolutionIntegrationType, EFcmSkill, EFiscalDocModelCode, EFrom, EIFoodCatalogContext, EIFoodDietaryRestrictions, EIFoodSellingOptions, EIFoodServing, EIFoodUnit, EImageFolder, EIndoorMode, EInstallationStatus, EIntDocType, EIntervalType, EInvoiceStatus, EJwtStatus, ELeadOrigin, ELegalEntiy, EMimeTypeFile, EMpStatus, EMpStatusDetail, ENatipayOrderStatus, ENatipaySaleChannel, ENineNineCurrency, ENineNinePackageType, ENineNinePackageWeight, ENineNineVehicleType, EOperationType, EOperator, EOrderDeliveryMode, EOrderExtraInfo, EOrderStatus, EOrderTiming, EOrderType, EOs, EPayioAdminRole, EPayioChefOperationMode, EPayioChefTabMode, EPayioDistributorStatus, EPayioRole, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType$1 as EPaymentType, EPaymentTypeId, EPayuioAppSlug, EPixKeyType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, EResumeIntervalType, EResumeType, ERole, EOperationType as ESponsorIdentifier, ESponsorshipValues, ESubsStatus, ESubscriptionStatus, ETransactionResumesTargetType, ETransactionStatus, ETypeFile, EVoucherRuleType, EVoucherStatus, EVoucherTargetTypes, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, ExchangeEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, FirebaseQueryEntity, EGtintype as GTINTypeEnum, GeneralResumeTotalEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, GlobalSettingMercadoPagoEntity, GlobalSettingNatiPayEntity, GlobalSettingTaxesEntity, InfoEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberAccessEntity, MemberAccessRoleEntity, MemberAccessRolePermissionEntity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, ECampaignRuleType as MobyoECampaignRuleType, ECompanyMessageChannel as MobyoECompanyMessageChannel, EDeviceAppMode as MobyoEDeviceAppMode, EDeviceAppStatus as MobyoEDeviceAppStatus, EDeviceCheckoutStatus as MobyoEDeviceCheckoutStatus, EDeviceCustomerName as MobyoEDeviceCustomerName, EDeviceMode as MobyoEDeviceMode, EDeviceScreenMode as MobyoEDeviceScreenMode, EDeviceTefType as MobyoEDeviceTefType, EEngineType as MobyoEEngineType, EIuguInvoicesStatus as MobyoEIuguInvoicesStatus, EMemberRules as MobyoEMemberRules, EOrderCancelReasons as MobyoEOrderCancelReasons, EOrderDeliveredBy as MobyoEOrderDeliveredBy, EOrderOccurrenceType as MobyoEOrderOccurrenceType, EOrderPaymentId as MobyoEOrderPaymentId, EOrderPaymentMethod as MobyoEOrderPaymentMethod, EOrderV3DeliveryMode as MobyoEOrderV3DeliveryMode, EOrderV3SalesChannel as MobyoEOrderV3SalesChannel, EOrderV3Timing as MobyoEOrderV3Timing, EOrderV3Type as MobyoEOrderV3Type, EPreferenceAutoReturn as MobyoEPreferenceAutoReturn, EPreparingStatus as MobyoEPreparingStatus, EProductHighlight as MobyoEProductHighlight, EProductSkillV2 as MobyoEProductSkillV2, EQuestionTypes as MobyoEQuestionTypes, ETopics as MobyoETopics, IEntity as MobyoIEntity, IPaymentMethod as MobyoIPaymentMethod, MobyoInfoEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiV2ValidateCodeEntity, NatiWaEntity, NatiapyAddressEntity, NatipayCompanyEntity, NatipayEntity, NatipayFeeEntity, NatipayJwtPayloadAppEntity, NatipayJwtPayloadDeviceEntity, NatipayJwtPayloadEntity, NatipayJwtPayloadInfoEntity, NatipayJwtPayloadUserEntity, NatipayMemberEntity, NatipayMemberRulesEnum, NatipayMemberTypeEnum, NatipayMercadoPagoEntity, NatipayOrderEntity, NatipayOrderItemEntity, NatipayTokenEntity, NatipayUserEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PayioActivationKeyEntity, PayioAddressEntity, PayioAdminEntity, PayioAppEntity, PayioChefConfigEntity, PayioChefConfigOperationEntity, PayioChefConfigPrinterEntity, PayioChefConfigScaleEntity, PayioChefConfigTabsEntity, PayioChefConfigWebhookEntity, PayioChefConfigWebhookHeaderEntity, PayioCompanyEntity, PayioCompanyNatipayCredentialEntity, PayioDeviceChefEntity, PayioDeviceEntity, PayioDistributorEntity, PayioDistributorResponsibleEntity, PayioEntitiesEnum, PayioGlobalProductEntity, PayioJwtPayloadAppEntity, PayioJwtPayloadDeviceEntity, PayioJwtPayloadEntity, PayioJwtPayloadInfoEntity, PayioJwtPayloadSubscriptionEntity, PayioJwtPayloadUserEntity, PayioMemberEntity, PayioOrderEntity, PayioOrderIndoorEntity, PayioOrderQueueEntity, PayioOrderQueueStatusEnum, PayioPartnerEntity, PayioPermissionEntity, PayioProductEntity, PayioResumeCompanyEntity, PayioResumeCompanyItemDetailEntity, PayioResumeCompanyItemEntity, PayioResumeQueueActionEnum, PayioResumeQueueEntity, PayioResumeQueueStatusEnum, PayioScheduleDayEntity, PayioScheduleEntity, PayioScheduleProductEntity, PayioScheduleSlotEntity, PayioTabEntity, PayioTokenEntity, PayioUserTypeEnum, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PixKeyEntity, PlanEntity, PlanFeatureEntity, PrivacySettingEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, QueryEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeChildEntity, ResumeCustomerEntity, ResumeEnginesEntity, ResumeEntity, ResumeItemDetailEntity, ResumeItemEntity, ResumeOrderEntity, ResumeProductEntity, ResumeVoucherEntity, SponsorEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionInfoResumeEntity, TransactionPaymentMethodEntity, TransactionResumeEntity, TransactionTotalEntity, TransferRequestEntity, UserEntity, UserTypeEnum, VerifierTokenEntity, VoucherCustomerEntity, VoucherEntity, VoucherSponsorshipEntity, WaServerEntity, WithDrawRequestEntity, factoryEnvelope, factoryEnvelopeArray, factoryEnvelopeArrayPagination };
|
8305
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignRuleEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyContactEntity, CompanyCustomDataEntity, CompanyEntity, CompanyRemoteAccessEntity, CompanySettingsEntity, CompanySettingsWaServerEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, CustomerMobyoEntity, DelivererMobyoEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaContainerOrderEntity, DesenfilaContainerOrderItemEntity, DesenfilaContainerOrderPaymentEntity, DesenfilaContainerOrderPixEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaInfoEntity, DesenfilaMerchantAddressEntity, DesenfilaMerchantEntity, DesenfilaMerchantV2PaymentProviderEntity, DesenfilaTokenEntity, DeveloperAppCredentialsEntity, DeveloperAppEntity, DeveloperAppStatusEnum, DeveloperEntity, DeveloperMemberEntity, DeviceEntity, EAmountMode, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBarcodeFormat, EBillingStatus, EBooleanString, ECollectionsTypes, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EPaymentType as EDeprecatedPaymentType, EDeviceAppImages, EDeviceCheckoutImages, EDeviceStatus, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EEvolutionIntegrationType, EFcmSkill, EFiscalDocModelCode, EFrom, EIFoodCatalogContext, EIFoodDietaryRestrictions, EIFoodSellingOptions, EIFoodServing, EIFoodUnit, EImageFolder, EIndoorMode, EInstallationStatus, EIntDocType, EIntervalType, EInvoiceStatus, EJwtStatus, ELeadOrigin, ELegalEntiy, EMimeTypeFile, EMpStatus, EMpStatusDetail, ENatipayOrderStatus, ENatipaySaleChannel, ENineNineCurrency, ENineNinePackageType, ENineNinePackageWeight, ENineNineVehicleType, EOperationType, EOperator, EOrderDeliveryMode, EOrderExtraInfo, EOrderStatus, EOrderTiming, EOrderType, EOs, EPayioAdminRole, EPayioChefOperationMode, EPayioChefTabMode, EPayioDistributorStatus, EPayioRole, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType$1 as EPaymentType, EPaymentTypeId, EPayuioAppSlug, EPixKeyType, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, EResumeIntervalType, EResumeType, ERole, EOperationType as ESponsorIdentifier, ESponsorshipValues, ESubsStatus, ESubscriptionStatus, ETransactionResumesTargetType, ETransactionStatus, ETypeFile, EVoucherRuleType, EVoucherStatus, EVoucherTargetTypes, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, ExchangeEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, FeeEntity, FeeFromEntity, FeeSaleChannelEntity, FirebaseQueryEntity, EGtintype as GTINTypeEnum, GeneralResumeTotalEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, GlobalSettingMercadoPagoEntity, GlobalSettingNatiPayEntity, GlobalSettingTaxesEntity, InfoEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberAccessEntity, MemberAccessRoleEntity, MemberAccessRolePermissionEntity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, ECampaignRuleType as MobyoECampaignRuleType, ECompanyMessageChannel as MobyoECompanyMessageChannel, EDeviceAppMode as MobyoEDeviceAppMode, EDeviceAppStatus as MobyoEDeviceAppStatus, EDeviceCheckoutStatus as MobyoEDeviceCheckoutStatus, EDeviceCustomerName as MobyoEDeviceCustomerName, EDeviceMode as MobyoEDeviceMode, EDeviceScreenMode as MobyoEDeviceScreenMode, EDeviceTefType as MobyoEDeviceTefType, EEngineType as MobyoEEngineType, EIuguInvoicesStatus as MobyoEIuguInvoicesStatus, EMemberRules as MobyoEMemberRules, EOrderCancelReasons as MobyoEOrderCancelReasons, EOrderDeliveredBy as MobyoEOrderDeliveredBy, EOrderOccurrenceType as MobyoEOrderOccurrenceType, EOrderPaymentId as MobyoEOrderPaymentId, EOrderPaymentMethod as MobyoEOrderPaymentMethod, EOrderV3DeliveryMode as MobyoEOrderV3DeliveryMode, EOrderV3SalesChannel as MobyoEOrderV3SalesChannel, EOrderV3Timing as MobyoEOrderV3Timing, EOrderV3Type as MobyoEOrderV3Type, EPreferenceAutoReturn as MobyoEPreferenceAutoReturn, EPreparingStatus as MobyoEPreparingStatus, EProductHighlight as MobyoEProductHighlight, EProductSkillV2 as MobyoEProductSkillV2, EQuestionTypes as MobyoEQuestionTypes, ETopics as MobyoETopics, IEntity as MobyoIEntity, IPaymentMethod as MobyoIPaymentMethod, MobyoInfoEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiV2ValidateCodeEntity, NatiWaEntity, NatiapyAddressEntity, NatipayCompanyEntity, NatipayEntity, NatipayFeeEntity, NatipayJwtPayloadAppEntity, NatipayJwtPayloadDeviceEntity, NatipayJwtPayloadEntity, NatipayJwtPayloadInfoEntity, NatipayJwtPayloadUserEntity, NatipayMemberEntity, NatipayMemberRulesEnum, NatipayMemberTypeEnum, NatipayMercadoPagoEntity, NatipayOrderEntity, NatipayOrderItemEntity, NatipaySponsorEntity, NatipayTokenEntity, NatipayUserEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PayioActivationKeyEntity, PayioAddressEntity, PayioAdminEntity, PayioAppEntity, PayioChefConfigEntity, PayioChefConfigOperationEntity, PayioChefConfigPrinterEntity, PayioChefConfigScaleEntity, PayioChefConfigTabsEntity, PayioChefConfigWebhookEntity, PayioChefConfigWebhookHeaderEntity, PayioCompanyEntity, PayioCompanyNatipayCredentialEntity, PayioDeviceChefEntity, PayioDeviceEntity, PayioDistributorEntity, PayioDistributorResponsibleEntity, PayioEntitiesEnum, PayioGlobalProductEntity, PayioJwtPayloadAppEntity, PayioJwtPayloadDeviceEntity, PayioJwtPayloadEntity, PayioJwtPayloadInfoEntity, PayioJwtPayloadSubscriptionEntity, PayioJwtPayloadUserEntity, PayioMemberEntity, PayioOrderEntity, PayioOrderIndoorEntity, PayioOrderQueueEntity, PayioOrderQueueStatusEnum, PayioPartnerEntity, PayioPermissionEntity, PayioProductEntity, PayioResumeCompanyEntity, PayioResumeCompanyItemDetailEntity, PayioResumeCompanyItemEntity, PayioResumeQueueActionEnum, PayioResumeQueueEntity, PayioResumeQueueStatusEnum, PayioScheduleDayEntity, PayioScheduleEntity, PayioScheduleProductEntity, PayioScheduleSlotEntity, PayioTabEntity, PayioTokenEntity, PayioUserTypeEnum, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PixKeyEntity, PlanEntity, PlanFeatureEntity, PrivacySettingEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, QueryEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeChildEntity, ResumeCustomerEntity, ResumeEnginesEntity, ResumeEntity, ResumeItemDetailEntity, ResumeItemEntity, ResumeOrderEntity, ResumeProductEntity, ResumeVoucherEntity, SponsorEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionInfoResumeEntity, TransactionPaymentMethodEntity, TransactionResumeEntity, TransactionTotalEntity, TransferRequestEntity, UserEntity, UserTypeEnum, VerifierTokenEntity, VoucherCustomerEntity, VoucherEntity, VoucherSponsorshipEntity, WaServerEntity, WithDrawRequestEntity, factoryEnvelope, factoryEnvelopeArray, factoryEnvelopeArrayPagination };
|
8225
8306
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|