@tennac-booking/sdk 1.0.171 → 1.0.173

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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +399 -394
  2. package/README.md +11 -3
  3. package/api.ts +562 -28
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +432 -28
  8. package/dist/api.js +215 -9
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +432 -28
  16. package/dist/esm/api.js +211 -5
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AppRegisterRequestBody.md +22 -0
  28. package/docs/CompleteRegisterRequestBody.md +32 -0
  29. package/docs/{UpdateUserRequestBodyLevelBySportsInner.md → CompleteRegisterRequestBodyLevelBySportsInner.md} +3 -3
  30. package/docs/EmailExistsResponse.md +2 -0
  31. package/docs/EventsStaffApi.md +54 -0
  32. package/docs/EventsWaitListStaffApi.md +1 -1
  33. package/docs/GoogleAuthResponse.md +2 -0
  34. package/docs/IUserAttributes.md +4 -0
  35. package/docs/LoginResponse.md +2 -0
  36. package/docs/StaffEventBookingInvoiceResponse.md +32 -0
  37. package/docs/StaffEventBookingResponse.md +40 -0
  38. package/docs/StaffEventDetailResponse.md +22 -0
  39. package/docs/StaffUserProfileResponse.md +4 -0
  40. package/docs/UpdateUserRequestBody.md +2 -2
  41. package/docs/UserProfileResponse.md +4 -0
  42. package/docs/UsersApi.md +104 -0
  43. package/index.ts +1 -1
  44. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,10 +22,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.VisibilityType = 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.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = 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.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 = 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.WeekdayKey = void 0;
27
- exports.EventsWaitListStaffApiFactory = exports.EventsWaitListStaffApiFp = exports.EventsWaitListStaffApiAxiosParamCreator = exports.EventsWaitListApi = exports.EventsWaitListApiFactory = exports.EventsWaitListApiFp = exports.EventsWaitListApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = 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 = void 0;
28
- 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.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.EventsWaitListStaffApi = void 0;
25
+ 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.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = 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.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 = 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.WeekdayKey = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = void 0;
27
+ exports.EventsWaitListApi = exports.EventsWaitListApiFactory = exports.EventsWaitListApiFp = exports.EventsWaitListApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = 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 = void 0;
28
+ 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.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.EventsWaitListStaffApi = exports.EventsWaitListStaffApiFactory = exports.EventsWaitListStaffApiFp = exports.EventsWaitListStaffApiAxiosParamCreator = void 0;
29
29
  const axios_1 = require("axios");
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -176,6 +176,10 @@ exports.Gender = {
176
176
  Transgender: 'transgender',
177
177
  Other: 'other'
178
178
  };
179
+ exports.IUserAttributesCreatedFromEnum = {
180
+ App: 'app',
181
+ Website: 'website'
182
+ };
179
183
  exports.IUserLocationTypeEnum = {
180
184
  Point: 'Point'
181
185
  };
@@ -315,6 +319,10 @@ exports.StaffBookingPaymentState = {
315
319
  Failed: 'failed',
316
320
  Partial: 'partial'
317
321
  };
