@matchi/api 0.20260527.3 → 0.20260528.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.
@@ -3646,8 +3646,13 @@ type CreateMatchParticipationRequest = {
3646
3646
  promo_code?: string | null;
3647
3647
  user_message?: string | null;
3648
3648
  };
3649
+ /**
3650
+ * At least one of `content` or `links` must be provided. When `links` is
3651
+ * present and non-empty, `content` may be omitted.
3652
+ *
3653
+ */
3649
3654
  type CreatePostRequest = {
3650
- content: string;
3655
+ content?: string;
3651
3656
  links?: Array<PostLink>;
3652
3657
  };
3653
3658
  type CreateSportProfileLevelRequest = {
@@ -6573,6 +6578,7 @@ declare const CreateMatchParticipationRequestSchema: {
6573
6578
  readonly type: "object";
6574
6579
  };
6575
6580
  declare const CreatePostRequestSchema: {
6581
+ readonly description: "At least one of `content` or `links` must be provided. When `links` is\npresent and non-empty, `content` may be omitted.\n";
6576
6582
  readonly properties: {
6577
6583
  readonly content: {
6578
6584
  readonly maxLength: 5000;
@@ -6586,7 +6592,6 @@ declare const CreatePostRequestSchema: {
6586
6592
  readonly type: "array";
6587
6593
  };
6588
6594
  };
6589
- readonly required: readonly ["content"];
6590
6595
  readonly type: "object";
6591
6596
  };
6592
6597
  declare const CreateSportProfileLevelRequestSchema: {
@@ -3646,8 +3646,13 @@ type CreateMatchParticipationRequest = {
3646
3646
  promo_code?: string | null;
3647
3647
  user_message?: string | null;
3648
3648
  };
3649
+ /**
3650
+ * At least one of `content` or `links` must be provided. When `links` is
3651
+ * present and non-empty, `content` may be omitted.
3652
+ *
3653
+ */
3649
3654
  type CreatePostRequest = {
3650
- content: string;
3655
+ content?: string;
3651
3656
  links?: Array<PostLink>;
3652
3657
  };
3653
3658
  type CreateSportProfileLevelRequest = {
@@ -6573,6 +6578,7 @@ declare const CreateMatchParticipationRequestSchema: {
6573
6578
  readonly type: "object";
6574
6579
  };
6575
6580
  declare const CreatePostRequestSchema: {
6581
+ readonly description: "At least one of `content` or `links` must be provided. When `links` is\npresent and non-empty, `content` may be omitted.\n";
6576
6582
  readonly properties: {
6577
6583
  readonly content: {
6578
6584
  readonly maxLength: 5000;
@@ -6586,7 +6592,6 @@ declare const CreatePostRequestSchema: {
6586
6592
  readonly type: "array";
6587
6593
  };
6588
6594
  };
6589
- readonly required: readonly ["content"];
6590
6595
  readonly type: "object";
6591
6596
  };
6592
6597
  declare const CreateSportProfileLevelRequestSchema: {
@@ -8,7 +8,7 @@
8
8
  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
- `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},qo={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},Fo={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"},jo={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},zo={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"},Bo={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Ko={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"},Qo={properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},required:["content"],type:"object"},Vo={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},Ho={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"},Yo={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Wo={properties:{active:{type:"boolean"},address:{$ref:"#/components/schemas/Address"},bookable:{type:"boolean"},currency:{type:"string"},description:{type:"string"},email:{format:"email",type:"string"},id:{type:"integer"},logo_url:{format:"uri",type:"string"},name:{type:"string"},phone_number:{type:"string"},position:{$ref:"#/components/schemas/Position"},resource_types:{items:{type:"string"},type:"array"},sports:{items:{type:"string"},type:"array"},website:{format:"uri",type:"string"}},required:["id","name","logo_url","address","position","resource_types"],type:"object"},Jo={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},result_set:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"}},required:["result_set","items"],type:"object"},Xo={properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},Zo={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"},ei={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"},ti={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"},ri={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},oi={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},ii={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},si={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},ai={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},ni={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},pi={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"},li={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},ci={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},ui={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"},mi={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"},di={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},yi={enum:["ACTIVITY","BOOKING","MATCH"],type:"string"},fi={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"},hi={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},gi={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},bi={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.
11
+ `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},qo={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},Fo={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"},jo={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},zo={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"},Bo={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Ko={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"},Qo={description:"At least one of `content` or `links` must be provided. When `links` is\npresent and non-empty, `content` may be omitted.\n",properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},type:"object"},Vo={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},Ho={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"},Yo={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Wo={properties:{active:{type:"boolean"},address:{$ref:"#/components/schemas/Address"},bookable:{type:"boolean"},currency:{type:"string"},description:{type:"string"},email:{format:"email",type:"string"},id:{type:"integer"},logo_url:{format:"uri",type:"string"},name:{type:"string"},phone_number:{type:"string"},position:{$ref:"#/components/schemas/Position"},resource_types:{items:{type:"string"},type:"array"},sports:{items:{type:"string"},type:"array"},website:{format:"uri",type:"string"}},required:["id","name","logo_url","address","position","resource_types"],type:"object"},Jo={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},result_set:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"}},required:["result_set","items"],type:"object"},Xo={properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},Zo={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"},ei={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"},ti={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"},ri={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},oi={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},ii={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},si={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},ai={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},ni={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},pi={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"},li={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},ci={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},ui={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"},mi={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"},di={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},yi={enum:["ACTIVITY","BOOKING","MATCH"],type:"string"},fi={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"},hi={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},gi={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},bi={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
12
  `},Pi={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},Oi={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},Ri={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
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:{description:"Max required skill level (1-10) with one-decimal precision.",nullable:!0,type:"number"},level_min:{description:"Min required skill level (1-10) with one-decimal precision.",nullable:!0,type:"number"},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"},Si={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
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.
@@ -8,7 +8,7 @@ var Kt=Object.defineProperty,lo=Object.defineProperties;var co=Object.getOwnProp
8
8
  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
- `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},Ao={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},Mo={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"},wo={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},No={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"},qo={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Fo={properties:{content:{maxLength:2e3,minLength:1,type:"string"}},required:["content"],type:"object"},jo={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"},zo={properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},required:["content"],type:"object"},Bo={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},Ko={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"},$o={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Qo={properties:{active:{type:"boolean"},address:{$ref:"#/components/schemas/Address"},bookable:{type:"boolean"},currency:{type:"string"},description:{type:"string"},email:{format:"email",type:"string"},id:{type:"integer"},logo_url:{format:"uri",type:"string"},name:{type:"string"},phone_number:{type:"string"},position:{$ref:"#/components/schemas/Position"},resource_types:{items:{type:"string"},type:"array"},sports:{items:{type:"string"},type:"array"},website:{format:"uri",type:"string"}},required:["id","name","logo_url","address","position","resource_types"],type:"object"},Vo={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},result_set:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"}},required:["result_set","items"],type:"object"},Ho={properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},Yo={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"},Wo={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"},Jo={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"},Xo={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},Zo={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},ei={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},ti={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},ri={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},oi={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},ii={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"},si={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},ai={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},ni={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"},pi={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"},li={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},ci={enum:["ACTIVITY","BOOKING","MATCH"],type:"string"},ui={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"},mi={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},di={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},yi={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.
11
+ `,enum:["ADMIN","MEMBER","UNKNOWN"],type:"string"},user:{$ref:"#/components/schemas/Member"}},required:["type"],type:"object"},Ao={properties:{inapp:{type:"boolean"},push:{type:"boolean"}},required:["inapp","push"],type:"object"},Mo={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"},wo={properties:{items:{items:{$ref:"#/components/schemas/Comment"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},No={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"},qo={properties:{items:{items:{$ref:"#/components/schemas/CommunityItem"},type:"array"},meta:{$ref:"#/components/schemas/PaginationMeta"}},required:["items","meta"],type:"object"},Fo={properties:{content:{maxLength:2e3,minLength:1,type:"string"}},required:["content"],type:"object"},jo={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"},zo={description:"At least one of `content` or `links` must be provided. When `links` is\npresent and non-empty, `content` may be omitted.\n",properties:{content:{maxLength:5e3,minLength:1,type:"string"},links:{items:{$ref:"#/components/schemas/PostLink"},type:"array"}},type:"object"},Bo={properties:{authority_slug:{description:'Rating authority (defaults to "matchi" if omitted)',type:"string"},level:{type:"string"}},required:["level"],type:"object"},Ko={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"},$o={properties:{config:{items:{type:"object"},type:"array"},link:{nullable:!0,type:"string"},logo:{nullable:!0,type:"string"},name:{type:"string"}},required:["name"],type:"object"},Qo={properties:{active:{type:"boolean"},address:{$ref:"#/components/schemas/Address"},bookable:{type:"boolean"},currency:{type:"string"},description:{type:"string"},email:{format:"email",type:"string"},id:{type:"integer"},logo_url:{format:"uri",type:"string"},name:{type:"string"},phone_number:{type:"string"},position:{$ref:"#/components/schemas/Position"},resource_types:{items:{type:"string"},type:"array"},sports:{items:{type:"string"},type:"array"},website:{format:"uri",type:"string"}},required:["id","name","logo_url","address","position","resource_types"],type:"object"},Vo={properties:{items:{items:{$ref:"#/components/schemas/Facility"},type:"array"},result_set:{$ref:"#/components/schemas/pkgOpenapiSharedOffsetPaginatedResultSet"}},required:["result_set","items"],type:"object"},Ho={properties:{description:{type:"string"},image_url:{type:"string"},title:{type:"string"}},required:["title","description"],type:"object"},Yo={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"},Wo={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"},Jo={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"},Xo={properties:{courts:{items:{properties:{id:{type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},type:"array"}},required:["courts"],type:"object"},Zo={properties:{end_date:{format:"date",type:"string"},start_date:{format:"date",type:"string"}},required:["start_date","end_date"],type:"object"},ei={properties:{nr_of_hours:{type:"integer"}},required:["nr_of_hours"],type:"object"},ti={properties:{end_time:{format:"time",type:"string"},start_time:{format:"time",type:"string"}},required:["start_time","end_time"],type:"object"},ri={properties:{weekdays:{items:{description:"Interger representation of weekday. 1 (Monday), 7 (Sunday).",type:"integer"},type:"array"}},required:["weekdays"],type:"object"},oi={properties:{data:{items:{$ref:"#/components/schemas/FacilityOffer"},type:"array","x-deprecated-pagination-style":!0},meta:{$ref:"#/components/schemas/pkgOpenapiSharedCursorPaginatedResultSet"}},required:["data","meta"],type:"object"},ii={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"},si={properties:{facility_id:{type:"string"},roles:{items:{type:"string"},type:"array"},scopes:{items:{type:"string"},type:"array"}},required:["facility_id","roles","scopes"],type:"object"},ai={properties:{items:{items:{$ref:"#/components/schemas/FacilityPermission"},type:"array"}},required:["items"],type:"object"},ni={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"},pi={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"},li={enum:["MALE","FEMALE","OTHER","NOT_SPECIFIED"],type:"string"},ci={enum:["ACTIVITY","BOOKING","MATCH"],type:"string"},ui={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"},mi={properties:{currency:{type:"string"},default_price:{type:"number"},members_price:{nullable:!0,type:"number"}},required:["default_price","currency"],type:"object"},di={properties:{id:{format:"int64",type:"integer"},name:{type:"string"}},required:["id","name"],type:"object"},yi={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
12
  `},fi={nullable:!0,properties:{name:{type:"string"},supported_by:{nullable:!0,type:"string"}},type:"object"},hi={properties:{items:{items:{$ref:"#/components/schemas/Match"},type:"array"},meta:{$ref:"#/components/schemas/OffsetPaginatedResultSet"}},required:["items","meta"],type:"object"},gi={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
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:{description:"Max required skill level (1-10) with one-decimal precision.",nullable:!0,type:"number"},level_min:{description:"Min required skill level (1-10) with one-decimal precision.",nullable:!0,type:"number"},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"},bi={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
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20260527.3",
3
+ "version": "0.20260528.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {