reach-api-sdk 1.0.32 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reach-sdk.d.ts +44 -6
- package/dist/reach-sdk.js +6 -0
- package/package.json +1 -1
- package/src/definition/swagger.yaml +50 -0
- package/src/index.ts +1 -0
- package/src/models/VenueAmenityUpdate.ts +1 -1
- package/src/models/VenueManagerUpdate.ts +1 -1
- package/src/models/VenueOpeningHourUpdate.ts +26 -0
- package/src/models/VenuePatch.ts +5 -0
- package/src/services/GenericActivityService.ts +18 -0
package/dist/reach-sdk.d.ts
CHANGED
|
@@ -8482,7 +8482,11 @@ declare class GenericActivityService {
|
|
|
8482
8482
|
* @returns boolean Success
|
|
8483
8483
|
* @throws ApiError
|
|
8484
8484
|
*/
|
|
8485
|
-
exists({ venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8485
|
+
exists({ wildcard, venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8486
|
+
/**
|
|
8487
|
+
* Gets or sets the wildcard for use in a query search.
|
|
8488
|
+
*/
|
|
8489
|
+
wildcard?: string;
|
|
8486
8490
|
/**
|
|
8487
8491
|
* Gets or sets the queryable Venue Id.
|
|
8488
8492
|
*/
|
|
@@ -8557,7 +8561,11 @@ declare class GenericActivityService {
|
|
|
8557
8561
|
* @returns GenericActivityPage Success
|
|
8558
8562
|
* @throws ApiError
|
|
8559
8563
|
*/
|
|
8560
|
-
getPage({ venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8564
|
+
getPage({ wildcard, venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8565
|
+
/**
|
|
8566
|
+
* Gets or sets the wildcard for use in a query search.
|
|
8567
|
+
*/
|
|
8568
|
+
wildcard?: string;
|
|
8561
8569
|
/**
|
|
8562
8570
|
* Gets or sets the queryable Venue Id.
|
|
8563
8571
|
*/
|
|
@@ -8643,7 +8651,11 @@ declare class GenericActivityService {
|
|
|
8643
8651
|
* @returns GenericActivity Success
|
|
8644
8652
|
* @throws ApiError
|
|
8645
8653
|
*/
|
|
8646
|
-
getListIdName({ venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8654
|
+
getListIdName({ wildcard, venueId, programmeId, online, archived, deleted, activityType, includeNextOpportunity, pageNumber, take, limitListRequests, tenantId, modifiedById, modifiedByIds, dateCreatedGte, dateCreatedLte, isLive, sortOrderDirection, }: {
|
|
8655
|
+
/**
|
|
8656
|
+
* Gets or sets the wildcard for use in a query search.
|
|
8657
|
+
*/
|
|
8658
|
+
wildcard?: string;
|
|
8647
8659
|
/**
|
|
8648
8660
|
* Gets or sets the queryable Venue Id.
|
|
8649
8661
|
*/
|
|
@@ -19494,7 +19506,7 @@ type VenueAmenityUpdate = {
|
|
|
19494
19506
|
/**
|
|
19495
19507
|
* Gets or sets the amenity id.
|
|
19496
19508
|
*/
|
|
19497
|
-
id
|
|
19509
|
+
id: number;
|
|
19498
19510
|
};
|
|
19499
19511
|
|
|
19500
19512
|
/**
|
|
@@ -19504,7 +19516,29 @@ type VenueManagerUpdate = {
|
|
|
19504
19516
|
/**
|
|
19505
19517
|
* Gets or sets the manager id.
|
|
19506
19518
|
*/
|
|
19507
|
-
id
|
|
19519
|
+
id: string;
|
|
19520
|
+
};
|
|
19521
|
+
|
|
19522
|
+
/**
|
|
19523
|
+
* Patch model for venue opening hours.
|
|
19524
|
+
*/
|
|
19525
|
+
type VenueOpeningHourUpdate = {
|
|
19526
|
+
/**
|
|
19527
|
+
* Gets or sets the opening hour id.
|
|
19528
|
+
*/
|
|
19529
|
+
id: string;
|
|
19530
|
+
/**
|
|
19531
|
+
* Gets or sets the venues open time.
|
|
19532
|
+
*/
|
|
19533
|
+
openTime: string;
|
|
19534
|
+
/**
|
|
19535
|
+
* Gets or sets the venues close time.
|
|
19536
|
+
*/
|
|
19537
|
+
closeTime: string;
|
|
19538
|
+
/**
|
|
19539
|
+
* Gets or sets a value indicating whether the venue is closed.
|
|
19540
|
+
*/
|
|
19541
|
+
closed?: boolean | null;
|
|
19508
19542
|
};
|
|
19509
19543
|
|
|
19510
19544
|
/**
|
|
@@ -19596,6 +19630,10 @@ type VenuePatch = {
|
|
|
19596
19630
|
* Gets or sets the venue amenities.
|
|
19597
19631
|
*/
|
|
19598
19632
|
managers?: Array<VenueManagerUpdate> | null;
|
|
19633
|
+
/**
|
|
19634
|
+
* Gets or sets the venue amenities.
|
|
19635
|
+
*/
|
|
19636
|
+
openingHours?: Array<VenueOpeningHourUpdate> | null;
|
|
19599
19637
|
};
|
|
19600
19638
|
|
|
19601
19639
|
/**
|
|
@@ -28926,4 +28964,4 @@ type ValidationResultModel = {
|
|
|
28926
28964
|
readonly errors?: Array<ValidationError> | null;
|
|
28927
28965
|
};
|
|
28928
28966
|
|
|
28929
|
-
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmissionResponse, SurveySubmit, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueAmenityUpdate, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManagerUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
|
28967
|
+
export { Activity, ActivityService, ActivityType, AdvanceBooking, Amenity, AmenityService, ApiClient, ApiError, AppUserRole, ApplicationRole, Attendee, AttendeePage, AttendeePatch, AttendeePost, AttendeesService, AutoCompleteResponseModel, BadEnglandReportService, BaseHttpRequest, BookingService, BookingStatus, CancelError, CancelablePromise, ContactOnConfirmation, Country, CountryService, Course, CourseBookingCutoff, CoursePage, CoursePatch, CoursePost, CourseSearchSortBy, CourseSession, CourseSessionPage, CourseSessionPatch, CourseSessionPost, CourseSessionSchedule, CourseSessionSchedulePage, CourseSessionSchedulePatch, CourseSessionSchedulePost, CourseSessionSchedulesService, CourseSessionsService, CoursesService, CreateOffer, CreateQuestion, CreateQuestionOption, CreateVenue, Customer, CustomerCancellationOption, CustomerPage, CustomerPatch, CustomerPost, CustomerStats, CustomerType, CustomersService, DayOfWeek, EmailReminderSchedule, EmailReminderSchedulePage, EmailReminderSchedulePatch, EmailReminderSchedulePost, EmailReminderSchedulesService, EmailSetting, EmailSettingPage, EmailSettingPatch, EmailSettingPost, EmailSettingsService, FacilitiesService, Facility, FacilityIndividual, FacilityIndividualPage, FacilityIndividualPatch, FacilityIndividualPost, FacilityIndividualsService, FacilityIndividualsType, FacilityPage, FacilityPatch, FacilityPost, FilestackImageMetaResponseModel, FilestackService, GenericActivity, GenericActivityPage, GenericActivityPatch, GenericActivityPost, GenericActivityService, GeocodeResponseModel, GeocodeService, GooglePrediction, HereAddressDetails, HereAutoComplete, HereAutocompleteLookupService, HereLookupResults, HereMapDetails, HerePositionDetails, HttpStatusCode, IOpportunity, Image, ImagePage, ImagePatch, ImagePost, ImagesService, InviteStatus, LeasingService, LoqateGeocode, LoqatePlaceResult, LoqatePlacesService, LoqatePrediction, Northeast, NotificationQueue, NotificationQueuePage, NotificationQueuePatch, NotificationQueuePost, NotificationQueueService, NotificationSetting, NotificationSettingPage, NotificationSettingPatch, NotificationSettingPost, NotificationSettingsService, NotificationType, Offer, OfferPage, OfferPatch, OfferPost, OffersService, OpenAPI, OpenAPIConfig, OpenactiveFeedIntermediate, OpenactiveFeedIntermediatePage, OpenactiveFeedIntermediatePatch, OpenactiveFeedIntermediatePost, OpenactiveFeedIntermediateService, OpenactiveFeedItem, OpenactiveFeedItemPage, OpenactiveFeedItemPatch, OpenactiveFeedItemPost, OpenactiveFeedItemService, OpportunityRegister, OpportunityRegisterPage, OpportunityRegisterPatch, OpportunityRegisterPost, OpportunityRegisterService, OpportunityType, Order, OrderItem, OrderItemPage, OrderItemPatch, OrderItemPost, OrderItemStatus, OrderItemsService, OrderPage, OrderPatch, OrderPost, OrderPostItem, OrderRefresh, OrderSource, OrderStage, OrderToken, OrderTokenPage, OrderTokenPatch, OrderTokenPost, OrderUpdateContact, OrdersService, OrgCourseUtilisation, OrgCourseUtilisationPage, OrgCourseUtilisationPatch, OrgCourseUtilisationPost, OrgCourseUtilisationService, OrganisationApplicationFeeHandling, OrganisationAvailableChannel, OrganisationRefundPolicy, OrganisationTaxMode, OrganisationType, Pagination, PatchSurveyQuestionOption, Payment, PaymentMethod, PaymentPage, PaymentPatch, PaymentPost, PaymentsService, Permission, PermissionPage, PermissionPatch, PermissionPost, PermissionsService, PlaceDetailsResponseModel, PlaceGeometry, PlaceLocation, PlaceResult, PlaceViewport, PlacesService, PlusCode, Prepayment, Programme, ProgrammePage, ProgrammePatch, ProgrammePost, ProgrammesService, PublicBookingService, PublicCoursesService, PublicFacilitiesService, PublicHealthCheckService, PublicLeasingService, PublicOrderTokensService, PublicOrdersService, PublicProgrammesService, PublicScheduledSessionsService, PublicSessionsService, PublicSlotsService, PublicStripeWebhookService, PublicSurveyQuestionsService, PublicSurveysService, PublicTenantsService, PublicVenuesService, PublicWaitlistActivityService, PublicWaitlistOpportunityService, ReachEntity, ReachError, ReachOperation, RecentOrderActivityReport, RecentOrderActivityReportPage, RecentOrderActivityReportPatch, RecentOrderActivityReportPost, RecentOrderActivityReportService, ScheduleStatus, ScheduledSession, ScheduledSessionPage, ScheduledSessionPatch, ScheduledSessionPost, ScheduledSessionSchedule, ScheduledSessionSchedulePage, ScheduledSessionSchedulePatch, ScheduledSessionSchedulePost, ScheduledSessionSearchSortBy, ScheduledSessionsSchedulesService, ScheduledSessionsService, SearchSortOrderDirection, Session, SessionCreate, SessionGender, SessionPage, SessionPatch, SessionPost, SessionType, SessionsService, Slot, SlotAvailabilityStatus, SlotOffer, SlotOfferPage, SlotOfferPatch, SlotOfferPost, SlotOffersService, SlotPage, SlotPatch, SlotPost, SlotSchedule, SlotScheduleOffer, SlotScheduleOfferPage, SlotScheduleOfferPatch, SlotScheduleOfferPost, SlotScheduleOffersService, SlotSchedulePage, SlotSchedulePatch, SlotSchedulePost, SlotSchedulesService, SlotStatus, SlotsService, Southwest, StripeAccount, StripeAccountPage, StripeAccountPatch, StripeAccountPost, StripeAccountService, StructuredFormatting, Surface, SurfacesService, Survey, SurveyAnswer, SurveyAnswerPage, SurveyAnswerPatch, SurveyAnswerPost, SurveyAnswersService, SurveyCreate, SurveyPage, SurveyPatch, SurveyPost, SurveyQuestion, SurveyQuestionOption, SurveyQuestionPage, SurveyQuestionPatch, SurveyQuestionPost, SurveyQuestionType, SurveyQuestionsService, SurveyQuestionsTarget, SurveyReportExtended, SurveyReportExtendedPage, SurveyReportExtendedPatch, SurveyReportExtendedPost, SurveyReportExtendedService, SurveyResponseMode, SurveySubmissionModel, SurveySubmissionResponse, SurveySubmit, SurveyType, SurveysService, Tax, Tenant, TenantPage, TenantPatch, TenantPost, TenantWebsiteSetting, TenantWebsiteSettingPage, TenantWebsiteSettingPatch, TenantWebsiteSettingPost, TenantWebsiteSettingsService, TenantsService, Timezone, TimezoneService, TotalRevenueReport, TotalRevenueReportPage, TotalRevenueReportPatch, TotalRevenueReportPost, TotalRevenueReportService, UpdateEmailSettings, UpdateOffer, User, UserPage, UserPatch, UserPost, UserRole, UsersService, ValidationError, ValidationResultModel, Venue, VenueAmenityUpdate, VenueBadmintonEnglandReport, VenueBadmintonEnglandReportPage, VenueBadmintonEnglandReportPatch, VenueBadmintonEnglandReportPost, VenueCreate, VenueManagerUpdate, VenueOpeningHourUpdate, VenueOpeningHours, VenuePage, VenuePatch, VenuePost, VenuesReport, VenuesReportPage, VenuesReportPatch, VenuesReportPost, VenuesReportService, VenuesService, WaitlistActivity, WaitlistActivityPage, WaitlistActivityPatch, WaitlistActivityPost, WaitlistActivityService, WaitlistOpportunity, WaitlistOpportunityPage, WaitlistOpportunityPatch, WaitlistOpportunityPost, WaitlistOpportunityService };
|
package/dist/reach-sdk.js
CHANGED
|
@@ -4837,6 +4837,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4837
4837
|
* @throws ApiError
|
|
4838
4838
|
*/
|
|
4839
4839
|
exists({
|
|
4840
|
+
wildcard,
|
|
4840
4841
|
venueId,
|
|
4841
4842
|
programmeId,
|
|
4842
4843
|
online,
|
|
@@ -4859,6 +4860,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4859
4860
|
method: "GET",
|
|
4860
4861
|
url: "/api/all-activities/exists",
|
|
4861
4862
|
query: {
|
|
4863
|
+
Wildcard: wildcard,
|
|
4862
4864
|
VenueId: venueId,
|
|
4863
4865
|
ProgrammeId: programmeId,
|
|
4864
4866
|
Online: online,
|
|
@@ -4890,6 +4892,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4890
4892
|
* @throws ApiError
|
|
4891
4893
|
*/
|
|
4892
4894
|
getPage({
|
|
4895
|
+
wildcard,
|
|
4893
4896
|
venueId,
|
|
4894
4897
|
programmeId,
|
|
4895
4898
|
online,
|
|
@@ -4912,6 +4915,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4912
4915
|
method: "GET",
|
|
4913
4916
|
url: "/api/all-activities",
|
|
4914
4917
|
query: {
|
|
4918
|
+
Wildcard: wildcard,
|
|
4915
4919
|
VenueId: venueId,
|
|
4916
4920
|
ProgrammeId: programmeId,
|
|
4917
4921
|
Online: online,
|
|
@@ -4963,6 +4967,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4963
4967
|
* @throws ApiError
|
|
4964
4968
|
*/
|
|
4965
4969
|
getListIdName({
|
|
4970
|
+
wildcard,
|
|
4966
4971
|
venueId,
|
|
4967
4972
|
programmeId,
|
|
4968
4973
|
online,
|
|
@@ -4985,6 +4990,7 @@ const request = (config, options, axiosClient = axios) => {
|
|
|
4985
4990
|
method: "GET",
|
|
4986
4991
|
url: "/api/all-activities/id-name",
|
|
4987
4992
|
query: {
|
|
4993
|
+
Wildcard: wildcard,
|
|
4988
4994
|
VenueId: venueId,
|
|
4989
4995
|
ProgrammeId: programmeId,
|
|
4990
4996
|
Online: online,
|
package/package.json
CHANGED
|
@@ -13395,6 +13395,11 @@ paths:
|
|
|
13395
13395
|
summary: Returns a value indicating whether the resource exists in the database given the provided search params.
|
|
13396
13396
|
operationId: Exists
|
|
13397
13397
|
parameters:
|
|
13398
|
+
- name: Wildcard
|
|
13399
|
+
in: query
|
|
13400
|
+
description: Gets or sets the wildcard for use in a query search.
|
|
13401
|
+
schema:
|
|
13402
|
+
type: string
|
|
13398
13403
|
- name: VenueId
|
|
13399
13404
|
in: query
|
|
13400
13405
|
description: Gets or sets the queryable Venue Id.
|
|
@@ -13547,6 +13552,11 @@ paths:
|
|
|
13547
13552
|
summary: Gets a list of resources.
|
|
13548
13553
|
operationId: GetPage
|
|
13549
13554
|
parameters:
|
|
13555
|
+
- name: Wildcard
|
|
13556
|
+
in: query
|
|
13557
|
+
description: Gets or sets the wildcard for use in a query search.
|
|
13558
|
+
schema:
|
|
13559
|
+
type: string
|
|
13550
13560
|
- name: VenueId
|
|
13551
13561
|
in: query
|
|
13552
13562
|
description: Gets or sets the queryable Venue Id.
|
|
@@ -13755,6 +13765,11 @@ paths:
|
|
|
13755
13765
|
summary: Gets a list of resources.
|
|
13756
13766
|
operationId: GetListIdName
|
|
13757
13767
|
parameters:
|
|
13768
|
+
- name: Wildcard
|
|
13769
|
+
in: query
|
|
13770
|
+
description: Gets or sets the wildcard for use in a query search.
|
|
13771
|
+
schema:
|
|
13772
|
+
type: string
|
|
13758
13773
|
- name: VenueId
|
|
13759
13774
|
in: query
|
|
13760
13775
|
description: Gets or sets the queryable Venue Id.
|
|
@@ -74717,6 +74732,8 @@ components:
|
|
|
74717
74732
|
additionalProperties: false
|
|
74718
74733
|
description: Represents a Venue within the Reach application.
|
|
74719
74734
|
VenueAmenityUpdate:
|
|
74735
|
+
required:
|
|
74736
|
+
- id
|
|
74720
74737
|
type: object
|
|
74721
74738
|
properties:
|
|
74722
74739
|
id:
|
|
@@ -74923,6 +74940,8 @@ components:
|
|
|
74923
74940
|
additionalProperties: false
|
|
74924
74941
|
description: Post model for venue inserts.
|
|
74925
74942
|
VenueManagerUpdate:
|
|
74943
|
+
required:
|
|
74944
|
+
- id
|
|
74926
74945
|
type: object
|
|
74927
74946
|
properties:
|
|
74928
74947
|
id:
|
|
@@ -74931,6 +74950,31 @@ components:
|
|
|
74931
74950
|
format: uuid
|
|
74932
74951
|
additionalProperties: false
|
|
74933
74952
|
description: Patch model for venue managers.
|
|
74953
|
+
VenueOpeningHourUpdate:
|
|
74954
|
+
required:
|
|
74955
|
+
- closeTime
|
|
74956
|
+
- id
|
|
74957
|
+
- openTime
|
|
74958
|
+
type: object
|
|
74959
|
+
properties:
|
|
74960
|
+
id:
|
|
74961
|
+
type: string
|
|
74962
|
+
description: Gets or sets the opening hour id.
|
|
74963
|
+
format: uuid
|
|
74964
|
+
openTime:
|
|
74965
|
+
minLength: 1
|
|
74966
|
+
type: string
|
|
74967
|
+
description: Gets or sets the venues open time.
|
|
74968
|
+
closeTime:
|
|
74969
|
+
minLength: 1
|
|
74970
|
+
type: string
|
|
74971
|
+
description: Gets or sets the venues close time.
|
|
74972
|
+
closed:
|
|
74973
|
+
type: boolean
|
|
74974
|
+
description: Gets or sets a value indicating whether the venue is closed.
|
|
74975
|
+
nullable: true
|
|
74976
|
+
additionalProperties: false
|
|
74977
|
+
description: Patch model for venue opening hours.
|
|
74934
74978
|
VenueOpeningHours:
|
|
74935
74979
|
required:
|
|
74936
74980
|
- dateCreated
|
|
@@ -75097,6 +75141,12 @@ components:
|
|
|
75097
75141
|
$ref: '#/components/schemas/VenueManagerUpdate'
|
|
75098
75142
|
description: Gets or sets the venue amenities.
|
|
75099
75143
|
nullable: true
|
|
75144
|
+
openingHours:
|
|
75145
|
+
type: array
|
|
75146
|
+
items:
|
|
75147
|
+
$ref: '#/components/schemas/VenueOpeningHourUpdate'
|
|
75148
|
+
description: Gets or sets the venue amenities.
|
|
75149
|
+
nullable: true
|
|
75100
75150
|
additionalProperties: false
|
|
75101
75151
|
description: Post model for venue updates.
|
|
75102
75152
|
VenuePost:
|
package/src/index.ts
CHANGED
|
@@ -272,6 +272,7 @@ export type { VenueBadmintonEnglandReportPost } from './models/VenueBadmintonEng
|
|
|
272
272
|
export type { VenueCreate } from './models/VenueCreate';
|
|
273
273
|
export type { VenueManagerUpdate } from './models/VenueManagerUpdate';
|
|
274
274
|
export type { VenueOpeningHours } from './models/VenueOpeningHours';
|
|
275
|
+
export type { VenueOpeningHourUpdate } from './models/VenueOpeningHourUpdate';
|
|
275
276
|
export type { VenuePage } from './models/VenuePage';
|
|
276
277
|
export type { VenuePatch } from './models/VenuePatch';
|
|
277
278
|
export type { VenuePost } from './models/VenuePost';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Patch model for venue opening hours.
|
|
8
|
+
*/
|
|
9
|
+
export type VenueOpeningHourUpdate = {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the opening hour id.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the venues open time.
|
|
16
|
+
*/
|
|
17
|
+
openTime: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the venues close time.
|
|
20
|
+
*/
|
|
21
|
+
closeTime: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets a value indicating whether the venue is closed.
|
|
24
|
+
*/
|
|
25
|
+
closed?: boolean | null;
|
|
26
|
+
};
|
package/src/models/VenuePatch.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { UpdateEmailSettings } from './UpdateEmailSettings';
|
|
7
7
|
import type { VenueAmenityUpdate } from './VenueAmenityUpdate';
|
|
8
8
|
import type { VenueManagerUpdate } from './VenueManagerUpdate';
|
|
9
|
+
import type { VenueOpeningHourUpdate } from './VenueOpeningHourUpdate';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Post model for venue updates.
|
|
@@ -96,4 +97,8 @@ export type VenuePatch = {
|
|
|
96
97
|
* Gets or sets the venue amenities.
|
|
97
98
|
*/
|
|
98
99
|
managers?: Array<VenueManagerUpdate> | null;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets the venue amenities.
|
|
102
|
+
*/
|
|
103
|
+
openingHours?: Array<VenueOpeningHourUpdate> | null;
|
|
99
104
|
};
|
|
@@ -75,6 +75,7 @@ export class GenericActivityService {
|
|
|
75
75
|
* @throws ApiError
|
|
76
76
|
*/
|
|
77
77
|
public exists({
|
|
78
|
+
wildcard,
|
|
78
79
|
venueId,
|
|
79
80
|
programmeId,
|
|
80
81
|
online,
|
|
@@ -93,6 +94,10 @@ export class GenericActivityService {
|
|
|
93
94
|
isLive,
|
|
94
95
|
sortOrderDirection,
|
|
95
96
|
}: {
|
|
97
|
+
/**
|
|
98
|
+
* Gets or sets the wildcard for use in a query search.
|
|
99
|
+
*/
|
|
100
|
+
wildcard?: string;
|
|
96
101
|
/**
|
|
97
102
|
* Gets or sets the queryable Venue Id.
|
|
98
103
|
*/
|
|
@@ -166,6 +171,7 @@ export class GenericActivityService {
|
|
|
166
171
|
method: 'GET',
|
|
167
172
|
url: '/api/all-activities/exists',
|
|
168
173
|
query: {
|
|
174
|
+
Wildcard: wildcard,
|
|
169
175
|
VenueId: venueId,
|
|
170
176
|
ProgrammeId: programmeId,
|
|
171
177
|
Online: online,
|
|
@@ -198,6 +204,7 @@ export class GenericActivityService {
|
|
|
198
204
|
* @throws ApiError
|
|
199
205
|
*/
|
|
200
206
|
public getPage({
|
|
207
|
+
wildcard,
|
|
201
208
|
venueId,
|
|
202
209
|
programmeId,
|
|
203
210
|
online,
|
|
@@ -216,6 +223,10 @@ export class GenericActivityService {
|
|
|
216
223
|
isLive,
|
|
217
224
|
sortOrderDirection,
|
|
218
225
|
}: {
|
|
226
|
+
/**
|
|
227
|
+
* Gets or sets the wildcard for use in a query search.
|
|
228
|
+
*/
|
|
229
|
+
wildcard?: string;
|
|
219
230
|
/**
|
|
220
231
|
* Gets or sets the queryable Venue Id.
|
|
221
232
|
*/
|
|
@@ -289,6 +300,7 @@ export class GenericActivityService {
|
|
|
289
300
|
method: 'GET',
|
|
290
301
|
url: '/api/all-activities',
|
|
291
302
|
query: {
|
|
303
|
+
Wildcard: wildcard,
|
|
292
304
|
VenueId: venueId,
|
|
293
305
|
ProgrammeId: programmeId,
|
|
294
306
|
Online: online,
|
|
@@ -347,6 +359,7 @@ export class GenericActivityService {
|
|
|
347
359
|
* @throws ApiError
|
|
348
360
|
*/
|
|
349
361
|
public getListIdName({
|
|
362
|
+
wildcard,
|
|
350
363
|
venueId,
|
|
351
364
|
programmeId,
|
|
352
365
|
online,
|
|
@@ -365,6 +378,10 @@ export class GenericActivityService {
|
|
|
365
378
|
isLive,
|
|
366
379
|
sortOrderDirection,
|
|
367
380
|
}: {
|
|
381
|
+
/**
|
|
382
|
+
* Gets or sets the wildcard for use in a query search.
|
|
383
|
+
*/
|
|
384
|
+
wildcard?: string;
|
|
368
385
|
/**
|
|
369
386
|
* Gets or sets the queryable Venue Id.
|
|
370
387
|
*/
|
|
@@ -438,6 +455,7 @@ export class GenericActivityService {
|
|
|
438
455
|
method: 'GET',
|
|
439
456
|
url: '/api/all-activities/id-name',
|
|
440
457
|
query: {
|
|
458
|
+
Wildcard: wildcard,
|
|
441
459
|
VenueId: venueId,
|
|
442
460
|
ProgrammeId: programmeId,
|
|
443
461
|
Online: online,
|