322
+ exports.StaffUserProfileResponseCreatedFromEnum = {
323
+ App: 'app',
324
+ Website: 'website'
325
+ };
318
326
  /**
319
327
  *
320
328
  * @export
@@ -389,6 +397,10 @@ exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = {
389
397
  exports.UserLocationSummaryTypeEnum = {
390
398
  Point: 'Point'
391
399
  };
400
+ exports.UserProfileResponseCreatedFromEnum = {
401
+ App: 'app',
402
+ Website: 'website'
403
+ };
392
404
  /**
393
405
  *
394
406
  * @export
@@ -10655,6 +10667,37 @@ const EventsStaffApiAxiosParamCreator = function (configuration) {
10655
10667
  options: localVarRequestOptions,
10656
10668
  };
10657
10669
  }),
10670
+ /**
10671
+ * Get a specific event by ID (staff)
10672
+ * @param {string} eventId
10673
+ * @param {*} [options] Override http request option.
10674
+ * @throws {RequiredError}
10675
+ */
10676
+ getEventByIdForStaff: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
10677
+ // verify required parameter 'eventId' is not null or undefined
10678
+ (0, common_1.assertParamExists)('getEventByIdForStaff', 'eventId', eventId);
10679
+ const localVarPath = `/api/events/staff/{eventId}`
10680
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
10681
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10682
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10683
+ let baseOptions;
10684
+ if (configuration) {
10685
+ baseOptions = configuration.baseOptions;
10686
+ }
10687
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10688
+ const localVarHeaderParameter = {};
10689
+ const localVarQueryParameter = {};
10690
+ // authentication bearerAuth required
10691
+ // http bearer authentication required
10692
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10693
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10694
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10695
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10696
+ return {
10697
+ url: (0, common_1.toPathString)(localVarUrlObj),
10698
+ options: localVarRequestOptions,
10699
+ };
10700
+ }),
10658
10701
  /**
10659
10702
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10660
10703
  * @param {*} [options] Override http request option.
@@ -10821,6 +10864,21 @@ const EventsStaffApiFp = function (configuration) {
10821
10864
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10822
10865
  });
10823
10866
  },
10867
+ /**
10868
+ * Get a specific event by ID (staff)
10869
+ * @param {string} eventId
10870
+ * @param {*} [options] Override http request option.
10871
+ * @throws {RequiredError}
10872
+ */
10873
+ getEventByIdForStaff(eventId, options) {
10874
+ return __awaiter(this, void 0, void 0, function* () {
10875
+ var _a, _b, _c;
10876
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventByIdForStaff(eventId, options);
10877
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10878
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsStaffApi.getEventByIdForStaff']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10879
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10880
+ });
10881
+ },
10824
10882
  /**
10825
10883
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10826
10884
  * @param {*} [options] Override http request option.
@@ -10901,6 +10959,15 @@ const EventsStaffApiFactory = function (configuration, basePath, axios) {
10901
10959
  getDailyEvents(requestParameters = {}, options) {
10902
10960
  return localVarFp.getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(axios, basePath));
10903
10961
  },
10962
+ /**
10963
+ * Get a specific event by ID (staff)
10964
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
10965
+ * @param {*} [options] Override http request option.
10966
+ * @throws {RequiredError}
10967
+ */
10968
+ getEventByIdForStaff(requestParameters, options) {
10969
+ return localVarFp.getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(axios, basePath));
10970
+ },
10904
10971
  /**
10905
10972
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10906
10973
  * @param {*} [options] Override http request option.
@@ -10957,6 +11024,16 @@ class EventsStaffApi extends base_1.BaseAPI {
10957
11024
  getDailyEvents(requestParameters = {}, options) {
10958
11025
  return (0, exports.EventsStaffApiFp)(this.configuration).getDailyEvents(requestParameters.clubId, requestParameters.date, requestParameters.visibilityType, requestParameters.type, requestParameters.sportId, options).then((request) => request(this.axios, this.basePath));
10959
11026
  }
11027
+ /**
11028
+ * Get a specific event by ID (staff)
11029
+ * @param {EventsStaffApiGetEventByIdForStaffRequest} requestParameters Request parameters.
11030
+ * @param {*} [options] Override http request option.
11031
+ * @throws {RequiredError}
11032
+ * @memberof EventsStaffApi
11033
+ */
11034
+ getEventByIdForStaff(requestParameters, options) {
11035
+ return (0, exports.EventsStaffApiFp)(this.configuration).getEventByIdForStaff(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11036
+ }
10960
11037
  /**
10961
11038
  * // Use service to validate booking openness, team participation, and capacity const { event, booking: eb } = await this.eventService.joinEventBooking( eventBookingId, userId );
10962
11039
  * @param {*} [options] Override http request option.
@@ -11310,7 +11387,7 @@ const EventsWaitListStaffApiAxiosParamCreator = function (configuration) {
11310
11387
  };
11311
11388
  }),
11312
11389
  /**
11313
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11390
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11314
11391
  * @param {string} eventId
11315
11392
  * @param {*} [options] Override http request option.
11316
11393
  * @throws {RequiredError}
@@ -11366,7 +11443,7 @@ const EventsWaitListStaffApiFp = function (configuration) {
11366
11443
  });
11367
11444
  },
11368
11445
  /**
11369
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11446
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11370
11447
  * @param {string} eventId
11371
11448
  * @param {*} [options] Override http request option.
11372
11449
  * @throws {RequiredError}
@@ -11400,7 +11477,7 @@ const EventsWaitListStaffApiFactory = function (configuration, basePath, axios)
11400
11477
  return localVarFp.getWaitListForEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
11401
11478
  },
11402
11479
  /**
11403
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11480
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11404
11481
  * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
11405
11482
  * @param {*} [options] Override http request option.
11406
11483
  * @throws {RequiredError}
@@ -11429,7 +11506,7 @@ class EventsWaitListStaffApi extends base_1.BaseAPI {
11429
11506
  return (0, exports.EventsWaitListStaffApiFp)(this.configuration).getWaitListForEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
11430
11507
  }
11431
11508
  /**
11432
- * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11509
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
11433
11510
  * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
11434
11511
  * @param {*} [options] Override http request option.
11435
11512
  * @throws {RequiredError}
@@ -13207,6 +13284,38 @@ const UsersApiAxiosParamCreator = function (configuration) {
13207
13284
  options: localVarRequestOptions,
13208
13285
  };
13209
13286
  }),
13287
+ /**
13288
+ *
13289
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
13290
+ * @param {*} [options] Override http request option.
13291
+ * @throws {RequiredError}
13292
+ */
13293
+ completeRegister: (completeRegisterRequestBody_1, ...args_1) => __awaiter(this, [completeRegisterRequestBody_1, ...args_1], void 0, function* (completeRegisterRequestBody, options = {}) {
13294
+ // verify required parameter 'completeRegisterRequestBody' is not null or undefined
13295
+ (0, common_1.assertParamExists)('completeRegister', 'completeRegisterRequestBody', completeRegisterRequestBody);
13296
+ const localVarPath = `/api/users/complete-register`;
13297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13298
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13299
+ let baseOptions;
13300
+ if (configuration) {
13301
+ baseOptions = configuration.baseOptions;
13302
+ }
13303
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13304
+ const localVarHeaderParameter = {};
13305
+ const localVarQueryParameter = {};
13306
+ // authentication bearerAuth required
13307
+ // http bearer authentication required
13308
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13310
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13312
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13313
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeRegisterRequestBody, localVarRequestOptions, configuration);
13314
+ return {
13315
+ url: (0, common_1.toPathString)(localVarUrlObj),
13316
+ options: localVarRequestOptions,
13317
+ };
13318
+ }),
13210
13319
  /**
13211
13320
  *
13212
13321
  * @param {*} [options] Override http request option.
@@ -13888,6 +13997,35 @@ const UsersApiAxiosParamCreator = function (configuration) {
13888
13997
  options: localVarRequestOptions,
13889
13998
  };
13890
13999
  }),
14000
+ /**
14001
+ *
14002
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
14003
+ * @param {*} [options] Override http request option.
14004
+ * @throws {RequiredError}
14005
+ */
14006
+ registerFromApp: (appRegisterRequestBody_1, ...args_1) => __awaiter(this, [appRegisterRequestBody_1, ...args_1], void 0, function* (appRegisterRequestBody, options = {}) {
14007
+ // verify required parameter 'appRegisterRequestBody' is not null or undefined
14008
+ (0, common_1.assertParamExists)('registerFromApp', 'appRegisterRequestBody', appRegisterRequestBody);
14009
+ const localVarPath = `/api/users/register-app`;
14010
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14011
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14012
+ let baseOptions;
14013
+ if (configuration) {
14014
+ baseOptions = configuration.baseOptions;
14015
+ }
14016
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14017
+ const localVarHeaderParameter = {};
14018
+ const localVarQueryParameter = {};
14019
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14020
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14021
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14022
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14023
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(appRegisterRequestBody, localVarRequestOptions, configuration);
14024
+ return {
14025
+ url: (0, common_1.toPathString)(localVarUrlObj),
14026
+ options: localVarRequestOptions,
14027
+ };
14028
+ }),
13891
14029
  /**
13892
14030
  *
13893
14031
  * @param {string} clubId
@@ -14352,6 +14490,21 @@ const UsersApiFp = function (configuration) {
14352
14490
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14353
14491
  });
14354
14492
  },
14493
+ /**
14494
+ *
14495
+ * @param {CompleteRegisterRequestBody} completeRegisterRequestBody
14496
+ * @param {*} [options] Override http request option.
14497
+ * @throws {RequiredError}
14498
+ */
14499
+ completeRegister(completeRegisterRequestBody, options) {
14500
+ return __awaiter(this, void 0, void 0, function* () {
14501
+ var _a, _b, _c;
14502
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.completeRegister(completeRegisterRequestBody, options);
14503
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14504
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.completeRegister']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14505
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14506
+ });
14507
+ },
14355
14508
  /**
14356
14509
  *
14357
14510
  * @param {*} [options] Override http request option.
@@ -14678,6 +14831,21 @@ const UsersApiFp = function (configuration) {
14678
14831
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14679
14832
  });
14680
14833
  },
14834
+ /**
14835
+ *
14836
+ * @param {AppRegisterRequestBody} appRegisterRequestBody
14837
+ * @param {*} [options] Override http request option.
14838
+ * @throws {RequiredError}
14839
+ */
14840
+ registerFromApp(appRegisterRequestBody, options) {
14841
+ return __awaiter(this, void 0, void 0, function* () {
14842
+ var _a, _b, _c;
14843
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.registerFromApp(appRegisterRequestBody, options);
14844
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14845
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.registerFromApp']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14846
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14847
+ });
14848
+ },
14681
14849
  /**
14682
14850
  *
14683
14851
  * @param {string} clubId
@@ -14918,6 +15086,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
14918
15086
  changePassword(requestParameters, options) {
14919
15087
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
14920
15088
  },
15089
+ /**
15090
+ *
15091
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
15092
+ * @param {*} [options] Override http request option.
15093
+ * @throws {RequiredError}
15094
+ */
15095
+ completeRegister(requestParameters, options) {
15096
+ return localVarFp.completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(axios, basePath));
15097
+ },
14921
15098
  /**
14922
15099
  *
14923
15100
  * @param {*} [options] Override http request option.
@@ -15099,6 +15276,15 @@ const UsersApiFactory = function (configuration, basePath, axios) {
15099
15276
  register(requestParameters, options) {
15100
15277
  return localVarFp.register(requestParameters.registerRequestBody, options).then((request) => request(axios, basePath));
15101
15278
  },
15279
+ /**
15280
+ *
15281
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
15282
+ * @param {*} [options] Override http request option.
15283
+ * @throws {RequiredError}
15284
+ */
15285
+ registerFromApp(requestParameters, options) {
15286
+ return localVarFp.registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(axios, basePath));
15287
+ },
15102
15288
  /**
15103
15289
  *
15104
15290
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -15265,6 +15451,16 @@ class UsersApi extends base_1.BaseAPI {
15265
15451
  changePassword(requestParameters, options) {
15266
15452
  return (0, exports.UsersApiFp)(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
15267
15453
  }
15454
+ /**
15455
+ *
15456
+ * @param {UsersApiCompleteRegisterRequest} requestParameters Request parameters.
15457
+ * @param {*} [options] Override http request option.
15458
+ * @throws {RequiredError}
15459
+ * @memberof UsersApi
15460
+ */
15461
+ completeRegister(requestParameters, options) {
15462
+ return (0, exports.UsersApiFp)(this.configuration).completeRegister(requestParameters.completeRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
15463
+ }
15268
15464
  /**
15269
15465
  *
15270
15466
  * @param {*} [options] Override http request option.
@@ -15467,6 +15663,16 @@ class UsersApi extends base_1.BaseAPI {
15467
15663
  register(requestParameters, options) {
15468
15664
  return (0, exports.UsersApiFp)(this.configuration).register(requestParameters.registerRequestBody, options).then((request) => request(this.axios, this.basePath));
15469
15665
  }
15666
+ /**
15667
+ *
15668
+ * @param {UsersApiRegisterFromAppRequest} requestParameters Request parameters.
15669
+ * @param {*} [options] Override http request option.
15670
+ * @throws {RequiredError}
15671
+ * @memberof UsersApi
15672
+ */
15673
+ registerFromApp(requestParameters, options) {
15674
+ return (0, exports.UsersApiFp)(this.configuration).registerFromApp(requestParameters.appRegisterRequestBody, options).then((request) => request(this.axios, this.basePath));
15675
+ }
15470
15676
  /**
15471
15677
  *
15472
15678
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.171
5
+ * The version of the OpenAPI document: 1.0.172
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.171
8
+ * The version of the OpenAPI document: 1.0.172
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).