@tennac-booking/sdk 1.0.309 → 1.0.311
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 +3 -0
- package/README.md +4 -2
- package/api.ts +178 -8
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +122 -7
- package/dist/api.js +117 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +122 -7
- package/dist/esm/api.js +108 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ClubReservationSettingsResponse.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -2
- package/docs/InvoiceStatus.md +2 -0
- package/docs/ManagerConsoleInvoicePlayerSummary.md +2 -0
- package/docs/ManagerConsoleInvoiceUserSummary.md +2 -0
- package/docs/PublicSubscriptionPlanResponse.md +2 -2
- package/docs/SubscriptionPlanResponse.md +2 -2
- package/docs/TermsAndConditionsPublicApi.md +61 -0
- package/docs/TermsAndConditionsResponse.md +5 -2
- package/docs/TermsAudience.md +10 -0
- package/docs/UpdateClubReservationSettingsRequest.md +2 -0
- package/docs/UpdateSubscriptionPlanRequest.md +2 -2
- package/index.ts +1 -1
- 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.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,11 +23,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.OpenGuestContributionStatus = exports.OpenGuestContributionSource = exports.OpenGuestContributionPaymentChannel = 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
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.WaitListStaffApi = void 0;
|
|
26
|
+
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.TermsAudience = exports.SurfaceType = exports.SupportedLanguage = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffEventSeriesContextRecurringTypeEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentStatus = exports.PaymentProviderType = void 0;
|
|
27
|
+
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 = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = void 0;
|
|
28
|
+
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 = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.GetUserBookingsTimeFilterEnum = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TermsAndConditionsPublicApi = exports.TermsAndConditionsPublicApiFactory = exports.TermsAndConditionsPublicApiFp = exports.TermsAndConditionsPublicApiAxiosParamCreator = 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 = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = void 0;
|
|
30
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -283,7 +283,8 @@ exports.InvoiceStatus = {
|
|
|
283
283
|
Failed: 'failed',
|
|
284
284
|
Authorized: 'authorized',
|
|
285
285
|
Canceled: 'canceled',
|
|
286
|
-
Expired: 'expired'
|
|
286
|
+
Expired: 'expired',
|
|
287
|
+
Refunded: 'refunded'
|
|
287
288
|
};
|
|
288
289
|
/**
|
|
289
290
|
*
|
|
@@ -549,6 +550,15 @@ exports.SurfaceType = {
|
|
|
549
550
|
Carpet: 'carpet',
|
|
550
551
|
Wooden: 'wooden'
|
|
551
552
|
};
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @export
|
|
556
|
+
* @enum {string}
|
|
557
|
+
*/
|
|
558
|
+
exports.TermsAudience = {
|
|
559
|
+
User: 'user',
|
|
560
|
+
Manager: 'manager'
|
|
561
|
+
};
|
|
552
562
|
/**
|
|
553
563
|
*
|
|
554
564
|
* @export
|
|
@@ -16853,6 +16863,106 @@ class SumUpManagerApi extends base_1.BaseAPI {
|
|
|
16853
16863
|
}
|
|
16854
16864
|
}
|
|
16855
16865
|
exports.SumUpManagerApi = SumUpManagerApi;
|
|
16866
|
+
/**
|
|
16867
|
+
* TermsAndConditionsPublicApi - axios parameter creator
|
|
16868
|
+
* @export
|
|
16869
|
+
*/
|
|
16870
|
+
const TermsAndConditionsPublicApiAxiosParamCreator = function (configuration) {
|
|
16871
|
+
return {
|
|
16872
|
+
/**
|
|
16873
|
+
* Récupère la dernière version active des CGU en français
|
|
16874
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
16875
|
+
* @param {*} [options] Override http request option.
|
|
16876
|
+
* @throws {RequiredError}
|
|
16877
|
+
*/
|
|
16878
|
+
getLatestTerms: (audience_1, ...args_1) => __awaiter(this, [audience_1, ...args_1], void 0, function* (audience, options = {}) {
|
|
16879
|
+
const localVarPath = `/api/terms-and-conditions/latest`;
|
|
16880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16881
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16882
|
+
let baseOptions;
|
|
16883
|
+
if (configuration) {
|
|
16884
|
+
baseOptions = configuration.baseOptions;
|
|
16885
|
+
}
|
|
16886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16887
|
+
const localVarHeaderParameter = {};
|
|
16888
|
+
const localVarQueryParameter = {};
|
|
16889
|
+
if (audience !== undefined) {
|
|
16890
|
+
localVarQueryParameter['audience'] = audience;
|
|
16891
|
+
}
|
|
16892
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16894
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16895
|
+
return {
|
|
16896
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16897
|
+
options: localVarRequestOptions,
|
|
16898
|
+
};
|
|
16899
|
+
}),
|
|
16900
|
+
};
|
|
16901
|
+
};
|
|
16902
|
+
exports.TermsAndConditionsPublicApiAxiosParamCreator = TermsAndConditionsPublicApiAxiosParamCreator;
|
|
16903
|
+
/**
|
|
16904
|
+
* TermsAndConditionsPublicApi - functional programming interface
|
|
16905
|
+
* @export
|
|
16906
|
+
*/
|
|
16907
|
+
const TermsAndConditionsPublicApiFp = function (configuration) {
|
|
16908
|
+
const localVarAxiosParamCreator = (0, exports.TermsAndConditionsPublicApiAxiosParamCreator)(configuration);
|
|
16909
|
+
return {
|
|
16910
|
+
/**
|
|
16911
|
+
* Récupère la dernière version active des CGU en français
|
|
16912
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
16913
|
+
* @param {*} [options] Override http request option.
|
|
16914
|
+
* @throws {RequiredError}
|
|
16915
|
+
*/
|
|
16916
|
+
getLatestTerms(audience, options) {
|
|
16917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16918
|
+
var _a, _b, _c;
|
|
16919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLatestTerms(audience, options);
|
|
16920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16921
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TermsAndConditionsPublicApi.getLatestTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16922
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16923
|
+
});
|
|
16924
|
+
},
|
|
16925
|
+
};
|
|
16926
|
+
};
|
|
16927
|
+
exports.TermsAndConditionsPublicApiFp = TermsAndConditionsPublicApiFp;
|
|
16928
|
+
/**
|
|
16929
|
+
* TermsAndConditionsPublicApi - factory interface
|
|
16930
|
+
* @export
|
|
16931
|
+
*/
|
|
16932
|
+
const TermsAndConditionsPublicApiFactory = function (configuration, basePath, axios) {
|
|
16933
|
+
const localVarFp = (0, exports.TermsAndConditionsPublicApiFp)(configuration);
|
|
16934
|
+
return {
|
|
16935
|
+
/**
|
|
16936
|
+
* Récupère la dernière version active des CGU en français
|
|
16937
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
16938
|
+
* @param {*} [options] Override http request option.
|
|
16939
|
+
* @throws {RequiredError}
|
|
16940
|
+
*/
|
|
16941
|
+
getLatestTerms(requestParameters = {}, options) {
|
|
16942
|
+
return localVarFp.getLatestTerms(requestParameters.audience, options).then((request) => request(axios, basePath));
|
|
16943
|
+
},
|
|
16944
|
+
};
|
|
16945
|
+
};
|
|
16946
|
+
exports.TermsAndConditionsPublicApiFactory = TermsAndConditionsPublicApiFactory;
|
|
16947
|
+
/**
|
|
16948
|
+
* TermsAndConditionsPublicApi - object-oriented interface
|
|
16949
|
+
* @export
|
|
16950
|
+
* @class TermsAndConditionsPublicApi
|
|
16951
|
+
* @extends {BaseAPI}
|
|
16952
|
+
*/
|
|
16953
|
+
class TermsAndConditionsPublicApi extends base_1.BaseAPI {
|
|
16954
|
+
/**
|
|
16955
|
+
* Récupère la dernière version active des CGU en français
|
|
16956
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
16957
|
+
* @param {*} [options] Override http request option.
|
|
16958
|
+
* @throws {RequiredError}
|
|
16959
|
+
* @memberof TermsAndConditionsPublicApi
|
|
16960
|
+
*/
|
|
16961
|
+
getLatestTerms(requestParameters = {}, options) {
|
|
16962
|
+
return (0, exports.TermsAndConditionsPublicApiFp)(this.configuration).getLatestTerms(requestParameters.audience, options).then((request) => request(this.axios, this.basePath));
|
|
16963
|
+
}
|
|
16964
|
+
}
|
|
16965
|
+
exports.TermsAndConditionsPublicApi = TermsAndConditionsPublicApi;
|
|
16856
16966
|
/**
|
|
16857
16967
|
* UserApi - axios parameter creator
|
|
16858
16968
|
* @export
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4639,6 +4639,12 @@ export interface ClubReservationSettingsResponse {
|
|
|
4639
4639
|
* @memberof ClubReservationSettingsResponse
|
|
4640
4640
|
*/
|
|
4641
4641
|
'cancellationDelayInHours': number;
|
|
4642
|
+
/**
|
|
4643
|
+
*
|
|
4644
|
+
* @type {number}
|
|
4645
|
+
* @memberof ClubReservationSettingsResponse
|
|
4646
|
+
*/
|
|
4647
|
+
'eventCancellationDelayInHours': number;
|
|
4642
4648
|
/**
|
|
4643
4649
|
*
|
|
4644
4650
|
* @type {number}
|
|
@@ -6267,7 +6273,7 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
6267
6273
|
* @type {number}
|
|
6268
6274
|
* @memberof CreateSubscriptionPlanRequest
|
|
6269
6275
|
*/
|
|
6270
|
-
'
|
|
6276
|
+
'commitmentInDays'?: number;
|
|
6271
6277
|
/**
|
|
6272
6278
|
*
|
|
6273
6279
|
* @type {CreateSubscriptionPlanRequestDiscount}
|
|
@@ -9936,6 +9942,7 @@ export declare const InvoiceStatus: {
|
|
|
9936
9942
|
readonly Authorized: "authorized";
|
|
9937
9943
|
readonly Canceled: "canceled";
|
|
9938
9944
|
readonly Expired: "expired";
|
|
9945
|
+
readonly Refunded: "refunded";
|
|
9939
9946
|
};
|
|
9940
9947
|
export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
|
|
9941
9948
|
/**
|
|
@@ -10700,6 +10707,12 @@ export interface ManagerConsoleInvoicePlayerSummary {
|
|
|
10700
10707
|
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10701
10708
|
*/
|
|
10702
10709
|
'reducedAmount': number;
|
|
10710
|
+
/**
|
|
10711
|
+
*
|
|
10712
|
+
* @type {Array<string>}
|
|
10713
|
+
* @memberof ManagerConsoleInvoicePlayerSummary
|
|
10714
|
+
*/
|
|
10715
|
+
'subscriptionNames'?: Array<string>;
|
|
10703
10716
|
}
|
|
10704
10717
|
/**
|
|
10705
10718
|
*
|
|
@@ -11127,6 +11140,12 @@ export interface ManagerConsoleInvoiceUserSummary {
|
|
|
11127
11140
|
* @memberof ManagerConsoleInvoiceUserSummary
|
|
11128
11141
|
*/
|
|
11129
11142
|
'profilePictureUrl'?: string;
|
|
11143
|
+
/**
|
|
11144
|
+
*
|
|
11145
|
+
* @type {Array<string>}
|
|
11146
|
+
* @memberof ManagerConsoleInvoiceUserSummary
|
|
11147
|
+
*/
|
|
11148
|
+
'subscriptionNames'?: Array<string>;
|
|
11130
11149
|
}
|
|
11131
11150
|
/**
|
|
11132
11151
|
*
|
|
@@ -14176,7 +14195,7 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
14176
14195
|
* @type {number}
|
|
14177
14196
|
* @memberof PublicSubscriptionPlanResponse
|
|
14178
14197
|
*/
|
|
14179
|
-
'
|
|
14198
|
+
'commitmentInDays'?: number;
|
|
14180
14199
|
/**
|
|
14181
14200
|
*
|
|
14182
14201
|
* @type {boolean}
|
|
@@ -16986,7 +17005,7 @@ export interface SubscriptionPlanResponse {
|
|
|
16986
17005
|
* @type {number}
|
|
16987
17006
|
* @memberof SubscriptionPlanResponse
|
|
16988
17007
|
*/
|
|
16989
|
-
'
|
|
17008
|
+
'commitmentInDays'?: number;
|
|
16990
17009
|
}
|
|
16991
17010
|
/**
|
|
16992
17011
|
*
|
|
@@ -17472,7 +17491,7 @@ export interface Team {
|
|
|
17472
17491
|
'players': Array<EventUser>;
|
|
17473
17492
|
}
|
|
17474
17493
|
/**
|
|
17475
|
-
*
|
|
17494
|
+
*
|
|
17476
17495
|
* @export
|
|
17477
17496
|
* @interface TermsAndConditionsResponse
|
|
17478
17497
|
*/
|
|
@@ -17500,20 +17519,42 @@ export interface TermsAndConditionsResponse {
|
|
|
17500
17519
|
* @type {string}
|
|
17501
17520
|
* @memberof TermsAndConditionsResponse
|
|
17502
17521
|
*/
|
|
17503
|
-
'effectiveDate'
|
|
17522
|
+
'effectiveDate'?: string;
|
|
17504
17523
|
/**
|
|
17505
17524
|
* Résumé des changements (optionnel)
|
|
17506
17525
|
* @type {string}
|
|
17507
17526
|
* @memberof TermsAndConditionsResponse
|
|
17508
17527
|
*/
|
|
17509
17528
|
'summary'?: string;
|
|
17529
|
+
/**
|
|
17530
|
+
*
|
|
17531
|
+
* @type {string}
|
|
17532
|
+
* @memberof TermsAndConditionsResponse
|
|
17533
|
+
*/
|
|
17534
|
+
'audience'?: string;
|
|
17510
17535
|
/**
|
|
17511
17536
|
* Code de la langue
|
|
17512
17537
|
* @type {string}
|
|
17513
17538
|
* @memberof TermsAndConditionsResponse
|
|
17514
17539
|
*/
|
|
17515
17540
|
'language': string;
|
|
17541
|
+
/**
|
|
17542
|
+
*
|
|
17543
|
+
* @type {string}
|
|
17544
|
+
* @memberof TermsAndConditionsResponse
|
|
17545
|
+
*/
|
|
17546
|
+
'createdAt'?: string;
|
|
17516
17547
|
}
|
|
17548
|
+
/**
|
|
17549
|
+
*
|
|
17550
|
+
* @export
|
|
17551
|
+
* @enum {string}
|
|
17552
|
+
*/
|
|
17553
|
+
export declare const TermsAudience: {
|
|
17554
|
+
readonly User: "user";
|
|
17555
|
+
readonly Manager: "manager";
|
|
17556
|
+
};
|
|
17557
|
+
export type TermsAudience = typeof TermsAudience[keyof typeof TermsAudience];
|
|
17517
17558
|
/**
|
|
17518
17559
|
*
|
|
17519
17560
|
* @export
|
|
@@ -17915,6 +17956,12 @@ export interface UpdateClubReservationSettingsRequest {
|
|
|
17915
17956
|
* @memberof UpdateClubReservationSettingsRequest
|
|
17916
17957
|
*/
|
|
17917
17958
|
'cancellationDelayInHours': number;
|
|
17959
|
+
/**
|
|
17960
|
+
*
|
|
17961
|
+
* @type {number}
|
|
17962
|
+
* @memberof UpdateClubReservationSettingsRequest
|
|
17963
|
+
*/
|
|
17964
|
+
'eventCancellationDelayInHours'?: number;
|
|
17918
17965
|
/**
|
|
17919
17966
|
*
|
|
17920
17967
|
* @type {number}
|
|
@@ -18556,7 +18603,7 @@ export interface UpdateSubscriptionPlanRequest {
|
|
|
18556
18603
|
* @type {number}
|
|
18557
18604
|
* @memberof UpdateSubscriptionPlanRequest
|
|
18558
18605
|
*/
|
|
18559
|
-
'
|
|
18606
|
+
'commitmentInDays'?: number;
|
|
18560
18607
|
/**
|
|
18561
18608
|
*
|
|
18562
18609
|
* @type {SubscriptionPlanDiscountUpdateRequest}
|
|
@@ -30712,6 +30759,74 @@ export declare class SumUpManagerApi extends BaseAPI {
|
|
|
30712
30759
|
*/
|
|
30713
30760
|
updateSumupReader(requestParameters: SumUpManagerApiUpdateSumupReaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupReaderResponse, any, {}>>;
|
|
30714
30761
|
}
|
|
30762
|
+
/**
|
|
30763
|
+
* TermsAndConditionsPublicApi - axios parameter creator
|
|
30764
|
+
* @export
|
|
30765
|
+
*/
|
|
30766
|
+
export declare const TermsAndConditionsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30767
|
+
/**
|
|
30768
|
+
* Récupère la dernière version active des CGU en français
|
|
30769
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
30770
|
+
* @param {*} [options] Override http request option.
|
|
30771
|
+
* @throws {RequiredError}
|
|
30772
|
+
*/
|
|
30773
|
+
getLatestTerms: (audience?: TermsAudience, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30774
|
+
};
|
|
30775
|
+
/**
|
|
30776
|
+
* TermsAndConditionsPublicApi - functional programming interface
|
|
30777
|
+
* @export
|
|
30778
|
+
*/
|
|
30779
|
+
export declare const TermsAndConditionsPublicApiFp: (configuration?: Configuration) => {
|
|
30780
|
+
/**
|
|
30781
|
+
* Récupère la dernière version active des CGU en français
|
|
30782
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
30783
|
+
* @param {*} [options] Override http request option.
|
|
30784
|
+
* @throws {RequiredError}
|
|
30785
|
+
*/
|
|
30786
|
+
getLatestTerms(audience?: TermsAudience, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermsAndConditionsResponse>>;
|
|
30787
|
+
};
|
|
30788
|
+
/**
|
|
30789
|
+
* TermsAndConditionsPublicApi - factory interface
|
|
30790
|
+
* @export
|
|
30791
|
+
*/
|
|
30792
|
+
export declare const TermsAndConditionsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
30793
|
+
/**
|
|
30794
|
+
* Récupère la dernière version active des CGU en français
|
|
30795
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
30796
|
+
* @param {*} [options] Override http request option.
|
|
30797
|
+
* @throws {RequiredError}
|
|
30798
|
+
*/
|
|
30799
|
+
getLatestTerms(requestParameters?: TermsAndConditionsPublicApiGetLatestTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TermsAndConditionsResponse>;
|
|
30800
|
+
};
|
|
30801
|
+
/**
|
|
30802
|
+
* Request parameters for getLatestTerms operation in TermsAndConditionsPublicApi.
|
|
30803
|
+
* @export
|
|
30804
|
+
* @interface TermsAndConditionsPublicApiGetLatestTermsRequest
|
|
30805
|
+
*/
|
|
30806
|
+
export interface TermsAndConditionsPublicApiGetLatestTermsRequest {
|
|
30807
|
+
/**
|
|
30808
|
+
* Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
30809
|
+
* @type {TermsAudience}
|
|
30810
|
+
* @memberof TermsAndConditionsPublicApiGetLatestTerms
|
|
30811
|
+
*/
|
|
30812
|
+
readonly audience?: TermsAudience;
|
|
30813
|
+
}
|
|
30814
|
+
/**
|
|
30815
|
+
* TermsAndConditionsPublicApi - object-oriented interface
|
|
30816
|
+
* @export
|
|
30817
|
+
* @class TermsAndConditionsPublicApi
|
|
30818
|
+
* @extends {BaseAPI}
|
|
30819
|
+
*/
|
|
30820
|
+
export declare class TermsAndConditionsPublicApi extends BaseAPI {
|
|
30821
|
+
/**
|
|
30822
|
+
* Récupère la dernière version active des CGU en français
|
|
30823
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
30824
|
+
* @param {*} [options] Override http request option.
|
|
30825
|
+
* @throws {RequiredError}
|
|
30826
|
+
* @memberof TermsAndConditionsPublicApi
|
|
30827
|
+
*/
|
|
30828
|
+
getLatestTerms(requestParameters?: TermsAndConditionsPublicApiGetLatestTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermsAndConditionsResponse, any, {}>>;
|
|
30829
|
+
}
|
|
30715
30830
|
/**
|
|
30716
30831
|
* UserApi - axios parameter creator
|
|
30717
30832
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* openapi.json
|
|
5
5
|
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -275,7 +275,8 @@ export const InvoiceStatus = {
|
|
|
275
275
|
Failed: 'failed',
|
|
276
276
|
Authorized: 'authorized',
|
|
277
277
|
Canceled: 'canceled',
|
|
278
|
-
Expired: 'expired'
|
|
278
|
+
Expired: 'expired',
|
|
279
|
+
Refunded: 'refunded'
|
|
279
280
|
};
|
|
280
281
|
/**
|
|
281
282
|
*
|
|
@@ -541,6 +542,15 @@ export const SurfaceType = {
|
|
|
541
542
|
Carpet: 'carpet',
|
|
542
543
|
Wooden: 'wooden'
|
|
543
544
|
};
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @export
|
|
548
|
+
* @enum {string}
|
|
549
|
+
*/
|
|
550
|
+
export const TermsAudience = {
|
|
551
|
+
User: 'user',
|
|
552
|
+
Manager: 'manager'
|
|
553
|
+
};
|
|
544
554
|
/**
|
|
545
555
|
*
|
|
546
556
|
* @export
|
|
@@ -16701,6 +16711,102 @@ export class SumUpManagerApi extends BaseAPI {
|
|
|
16701
16711
|
return SumUpManagerApiFp(this.configuration).updateSumupReader(requestParameters.clubId, requestParameters.readerId, requestParameters.sumupUpdateReaderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16702
16712
|
}
|
|
16703
16713
|
}
|
|
16714
|
+
/**
|
|
16715
|
+
* TermsAndConditionsPublicApi - axios parameter creator
|
|
16716
|
+
* @export
|
|
16717
|
+
*/
|
|
16718
|
+
export const TermsAndConditionsPublicApiAxiosParamCreator = function (configuration) {
|
|
16719
|
+
return {
|
|
16720
|
+
/**
|
|
16721
|
+
* Récupère la dernière version active des CGU en français
|
|
16722
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
16723
|
+
* @param {*} [options] Override http request option.
|
|
16724
|
+
* @throws {RequiredError}
|
|
16725
|
+
*/
|
|
16726
|
+
getLatestTerms: (audience_1, ...args_1) => __awaiter(this, [audience_1, ...args_1], void 0, function* (audience, options = {}) {
|
|
16727
|
+
const localVarPath = `/api/terms-and-conditions/latest`;
|
|
16728
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16729
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16730
|
+
let baseOptions;
|
|
16731
|
+
if (configuration) {
|
|
16732
|
+
baseOptions = configuration.baseOptions;
|
|
16733
|
+
}
|
|
16734
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16735
|
+
const localVarHeaderParameter = {};
|
|
16736
|
+
const localVarQueryParameter = {};
|
|
16737
|
+
if (audience !== undefined) {
|
|
16738
|
+
localVarQueryParameter['audience'] = audience;
|
|
16739
|
+
}
|
|
16740
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16741
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16742
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16743
|
+
return {
|
|
16744
|
+
url: toPathString(localVarUrlObj),
|
|
16745
|
+
options: localVarRequestOptions,
|
|
16746
|
+
};
|
|
16747
|
+
}),
|
|
16748
|
+
};
|
|
16749
|
+
};
|
|
16750
|
+
/**
|
|
16751
|
+
* TermsAndConditionsPublicApi - functional programming interface
|
|
16752
|
+
* @export
|
|
16753
|
+
*/
|
|
16754
|
+
export const TermsAndConditionsPublicApiFp = function (configuration) {
|
|
16755
|
+
const localVarAxiosParamCreator = TermsAndConditionsPublicApiAxiosParamCreator(configuration);
|
|
16756
|
+
return {
|
|
16757
|
+
/**
|
|
16758
|
+
* Récupère la dernière version active des CGU en français
|
|
16759
|
+
* @param {TermsAudience} [audience] Type de CGU à récupérer: \"user\" pour les utilisateurs finaux, \"manager\" pour les gestionnaires de clubs
|
|
16760
|
+
* @param {*} [options] Override http request option.
|
|
16761
|
+
* @throws {RequiredError}
|
|
16762
|
+
*/
|
|
16763
|
+
getLatestTerms(audience, options) {
|
|
16764
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16765
|
+
var _a, _b, _c;
|
|
16766
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getLatestTerms(audience, options);
|
|
16767
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16768
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TermsAndConditionsPublicApi.getLatestTerms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16770
|
+
});
|
|
16771
|
+
},
|
|
16772
|
+
};
|
|
16773
|
+
};
|
|
16774
|
+
/**
|
|
16775
|
+
* TermsAndConditionsPublicApi - factory interface
|
|
16776
|
+
* @export
|
|
16777
|
+
*/
|
|
16778
|
+
export const TermsAndConditionsPublicApiFactory = function (configuration, basePath, axios) {
|
|
16779
|
+
const localVarFp = TermsAndConditionsPublicApiFp(configuration);
|
|
16780
|
+
return {
|
|
16781
|
+
/**
|
|
16782
|
+
* Récupère la dernière version active des CGU en français
|
|
16783
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
16784
|
+
* @param {*} [options] Override http request option.
|
|
16785
|
+
* @throws {RequiredError}
|
|
16786
|
+
*/
|
|
16787
|
+
getLatestTerms(requestParameters = {}, options) {
|
|
16788
|
+
return localVarFp.getLatestTerms(requestParameters.audience, options).then((request) => request(axios, basePath));
|
|
16789
|
+
},
|
|
16790
|
+
};
|
|
16791
|
+
};
|
|
16792
|
+
/**
|
|
16793
|
+
* TermsAndConditionsPublicApi - object-oriented interface
|
|
16794
|
+
* @export
|
|
16795
|
+
* @class TermsAndConditionsPublicApi
|
|
16796
|
+
* @extends {BaseAPI}
|
|
16797
|
+
*/
|
|
16798
|
+
export class TermsAndConditionsPublicApi extends BaseAPI {
|
|
16799
|
+
/**
|
|
16800
|
+
* Récupère la dernière version active des CGU en français
|
|
16801
|
+
* @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
|
|
16802
|
+
* @param {*} [options] Override http request option.
|
|
16803
|
+
* @throws {RequiredError}
|
|
16804
|
+
* @memberof TermsAndConditionsPublicApi
|
|
16805
|
+
*/
|
|
16806
|
+
getLatestTerms(requestParameters = {}, options) {
|
|
16807
|
+
return TermsAndConditionsPublicApiFp(this.configuration).getLatestTerms(requestParameters.audience, options).then((request) => request(this.axios, this.basePath));
|
|
16808
|
+
}
|
|
16809
|
+
}
|
|
16704
16810
|
/**
|
|
16705
16811
|
* UserApi - axios parameter creator
|
|
16706
16812
|
* @export
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED