@tennac-booking/sdk 1.0.302 → 1.0.303
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/.openapi-generator/FILES +6 -1
- package/README.md +7 -0
- package/api.ts +484 -12
- package/dist/api.d.ts +385 -12
- package/dist/api.js +170 -2
- package/dist/esm/api.d.ts +385 -12
- package/dist/esm/api.js +164 -0
- package/docs/BookingGuestCheckinResponse.md +26 -0
- package/docs/BookingPopulated.md +4 -0
- package/docs/BookingSummary.md +4 -0
- package/docs/BookingsStaffApi.md +52 -0
- package/docs/ErrorResponse.md +28 -0
- package/docs/EstimateEventPriceRequest.md +0 -2
- package/docs/EstimateEventPriceResponse.md +0 -2
- package/docs/EventBookingDetailResponseBooking.md +4 -0
- package/docs/EventBookingGuestCheckinResponse.md +26 -0
- package/docs/EventBookingsStaffApi.md +62 -0
- package/docs/JoinEventRequest.md +2 -0
- package/docs/PaymentCoverageResult.md +40 -0
- package/docs/PaymentDistributionResult.md +32 -0
- package/docs/StaffEventBookingResponse.md +4 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -25,8 +25,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.OnboardingStatusResponseCurrentStepEnum = exports.NotificationType = exports.NotificationTargetPreviewTypeEnum = exports.NotificationActorType = exports.NoShowPreviewIneligibleReason = exports.ManagerConsoleInvoiceResponseFlagEnum = exports.ManagerConsoleInvoiceResponsePaymentProviderEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.EventBookingDetailSummaryUserParticipationStatusEnum = exports.EventBookingDetailEventSummaryParticipationTypeEnum = exports.EventBookingDetailEventSummaryRecurringTypeEnum = exports.EventBookingDetailEventSummaryTypeEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.CourtEnvironment = exports.ClubType = exports.ClubRoleResponseRoleEnum = exports.ClubOnboardingActionConnectAccountStatusEnum = exports.ClubDashboardTaskStatus = exports.ClubDashboardTaskKey = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
26
|
exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.SupportedLanguage = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffEventSeriesContextRecurringTypeEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = void 0;
|
|
27
27
|
exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsMobileApi = exports.SubscriptionsMobileApiFactory = exports.SubscriptionsMobileApiFp = exports.SubscriptionsMobileApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = void 0;
|
|
28
|
+
exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.PaymentsStaffApi = exports.PaymentsStaffApiFactory = exports.PaymentsStaffApiFp = exports.PaymentsStaffApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetEventSeriesForStaffStatusEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.EventBookingsStaffApi = exports.EventBookingsStaffApiFactory = exports.EventBookingsStaffApiFp = exports.EventBookingsStaffApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SumUpManagerApi = exports.SumUpManagerApiFactory = exports.SumUpManagerApiFp = exports.SumUpManagerApiAxiosParamCreator = exports.SumUpApi = exports.SumUpApiFactory = exports.SumUpApiFp = exports.SumUpApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsMobileApi = exports.SubscriptionsMobileApiFactory = exports.SubscriptionsMobileApiFp = exports.SubscriptionsMobileApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -1721,6 +1721,37 @@ exports.BookingsManagerApi = BookingsManagerApi;
|
|
|
1721
1721
|
*/
|
|
1722
1722
|
const BookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
1723
1723
|
return {
|
|
1724
|
+
/**
|
|
1725
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
1726
|
+
* @param {string} bookingId
|
|
1727
|
+
* @param {*} [options] Override http request option.
|
|
1728
|
+
* @throws {RequiredError}
|
|
1729
|
+
*/
|
|
1730
|
+
bookingGuestCheckin: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
|
|
1731
|
+
// verify required parameter 'bookingId' is not null or undefined
|
|
1732
|
+
(0, common_1.assertParamExists)('bookingGuestCheckin', 'bookingId', bookingId);
|
|
1733
|
+
const localVarPath = `/api/bookings/{bookingId}/guest-checkin`
|
|
1734
|
+
.replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
|
|
1735
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1736
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1737
|
+
let baseOptions;
|
|
1738
|
+
if (configuration) {
|
|
1739
|
+
baseOptions = configuration.baseOptions;
|
|
1740
|
+
}
|
|
1741
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1742
|
+
const localVarHeaderParameter = {};
|
|
1743
|
+
const localVarQueryParameter = {};
|
|
1744
|
+
// authentication bearerAuth required
|
|
1745
|
+
// http bearer authentication required
|
|
1746
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1747
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1749
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1750
|
+
return {
|
|
1751
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1752
|
+
options: localVarRequestOptions,
|
|
1753
|
+
};
|
|
1754
|
+
}),
|
|
1724
1755
|
/**
|
|
1725
1756
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
1726
1757
|
* @param {string} bookingId
|
|
@@ -2099,6 +2130,21 @@ exports.BookingsStaffApiAxiosParamCreator = BookingsStaffApiAxiosParamCreator;
|
|
|
2099
2130
|
const BookingsStaffApiFp = function (configuration) {
|
|
2100
2131
|
const localVarAxiosParamCreator = (0, exports.BookingsStaffApiAxiosParamCreator)(configuration);
|
|
2101
2132
|
return {
|
|
2133
|
+
/**
|
|
2134
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
2135
|
+
* @param {string} bookingId
|
|
2136
|
+
* @param {*} [options] Override http request option.
|
|
2137
|
+
* @throws {RequiredError}
|
|
2138
|
+
*/
|
|
2139
|
+
bookingGuestCheckin(bookingId, options) {
|
|
2140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2141
|
+
var _a, _b, _c;
|
|
2142
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bookingGuestCheckin(bookingId, options);
|
|
2143
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2144
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BookingsStaffApi.bookingGuestCheckin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2145
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2146
|
+
});
|
|
2147
|
+
},
|
|
2102
2148
|
/**
|
|
2103
2149
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
2104
2150
|
* @param {string} bookingId
|
|
@@ -2280,6 +2326,15 @@ exports.BookingsStaffApiFp = BookingsStaffApiFp;
|
|
|
2280
2326
|
const BookingsStaffApiFactory = function (configuration, basePath, axios) {
|
|
2281
2327
|
const localVarFp = (0, exports.BookingsStaffApiFp)(configuration);
|
|
2282
2328
|
return {
|
|
2329
|
+
/**
|
|
2330
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
2331
|
+
* @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
2332
|
+
* @param {*} [options] Override http request option.
|
|
2333
|
+
* @throws {RequiredError}
|
|
2334
|
+
*/
|
|
2335
|
+
bookingGuestCheckin(requestParameters, options) {
|
|
2336
|
+
return localVarFp.bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(axios, basePath));
|
|
2337
|
+
},
|
|
2283
2338
|
/**
|
|
2284
2339
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
2285
2340
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
@@ -2389,6 +2444,16 @@ exports.BookingsStaffApiFactory = BookingsStaffApiFactory;
|
|
|
2389
2444
|
* @extends {BaseAPI}
|
|
2390
2445
|
*/
|
|
2391
2446
|
class BookingsStaffApi extends base_1.BaseAPI {
|
|
2447
|
+
/**
|
|
2448
|
+
* Check-in d\'un invité sans compte (paiement sur place)
|
|
2449
|
+
* @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
2450
|
+
* @param {*} [options] Override http request option.
|
|
2451
|
+
* @throws {RequiredError}
|
|
2452
|
+
* @memberof BookingsStaffApi
|
|
2453
|
+
*/
|
|
2454
|
+
bookingGuestCheckin(requestParameters, options) {
|
|
2455
|
+
return (0, exports.BookingsStaffApiFp)(this.configuration).bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
|
|
2456
|
+
}
|
|
2392
2457
|
/**
|
|
2393
2458
|
* Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
|
|
2394
2459
|
* @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
|
|
@@ -10490,6 +10555,109 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
10490
10555
|
}
|
|
10491
10556
|
}
|
|
10492
10557
|
exports.DefaultApi = DefaultApi;
|
|
10558
|
+
/**
|
|
10559
|
+
* EventBookingsStaffApi - axios parameter creator
|
|
10560
|
+
* @export
|
|
10561
|
+
*/
|
|
10562
|
+
const EventBookingsStaffApiAxiosParamCreator = function (configuration) {
|
|
10563
|
+
return {
|
|
10564
|
+
/**
|
|
10565
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
10566
|
+
* @param {string} eventBookingId
|
|
10567
|
+
* @param {*} [options] Override http request option.
|
|
10568
|
+
* @throws {RequiredError}
|
|
10569
|
+
*/
|
|
10570
|
+
eventBookingGuestCheckin: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
|
|
10571
|
+
// verify required parameter 'eventBookingId' is not null or undefined
|
|
10572
|
+
(0, common_1.assertParamExists)('eventBookingGuestCheckin', 'eventBookingId', eventBookingId);
|
|
10573
|
+
const localVarPath = `/api/event-bookings/{eventBookingId}/guest-checkin`
|
|
10574
|
+
.replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
|
|
10575
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10576
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10577
|
+
let baseOptions;
|
|
10578
|
+
if (configuration) {
|
|
10579
|
+
baseOptions = configuration.baseOptions;
|
|
10580
|
+
}
|
|
10581
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
10582
|
+
const localVarHeaderParameter = {};
|
|
10583
|
+
const localVarQueryParameter = {};
|
|
10584
|
+
// authentication bearerAuth required
|
|
10585
|
+
// http bearer authentication required
|
|
10586
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10587
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10588
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10589
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10590
|
+
return {
|
|
10591
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10592
|
+
options: localVarRequestOptions,
|
|
10593
|
+
};
|
|
10594
|
+
}),
|
|
10595
|
+
};
|
|
10596
|
+
};
|
|
10597
|
+
exports.EventBookingsStaffApiAxiosParamCreator = EventBookingsStaffApiAxiosParamCreator;
|
|
10598
|
+
/**
|
|
10599
|
+
* EventBookingsStaffApi - functional programming interface
|
|
10600
|
+
* @export
|
|
10601
|
+
*/
|
|
10602
|
+
const EventBookingsStaffApiFp = function (configuration) {
|
|
10603
|
+
const localVarAxiosParamCreator = (0, exports.EventBookingsStaffApiAxiosParamCreator)(configuration);
|
|
10604
|
+
return {
|
|
10605
|
+
/**
|
|
10606
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
10607
|
+
* @param {string} eventBookingId
|
|
10608
|
+
* @param {*} [options] Override http request option.
|
|
10609
|
+
* @throws {RequiredError}
|
|
10610
|
+
*/
|
|
10611
|
+
eventBookingGuestCheckin(eventBookingId, options) {
|
|
10612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10613
|
+
var _a, _b, _c;
|
|
10614
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.eventBookingGuestCheckin(eventBookingId, options);
|
|
10615
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10616
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventBookingsStaffApi.eventBookingGuestCheckin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10617
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10618
|
+
});
|
|
10619
|
+
},
|
|
10620
|
+
};
|
|
10621
|
+
};
|
|
10622
|
+
exports.EventBookingsStaffApiFp = EventBookingsStaffApiFp;
|
|
10623
|
+
/**
|
|
10624
|
+
* EventBookingsStaffApi - factory interface
|
|
10625
|
+
* @export
|
|
10626
|
+
*/
|
|
10627
|
+
const EventBookingsStaffApiFactory = function (configuration, basePath, axios) {
|
|
10628
|
+
const localVarFp = (0, exports.EventBookingsStaffApiFp)(configuration);
|
|
10629
|
+
return {
|
|
10630
|
+
/**
|
|
10631
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
10632
|
+
* @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
10633
|
+
* @param {*} [options] Override http request option.
|
|
10634
|
+
* @throws {RequiredError}
|
|
10635
|
+
*/
|
|
10636
|
+
eventBookingGuestCheckin(requestParameters, options) {
|
|
10637
|
+
return localVarFp.eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
|
|
10638
|
+
},
|
|
10639
|
+
};
|
|
10640
|
+
};
|
|
10641
|
+
exports.EventBookingsStaffApiFactory = EventBookingsStaffApiFactory;
|
|
10642
|
+
/**
|
|
10643
|
+
* EventBookingsStaffApi - object-oriented interface
|
|
10644
|
+
* @export
|
|
10645
|
+
* @class EventBookingsStaffApi
|
|
10646
|
+
* @extends {BaseAPI}
|
|
10647
|
+
*/
|
|
10648
|
+
class EventBookingsStaffApi extends base_1.BaseAPI {
|
|
10649
|
+
/**
|
|
10650
|
+
* Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
|
|
10651
|
+
* @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
|
|
10652
|
+
* @param {*} [options] Override http request option.
|
|
10653
|
+
* @throws {RequiredError}
|
|
10654
|
+
* @memberof EventBookingsStaffApi
|
|
10655
|
+
*/
|
|
10656
|
+
eventBookingGuestCheckin(requestParameters, options) {
|
|
10657
|
+
return (0, exports.EventBookingsStaffApiFp)(this.configuration).eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
|
|
10658
|
+
}
|
|
10659
|
+
}
|
|
10660
|
+
exports.EventBookingsStaffApi = EventBookingsStaffApi;
|
|
10493
10661
|
/**
|
|
10494
10662
|
* EventsApi - axios parameter creator
|
|
10495
10663
|
* @export
|