@nimee/shared-types 1.0.318 → 1.0.320

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.
@@ -132,6 +132,7 @@ export interface IEventModel {
132
132
  seatsChartKey?: string;
133
133
  seatsEventKey?: string;
134
134
  isSeatsEvent?: boolean;
135
+ seatsIoOrphanSeatsMode?: "off" | "lenient" | "strict";
135
136
  isOnlyForMembers?: boolean;
136
137
  otpGateMode?: IOtpGateMode;
137
138
  isWellnessEvent?: boolean;
@@ -78,6 +78,8 @@ export interface IChargeModel {
78
78
  amount_left_after_all_refunds?: string;
79
79
  external_transaction_total?: string;
80
80
  sale_description?: string;
81
+ reconciledTotalFees?: Number;
82
+ reconciledSaleFeesHash?: string;
81
83
  nimiFeeType: IFeeCollectionType;
82
84
  nimiFee: Number;
83
85
  nimiFeePercentage: Number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.318",
3
+ "version": "1.0.320",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -112,6 +112,9 @@ export interface IEventModel {
112
112
  seatsChartKey?: string;
113
113
  seatsEventKey?: string;
114
114
  isSeatsEvent?: boolean;
115
+ // Orphan-seat prevention mode for seats.io events (model + API schema define it; contract
116
+ // parity per repo guideline).
117
+ seatsIoOrphanSeatsMode?: "off" | "lenient" | "strict";
115
118
  isOnlyForMembers?: boolean;
116
119
  otpGateMode?: IOtpGateMode;
117
120
  isWellnessEvent?: boolean;
@@ -89,6 +89,11 @@ export interface IChargeModel {
89
89
  amount_left_after_all_refunds?: string;
90
90
  external_transaction_total?: string;
91
91
  sale_description?: string;
92
+ // #908 — reconciliation bookkeeping: last totalFees written to the order, and the md5 of the
93
+ // exact written payload (skip key for read-only re-sweeps). Internal; not exposed in charge
94
+ // response schemas.
95
+ reconciledTotalFees?: Number;
96
+ reconciledSaleFeesHash?: string;
92
97
  nimiFeeType: IFeeCollectionType;
93
98
  nimiFee: Number;
94
99
  nimiFeePercentage: Number;