@matchi/api 0.20260513.1 → 0.20260518.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.
@@ -3791,6 +3791,11 @@ type MatchList = {
3791
3791
  meta: OffsetPaginatedResultSet;
3792
3792
  };
3793
3793
  type MatchOccasion = {
3794
+ /**
3795
+ * Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.
3796
+ *
3797
+ */
3798
+ auto_cancel_enabled: boolean;
3794
3799
  automatic_cancellation_date_time?: string | null;
3795
3800
  courts: Array<MatchCourt>;
3796
3801
  end_date_time: string;
@@ -3809,13 +3814,18 @@ type MatchOccasion = {
3809
3814
  type?: string | null;
3810
3815
  };
3811
3816
  /**
3812
- * Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.
3817
+ * Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.
3813
3818
  *
3814
3819
  */
3815
3820
  type MatchOccasionDetail = MatchOccasion & {
3816
3821
  can_be_cancelled_by_user: boolean;
3817
3822
  event: MatchEvent;
3818
3823
  external_services: Array<ExternalService>;
3824
+ /**
3825
+ * Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.
3826
+ *
3827
+ */
3828
+ order_id?: number | null;
3819
3829
  participant_details: Array<ParticipantDetail>;
3820
3830
  price_list: Array<MatchPriceListEntry>;
3821
3831
  refund_policy: RefundPolicy;
@@ -6834,6 +6844,10 @@ declare const MatchListSchema: {
6834
6844
  };
6835
6845
  declare const MatchOccasionSchema: {
6836
6846
  readonly properties: {
6847
+ readonly auto_cancel_enabled: {
6848
+ readonly description: "Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.\n";
6849
+ readonly type: "boolean";
6850
+ };
6837
6851
  readonly automatic_cancellation_date_time: {
6838
6852
  readonly format: "date-time";
6839
6853
  readonly nullable: true;
@@ -6897,7 +6911,7 @@ declare const MatchOccasionSchema: {
6897
6911
  readonly type: "string";
6898
6912
  };
6899
6913
  };
6900
- readonly required: readonly ["id", "start_date_time", "end_date_time", "courts", "participants", "price", "is_bookable", "is_participating", "has_opened_registration", "has_not_closed_registration", "members_only"];
6914
+ readonly required: readonly ["id", "start_date_time", "end_date_time", "courts", "participants", "price", "is_bookable", "is_participating", "has_opened_registration", "has_not_closed_registration", "members_only", "auto_cancel_enabled"];
6901
6915
  readonly type: "object";
6902
6916
  };
6903
6917
  declare const MatchOccasionDetailSchema: {
@@ -6917,6 +6931,12 @@ declare const MatchOccasionDetailSchema: {
6917
6931
  };
6918
6932
  readonly type: "array";
6919
6933
  };
6934
+ readonly order_id: {
6935
+ readonly description: "Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.\n";
6936
+ readonly format: "int64";
6937
+ readonly nullable: true;
6938
+ readonly type: "integer";
6939
+ };
6920
6940
  readonly participant_details: {
6921
6941
  readonly items: {
6922
6942
  readonly $ref: "#/components/schemas/ParticipantDetail";
@@ -6942,7 +6962,7 @@ declare const MatchOccasionDetailSchema: {
6942
6962
  readonly required: readonly ["price_list", "refund_policy", "can_be_cancelled_by_user", "participant_details", "status", "user_status", "external_services", "event"];
6943
6963
  readonly type: "object";
6944
6964
  }];
6945
- readonly description: "Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.\n";
6965
+ readonly description: "Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.\n";
6946
6966
  };
6947
6967
  declare const MatchParticipantsSchema: {
6948
6968
  readonly properties: {
@@ -3791,6 +3791,11 @@ type MatchList = {
3791
3791
  meta: OffsetPaginatedResultSet;
3792
3792
  };
3793
3793
  type MatchOccasion = {
3794
+ /**
3795
+ * Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.
3796
+ *
3797
+ */
3798
+ auto_cancel_enabled: boolean;
3794
3799
  automatic_cancellation_date_time?: string | null;
3795
3800
  courts: Array<MatchCourt>;
3796
3801
  end_date_time: string;
@@ -3809,13 +3814,18 @@ type MatchOccasion = {
3809
3814
  type?: string | null;
3810
3815
  };
3811
3816
  /**
3812
- * Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.
3817
+ * Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.
3813
3818
  *
3814
3819
  */
3815
3820
  type MatchOccasionDetail = MatchOccasion & {
3816
3821
  can_be_cancelled_by_user: boolean;
3817
3822
  event: MatchEvent;
3818
3823
  external_services: Array<ExternalService>;
3824
+ /**
3825
+ * Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.
3826
+ *
3827
+ */
3828
+ order_id?: number | null;
3819
3829
  participant_details: Array<ParticipantDetail>;
3820
3830
  price_list: Array<MatchPriceListEntry>;
3821
3831
  refund_policy: RefundPolicy;
@@ -6834,6 +6844,10 @@ declare const MatchListSchema: {
6834
6844
  };
6835
6845
  declare const MatchOccasionSchema: {
6836
6846
  readonly properties: {
6847
+ readonly auto_cancel_enabled: {
6848
+ readonly description: "Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.\n";
6849
+ readonly type: "boolean";
6850
+ };
6837
6851
  readonly automatic_cancellation_date_time: {
6838
6852
  readonly format: "date-time";
6839
6853
  readonly nullable: true;
@@ -6897,7 +6911,7 @@ declare const MatchOccasionSchema: {
6897
6911
  readonly type: "string";
6898
6912
  };
6899
6913
  };
6900
- readonly required: readonly ["id", "start_date_time", "end_date_time", "courts", "participants", "price", "is_bookable", "is_participating", "has_opened_registration", "has_not_closed_registration", "members_only"];
6914
+ readonly required: readonly ["id", "start_date_time", "end_date_time", "courts", "participants", "price", "is_bookable", "is_participating", "has_opened_registration", "has_not_closed_registration", "members_only", "auto_cancel_enabled"];
6901
6915
  readonly type: "object";
6902
6916
  };
6903
6917
  declare const MatchOccasionDetailSchema: {
@@ -6917,6 +6931,12 @@ declare const MatchOccasionDetailSchema: {
6917
6931
  };
6918
6932
  readonly type: "array";
6919
6933
  };
6934
+ readonly order_id: {
6935
+ readonly description: "Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.\n";
6936
+ readonly format: "int64";
6937
+ readonly nullable: true;
6938
+ readonly type: "integer";
6939
+ };
6920
6940
  readonly participant_details: {
6921
6941
  readonly items: {
6922
6942
  readonly $ref: "#/components/schemas/ParticipantDetail";
@@ -6942,7 +6962,7 @@ declare const MatchOccasionDetailSchema: {
6942
6962
  readonly required: readonly ["price_list", "refund_policy", "can_be_cancelled_by_user", "participant_details", "status", "user_status", "external_services", "event"];
6943
6963
  readonly type: "object";
6944
6964
  }];
6945
- readonly description: "Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.\n";
6965
+ readonly description: "Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.\n";
6946
6966
  };
6947
6967
  declare const MatchParticipantsSchema: {
6948
6968
  readonly properties: {
@@ -9,7 +9,9 @@ MEMBER \u2014 the post or comment was authored by a community member.
9
9
  UNKNOWN \u2014 the community member who authored the post or comment
10
10
  has been deleted; only the type is set, user is omitted.
11
11
  `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},Uo={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},To={properties:{author:{$ref:"#/components/schemas/Author"},comment_id:{format:"uuid",type:"string"},content:{type:"string"},created_at:{format:"date-time",type:"string"},is_read:{type:"boolean"},post_id:{format:"uuid",type:"string"}},required:["comment_id","post_id","author","content","is_read","created_at"],type:"object"},vo={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},_o={properties:{community_id:{format:"uuid",type:"string"},cover_image_url:{type:"string"},created_at:{format:"date-time",type:"string"},description:{type:"string"},facility_id:{type:"integer"},member_count:{type:"integer"},name:{type:"string"},posting_permission:{$ref:"#/components/schemas/PostingPermission"},status:{$ref:"#/components/schemas/MembershipStatus"},unread_post_count:{type:"integer"},updated_at:{format:"date-time",type:"string"},visibility:{$ref:"#/components/schemas/Visibility"}},required:["community_id","facility_id","name","description","posting_permission","visibility","status","member_count","unread_post_count","created_at","updated_at"],type:"object"},ko={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Ao={additionalProperties:!1,properties:{comment_id:{format:"uuid",type:"string"},community_id:{format:"uuid",type:"string"},description:{type:"string"},post_id:{format:"uuid",type:"string"},title:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["topic","title","description"],type:"object"},Go={properties:{content:{maxLength:2e3,minLength:1,type:"string"}},required:["content"],type:"object"},Mo={properties:{accept_terms:{type:"boolean"},payment:{$ref:"#/components/schemas/PaymentCommand"},promo_code:{nullable:!0,type:"string"},user_message:{nullable:!0,type:"string"}},required:["payment","accept_terms"],type:"object"},Lo={properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},required:["content"],type:"object"},No={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},wo={properties:{authority_slug:{description:'Initial authority (defaults to "matchi" if omitted)',type:"string"},level:{description:"Initial level value (omit to create an empty profile)",type:"string"},sport_id:{type:"integer"}},required:["sport_id"],type:"object"},qo={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Fo={properties:{created_by:{type:"string"},id:{format:"uuid",type:"string"},updated_at:{format:"date-time",type:"string"},updated_by:{type:"string"}},required:["id"],type:"object"},zo={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},jo={additionalProperties:!1,properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},Bo={properties:{data:{oneOf:[{$ref:"#/components/schemas/FacilityPunchCardData"},{$ref:"#/components/schemas/FacilityValueCardData"}]},type:{enum:["FACILITY_PUNCH_CARD","FACILITY_VALUE_CARD"],type:"string"}},required:["type","data"],type:"object"},Ko={oneOf:[{$ref:"#/components/schemas/FacilityOfferConditionWeekdays"},{$ref:"#/components/schemas/FacilityOfferConditionCourts"},{$ref:"#/components/schemas/FacilityOfferConditionDate"},{$ref:"#/components/schemas/FacilityOfferConditionTime"},{$ref:"#/components/schemas/FacilityOfferConditionHoursinadvance"},{$ref:"#/components/schemas/FacilityOfferConditionActivities"}],properties:{type:{enum:["WEEKDAYS","COURTS","DATE","TIME","HOURSINADVANCE","ACTIVITIES"],type:"string"}},required:["type"],type:"object"},$o={properties:{activities:{items:{properties:{id:{type:"integer"},name:{type:"string"},type:{nullable:!0,type:"string"}},required:["id","name","type"],type:"object"},type:"array"},all_activities:{type:"boolean"},not_valid_for_activities:{type:"boolean"}},required:["not_valid_for_activities","all_activities","activities"],type:"object"},Vo={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},Qo={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},Ho={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},Yo={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},Wo={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},Jo={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},Xo={properties:{checkout_url:{description:"The URL to the checkout page for the facility offer order",example:"https://checkout.matchi.com/pay/1b44a93b24a3413dadsee96e1bc7a4350ecac",format:"uri",type:"string"},id:{type:"string"}},required:["id","checkout_url"],type:"object"},Zo={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},es={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},ts={properties:{conditions:{items:{$ref:"#/components/schemas/FacilityOfferCondition"},type:"array"},description:{nullable:!0,type:"string"},expire_date:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_receive_membership_requests:{type:"boolean"},max_duration:{type:"integer"},members_only:{type:"boolean"},name:{type:"string"},nr_of_bookings_in_period:{nullable:!0,type:"integer"},nr_of_days_valid:{nullable:!0,type:"integer"},nr_of_tickets:{type:"integer"},offer_id:{type:"integer"},price:{type:"string"},unlimited:{type:"boolean"},user_has_active_membership:{type:"boolean"}},required:["offer_id","facility_id","name","description","price","unlimited","max_duration","nr_of_days_valid","nr_of_tickets","members_only","user_has_active_membership","facility_receive_membership_requests","expire_date","conditions","nr_of_bookings_in_period"],type:"object"},rs={properties:{amount:{type:"string"},conditions:{items:{$ref:"#/components/schemas/FacilityOfferCondition"},type:"array"},description:{nullable:!0,type:"string"},expire_date:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_receive_membership_requests:{type:"boolean"},members_only:{type:"boolean"},name:{type:"string"},nr_of_days_valid:{nullable:!0,type:"integer"},offer_id:{type:"integer"},price:{type:"string"},user_has_active_membership:{type:"boolean"}},required:["offer_id","facility_id","name","description","price","nr_of_days_valid","amount","members_only","user_has_active_membership","facility_receive_membership_requests","expire_date","conditions"],type:"object"},os={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},ss={enum:["ACTIVITY","MATCH"],type:"string"},is={properties:{court_id:{format:"int64",type:"integer"},facility_id:{format:"int64",type:"integer"},facility_name:{type:"string"},id:{format:"uuid",type:"string"},image_url:{nullable:!0,type:"string"},occasion:{$ref:"#/components/schemas/MatchOccasion"},sport_id:{format:"int64",nullable:!0,type:"integer"},title:{type:"string"}},required:["id","title","sport_id","facility_id","facility_name","court_id","occasion"],type:"object"},as={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},ns={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},ps={allOf:[{$ref:"#/components/schemas/Match"},{properties:{description:{nullable:!0,type:"string"},message_title:{nullable:!0,type:"string"},occasion:{$ref:"#/components/schemas/MatchOccasionDetail"},terms:{nullable:!0,type:"string"}},type:"object"}],description:`Match for the detail view. Extends Match with description, terms, message_title and upgrades occasion to MatchOccasionDetail.
12
- `},ls={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},cs={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},us={properties:{automatic_cancellation_date_time:{format:"date-time",nullable:!0,type:"string"},courts:{items:{$ref:"#/components/schemas/MatchCourt"},type:"array"},end_date_time:{format:"date-time",type:"string"},has_not_closed_registration:{type:"boolean"},has_opened_registration:{type:"boolean"},id:{format:"int64",type:"integer"},is_bookable:{type:"boolean"},is_participating:{type:"boolean"},level_max:{format:"int32",nullable:!0,type:"integer"},level_min:{format:"int32",nullable:!0,type:"integer"},members_only:{type:"boolean"},message:{nullable:!0,type:"string"},participants:{$ref:"#/components/schemas/MatchParticipants"},price:{$ref:"#/components/schemas/MatchBasePrice"},start_date_time:{format:"date-time",type:"string"},type:{nullable:!0,type:"string"}},required:["id","start_date_time","end_date_time","courts","participants","price","is_bookable","is_participating","has_opened_registration","has_not_closed_registration","members_only"],type:"object"},ms={allOf:[{$ref:"#/components/schemas/MatchOccasion"},{properties:{can_be_cancelled_by_user:{type:"boolean"},event:{$ref:"#/components/schemas/MatchEvent"},external_services:{items:{$ref:"#/components/schemas/ExternalService"},type:"array"},participant_details:{items:{$ref:"#/components/schemas/ParticipantDetail"},type:"array"},price_list:{items:{$ref:"#/components/schemas/MatchPriceListEntry"},type:"array"},refund_policy:{$ref:"#/components/schemas/RefundPolicy"},status:{$ref:"#/components/schemas/MatchStatus"},user_status:{$ref:"#/components/schemas/UserParticipationStatus"}},required:["price_list","refund_policy","can_be_cancelled_by_user","participant_details","status","user_status","external_services","event"],type:"object"}],description:`Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.
12
+ `},ls={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},cs={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},us={properties:{auto_cancel_enabled:{description:`Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.
13
+ `,type:"boolean"},automatic_cancellation_date_time:{format:"date-time",nullable:!0,type:"string"},courts:{items:{$ref:"#/components/schemas/MatchCourt"},type:"array"},end_date_time:{format:"date-time",type:"string"},has_not_closed_registration:{type:"boolean"},has_opened_registration:{type:"boolean"},id:{format:"int64",type:"integer"},is_bookable:{type:"boolean"},is_participating:{type:"boolean"},level_max:{format:"int32",nullable:!0,type:"integer"},level_min:{format:"int32",nullable:!0,type:"integer"},members_only:{type:"boolean"},message:{nullable:!0,type:"string"},participants:{$ref:"#/components/schemas/MatchParticipants"},price:{$ref:"#/components/schemas/MatchBasePrice"},start_date_time:{format:"date-time",type:"string"},type:{nullable:!0,type:"string"}},required:["id","start_date_time","end_date_time","courts","participants","price","is_bookable","is_participating","has_opened_registration","has_not_closed_registration","members_only","auto_cancel_enabled"],type:"object"},ms={allOf:[{$ref:"#/components/schemas/MatchOccasion"},{properties:{can_be_cancelled_by_user:{type:"boolean"},event:{$ref:"#/components/schemas/MatchEvent"},external_services:{items:{$ref:"#/components/schemas/ExternalService"},type:"array"},order_id:{description:`Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.
14
+ `,format:"int64",nullable:!0,type:"integer"},participant_details:{items:{$ref:"#/components/schemas/ParticipantDetail"},type:"array"},price_list:{items:{$ref:"#/components/schemas/MatchPriceListEntry"},type:"array"},refund_policy:{$ref:"#/components/schemas/RefundPolicy"},status:{$ref:"#/components/schemas/MatchStatus"},user_status:{$ref:"#/components/schemas/UserParticipationStatus"}},required:["price_list","refund_policy","can_be_cancelled_by_user","participant_details","status","user_status","external_services","event"],type:"object"}],description:`Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.
13
15
  `},ds={properties:{available:{format:"int32",type:"integer"},current:{format:"int32",type:"integer"},max:{format:"int32",type:"integer"},min:{format:"int32",nullable:!0,type:"integer"},users:{items:{$ref:"#/components/schemas/ParticipantSummary"},type:"array"}},required:["current","max","available","users"],type:"object"},ys={properties:{category_name:{type:"string"},is_default_category:{type:"boolean"},price:{nullable:!0,type:"number"}},required:["price","category_name","is_default_category"],type:"object"},fs={enum:["OPEN","FULL","REGISTRATION_CLOSED","REGISTRATION_NOT_OPEN","CANCELLED","COMPLETED","MEMBERS_ONLY"],type:"string"},hs={properties:{applied_category:{type:"string"},can_use_promo_code:{type:"boolean"},currency:{type:"string"},fee:{nullable:!0,type:"number"},ordinary_price:{type:"number"},payment_methods:{additionalProperties:!0,description:"Map of available payment methods keyed by method name",type:"object"},price:{type:"number"},vat:{type:"number"}},required:["price","vat","ordinary_price","currency","applied_category","can_use_promo_code","payment_methods","fee"],type:"object"},gs={properties:{first_name:{type:"string"},last_name:{type:"string"},profile_image_url:{type:"string"},relation_status:{$ref:"#/components/schemas/MemberRelation"},user_id:{format:"uuid",type:"string"}},required:["user_id","first_name","last_name"],type:"object"},bs={properties:{items:{items:{$ref:"#/components/schemas/Member"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Ps={description:"Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n* `BLOCK` - The user is blocked by the current user\n",enum:["FRIENDS","OUTGOING","INCOMING","NO_RELATION","BLOCK"],type:"string"},Os={enum:["ACTIVE","INVITED","LEFT"],type:"string"},Ss={properties:{pagination:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"},summary:{$ref:"#/components/schemas/NotificationsSummary"}},required:["summary"],type:"object"},Es={properties:{created_at:{format:"date-time",type:"string"},id:{format:"uuid",type:"string"},payload:{$ref:"#/components/schemas/NotificationPayload"},read_at:{format:"date-time",type:"string"},source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["id","topic","source","source_id","created_at","payload"],type:"object"},Rs={oneOf:[{$ref:"#/components/schemas/FacilityMessagePayload"},{$ref:"#/components/schemas/CommunityPayload"}]},Cs={properties:{is_read:{description:"true to mark as read, false to mark as unread",type:"boolean"}},type:"object"},Is={properties:{source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},type:"object"},Ds={properties:{items:{items:{$ref:"#/components/schemas/Notification"},type:"array"},meta:{$ref:"#/components/schemas/Metadata"}},required:["items","meta"],type:"object"},xs={properties:{count:{type:"integer"},global_count:{type:"integer"},global_unread_count:{type:"integer"},unread_count:{type:"integer"}},required:["count","unread_count","global_count","global_unread_count"],type:"object"},Us={description:"Metadata about the offset based pagination for the result. This information is coupled with the OffsetParam and OffsetLimitParam. Intended to be used as the `meta` field in a list response, next to an `items` array field containing the data.\n",properties:{limit:{type:"integer"},more_results:{type:"boolean"},offset:{type:"integer"},total_count:{type:"integer"}},required:["offset","limit","more_results"],type:"object"},Ts={properties:{pagination:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"},summary:{properties:{total:{type:"integer"}},required:["total"],type:"object"}},required:["pagination","summary"],type:"object"},vs={allOf:[{$ref:"#/components/schemas/ParticipantSummary"},{properties:{joined_at:{format:"date-time",type:"string"}},required:["joined_at"],type:"object"}],description:"Participant with join timestamp. Extends ParticipantSummary."},_s={properties:{first_name:{nullable:!0,type:"string"},last_name:{nullable:!0,type:"string"},level:{nullable:!0,type:"string"},profile_image_url:{nullable:!0,type:"string"},user_id:{format:"uuid",nullable:!0,type:"string"}},required:["user_id","first_name","last_name"],type:"object"},ks={properties:{is_read:{type:"boolean"}},type:"object"},As={properties:{is_read:{type:"boolean"}},type:"object"},Gs={description:"Payment selection mirroring the webapp activity-booking shape.",properties:{coupon_id:{nullable:!0,type:"string"},method:{nullable:!0,type:"string"},return_url:{nullable:!0,type:"string"}},type:"object"},Ms={description:"Order/payment envelope for an accepted match participation. For async\npayment methods (e.g. Adyen-backed checkout) `checkout_url` is set and\nthe mobile client redirects there. For inline/free flows `checkout_url`\nis absent.\n",properties:{checkout_token:{nullable:!0,type:"string"},checkout_url:{nullable:!0,type:"string"},currency:{nullable:!0,type:"string"},id:{format:"int64",type:"integer"},price:{nullable:!0,type:"number"},status:{nullable:!0,type:"string"}},required:["id"],type:"object"},Ls={properties:{author:{$ref:"#/components/schemas/Author"},comment_count:{type:"integer"},community_id:{format:"uuid",type:"string"},content:{type:"string"},created_at:{format:"date-time",type:"string"},is_read:{type:"boolean"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"},post_id:{format:"uuid",type:"string"},unread_comment_count:{type:"integer"},updated_at:{format:"date-time",type:"string"}},required:["post_id","community_id","author","comment_count","unread_comment_count","is_read","created_at","updated_at"],type:"object"},Ns={properties:{link_reference_id:{type:"string"},link_type:{$ref:"#/components/schemas/LinkType"}},required:["link_type","link_reference_id"],type:"object"},ws={properties:{items:{items:{$ref:"#/components/schemas/Post"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},qs={enum:["ADMINS","MEMBERS"],type:"string"},Fs={properties:{channels:{$ref:"#/components/schemas/Channels"},source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["topic","channels"],type:"object"},zs={properties:{items:{items:{$ref:"#/components/schemas/Preference"},type:"array"}},required:["items"],type:"object"},js={description:`A personalized recommendation. The common fields describe what, where, and when. Use type + id to navigate to the specific entity.
14
16
  `,properties:{connections:{description:"Social context \u2014 which of the user's connections are signed up.",properties:{count:{description:"Number of the user's connections signed up.",type:"integer"},user_ids:{description:"User IDs of connected participants, ordered by connection strength.",items:{type:"string"},type:"array"}},required:["count"],type:"object"},date_end:{format:"date-time",type:"string"},date_start:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_name:{type:"string"},id:{description:`The recommended entity's ID. Use together with type to navigate to the appropriate detail page. Currently represents activity occasion IDs but may reference other entity types as the recommendation engine expands.
15
17
  `,type:"string"},level_max:{description:"Maximum skill level (1-10). Null if not set.",nullable:!0,type:"integer"},level_min:{description:"Minimum skill level (1-10). Null if not set.",nullable:!0,type:"integer"},members_only:{description:`Whether the activity is restricted to facility members. Null when membership restriction is unknown \u2014 callers should treat null as unknown and fall back to existing rendering.
@@ -9,7 +9,9 @@ MEMBER \u2014 the post or comment was authored by a community member.
9
9
  UNKNOWN \u2014 the community member who authored the post or comment
10
10
  has been deleted; only the type is set, user is omitted.
11
11
  `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},Co={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},Io={properties:{author:{$ref:"#/components/schemas/Author"},comment_id:{format:"uuid",type:"string"},content:{type:"string"},created_at:{format:"date-time",type:"string"},is_read:{type:"boolean"},post_id:{format:"uuid",type:"string"}},required:["comment_id","post_id","author","content","is_read","created_at"],type:"object"},Do={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},xo={properties:{community_id:{format:"uuid",type:"string"},cover_image_url:{type:"string"},created_at:{format:"date-time",type:"string"},description:{type:"string"},facility_id:{type:"integer"},member_count:{type:"integer"},name:{type:"string"},posting_permission:{$ref:"#/components/schemas/PostingPermission"},status:{$ref:"#/components/schemas/MembershipStatus"},unread_post_count:{type:"integer"},updated_at:{format:"date-time",type:"string"},visibility:{$ref:"#/components/schemas/Visibility"}},required:["community_id","facility_id","name","description","posting_permission","visibility","status","member_count","unread_post_count","created_at","updated_at"],type:"object"},Uo={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},To={additionalProperties:!1,properties:{comment_id:{format:"uuid",type:"string"},community_id:{format:"uuid",type:"string"},description:{type:"string"},post_id:{format:"uuid",type:"string"},title:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["topic","title","description"],type:"object"},vo={properties:{content:{maxLength:2e3,minLength:1,type:"string"}},required:["content"],type:"object"},_o={properties:{accept_terms:{type:"boolean"},payment:{$ref:"#/components/schemas/PaymentCommand"},promo_code:{nullable:!0,type:"string"},user_message:{nullable:!0,type:"string"}},required:["payment","accept_terms"],type:"object"},ko={properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},required:["content"],type:"object"},Ao={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},Go={properties:{authority_slug:{description:'Initial authority (defaults to "matchi" if omitted)',type:"string"},level:{description:"Initial level value (omit to create an empty profile)",type:"string"},sport_id:{type:"integer"}},required:["sport_id"],type:"object"},Mo={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Lo={properties:{created_by:{type:"string"},id:{format:"uuid",type:"string"},updated_at:{format:"date-time",type:"string"},updated_by:{type:"string"}},required:["id"],type:"object"},No={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},wo={additionalProperties:!1,properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},qo={properties:{data:{oneOf:[{$ref:"#/components/schemas/FacilityPunchCardData"},{$ref:"#/components/schemas/FacilityValueCardData"}]},type:{enum:["FACILITY_PUNCH_CARD","FACILITY_VALUE_CARD"],type:"string"}},required:["type","data"],type:"object"},Fo={oneOf:[{$ref:"#/components/schemas/FacilityOfferConditionWeekdays"},{$ref:"#/components/schemas/FacilityOfferConditionCourts"},{$ref:"#/components/schemas/FacilityOfferConditionDate"},{$ref:"#/components/schemas/FacilityOfferConditionTime"},{$ref:"#/components/schemas/FacilityOfferConditionHoursinadvance"},{$ref:"#/components/schemas/FacilityOfferConditionActivities"}],properties:{type:{enum:["WEEKDAYS","COURTS","DATE","TIME","HOURSINADVANCE","ACTIVITIES"],type:"string"}},required:["type"],type:"object"},zo={properties:{activities:{items:{properties:{id:{type:"integer"},name:{type:"string"},type:{nullable:!0,type:"string"}},required:["id","name","type"],type:"object"},type:"array"},all_activities:{type:"boolean"},not_valid_for_activities:{type:"boolean"}},required:["not_valid_for_activities","all_activities","activities"],type:"object"},jo={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},Bo={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},Ko={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},$o={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},Vo={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},Qo={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},Ho={properties:{checkout_url:{description:"The URL to the checkout page for the facility offer order",example:"https://checkout.matchi.com/pay/1b44a93b24a3413dadsee96e1bc7a4350ecac",format:"uri",type:"string"},id:{type:"string"}},required:["id","checkout_url"],type:"object"},Yo={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},Wo={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},Jo={properties:{conditions:{items:{$ref:"#/components/schemas/FacilityOfferCondition"},type:"array"},description:{nullable:!0,type:"string"},expire_date:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_receive_membership_requests:{type:"boolean"},max_duration:{type:"integer"},members_only:{type:"boolean"},name:{type:"string"},nr_of_bookings_in_period:{nullable:!0,type:"integer"},nr_of_days_valid:{nullable:!0,type:"integer"},nr_of_tickets:{type:"integer"},offer_id:{type:"integer"},price:{type:"string"},unlimited:{type:"boolean"},user_has_active_membership:{type:"boolean"}},required:["offer_id","facility_id","name","description","price","unlimited","max_duration","nr_of_days_valid","nr_of_tickets","members_only","user_has_active_membership","facility_receive_membership_requests","expire_date","conditions","nr_of_bookings_in_period"],type:"object"},Xo={properties:{amount:{type:"string"},conditions:{items:{$ref:"#/components/schemas/FacilityOfferCondition"},type:"array"},description:{nullable:!0,type:"string"},expire_date:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_receive_membership_requests:{type:"boolean"},members_only:{type:"boolean"},name:{type:"string"},nr_of_days_valid:{nullable:!0,type:"integer"},offer_id:{type:"integer"},price:{type:"string"},user_has_active_membership:{type:"boolean"}},required:["offer_id","facility_id","name","description","price","nr_of_days_valid","amount","members_only","user_has_active_membership","facility_receive_membership_requests","expire_date","conditions"],type:"object"},Zo={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},es={enum:["ACTIVITY","MATCH"],type:"string"},ts={properties:{court_id:{format:"int64",type:"integer"},facility_id:{format:"int64",type:"integer"},facility_name:{type:"string"},id:{format:"uuid",type:"string"},image_url:{nullable:!0,type:"string"},occasion:{$ref:"#/components/schemas/MatchOccasion"},sport_id:{format:"int64",nullable:!0,type:"integer"},title:{type:"string"}},required:["id","title","sport_id","facility_id","facility_name","court_id","occasion"],type:"object"},rs={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},os={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},ss={allOf:[{$ref:"#/components/schemas/Match"},{properties:{description:{nullable:!0,type:"string"},message_title:{nullable:!0,type:"string"},occasion:{$ref:"#/components/schemas/MatchOccasionDetail"},terms:{nullable:!0,type:"string"}},type:"object"}],description:`Match for the detail view. Extends Match with description, terms, message_title and upgrades occasion to MatchOccasionDetail.
12
- `},is={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},as={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},ns={properties:{automatic_cancellation_date_time:{format:"date-time",nullable:!0,type:"string"},courts:{items:{$ref:"#/components/schemas/MatchCourt"},type:"array"},end_date_time:{format:"date-time",type:"string"},has_not_closed_registration:{type:"boolean"},has_opened_registration:{type:"boolean"},id:{format:"int64",type:"integer"},is_bookable:{type:"boolean"},is_participating:{type:"boolean"},level_max:{format:"int32",nullable:!0,type:"integer"},level_min:{format:"int32",nullable:!0,type:"integer"},members_only:{type:"boolean"},message:{nullable:!0,type:"string"},participants:{$ref:"#/components/schemas/MatchParticipants"},price:{$ref:"#/components/schemas/MatchBasePrice"},start_date_time:{format:"date-time",type:"string"},type:{nullable:!0,type:"string"}},required:["id","start_date_time","end_date_time","courts","participants","price","is_bookable","is_participating","has_opened_registration","has_not_closed_registration","members_only"],type:"object"},ps={allOf:[{$ref:"#/components/schemas/MatchOccasion"},{properties:{can_be_cancelled_by_user:{type:"boolean"},event:{$ref:"#/components/schemas/MatchEvent"},external_services:{items:{$ref:"#/components/schemas/ExternalService"},type:"array"},participant_details:{items:{$ref:"#/components/schemas/ParticipantDetail"},type:"array"},price_list:{items:{$ref:"#/components/schemas/MatchPriceListEntry"},type:"array"},refund_policy:{$ref:"#/components/schemas/RefundPolicy"},status:{$ref:"#/components/schemas/MatchStatus"},user_status:{$ref:"#/components/schemas/UserParticipationStatus"}},required:["price_list","refund_policy","can_be_cancelled_by_user","participant_details","status","user_status","external_services","event"],type:"object"}],description:`Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event.
12
+ `},is={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},as={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},ns={properties:{auto_cancel_enabled:{description:`Explicit per-match toggle. When false, the match proceeds regardless of participant count at start time and automatic_cancellation_date_time is null.
13
+ `,type:"boolean"},automatic_cancellation_date_time:{format:"date-time",nullable:!0,type:"string"},courts:{items:{$ref:"#/components/schemas/MatchCourt"},type:"array"},end_date_time:{format:"date-time",type:"string"},has_not_closed_registration:{type:"boolean"},has_opened_registration:{type:"boolean"},id:{format:"int64",type:"integer"},is_bookable:{type:"boolean"},is_participating:{type:"boolean"},level_max:{format:"int32",nullable:!0,type:"integer"},level_min:{format:"int32",nullable:!0,type:"integer"},members_only:{type:"boolean"},message:{nullable:!0,type:"string"},participants:{$ref:"#/components/schemas/MatchParticipants"},price:{$ref:"#/components/schemas/MatchBasePrice"},start_date_time:{format:"date-time",type:"string"},type:{nullable:!0,type:"string"}},required:["id","start_date_time","end_date_time","courts","participants","price","is_bookable","is_participating","has_opened_registration","has_not_closed_registration","members_only","auto_cancel_enabled"],type:"object"},ps={allOf:[{$ref:"#/components/schemas/MatchOccasion"},{properties:{can_be_cancelled_by_user:{type:"boolean"},event:{$ref:"#/components/schemas/MatchEvent"},external_services:{items:{$ref:"#/components/schemas/ExternalService"},type:"array"},order_id:{description:`Order id of the requesting user's participation in this occasion, when the participation exists and is linked to an order. Null otherwise. Use with the user payments endpoint to load the receipt.
14
+ `,format:"int64",nullable:!0,type:"integer"},participant_details:{items:{$ref:"#/components/schemas/ParticipantDetail"},type:"array"},price_list:{items:{$ref:"#/components/schemas/MatchPriceListEntry"},type:"array"},refund_policy:{$ref:"#/components/schemas/RefundPolicy"},status:{$ref:"#/components/schemas/MatchStatus"},user_status:{$ref:"#/components/schemas/UserParticipationStatus"}},required:["price_list","refund_policy","can_be_cancelled_by_user","participant_details","status","user_status","external_services","event"],type:"object"}],description:`Enriched occasion for the detail view. Extends MatchOccasion with price_list, refund_policy, can_be_cancelled_by_user, participant_details, status, user_status, external_services, event, order_id.
13
15
  `},ls={properties:{available:{format:"int32",type:"integer"},current:{format:"int32",type:"integer"},max:{format:"int32",type:"integer"},min:{format:"int32",nullable:!0,type:"integer"},users:{items:{$ref:"#/components/schemas/ParticipantSummary"},type:"array"}},required:["current","max","available","users"],type:"object"},cs={properties:{category_name:{type:"string"},is_default_category:{type:"boolean"},price:{nullable:!0,type:"number"}},required:["price","category_name","is_default_category"],type:"object"},us={enum:["OPEN","FULL","REGISTRATION_CLOSED","REGISTRATION_NOT_OPEN","CANCELLED","COMPLETED","MEMBERS_ONLY"],type:"string"},ms={properties:{applied_category:{type:"string"},can_use_promo_code:{type:"boolean"},currency:{type:"string"},fee:{nullable:!0,type:"number"},ordinary_price:{type:"number"},payment_methods:{additionalProperties:!0,description:"Map of available payment methods keyed by method name",type:"object"},price:{type:"number"},vat:{type:"number"}},required:["price","vat","ordinary_price","currency","applied_category","can_use_promo_code","payment_methods","fee"],type:"object"},ds={properties:{first_name:{type:"string"},last_name:{type:"string"},profile_image_url:{type:"string"},relation_status:{$ref:"#/components/schemas/MemberRelation"},user_id:{format:"uuid",type:"string"}},required:["user_id","first_name","last_name"],type:"object"},ys={properties:{items:{items:{$ref:"#/components/schemas/Member"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},fs={description:"Returns :\n* `FRIENDS` - The user is a friend.\n* `OUTGOING` - The user has sent a friend request to the current user.\n* `INCOMING` - The user has received a friend request from the current user.\n* `NO_RELATION` - The user has no ongoing relation with the current user.\n* `BLOCK` - The user is blocked by the current user\n",enum:["FRIENDS","OUTGOING","INCOMING","NO_RELATION","BLOCK"],type:"string"},hs={enum:["ACTIVE","INVITED","LEFT"],type:"string"},gs={properties:{pagination:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"},summary:{$ref:"#/components/schemas/NotificationsSummary"}},required:["summary"],type:"object"},bs={properties:{created_at:{format:"date-time",type:"string"},id:{format:"uuid",type:"string"},payload:{$ref:"#/components/schemas/NotificationPayload"},read_at:{format:"date-time",type:"string"},source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["id","topic","source","source_id","created_at","payload"],type:"object"},Ps={oneOf:[{$ref:"#/components/schemas/FacilityMessagePayload"},{$ref:"#/components/schemas/CommunityPayload"}]},Os={properties:{is_read:{description:"true to mark as read, false to mark as unread",type:"boolean"}},type:"object"},Ss={properties:{source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},type:"object"},Es={properties:{items:{items:{$ref:"#/components/schemas/Notification"},type:"array"},meta:{$ref:"#/components/schemas/Metadata"}},required:["items","meta"],type:"object"},Rs={properties:{count:{type:"integer"},global_count:{type:"integer"},global_unread_count:{type:"integer"},unread_count:{type:"integer"}},required:["count","unread_count","global_count","global_unread_count"],type:"object"},Cs={description:"Metadata about the offset based pagination for the result. This information is coupled with the OffsetParam and OffsetLimitParam. Intended to be used as the `meta` field in a list response, next to an `items` array field containing the data.\n",properties:{limit:{type:"integer"},more_results:{type:"boolean"},offset:{type:"integer"},total_count:{type:"integer"}},required:["offset","limit","more_results"],type:"object"},Is={properties:{pagination:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"},summary:{properties:{total:{type:"integer"}},required:["total"],type:"object"}},required:["pagination","summary"],type:"object"},Ds={allOf:[{$ref:"#/components/schemas/ParticipantSummary"},{properties:{joined_at:{format:"date-time",type:"string"}},required:["joined_at"],type:"object"}],description:"Participant with join timestamp. Extends ParticipantSummary."},xs={properties:{first_name:{nullable:!0,type:"string"},last_name:{nullable:!0,type:"string"},level:{nullable:!0,type:"string"},profile_image_url:{nullable:!0,type:"string"},user_id:{format:"uuid",nullable:!0,type:"string"}},required:["user_id","first_name","last_name"],type:"object"},Us={properties:{is_read:{type:"boolean"}},type:"object"},Ts={properties:{is_read:{type:"boolean"}},type:"object"},vs={description:"Payment selection mirroring the webapp activity-booking shape.",properties:{coupon_id:{nullable:!0,type:"string"},method:{nullable:!0,type:"string"},return_url:{nullable:!0,type:"string"}},type:"object"},_s={description:"Order/payment envelope for an accepted match participation. For async\npayment methods (e.g. Adyen-backed checkout) `checkout_url` is set and\nthe mobile client redirects there. For inline/free flows `checkout_url`\nis absent.\n",properties:{checkout_token:{nullable:!0,type:"string"},checkout_url:{nullable:!0,type:"string"},currency:{nullable:!0,type:"string"},id:{format:"int64",type:"integer"},price:{nullable:!0,type:"number"},status:{nullable:!0,type:"string"}},required:["id"],type:"object"},ks={properties:{author:{$ref:"#/components/schemas/Author"},comment_count:{type:"integer"},community_id:{format:"uuid",type:"string"},content:{type:"string"},created_at:{format:"date-time",type:"string"},is_read:{type:"boolean"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"},post_id:{format:"uuid",type:"string"},unread_comment_count:{type:"integer"},updated_at:{format:"date-time",type:"string"}},required:["post_id","community_id","author","comment_count","unread_comment_count","is_read","created_at","updated_at"],type:"object"},As={properties:{link_reference_id:{type:"string"},link_type:{$ref:"#/components/schemas/LinkType"}},required:["link_type","link_reference_id"],type:"object"},Gs={properties:{items:{items:{$ref:"#/components/schemas/Post"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Ms={enum:["ADMINS","MEMBERS"],type:"string"},Ls={properties:{channels:{$ref:"#/components/schemas/Channels"},source:{$ref:"#/components/schemas/Source"},source_id:{type:"string"},topic:{$ref:"#/components/schemas/Topic"}},required:["topic","channels"],type:"object"},Ns={properties:{items:{items:{$ref:"#/components/schemas/Preference"},type:"array"}},required:["items"],type:"object"},ws={description:`A personalized recommendation. The common fields describe what, where, and when. Use type + id to navigate to the specific entity.
14
16
  `,properties:{connections:{description:"Social context \u2014 which of the user's connections are signed up.",properties:{count:{description:"Number of the user's connections signed up.",type:"integer"},user_ids:{description:"User IDs of connected participants, ordered by connection strength.",items:{type:"string"},type:"array"}},required:["count"],type:"object"},date_end:{format:"date-time",type:"string"},date_start:{format:"date-time",type:"string"},facility_id:{type:"integer"},facility_name:{type:"string"},id:{description:`The recommended entity's ID. Use together with type to navigate to the appropriate detail page. Currently represents activity occasion IDs but may reference other entity types as the recommendation engine expands.
15
17
  `,type:"string"},level_max:{description:"Maximum skill level (1-10). Null if not set.",nullable:!0,type:"integer"},level_min:{description:"Minimum skill level (1-10). Null if not set.",nullable:!0,type:"integer"},members_only:{description:`Whether the activity is restricted to facility members. Null when membership restriction is unknown \u2014 callers should treat null as unknown and fall back to existing rendering.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20260513.1",
3
+ "version": "0.20260518.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {