@tennac-booking/sdk 1.0.193 → 1.0.194
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 -0
- package/README.md +13 -0
- package/api.ts +813 -61
- package/dist/api.d.ts +463 -0
- package/dist/api.js +525 -4
- package/dist/esm/api.d.ts +463 -0
- package/dist/esm/api.js +517 -0
- package/docs/Health200Response.md +22 -0
- package/docs/JobResult.md +24 -0
- package/docs/JobsApi.md +322 -0
- package/docs/WaitListEntryWithPlayer.md +44 -0
- package/docs/WaitListPlayer.md +28 -0
- package/docs/WaitListPlayersListResponse.md +22 -0
- package/docs/WaitListStaffApi.md +55 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -23,10 +23,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
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.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = 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.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = void 0;
|
|
26
|
+
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 = 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 = void 0;
|
|
27
|
+
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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = 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 = void 0;
|
|
28
|
+
exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = 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.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -430,6 +430,11 @@ exports.VisibilityType = {
|
|
|
430
430
|
Private: 'private',
|
|
431
431
|
Invitation: 'invitation'
|
|
432
432
|
};
|
|
433
|
+
exports.WaitListEntryWithPlayerTargetTypeEnum = {
|
|
434
|
+
Event: 'event',
|
|
435
|
+
Booking: 'booking',
|
|
436
|
+
EventBooking: 'event_booking'
|
|
437
|
+
};
|
|
433
438
|
exports.WaitListResponseTargetTypeEnum = {
|
|
434
439
|
Event: 'event',
|
|
435
440
|
Booking: 'booking',
|
|
@@ -11725,6 +11730,457 @@ class ImagesApi extends base_1.BaseAPI {
|
|
|
11725
11730
|
}
|
|
11726
11731
|
}
|
|
11727
11732
|
exports.ImagesApi = ImagesApi;
|
|
11733
|
+
/**
|
|
11734
|
+
* JobsApi - axios parameter creator
|
|
11735
|
+
* @export
|
|
11736
|
+
*/
|
|
11737
|
+
const JobsApiAxiosParamCreator = function (configuration) {
|
|
11738
|
+
return {
|
|
11739
|
+
/**
|
|
11740
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
11741
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
11742
|
+
* @param {*} [options] Override http request option.
|
|
11743
|
+
* @throws {RequiredError}
|
|
11744
|
+
*/
|
|
11745
|
+
captureExpiringAuthorizations: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11746
|
+
const localVarPath = `/api/jobs/capture-expiring-authorizations`;
|
|
11747
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11748
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11749
|
+
let baseOptions;
|
|
11750
|
+
if (configuration) {
|
|
11751
|
+
baseOptions = configuration.baseOptions;
|
|
11752
|
+
}
|
|
11753
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11754
|
+
const localVarHeaderParameter = {};
|
|
11755
|
+
const localVarQueryParameter = {};
|
|
11756
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11757
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11758
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11759
|
+
return {
|
|
11760
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11761
|
+
options: localVarRequestOptions,
|
|
11762
|
+
};
|
|
11763
|
+
}),
|
|
11764
|
+
/**
|
|
11765
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
11766
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
11767
|
+
* @param {*} [options] Override http request option.
|
|
11768
|
+
* @throws {RequiredError}
|
|
11769
|
+
*/
|
|
11770
|
+
capturePastReservations: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11771
|
+
const localVarPath = `/api/jobs/capture-past-reservations`;
|
|
11772
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11773
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11774
|
+
let baseOptions;
|
|
11775
|
+
if (configuration) {
|
|
11776
|
+
baseOptions = configuration.baseOptions;
|
|
11777
|
+
}
|
|
11778
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11779
|
+
const localVarHeaderParameter = {};
|
|
11780
|
+
const localVarQueryParameter = {};
|
|
11781
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11783
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11784
|
+
return {
|
|
11785
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11786
|
+
options: localVarRequestOptions,
|
|
11787
|
+
};
|
|
11788
|
+
}),
|
|
11789
|
+
/**
|
|
11790
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
11791
|
+
* @summary Expire les réservations en attente de paiement
|
|
11792
|
+
* @param {*} [options] Override http request option.
|
|
11793
|
+
* @throws {RequiredError}
|
|
11794
|
+
*/
|
|
11795
|
+
expireBookingWaitingPayments: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11796
|
+
const localVarPath = `/api/jobs/expire-booking-waiting-payments`;
|
|
11797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11798
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11799
|
+
let baseOptions;
|
|
11800
|
+
if (configuration) {
|
|
11801
|
+
baseOptions = configuration.baseOptions;
|
|
11802
|
+
}
|
|
11803
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11804
|
+
const localVarHeaderParameter = {};
|
|
11805
|
+
const localVarQueryParameter = {};
|
|
11806
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11807
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11808
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11809
|
+
return {
|
|
11810
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11811
|
+
options: localVarRequestOptions,
|
|
11812
|
+
};
|
|
11813
|
+
}),
|
|
11814
|
+
/**
|
|
11815
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
11816
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
11817
|
+
* @param {*} [options] Override http request option.
|
|
11818
|
+
* @throws {RequiredError}
|
|
11819
|
+
*/
|
|
11820
|
+
expireWaitlistPayments: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11821
|
+
const localVarPath = `/api/jobs/expire-waitlist-payments`;
|
|
11822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11823
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11824
|
+
let baseOptions;
|
|
11825
|
+
if (configuration) {
|
|
11826
|
+
baseOptions = configuration.baseOptions;
|
|
11827
|
+
}
|
|
11828
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11829
|
+
const localVarHeaderParameter = {};
|
|
11830
|
+
const localVarQueryParameter = {};
|
|
11831
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11833
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11834
|
+
return {
|
|
11835
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11836
|
+
options: localVarRequestOptions,
|
|
11837
|
+
};
|
|
11838
|
+
}),
|
|
11839
|
+
/**
|
|
11840
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
11841
|
+
* @summary Health check pour les jobs
|
|
11842
|
+
* @param {*} [options] Override http request option.
|
|
11843
|
+
* @throws {RequiredError}
|
|
11844
|
+
*/
|
|
11845
|
+
health: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11846
|
+
const localVarPath = `/api/jobs/health`;
|
|
11847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11848
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11849
|
+
let baseOptions;
|
|
11850
|
+
if (configuration) {
|
|
11851
|
+
baseOptions = configuration.baseOptions;
|
|
11852
|
+
}
|
|
11853
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11854
|
+
const localVarHeaderParameter = {};
|
|
11855
|
+
const localVarQueryParameter = {};
|
|
11856
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11857
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11858
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11859
|
+
return {
|
|
11860
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11861
|
+
options: localVarRequestOptions,
|
|
11862
|
+
};
|
|
11863
|
+
}),
|
|
11864
|
+
/**
|
|
11865
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
11866
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
11867
|
+
* @param {*} [options] Override http request option.
|
|
11868
|
+
* @throws {RequiredError}
|
|
11869
|
+
*/
|
|
11870
|
+
maintainSlots: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11871
|
+
const localVarPath = `/api/jobs/maintain-slots`;
|
|
11872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11873
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11874
|
+
let baseOptions;
|
|
11875
|
+
if (configuration) {
|
|
11876
|
+
baseOptions = configuration.baseOptions;
|
|
11877
|
+
}
|
|
11878
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11879
|
+
const localVarHeaderParameter = {};
|
|
11880
|
+
const localVarQueryParameter = {};
|
|
11881
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11882
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11883
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11884
|
+
return {
|
|
11885
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11886
|
+
options: localVarRequestOptions,
|
|
11887
|
+
};
|
|
11888
|
+
}),
|
|
11889
|
+
/**
|
|
11890
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
11891
|
+
* @summary Libère les anciennes réservations terminées
|
|
11892
|
+
* @param {*} [options] Override http request option.
|
|
11893
|
+
* @throws {RequiredError}
|
|
11894
|
+
*/
|
|
11895
|
+
releaseOldBookings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
11896
|
+
const localVarPath = `/api/jobs/release-old-bookings`;
|
|
11897
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11898
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11899
|
+
let baseOptions;
|
|
11900
|
+
if (configuration) {
|
|
11901
|
+
baseOptions = configuration.baseOptions;
|
|
11902
|
+
}
|
|
11903
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11904
|
+
const localVarHeaderParameter = {};
|
|
11905
|
+
const localVarQueryParameter = {};
|
|
11906
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11907
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11908
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11909
|
+
return {
|
|
11910
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11911
|
+
options: localVarRequestOptions,
|
|
11912
|
+
};
|
|
11913
|
+
}),
|
|
11914
|
+
};
|
|
11915
|
+
};
|
|
11916
|
+
exports.JobsApiAxiosParamCreator = JobsApiAxiosParamCreator;
|
|
11917
|
+
/**
|
|
11918
|
+
* JobsApi - functional programming interface
|
|
11919
|
+
* @export
|
|
11920
|
+
*/
|
|
11921
|
+
const JobsApiFp = function (configuration) {
|
|
11922
|
+
const localVarAxiosParamCreator = (0, exports.JobsApiAxiosParamCreator)(configuration);
|
|
11923
|
+
return {
|
|
11924
|
+
/**
|
|
11925
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
11926
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
11927
|
+
* @param {*} [options] Override http request option.
|
|
11928
|
+
* @throws {RequiredError}
|
|
11929
|
+
*/
|
|
11930
|
+
captureExpiringAuthorizations(options) {
|
|
11931
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11932
|
+
var _a, _b, _c;
|
|
11933
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.captureExpiringAuthorizations(options);
|
|
11934
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11935
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.captureExpiringAuthorizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11936
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11937
|
+
});
|
|
11938
|
+
},
|
|
11939
|
+
/**
|
|
11940
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
11941
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
11942
|
+
* @param {*} [options] Override http request option.
|
|
11943
|
+
* @throws {RequiredError}
|
|
11944
|
+
*/
|
|
11945
|
+
capturePastReservations(options) {
|
|
11946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11947
|
+
var _a, _b, _c;
|
|
11948
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.capturePastReservations(options);
|
|
11949
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11950
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.capturePastReservations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11951
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11952
|
+
});
|
|
11953
|
+
},
|
|
11954
|
+
/**
|
|
11955
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
11956
|
+
* @summary Expire les réservations en attente de paiement
|
|
11957
|
+
* @param {*} [options] Override http request option.
|
|
11958
|
+
* @throws {RequiredError}
|
|
11959
|
+
*/
|
|
11960
|
+
expireBookingWaitingPayments(options) {
|
|
11961
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11962
|
+
var _a, _b, _c;
|
|
11963
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.expireBookingWaitingPayments(options);
|
|
11964
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11965
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.expireBookingWaitingPayments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11966
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11967
|
+
});
|
|
11968
|
+
},
|
|
11969
|
+
/**
|
|
11970
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
11971
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
11972
|
+
* @param {*} [options] Override http request option.
|
|
11973
|
+
* @throws {RequiredError}
|
|
11974
|
+
*/
|
|
11975
|
+
expireWaitlistPayments(options) {
|
|
11976
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11977
|
+
var _a, _b, _c;
|
|
11978
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.expireWaitlistPayments(options);
|
|
11979
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11980
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.expireWaitlistPayments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11981
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11982
|
+
});
|
|
11983
|
+
},
|
|
11984
|
+
/**
|
|
11985
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
11986
|
+
* @summary Health check pour les jobs
|
|
11987
|
+
* @param {*} [options] Override http request option.
|
|
11988
|
+
* @throws {RequiredError}
|
|
11989
|
+
*/
|
|
11990
|
+
health(options) {
|
|
11991
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11992
|
+
var _a, _b, _c;
|
|
11993
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.health(options);
|
|
11994
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11995
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.health']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11996
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11997
|
+
});
|
|
11998
|
+
},
|
|
11999
|
+
/**
|
|
12000
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
12001
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
12002
|
+
* @param {*} [options] Override http request option.
|
|
12003
|
+
* @throws {RequiredError}
|
|
12004
|
+
*/
|
|
12005
|
+
maintainSlots(options) {
|
|
12006
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12007
|
+
var _a, _b, _c;
|
|
12008
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintainSlots(options);
|
|
12009
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12010
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.maintainSlots']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12011
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12012
|
+
});
|
|
12013
|
+
},
|
|
12014
|
+
/**
|
|
12015
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
12016
|
+
* @summary Libère les anciennes réservations terminées
|
|
12017
|
+
* @param {*} [options] Override http request option.
|
|
12018
|
+
* @throws {RequiredError}
|
|
12019
|
+
*/
|
|
12020
|
+
releaseOldBookings(options) {
|
|
12021
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12022
|
+
var _a, _b, _c;
|
|
12023
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.releaseOldBookings(options);
|
|
12024
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
12025
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['JobsApi.releaseOldBookings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
12026
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12027
|
+
});
|
|
12028
|
+
},
|
|
12029
|
+
};
|
|
12030
|
+
};
|
|
12031
|
+
exports.JobsApiFp = JobsApiFp;
|
|
12032
|
+
/**
|
|
12033
|
+
* JobsApi - factory interface
|
|
12034
|
+
* @export
|
|
12035
|
+
*/
|
|
12036
|
+
const JobsApiFactory = function (configuration, basePath, axios) {
|
|
12037
|
+
const localVarFp = (0, exports.JobsApiFp)(configuration);
|
|
12038
|
+
return {
|
|
12039
|
+
/**
|
|
12040
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
12041
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
12042
|
+
* @param {*} [options] Override http request option.
|
|
12043
|
+
* @throws {RequiredError}
|
|
12044
|
+
*/
|
|
12045
|
+
captureExpiringAuthorizations(options) {
|
|
12046
|
+
return localVarFp.captureExpiringAuthorizations(options).then((request) => request(axios, basePath));
|
|
12047
|
+
},
|
|
12048
|
+
/**
|
|
12049
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
12050
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
12051
|
+
* @param {*} [options] Override http request option.
|
|
12052
|
+
* @throws {RequiredError}
|
|
12053
|
+
*/
|
|
12054
|
+
capturePastReservations(options) {
|
|
12055
|
+
return localVarFp.capturePastReservations(options).then((request) => request(axios, basePath));
|
|
12056
|
+
},
|
|
12057
|
+
/**
|
|
12058
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
12059
|
+
* @summary Expire les réservations en attente de paiement
|
|
12060
|
+
* @param {*} [options] Override http request option.
|
|
12061
|
+
* @throws {RequiredError}
|
|
12062
|
+
*/
|
|
12063
|
+
expireBookingWaitingPayments(options) {
|
|
12064
|
+
return localVarFp.expireBookingWaitingPayments(options).then((request) => request(axios, basePath));
|
|
12065
|
+
},
|
|
12066
|
+
/**
|
|
12067
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
12068
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
12069
|
+
* @param {*} [options] Override http request option.
|
|
12070
|
+
* @throws {RequiredError}
|
|
12071
|
+
*/
|
|
12072
|
+
expireWaitlistPayments(options) {
|
|
12073
|
+
return localVarFp.expireWaitlistPayments(options).then((request) => request(axios, basePath));
|
|
12074
|
+
},
|
|
12075
|
+
/**
|
|
12076
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
12077
|
+
* @summary Health check pour les jobs
|
|
12078
|
+
* @param {*} [options] Override http request option.
|
|
12079
|
+
* @throws {RequiredError}
|
|
12080
|
+
*/
|
|
12081
|
+
health(options) {
|
|
12082
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
12083
|
+
},
|
|
12084
|
+
/**
|
|
12085
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
12086
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
12087
|
+
* @param {*} [options] Override http request option.
|
|
12088
|
+
* @throws {RequiredError}
|
|
12089
|
+
*/
|
|
12090
|
+
maintainSlots(options) {
|
|
12091
|
+
return localVarFp.maintainSlots(options).then((request) => request(axios, basePath));
|
|
12092
|
+
},
|
|
12093
|
+
/**
|
|
12094
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
12095
|
+
* @summary Libère les anciennes réservations terminées
|
|
12096
|
+
* @param {*} [options] Override http request option.
|
|
12097
|
+
* @throws {RequiredError}
|
|
12098
|
+
*/
|
|
12099
|
+
releaseOldBookings(options) {
|
|
12100
|
+
return localVarFp.releaseOldBookings(options).then((request) => request(axios, basePath));
|
|
12101
|
+
},
|
|
12102
|
+
};
|
|
12103
|
+
};
|
|
12104
|
+
exports.JobsApiFactory = JobsApiFactory;
|
|
12105
|
+
/**
|
|
12106
|
+
* JobsApi - object-oriented interface
|
|
12107
|
+
* @export
|
|
12108
|
+
* @class JobsApi
|
|
12109
|
+
* @extends {BaseAPI}
|
|
12110
|
+
*/
|
|
12111
|
+
class JobsApi extends base_1.BaseAPI {
|
|
12112
|
+
/**
|
|
12113
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
12114
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
12115
|
+
* @param {*} [options] Override http request option.
|
|
12116
|
+
* @throws {RequiredError}
|
|
12117
|
+
* @memberof JobsApi
|
|
12118
|
+
*/
|
|
12119
|
+
captureExpiringAuthorizations(options) {
|
|
12120
|
+
return (0, exports.JobsApiFp)(this.configuration).captureExpiringAuthorizations(options).then((request) => request(this.axios, this.basePath));
|
|
12121
|
+
}
|
|
12122
|
+
/**
|
|
12123
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
12124
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
12125
|
+
* @param {*} [options] Override http request option.
|
|
12126
|
+
* @throws {RequiredError}
|
|
12127
|
+
* @memberof JobsApi
|
|
12128
|
+
*/
|
|
12129
|
+
capturePastReservations(options) {
|
|
12130
|
+
return (0, exports.JobsApiFp)(this.configuration).capturePastReservations(options).then((request) => request(this.axios, this.basePath));
|
|
12131
|
+
}
|
|
12132
|
+
/**
|
|
12133
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
12134
|
+
* @summary Expire les réservations en attente de paiement
|
|
12135
|
+
* @param {*} [options] Override http request option.
|
|
12136
|
+
* @throws {RequiredError}
|
|
12137
|
+
* @memberof JobsApi
|
|
12138
|
+
*/
|
|
12139
|
+
expireBookingWaitingPayments(options) {
|
|
12140
|
+
return (0, exports.JobsApiFp)(this.configuration).expireBookingWaitingPayments(options).then((request) => request(this.axios, this.basePath));
|
|
12141
|
+
}
|
|
12142
|
+
/**
|
|
12143
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
12144
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
12145
|
+
* @param {*} [options] Override http request option.
|
|
12146
|
+
* @throws {RequiredError}
|
|
12147
|
+
* @memberof JobsApi
|
|
12148
|
+
*/
|
|
12149
|
+
expireWaitlistPayments(options) {
|
|
12150
|
+
return (0, exports.JobsApiFp)(this.configuration).expireWaitlistPayments(options).then((request) => request(this.axios, this.basePath));
|
|
12151
|
+
}
|
|
12152
|
+
/**
|
|
12153
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
12154
|
+
* @summary Health check pour les jobs
|
|
12155
|
+
* @param {*} [options] Override http request option.
|
|
12156
|
+
* @throws {RequiredError}
|
|
12157
|
+
* @memberof JobsApi
|
|
12158
|
+
*/
|
|
12159
|
+
health(options) {
|
|
12160
|
+
return (0, exports.JobsApiFp)(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
12161
|
+
}
|
|
12162
|
+
/**
|
|
12163
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
12164
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
12165
|
+
* @param {*} [options] Override http request option.
|
|
12166
|
+
* @throws {RequiredError}
|
|
12167
|
+
* @memberof JobsApi
|
|
12168
|
+
*/
|
|
12169
|
+
maintainSlots(options) {
|
|
12170
|
+
return (0, exports.JobsApiFp)(this.configuration).maintainSlots(options).then((request) => request(this.axios, this.basePath));
|
|
12171
|
+
}
|
|
12172
|
+
/**
|
|
12173
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
12174
|
+
* @summary Libère les anciennes réservations terminées
|
|
12175
|
+
* @param {*} [options] Override http request option.
|
|
12176
|
+
* @throws {RequiredError}
|
|
12177
|
+
* @memberof JobsApi
|
|
12178
|
+
*/
|
|
12179
|
+
releaseOldBookings(options) {
|
|
12180
|
+
return (0, exports.JobsApiFp)(this.configuration).releaseOldBookings(options).then((request) => request(this.axios, this.basePath));
|
|
12181
|
+
}
|
|
12182
|
+
}
|
|
12183
|
+
exports.JobsApi = JobsApi;
|
|
11728
12184
|
/**
|
|
11729
12185
|
* PublicEmailApi - axios parameter creator
|
|
11730
12186
|
* @export
|
|
@@ -16827,6 +17283,37 @@ const WaitListStaffApiAxiosParamCreator = function (configuration) {
|
|
|
16827
17283
|
options: localVarRequestOptions,
|
|
16828
17284
|
};
|
|
16829
17285
|
}),
|
|
17286
|
+
/**
|
|
17287
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
17288
|
+
* @param {string} eventId
|
|
17289
|
+
* @param {*} [options] Override http request option.
|
|
17290
|
+
* @throws {RequiredError}
|
|
17291
|
+
*/
|
|
17292
|
+
getEventWaitListPlayers: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
|
|
17293
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
17294
|
+
(0, common_1.assertParamExists)('getEventWaitListPlayers', 'eventId', eventId);
|
|
17295
|
+
const localVarPath = `/api/waitlist/event/{eventId}/players`
|
|
17296
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
17297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17298
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17299
|
+
let baseOptions;
|
|
17300
|
+
if (configuration) {
|
|
17301
|
+
baseOptions = configuration.baseOptions;
|
|
17302
|
+
}
|
|
17303
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17304
|
+
const localVarHeaderParameter = {};
|
|
17305
|
+
const localVarQueryParameter = {};
|
|
17306
|
+
// authentication bearerAuth required
|
|
17307
|
+
// http bearer authentication required
|
|
17308
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17309
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17311
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17312
|
+
return {
|
|
17313
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17314
|
+
options: localVarRequestOptions,
|
|
17315
|
+
};
|
|
17316
|
+
}),
|
|
16830
17317
|
/**
|
|
16831
17318
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
16832
17319
|
* @param {string} bookingId
|
|
@@ -16975,6 +17462,21 @@ const WaitListStaffApiFp = function (configuration) {
|
|
|
16975
17462
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16976
17463
|
});
|
|
16977
17464
|
},
|
|
17465
|
+
/**
|
|
17466
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
17467
|
+
* @param {string} eventId
|
|
17468
|
+
* @param {*} [options] Override http request option.
|
|
17469
|
+
* @throws {RequiredError}
|
|
17470
|
+
*/
|
|
17471
|
+
getEventWaitListPlayers(eventId, options) {
|
|
17472
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17473
|
+
var _a, _b, _c;
|
|
17474
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventWaitListPlayers(eventId, options);
|
|
17475
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17476
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WaitListStaffApi.getEventWaitListPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17477
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17478
|
+
});
|
|
17479
|
+
},
|
|
16978
17480
|
/**
|
|
16979
17481
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
16980
17482
|
* @param {string} bookingId
|
|
@@ -17057,6 +17559,15 @@ const WaitListStaffApiFactory = function (configuration, basePath, axios) {
|
|
|
17057
17559
|
getEventWaitList(requestParameters, options) {
|
|
17058
17560
|
return localVarFp.getEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
17059
17561
|
},
|
|
17562
|
+
/**
|
|
17563
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
17564
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
17565
|
+
* @param {*} [options] Override http request option.
|
|
17566
|
+
* @throws {RequiredError}
|
|
17567
|
+
*/
|
|
17568
|
+
getEventWaitListPlayers(requestParameters, options) {
|
|
17569
|
+
return localVarFp.getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
17570
|
+
},
|
|
17060
17571
|
/**
|
|
17061
17572
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
17062
17573
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|
|
@@ -17124,6 +17635,16 @@ class WaitListStaffApi extends base_1.BaseAPI {
|
|
|
17124
17635
|
getEventWaitList(requestParameters, options) {
|
|
17125
17636
|
return (0, exports.WaitListStaffApiFp)(this.configuration).getEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
17126
17637
|
}
|
|
17638
|
+
/**
|
|
17639
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
17640
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
17641
|
+
* @param {*} [options] Override http request option.
|
|
17642
|
+
* @throws {RequiredError}
|
|
17643
|
+
* @memberof WaitListStaffApi
|
|
17644
|
+
*/
|
|
17645
|
+
getEventWaitListPlayers(requestParameters, options) {
|
|
17646
|
+
return (0, exports.WaitListStaffApiFp)(this.configuration).getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
17647
|
+
}
|
|
17127
17648
|
/**
|
|
17128
17649
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
17129
17650
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|