New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@favid-inc/api

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@favid-inc/api - npm Package Compare versions

Comparing version 4.2.5 to 4.2.6

4

lib/model/order.d.ts
import { Model } from "../model";
import { Transaction } from "../pagar-me";
import { Transaction, TransactionStatus as OrderPaymentStatus } from "../pagar-me";
import { Artist } from "./artist";

@@ -31,2 +31,2 @@ export declare const ORDER = "Order";

}
export declare type OrderPaymentStatus = Transaction["status"];
export { OrderPaymentStatus };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var pagar_me_1 = require("../pagar-me");
exports.OrderPaymentStatus = pagar_me_1.TransactionStatus;
exports.ORDER = "Order";

@@ -4,0 +6,0 @@ var OrderStatus;

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./transaction"));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var transaction_1 = require("./transaction");
exports.TransactionStatus = transaction_1.TransactionStatus;
exports.TransactionAcquirerName = transaction_1.TransactionAcquirerName;
exports.TransactionRefuseReason = transaction_1.TransactionRefuseReason;

@@ -29,3 +29,3 @@ import { Address } from "../address";

postback_url?: string;
capture_method?: "magstripe" | "emv" | "ecommerce";
capture_method?: TransactionCaptureType;
antifraud_score?: string;

@@ -58,4 +58,29 @@ referer?: string;

});
export declare type TransactionStatus = "processing" | "authorized" | "paid" | "refounded" | "waiting_payment" | "pending_refund" | "refused";
export declare type TransactionRefuseReason = "acquirer" | "antifraud" | "internal_error" | "no_acquirer" | "acquirer_timeout";
export declare type TransactionAcquirerName = "development" | "pagarme" | "stone" | "cielo" | "rede";
export declare enum TransactionStatus {
AUTHORIZED = "authorized",
PAID = "paid",
PENDING_REFUND = "pending_refund",
PROCESSING = "processing",
REFOUNDED = "refounded",
REFUSED = "refused",
WAITING_PAYMENT = "waiting_payment"
}
export declare enum TransactionRefuseReason {
ACQUIRER = "acquirer",
ACQUIRER_TIMEOUT = "acquirer_timeout",
ANTIFRAUD = "antifraud",
INTERNAL_ERROR = "internal_error",
NO_ACQUIRER = "no_acquirer"
}
export declare enum TransactionAcquirerName {
DEVELOPMENT = "development",
PAGARME = "pagarme",
STONE = "stone",
CIELO = "cielo",
REDE = "rede"
}
export declare enum TransactionCaptureType {
MAGSTRIPE = "magstripe",
EMV = "emv",
ECOMMERCE = "ecommerce"
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var TransactionStatus;
(function (TransactionStatus) {
TransactionStatus["AUTHORIZED"] = "authorized";
TransactionStatus["PAID"] = "paid";
TransactionStatus["PENDING_REFUND"] = "pending_refund";
TransactionStatus["PROCESSING"] = "processing";
TransactionStatus["REFOUNDED"] = "refounded";
TransactionStatus["REFUSED"] = "refused";
TransactionStatus["WAITING_PAYMENT"] = "waiting_payment";
})(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
var TransactionRefuseReason;
(function (TransactionRefuseReason) {
TransactionRefuseReason["ACQUIRER"] = "acquirer";
TransactionRefuseReason["ACQUIRER_TIMEOUT"] = "acquirer_timeout";
TransactionRefuseReason["ANTIFRAUD"] = "antifraud";
TransactionRefuseReason["INTERNAL_ERROR"] = "internal_error";
TransactionRefuseReason["NO_ACQUIRER"] = "no_acquirer";
})(TransactionRefuseReason = exports.TransactionRefuseReason || (exports.TransactionRefuseReason = {}));
var TransactionAcquirerName;
(function (TransactionAcquirerName) {
TransactionAcquirerName["DEVELOPMENT"] = "development";
TransactionAcquirerName["PAGARME"] = "pagarme";
TransactionAcquirerName["STONE"] = "stone";
TransactionAcquirerName["CIELO"] = "cielo";
TransactionAcquirerName["REDE"] = "rede";
})(TransactionAcquirerName = exports.TransactionAcquirerName || (exports.TransactionAcquirerName = {}));
var TransactionCaptureType;
(function (TransactionCaptureType) {
TransactionCaptureType["MAGSTRIPE"] = "magstripe";
TransactionCaptureType["EMV"] = "emv";
TransactionCaptureType["ECOMMERCE"] = "ecommerce";
})(TransactionCaptureType = exports.TransactionCaptureType || (exports.TransactionCaptureType = {}));
{
"name": "@favid-inc/api",
"version": "4.2.5",
"version": "4.2.6",
"description": "API for Favid Project",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/favid-inc/api#readme",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc