@matchi/api 0.20250701.2 → 0.20250709.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.
@@ -660,6 +660,7 @@ type checkoutResponse = {
660
660
  orderStatus: string;
661
661
  canUsePromoCode?: boolean;
662
662
  usePreAuth?: boolean;
663
+ useAmountAdjustment?: boolean;
663
664
  /**
664
665
  * Is what is left to pay e.g. the attribute price minus sum of other payment methods that have been applied, e.g. value cards
665
666
  */
@@ -1179,6 +1180,7 @@ type OrderPaymentDetails = {
1179
1180
  isSettled: boolean;
1180
1181
  isMainBooker: boolean;
1181
1182
  isPreAuth?: boolean;
1183
+ useAmountAdjustment?: boolean;
1182
1184
  totalAmountPaid: string;
1183
1185
  totalPaidWithoutFee?: string;
1184
1186
  splitPart?: string | null;
@@ -1543,6 +1545,10 @@ type priceDetails = {
1543
1545
  paymentMethods: Array<paymentType>;
1544
1546
  facilityUsesSplitPrices: boolean;
1545
1547
  facilityFeatureCalculateMultiplePlayersPrice?: boolean;
1548
+ /**
1549
+ * A list of allowed split sizes for the booking
1550
+ */
1551
+ allowedSplits?: Array<number>;
1546
1552
  };
1547
1553
 
1548
1554
  type priceDetailsActivity = {
@@ -660,6 +660,7 @@ type checkoutResponse = {
660
660
  orderStatus: string;
661
661
  canUsePromoCode?: boolean;
662
662
  usePreAuth?: boolean;
663
+ useAmountAdjustment?: boolean;
663
664
  /**
664
665
  * Is what is left to pay e.g. the attribute price minus sum of other payment methods that have been applied, e.g. value cards
665
666
  */
@@ -1179,6 +1180,7 @@ type OrderPaymentDetails = {
1179
1180
  isSettled: boolean;
1180
1181
  isMainBooker: boolean;
1181
1182
  isPreAuth?: boolean;
1183
+ useAmountAdjustment?: boolean;
1182
1184
  totalAmountPaid: string;
1183
1185
  totalPaidWithoutFee?: string;
1184
1186
  splitPart?: string | null;
@@ -1543,6 +1545,10 @@ type priceDetails = {
1543
1545
  paymentMethods: Array<paymentType>;
1544
1546
  facilityUsesSplitPrices: boolean;
1545
1547
  facilityFeatureCalculateMultiplePlayersPrice?: boolean;
1548
+ /**
1549
+ * A list of allowed split sizes for the booking
1550
+ */
1551
+ allowedSplits?: Array<number>;
1546
1552
  };
1547
1553
 
1548
1554
  type priceDetailsActivity = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20250701.2",
3
+ "version": "0.20250709.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {