@lucaapp/service-utils 5.42.2 → 5.43.1
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.
|
@@ -60,4 +60,9 @@ export type OrderEvent = {
|
|
|
60
60
|
items: OrderEventItem[];
|
|
61
61
|
/** Optional so older producers and consumers keep working. */
|
|
62
62
|
issuer?: OrderEventIssuer | null;
|
|
63
|
+
/**
|
|
64
|
+
* Whether backend-pay fiscalizes this luca-web order, snapshot at order creation
|
|
65
|
+
* (LUCA-36837). Absent on orders created before the snapshot existed.
|
|
66
|
+
*/
|
|
67
|
+
fiscalizeWebOrder?: boolean | null;
|
|
63
68
|
};
|
|
@@ -76,6 +76,11 @@ export type PaymentEvent = {
|
|
|
76
76
|
* cover multiple orders, so this is a list. Absent for non-web payments.
|
|
77
77
|
*/
|
|
78
78
|
payOrderIds?: string[] | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether backend-pay fiscalizes the luca-web orders of this checkout (LUCA-36837).
|
|
81
|
+
* Absent for non-web payments and for orders created before the snapshot existed.
|
|
82
|
+
*/
|
|
83
|
+
fiscalizeWebOrder?: boolean | null;
|
|
79
84
|
statusCompleteAt?: Date | null;
|
|
80
85
|
merchantDetails?: PaymentMerchantDetails;
|
|
81
86
|
} & PaymentEventCardAcquirerFields;
|
|
@@ -31,4 +31,8 @@ export type RefundEvent = {
|
|
|
31
31
|
reason?: string | null;
|
|
32
32
|
/** Operator who confirmed the refund; optional so older producers and consumers keep working. */
|
|
33
33
|
performedBy?: string | null;
|
|
34
|
+
/** backend-pay Orders.uuid[] of the refunded payment's checkout; absent for non-web payments. */
|
|
35
|
+
payOrderIds?: string[] | null;
|
|
36
|
+
/** Same as PaymentEvent.fiscalizeWebOrder for the refunded payment (LUCA-36837). */
|
|
37
|
+
fiscalizeWebOrder?: boolean | null;
|
|
34
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucaapp/service-utils",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.43.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"axios": "1.20.0",
|
|
35
35
|
"axios-rate-limit": "^1.4.0",
|
|
36
36
|
"axios-retry": "^4.5.0",
|
|
37
|
-
"body-parser": "1.20.
|
|
37
|
+
"body-parser": "1.20.9",
|
|
38
38
|
"busboy": "^1.6.0",
|
|
39
39
|
"cls-rtracer": "^2.6.3",
|
|
40
40
|
"express": "4.22.1",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
},
|
|
100
100
|
"resolutions": {
|
|
101
101
|
"tar": "7.5.21",
|
|
102
|
-
"body-parser": "1.20.
|
|
102
|
+
"body-parser": "1.20.9",
|
|
103
103
|
"lodash": "^4.18.1",
|
|
104
104
|
"qs": "6.16.0",
|
|
105
105
|
"dottie": "2.0.7",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"follow-redirects": "^1.16.1",
|
|
114
114
|
"axios": "1.20.0",
|
|
115
115
|
"path-to-regexp": "0.1.13",
|
|
116
|
-
"ip-address": "10.7.
|
|
116
|
+
"ip-address": "10.7.4",
|
|
117
117
|
"fast-xml-builder": "^1.1.7",
|
|
118
118
|
"brace-expansion": "2.1.7",
|
|
119
119
|
"form-data": "4.0.6",
|