@plyaz/types 1.15.0 → 1.15.2
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/api/index.cjs.map +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/campaign/index.cjs.map +1 -1
- package/dist/campaign/index.js.map +1 -1
- package/dist/campaign/schemas.d.ts +13 -1
- package/dist/errors/codes.d.ts +2 -2
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/index.cjs +31 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/dist/payments/base-error/enum.d.ts +33 -0
- package/dist/payments/index.cjs +31 -0
- package/dist/payments/index.cjs.map +1 -1
- package/dist/payments/index.js +31 -1
- package/dist/payments/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3920,6 +3920,36 @@ var ROUTINGSTRATEGY = /* @__PURE__ */ ((ROUTINGSTRATEGY2) => {
|
|
|
3920
3920
|
})(ROUTINGSTRATEGY || {});
|
|
3921
3921
|
|
|
3922
3922
|
// src/payments/base-error/enum.ts
|
|
3923
|
+
var PAYMENT_ERROR_CATEGORY = {
|
|
3924
|
+
/** Payment method validation or processing error */
|
|
3925
|
+
PaymentMethod: "payment.method",
|
|
3926
|
+
/** Transaction processing error */
|
|
3927
|
+
Transaction: "transaction",
|
|
3928
|
+
/** Payment capture error */
|
|
3929
|
+
Capture: "capture",
|
|
3930
|
+
/** Payment authorization error */
|
|
3931
|
+
Authorization: "authorization",
|
|
3932
|
+
/** Payment settlement error */
|
|
3933
|
+
Settlement: "settlement",
|
|
3934
|
+
/** Refund processing error */
|
|
3935
|
+
Refund: "refund",
|
|
3936
|
+
/** Payment gateway or provider error */
|
|
3937
|
+
Gateway: "gateway",
|
|
3938
|
+
/** Payment fraud detection error */
|
|
3939
|
+
Fraud: "fraud",
|
|
3940
|
+
/** Payment compliance error (AML/KYC) */
|
|
3941
|
+
Compliance: "compliance",
|
|
3942
|
+
/** Payment limits exceeded */
|
|
3943
|
+
Limits: "limits",
|
|
3944
|
+
/** Payment webhook error */
|
|
3945
|
+
Webhook: "webhook",
|
|
3946
|
+
/** Payment security error */
|
|
3947
|
+
Security: "security",
|
|
3948
|
+
/** Payment processing timeout */
|
|
3949
|
+
Timeout: "timeout",
|
|
3950
|
+
/** Payment configuration error */
|
|
3951
|
+
Configuration: "configuration"
|
|
3952
|
+
};
|
|
3923
3953
|
var REFUND_ERROR_TYPES = /* @__PURE__ */ ((REFUND_ERROR_TYPES2) => {
|
|
3924
3954
|
REFUND_ERROR_TYPES2["NotAllowed"] = "not_allowed";
|
|
3925
3955
|
REFUND_ERROR_TYPES2["Authorization"] = "authorization";
|
|
@@ -4964,6 +4994,7 @@ exports.NetworkPresetNames = NetworkPresetNames;
|
|
|
4964
4994
|
exports.NotificationCategorySchema = NotificationCategorySchema;
|
|
4965
4995
|
exports.OPERATIONS = COMMON_OPERATIONS;
|
|
4966
4996
|
exports.PACKAGE_STATUS_CODES = INTERNAL_STATUS_CODES;
|
|
4997
|
+
exports.PAYMENT_ERROR_CATEGORY = PAYMENT_ERROR_CATEGORY;
|
|
4967
4998
|
exports.PAYMENT_ERROR_CODES = PAYMENT_ERROR_CODES;
|
|
4968
4999
|
exports.PAYMENT_EVENT_CATEGORY = PAYMENT_EVENT_CATEGORY;
|
|
4969
5000
|
exports.PAYMENT_EVENT_ERROR_CATEGORY = PAYMENT_EVENT_ERROR_CATEGORY;
|