@matchi/api 0.20231207.1 → 0.20231212.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/index.d.mts CHANGED
@@ -289,6 +289,11 @@ type availability = {
289
289
  price: price;
290
290
  };
291
291
 
292
+ type bookingGroup = {
293
+ type: string;
294
+ groupId: string;
295
+ };
296
+
292
297
  declare enum bookingSubType {
293
298
  BOOKING = "booking",
294
299
  ACTIVITY = "activity",
@@ -309,6 +314,7 @@ type booking = {
309
314
  type: string;
310
315
  subType?: bookingSubType;
311
316
  paymentId: number;
317
+ group?: bookingGroup;
312
318
  /**
313
319
  * If booking is a split payment this is the last time (UTC) a payment can be made
314
320
  */
@@ -341,6 +347,10 @@ type coupon = {
341
347
  unlimited: boolean;
342
348
  punchesOriginal?: string;
343
349
  punches?: string;
350
+ /**
351
+ * The maximum duration a punch will cover
352
+ */
353
+ maxDuration?: number;
344
354
  };
345
355
 
346
356
  type paymentMethods = {
@@ -1816,4 +1826,4 @@ declare class UserServiceV1Service {
1816
1826
  static listIncomingFriendRequests(offset?: number, limit?: number): CancelablePromise<friendRelationsResponse>;
1817
1827
  }
1818
1828
 
1819
- export { ActivityEvent, ActivityServiceV1Service, AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, Error$1 as Error, ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, OccasionCourt, OpenAPI, OpenAPIConfig, OrderSplitPayments, OrderSplitPaymentsRow, OrderSplitPrice, PlaySessionServiceV1Service, UserServiceV1Service, activitiesResponse, activity, activityOccasion, activityType, actor, address, apiClient, apiClientInput, apiClientListResponse, article, articleMetadata, availability, booking, bookingSubType, bookingsResponse, camera, cancellationPolicy, checkoutResponse, clientType, competitionAdminAccount, config, configuration, configurationEntry, configurationMap, configurationResource, coupon, createBookingEventExternal, createPromoCode, dailyQuota, days, deleteBookingEventExternal, exposeOccasions, facilitiesResponse, facility, facilityConfiguration, facilityDetails, friendRelationResponse, friendRelationsResponse, giftCard, hideFullyBooked, hours, internalPaymentMethod, levelRange, limitParam, membershipRequest, membershipRequestItem, monthlyUsage, months, occasionBooking, occasionParticipant, offsetParam, openingHours, order, orderSplitBaseResponse, participants, payment, paymentDetails, paymentInfo, paymentInterval, paymentMethods, paymentType, paymentsResponse, pendingPayment, playSession, playSessionBooking, playSessionBookingPayment, playSessionResponse, playSessionSettings, playSessionUser, playingUserResponse, playingUsersResponse, position, price, priceDetails, priceDetailsActivity, profile, promoCode, promoCodeOutcome, pspSession, resource, resultSet, timeStamp, usagePlan, userFacility, userId, userInfo, userPublicProfile, valueCardOutcome };
1829
+ export { ActivityEvent, ActivityServiceV1Service, AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, Error$1 as Error, ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, OccasionCourt, OpenAPI, OpenAPIConfig, OrderSplitPayments, OrderSplitPaymentsRow, OrderSplitPrice, PlaySessionServiceV1Service, UserServiceV1Service, activitiesResponse, activity, activityOccasion, activityType, actor, address, apiClient, apiClientInput, apiClientListResponse, article, articleMetadata, availability, booking, bookingGroup, bookingSubType, bookingsResponse, camera, cancellationPolicy, checkoutResponse, clientType, competitionAdminAccount, config, configuration, configurationEntry, configurationMap, configurationResource, coupon, createBookingEventExternal, createPromoCode, dailyQuota, days, deleteBookingEventExternal, exposeOccasions, facilitiesResponse, facility, facilityConfiguration, facilityDetails, friendRelationResponse, friendRelationsResponse, giftCard, hideFullyBooked, hours, internalPaymentMethod, levelRange, limitParam, membershipRequest, membershipRequestItem, monthlyUsage, months, occasionBooking, occasionParticipant, offsetParam, openingHours, order, orderSplitBaseResponse, participants, payment, paymentDetails, paymentInfo, paymentInterval, paymentMethods, paymentType, paymentsResponse, pendingPayment, playSession, playSessionBooking, playSessionBookingPayment, playSessionResponse, playSessionSettings, playSessionUser, playingUserResponse, playingUsersResponse, position, price, priceDetails, priceDetailsActivity, profile, promoCode, promoCodeOutcome, pspSession, resource, resultSet, timeStamp, usagePlan, userFacility, userId, userInfo, userPublicProfile, valueCardOutcome };
package/dist/index.d.ts CHANGED
@@ -289,6 +289,11 @@ type availability = {
289
289
  price: price;
290
290
  };
291
291
 
292
+ type bookingGroup = {
293
+ type: string;
294
+ groupId: string;
295
+ };
296
+
292
297
  declare enum bookingSubType {
293
298
  BOOKING = "booking",
294
299
  ACTIVITY = "activity",
@@ -309,6 +314,7 @@ type booking = {
309
314
  type: string;
310
315
  subType?: bookingSubType;
311
316
  paymentId: number;
317
+ group?: bookingGroup;
312
318
  /**
313
319
  * If booking is a split payment this is the last time (UTC) a payment can be made
314
320
  */
@@ -341,6 +347,10 @@ type coupon = {
341
347
  unlimited: boolean;
342
348
  punchesOriginal?: string;
343
349
  punches?: string;
350
+ /**
351
+ * The maximum duration a punch will cover
352
+ */
353
+ maxDuration?: number;
344
354
  };
345
355
 
346
356
  type paymentMethods = {
@@ -1816,4 +1826,4 @@ declare class UserServiceV1Service {
1816
1826
  static listIncomingFriendRequests(offset?: number, limit?: number): CancelablePromise<friendRelationsResponse>;
1817
1827
  }
1818
1828
 
1819
- export { ActivityEvent, ActivityServiceV1Service, AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, Error$1 as Error, ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, OccasionCourt, OpenAPI, OpenAPIConfig, OrderSplitPayments, OrderSplitPaymentsRow, OrderSplitPrice, PlaySessionServiceV1Service, UserServiceV1Service, activitiesResponse, activity, activityOccasion, activityType, actor, address, apiClient, apiClientInput, apiClientListResponse, article, articleMetadata, availability, booking, bookingSubType, bookingsResponse, camera, cancellationPolicy, checkoutResponse, clientType, competitionAdminAccount, config, configuration, configurationEntry, configurationMap, configurationResource, coupon, createBookingEventExternal, createPromoCode, dailyQuota, days, deleteBookingEventExternal, exposeOccasions, facilitiesResponse, facility, facilityConfiguration, facilityDetails, friendRelationResponse, friendRelationsResponse, giftCard, hideFullyBooked, hours, internalPaymentMethod, levelRange, limitParam, membershipRequest, membershipRequestItem, monthlyUsage, months, occasionBooking, occasionParticipant, offsetParam, openingHours, order, orderSplitBaseResponse, participants, payment, paymentDetails, paymentInfo, paymentInterval, paymentMethods, paymentType, paymentsResponse, pendingPayment, playSession, playSessionBooking, playSessionBookingPayment, playSessionResponse, playSessionSettings, playSessionUser, playingUserResponse, playingUsersResponse, position, price, priceDetails, priceDetailsActivity, profile, promoCode, promoCodeOutcome, pspSession, resource, resultSet, timeStamp, usagePlan, userFacility, userId, userInfo, userPublicProfile, valueCardOutcome };
1829
+ export { ActivityEvent, ActivityServiceV1Service, AdminOccasionDetails, AnonymousService, ApiClientServiceV1Service, ApiError, AuthorizedService, BookingServiceV1Service, CancelError, CancelablePromise, CheckoutServiceV1Service, CompetitionServiceV1Service, CorsService, Error$1 as Error, ExternalServiceProperty, LoyaltyServiceV1Service, MembershipServiceV1Service, OccasionCourt, OpenAPI, OpenAPIConfig, OrderSplitPayments, OrderSplitPaymentsRow, OrderSplitPrice, PlaySessionServiceV1Service, UserServiceV1Service, activitiesResponse, activity, activityOccasion, activityType, actor, address, apiClient, apiClientInput, apiClientListResponse, article, articleMetadata, availability, booking, bookingGroup, bookingSubType, bookingsResponse, camera, cancellationPolicy, checkoutResponse, clientType, competitionAdminAccount, config, configuration, configurationEntry, configurationMap, configurationResource, coupon, createBookingEventExternal, createPromoCode, dailyQuota, days, deleteBookingEventExternal, exposeOccasions, facilitiesResponse, facility, facilityConfiguration, facilityDetails, friendRelationResponse, friendRelationsResponse, giftCard, hideFullyBooked, hours, internalPaymentMethod, levelRange, limitParam, membershipRequest, membershipRequestItem, monthlyUsage, months, occasionBooking, occasionParticipant, offsetParam, openingHours, order, orderSplitBaseResponse, participants, payment, paymentDetails, paymentInfo, paymentInterval, paymentMethods, paymentType, paymentsResponse, pendingPayment, playSession, playSessionBooking, playSessionBookingPayment, playSessionResponse, playSessionSettings, playSessionUser, playingUserResponse, playingUsersResponse, position, price, priceDetails, priceDetailsActivity, profile, promoCode, promoCodeOutcome, pspSession, resource, resultSet, timeStamp, usagePlan, userFacility, userId, userInfo, userPublicProfile, valueCardOutcome };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20231207.1",
3
+ "version": "0.20231212.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.mjs",