@tennac-booking/sdk 1.0.193 → 1.0.195
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 +430 -425
- package/README.md +16 -2
- package/api.ts +847 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +523 -13
- package/dist/api.js +596 -6
- 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 +523 -13
- package/dist/esm/api.js +587 -1
- 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/BookingSummary.md +4 -0
- package/docs/ClubResponse.md +0 -2
- package/docs/EventBookingDetailSummary.md +2 -0
- package/docs/Health200Response.md +22 -0
- package/docs/JobResult.md +24 -0
- package/docs/JobsApi.md +367 -0
- package/docs/MyClubInfosResponse.md +0 -2
- package/docs/StaffEventsPaginatedResponse.md +26 -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/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
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.195
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1375,8 +1375,27 @@ export interface BookingSummary {
|
|
|
1375
1375
|
* @memberof BookingSummary
|
|
1376
1376
|
*/
|
|
1377
1377
|
'players': Array<BookingPlayerPaymentSummary>;
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof BookingSummary
|
|
1382
|
+
*/
|
|
1383
|
+
'userParticipationStatus'?: BookingSummaryUserParticipationStatusEnum;
|
|
1384
|
+
/**
|
|
1385
|
+
*
|
|
1386
|
+
* @type {number}
|
|
1387
|
+
* @memberof BookingSummary
|
|
1388
|
+
*/
|
|
1389
|
+
'waitListPosition'?: number | null;
|
|
1378
1390
|
}
|
|
1379
1391
|
|
|
1392
|
+
export const BookingSummaryUserParticipationStatusEnum = {
|
|
1393
|
+
Participant: 'participant',
|
|
1394
|
+
WaitingJoinPayment: 'waitingJoinPayment',
|
|
1395
|
+
Waitlist: 'waitlist'
|
|
1396
|
+
} as const;
|
|
1397
|
+
|
|
1398
|
+
export type BookingSummaryUserParticipationStatusEnum = typeof BookingSummaryUserParticipationStatusEnum[keyof typeof BookingSummaryUserParticipationStatusEnum];
|
|
1380
1399
|
|
|
1381
1400
|
/**
|
|
1382
1401
|
*
|
|
@@ -3550,12 +3569,6 @@ export interface ClubResponse {
|
|
|
3550
3569
|
* @memberof ClubResponse
|
|
3551
3570
|
*/
|
|
3552
3571
|
'allowMultipleBookingsAtTheSameTime'?: boolean | null;
|
|
3553
|
-
/**
|
|
3554
|
-
* Limite de réservations simultanées (même créneau)
|
|
3555
|
-
* @type {number}
|
|
3556
|
-
* @memberof ClubResponse
|
|
3557
|
-
*/
|
|
3558
|
-
'sameTimeBookingsLimit'?: number | null;
|
|
3559
3572
|
/**
|
|
3560
3573
|
*
|
|
3561
3574
|
* @type {number}
|
|
@@ -5437,6 +5450,12 @@ export interface EventBookingDetailSummary {
|
|
|
5437
5450
|
* @memberof EventBookingDetailSummary
|
|
5438
5451
|
*/
|
|
5439
5452
|
'waitListPosition'?: number | null;
|
|
5453
|
+
/**
|
|
5454
|
+
* Statut de participation de l\'utilisateur pour cet event booking
|
|
5455
|
+
* @type {string}
|
|
5456
|
+
* @memberof EventBookingDetailSummary
|
|
5457
|
+
*/
|
|
5458
|
+
'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
|
|
5440
5459
|
/**
|
|
5441
5460
|
*
|
|
5442
5461
|
* @type {string}
|
|
@@ -5451,6 +5470,13 @@ export interface EventBookingDetailSummary {
|
|
|
5451
5470
|
'updatedAt': string;
|
|
5452
5471
|
}
|
|
5453
5472
|
|
|
5473
|
+
export const EventBookingDetailSummaryUserParticipationStatusEnum = {
|
|
5474
|
+
Participant: 'participant',
|
|
5475
|
+
WaitingJoinPayment: 'waitingJoinPayment',
|
|
5476
|
+
Waitlist: 'waitlist'
|
|
5477
|
+
} as const;
|
|
5478
|
+
|
|
5479
|
+
export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
|
|
5454
5480
|
|
|
5455
5481
|
/**
|
|
5456
5482
|
*
|
|
@@ -6701,6 +6727,25 @@ export interface GoogleAuthResponseUser {
|
|
|
6701
6727
|
*/
|
|
6702
6728
|
'id': string;
|
|
6703
6729
|
}
|
|
6730
|
+
/**
|
|
6731
|
+
*
|
|
6732
|
+
* @export
|
|
6733
|
+
* @interface Health200Response
|
|
6734
|
+
*/
|
|
6735
|
+
export interface Health200Response {
|
|
6736
|
+
/**
|
|
6737
|
+
*
|
|
6738
|
+
* @type {string}
|
|
6739
|
+
* @memberof Health200Response
|
|
6740
|
+
*/
|
|
6741
|
+
'timestamp': string;
|
|
6742
|
+
/**
|
|
6743
|
+
*
|
|
6744
|
+
* @type {string}
|
|
6745
|
+
* @memberof Health200Response
|
|
6746
|
+
*/
|
|
6747
|
+
'status': string;
|
|
6748
|
+
}
|
|
6704
6749
|
/**
|
|
6705
6750
|
*
|
|
6706
6751
|
* @export
|
|
@@ -7422,6 +7467,33 @@ export const InvoiceStatusSETUPSUCCESS = {
|
|
|
7422
7467
|
export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
|
|
7423
7468
|
|
|
7424
7469
|
|
|
7470
|
+
/**
|
|
7471
|
+
*
|
|
7472
|
+
* @export
|
|
7473
|
+
* @interface JobResult
|
|
7474
|
+
*/
|
|
7475
|
+
export interface JobResult {
|
|
7476
|
+
[key: string]: any;
|
|
7477
|
+
|
|
7478
|
+
/**
|
|
7479
|
+
*
|
|
7480
|
+
* @type {boolean}
|
|
7481
|
+
* @memberof JobResult
|
|
7482
|
+
*/
|
|
7483
|
+
'success': boolean;
|
|
7484
|
+
/**
|
|
7485
|
+
*
|
|
7486
|
+
* @type {string}
|
|
7487
|
+
* @memberof JobResult
|
|
7488
|
+
*/
|
|
7489
|
+
'job': string;
|
|
7490
|
+
/**
|
|
7491
|
+
*
|
|
7492
|
+
* @type {string}
|
|
7493
|
+
* @memberof JobResult
|
|
7494
|
+
*/
|
|
7495
|
+
'timestamp': string;
|
|
7496
|
+
}
|
|
7425
7497
|
/**
|
|
7426
7498
|
*
|
|
7427
7499
|
* @export
|
|
@@ -8184,12 +8256,6 @@ export interface MyClubInfosResponse {
|
|
|
8184
8256
|
* @memberof MyClubInfosResponse
|
|
8185
8257
|
*/
|
|
8186
8258
|
'remainingBookings': number;
|
|
8187
|
-
/**
|
|
8188
|
-
*
|
|
8189
|
-
* @type {number}
|
|
8190
|
-
* @memberof MyClubInfosResponse
|
|
8191
|
-
*/
|
|
8192
|
-
'sameTimeBookingsLimit'?: number;
|
|
8193
8259
|
/**
|
|
8194
8260
|
*
|
|
8195
8261
|
* @type {number}
|
|
@@ -14107,6 +14173,100 @@ export const VisibilityType = {
|
|
|
14107
14173
|
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
14108
14174
|
|
|
14109
14175
|
|
|
14176
|
+
/**
|
|
14177
|
+
*
|
|
14178
|
+
* @export
|
|
14179
|
+
* @interface WaitListEntryWithPlayer
|
|
14180
|
+
*/
|
|
14181
|
+
export interface WaitListEntryWithPlayer {
|
|
14182
|
+
/**
|
|
14183
|
+
*
|
|
14184
|
+
* @type {string}
|
|
14185
|
+
* @memberof WaitListEntryWithPlayer
|
|
14186
|
+
*/
|
|
14187
|
+
'id': string;
|
|
14188
|
+
/**
|
|
14189
|
+
*
|
|
14190
|
+
* @type {string}
|
|
14191
|
+
* @memberof WaitListEntryWithPlayer
|
|
14192
|
+
*/
|
|
14193
|
+
'userId': string;
|
|
14194
|
+
/**
|
|
14195
|
+
*
|
|
14196
|
+
* @type {string}
|
|
14197
|
+
* @memberof WaitListEntryWithPlayer
|
|
14198
|
+
*/
|
|
14199
|
+
'clubId': string;
|
|
14200
|
+
/**
|
|
14201
|
+
*
|
|
14202
|
+
* @type {string}
|
|
14203
|
+
* @memberof WaitListEntryWithPlayer
|
|
14204
|
+
*/
|
|
14205
|
+
'targetType': WaitListEntryWithPlayerTargetTypeEnum;
|
|
14206
|
+
/**
|
|
14207
|
+
*
|
|
14208
|
+
* @type {string}
|
|
14209
|
+
* @memberof WaitListEntryWithPlayer
|
|
14210
|
+
*/
|
|
14211
|
+
'targetId': string;
|
|
14212
|
+
/**
|
|
14213
|
+
*
|
|
14214
|
+
* @type {string}
|
|
14215
|
+
* @memberof WaitListEntryWithPlayer
|
|
14216
|
+
*/
|
|
14217
|
+
'status': string;
|
|
14218
|
+
/**
|
|
14219
|
+
*
|
|
14220
|
+
* @type {number}
|
|
14221
|
+
* @memberof WaitListEntryWithPlayer
|
|
14222
|
+
*/
|
|
14223
|
+
'position': number;
|
|
14224
|
+
/**
|
|
14225
|
+
*
|
|
14226
|
+
* @type {number}
|
|
14227
|
+
* @memberof WaitListEntryWithPlayer
|
|
14228
|
+
*/
|
|
14229
|
+
'priceInCents': number;
|
|
14230
|
+
/**
|
|
14231
|
+
*
|
|
14232
|
+
* @type {string}
|
|
14233
|
+
* @memberof WaitListEntryWithPlayer
|
|
14234
|
+
*/
|
|
14235
|
+
'joinedAt': string;
|
|
14236
|
+
/**
|
|
14237
|
+
*
|
|
14238
|
+
* @type {string}
|
|
14239
|
+
* @memberof WaitListEntryWithPlayer
|
|
14240
|
+
*/
|
|
14241
|
+
'notifiedAt'?: string;
|
|
14242
|
+
/**
|
|
14243
|
+
*
|
|
14244
|
+
* @type {string}
|
|
14245
|
+
* @memberof WaitListEntryWithPlayer
|
|
14246
|
+
*/
|
|
14247
|
+
'paymentExpiresAt'?: string;
|
|
14248
|
+
/**
|
|
14249
|
+
*
|
|
14250
|
+
* @type {string}
|
|
14251
|
+
* @memberof WaitListEntryWithPlayer
|
|
14252
|
+
*/
|
|
14253
|
+
'confirmedAt'?: string;
|
|
14254
|
+
/**
|
|
14255
|
+
*
|
|
14256
|
+
* @type {WaitListPlayer}
|
|
14257
|
+
* @memberof WaitListEntryWithPlayer
|
|
14258
|
+
*/
|
|
14259
|
+
'player': WaitListPlayer;
|
|
14260
|
+
}
|
|
14261
|
+
|
|
14262
|
+
export const WaitListEntryWithPlayerTargetTypeEnum = {
|
|
14263
|
+
Event: 'event',
|
|
14264
|
+
Booking: 'booking',
|
|
14265
|
+
EventBooking: 'event_booking'
|
|
14266
|
+
} as const;
|
|
14267
|
+
|
|
14268
|
+
export type WaitListEntryWithPlayerTargetTypeEnum = typeof WaitListEntryWithPlayerTargetTypeEnum[keyof typeof WaitListEntryWithPlayerTargetTypeEnum];
|
|
14269
|
+
|
|
14110
14270
|
/**
|
|
14111
14271
|
*
|
|
14112
14272
|
* @export
|
|
@@ -14126,6 +14286,62 @@ export interface WaitListListResponse {
|
|
|
14126
14286
|
*/
|
|
14127
14287
|
'total': number;
|
|
14128
14288
|
}
|
|
14289
|
+
/**
|
|
14290
|
+
*
|
|
14291
|
+
* @export
|
|
14292
|
+
* @interface WaitListPlayer
|
|
14293
|
+
*/
|
|
14294
|
+
export interface WaitListPlayer {
|
|
14295
|
+
/**
|
|
14296
|
+
*
|
|
14297
|
+
* @type {string}
|
|
14298
|
+
* @memberof WaitListPlayer
|
|
14299
|
+
*/
|
|
14300
|
+
'id': string;
|
|
14301
|
+
/**
|
|
14302
|
+
*
|
|
14303
|
+
* @type {string}
|
|
14304
|
+
* @memberof WaitListPlayer
|
|
14305
|
+
*/
|
|
14306
|
+
'firstName': string;
|
|
14307
|
+
/**
|
|
14308
|
+
*
|
|
14309
|
+
* @type {string}
|
|
14310
|
+
* @memberof WaitListPlayer
|
|
14311
|
+
*/
|
|
14312
|
+
'lastName': string;
|
|
14313
|
+
/**
|
|
14314
|
+
*
|
|
14315
|
+
* @type {string}
|
|
14316
|
+
* @memberof WaitListPlayer
|
|
14317
|
+
*/
|
|
14318
|
+
'username'?: string;
|
|
14319
|
+
/**
|
|
14320
|
+
*
|
|
14321
|
+
* @type {string}
|
|
14322
|
+
* @memberof WaitListPlayer
|
|
14323
|
+
*/
|
|
14324
|
+
'profilePicture'?: string;
|
|
14325
|
+
}
|
|
14326
|
+
/**
|
|
14327
|
+
*
|
|
14328
|
+
* @export
|
|
14329
|
+
* @interface WaitListPlayersListResponse
|
|
14330
|
+
*/
|
|
14331
|
+
export interface WaitListPlayersListResponse {
|
|
14332
|
+
/**
|
|
14333
|
+
*
|
|
14334
|
+
* @type {Array<WaitListEntryWithPlayer>}
|
|
14335
|
+
* @memberof WaitListPlayersListResponse
|
|
14336
|
+
*/
|
|
14337
|
+
'waitList': Array<WaitListEntryWithPlayer>;
|
|
14338
|
+
/**
|
|
14339
|
+
*
|
|
14340
|
+
* @type {number}
|
|
14341
|
+
* @memberof WaitListPlayersListResponse
|
|
14342
|
+
*/
|
|
14343
|
+
'total': number;
|
|
14344
|
+
}
|
|
14129
14345
|
/**
|
|
14130
14346
|
*
|
|
14131
14347
|
* @export
|
|
@@ -28643,6 +28859,541 @@ export class ImagesApi extends BaseAPI {
|
|
|
28643
28859
|
|
|
28644
28860
|
|
|
28645
28861
|
|
|
28862
|
+
/**
|
|
28863
|
+
* JobsApi - axios parameter creator
|
|
28864
|
+
* @export
|
|
28865
|
+
*/
|
|
28866
|
+
export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28867
|
+
return {
|
|
28868
|
+
/**
|
|
28869
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
28870
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
28871
|
+
* @param {*} [options] Override http request option.
|
|
28872
|
+
* @throws {RequiredError}
|
|
28873
|
+
*/
|
|
28874
|
+
captureExpiringAuthorizations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28875
|
+
const localVarPath = `/api/jobs/capture-expiring-authorizations`;
|
|
28876
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28877
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28878
|
+
let baseOptions;
|
|
28879
|
+
if (configuration) {
|
|
28880
|
+
baseOptions = configuration.baseOptions;
|
|
28881
|
+
}
|
|
28882
|
+
|
|
28883
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28884
|
+
const localVarHeaderParameter = {} as any;
|
|
28885
|
+
const localVarQueryParameter = {} as any;
|
|
28886
|
+
|
|
28887
|
+
|
|
28888
|
+
|
|
28889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28891
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28892
|
+
|
|
28893
|
+
return {
|
|
28894
|
+
url: toPathString(localVarUrlObj),
|
|
28895
|
+
options: localVarRequestOptions,
|
|
28896
|
+
};
|
|
28897
|
+
},
|
|
28898
|
+
/**
|
|
28899
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
28900
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
28901
|
+
* @param {*} [options] Override http request option.
|
|
28902
|
+
* @throws {RequiredError}
|
|
28903
|
+
*/
|
|
28904
|
+
capturePastReservations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28905
|
+
const localVarPath = `/api/jobs/capture-past-reservations`;
|
|
28906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28908
|
+
let baseOptions;
|
|
28909
|
+
if (configuration) {
|
|
28910
|
+
baseOptions = configuration.baseOptions;
|
|
28911
|
+
}
|
|
28912
|
+
|
|
28913
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28914
|
+
const localVarHeaderParameter = {} as any;
|
|
28915
|
+
const localVarQueryParameter = {} as any;
|
|
28916
|
+
|
|
28917
|
+
|
|
28918
|
+
|
|
28919
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28920
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28921
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28922
|
+
|
|
28923
|
+
return {
|
|
28924
|
+
url: toPathString(localVarUrlObj),
|
|
28925
|
+
options: localVarRequestOptions,
|
|
28926
|
+
};
|
|
28927
|
+
},
|
|
28928
|
+
/**
|
|
28929
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
28930
|
+
* @summary Expire les réservations en attente de paiement
|
|
28931
|
+
* @param {*} [options] Override http request option.
|
|
28932
|
+
* @throws {RequiredError}
|
|
28933
|
+
*/
|
|
28934
|
+
expireBookingWaitingPayments: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28935
|
+
const localVarPath = `/api/jobs/expire-booking-waiting-payments`;
|
|
28936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28938
|
+
let baseOptions;
|
|
28939
|
+
if (configuration) {
|
|
28940
|
+
baseOptions = configuration.baseOptions;
|
|
28941
|
+
}
|
|
28942
|
+
|
|
28943
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28944
|
+
const localVarHeaderParameter = {} as any;
|
|
28945
|
+
const localVarQueryParameter = {} as any;
|
|
28946
|
+
|
|
28947
|
+
|
|
28948
|
+
|
|
28949
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28950
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28951
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28952
|
+
|
|
28953
|
+
return {
|
|
28954
|
+
url: toPathString(localVarUrlObj),
|
|
28955
|
+
options: localVarRequestOptions,
|
|
28956
|
+
};
|
|
28957
|
+
},
|
|
28958
|
+
/**
|
|
28959
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
28960
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
28961
|
+
* @param {*} [options] Override http request option.
|
|
28962
|
+
* @throws {RequiredError}
|
|
28963
|
+
*/
|
|
28964
|
+
expireWaitlistPayments: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28965
|
+
const localVarPath = `/api/jobs/expire-waitlist-payments`;
|
|
28966
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28967
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28968
|
+
let baseOptions;
|
|
28969
|
+
if (configuration) {
|
|
28970
|
+
baseOptions = configuration.baseOptions;
|
|
28971
|
+
}
|
|
28972
|
+
|
|
28973
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28974
|
+
const localVarHeaderParameter = {} as any;
|
|
28975
|
+
const localVarQueryParameter = {} as any;
|
|
28976
|
+
|
|
28977
|
+
|
|
28978
|
+
|
|
28979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28982
|
+
|
|
28983
|
+
return {
|
|
28984
|
+
url: toPathString(localVarUrlObj),
|
|
28985
|
+
options: localVarRequestOptions,
|
|
28986
|
+
};
|
|
28987
|
+
},
|
|
28988
|
+
/**
|
|
28989
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
28990
|
+
* @summary Health check pour les jobs
|
|
28991
|
+
* @param {*} [options] Override http request option.
|
|
28992
|
+
* @throws {RequiredError}
|
|
28993
|
+
*/
|
|
28994
|
+
health: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28995
|
+
const localVarPath = `/api/jobs/health`;
|
|
28996
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28997
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28998
|
+
let baseOptions;
|
|
28999
|
+
if (configuration) {
|
|
29000
|
+
baseOptions = configuration.baseOptions;
|
|
29001
|
+
}
|
|
29002
|
+
|
|
29003
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29004
|
+
const localVarHeaderParameter = {} as any;
|
|
29005
|
+
const localVarQueryParameter = {} as any;
|
|
29006
|
+
|
|
29007
|
+
|
|
29008
|
+
|
|
29009
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29010
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29011
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29012
|
+
|
|
29013
|
+
return {
|
|
29014
|
+
url: toPathString(localVarUrlObj),
|
|
29015
|
+
options: localVarRequestOptions,
|
|
29016
|
+
};
|
|
29017
|
+
},
|
|
29018
|
+
/**
|
|
29019
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29020
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29021
|
+
* @param {*} [options] Override http request option.
|
|
29022
|
+
* @throws {RequiredError}
|
|
29023
|
+
*/
|
|
29024
|
+
maintainSlots: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29025
|
+
const localVarPath = `/api/jobs/maintain-slots`;
|
|
29026
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29027
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29028
|
+
let baseOptions;
|
|
29029
|
+
if (configuration) {
|
|
29030
|
+
baseOptions = configuration.baseOptions;
|
|
29031
|
+
}
|
|
29032
|
+
|
|
29033
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29034
|
+
const localVarHeaderParameter = {} as any;
|
|
29035
|
+
const localVarQueryParameter = {} as any;
|
|
29036
|
+
|
|
29037
|
+
|
|
29038
|
+
|
|
29039
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29040
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29041
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29042
|
+
|
|
29043
|
+
return {
|
|
29044
|
+
url: toPathString(localVarUrlObj),
|
|
29045
|
+
options: localVarRequestOptions,
|
|
29046
|
+
};
|
|
29047
|
+
},
|
|
29048
|
+
/**
|
|
29049
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29050
|
+
* @summary Libère les anciennes réservations terminées
|
|
29051
|
+
* @param {*} [options] Override http request option.
|
|
29052
|
+
* @throws {RequiredError}
|
|
29053
|
+
*/
|
|
29054
|
+
releaseOldBookings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29055
|
+
const localVarPath = `/api/jobs/release-old-bookings`;
|
|
29056
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29057
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29058
|
+
let baseOptions;
|
|
29059
|
+
if (configuration) {
|
|
29060
|
+
baseOptions = configuration.baseOptions;
|
|
29061
|
+
}
|
|
29062
|
+
|
|
29063
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29064
|
+
const localVarHeaderParameter = {} as any;
|
|
29065
|
+
const localVarQueryParameter = {} as any;
|
|
29066
|
+
|
|
29067
|
+
|
|
29068
|
+
|
|
29069
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29070
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29071
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29072
|
+
|
|
29073
|
+
return {
|
|
29074
|
+
url: toPathString(localVarUrlObj),
|
|
29075
|
+
options: localVarRequestOptions,
|
|
29076
|
+
};
|
|
29077
|
+
},
|
|
29078
|
+
/**
|
|
29079
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
29080
|
+
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
29081
|
+
* @param {*} [options] Override http request option.
|
|
29082
|
+
* @throws {RequiredError}
|
|
29083
|
+
*/
|
|
29084
|
+
sendBookingReminders: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29085
|
+
const localVarPath = `/api/jobs/send-booking-reminders`;
|
|
29086
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29087
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29088
|
+
let baseOptions;
|
|
29089
|
+
if (configuration) {
|
|
29090
|
+
baseOptions = configuration.baseOptions;
|
|
29091
|
+
}
|
|
29092
|
+
|
|
29093
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29094
|
+
const localVarHeaderParameter = {} as any;
|
|
29095
|
+
const localVarQueryParameter = {} as any;
|
|
29096
|
+
|
|
29097
|
+
|
|
29098
|
+
|
|
29099
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29101
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29102
|
+
|
|
29103
|
+
return {
|
|
29104
|
+
url: toPathString(localVarUrlObj),
|
|
29105
|
+
options: localVarRequestOptions,
|
|
29106
|
+
};
|
|
29107
|
+
},
|
|
29108
|
+
}
|
|
29109
|
+
};
|
|
29110
|
+
|
|
29111
|
+
/**
|
|
29112
|
+
* JobsApi - functional programming interface
|
|
29113
|
+
* @export
|
|
29114
|
+
*/
|
|
29115
|
+
export const JobsApiFp = function(configuration?: Configuration) {
|
|
29116
|
+
const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
|
|
29117
|
+
return {
|
|
29118
|
+
/**
|
|
29119
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29120
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29121
|
+
* @param {*} [options] Override http request option.
|
|
29122
|
+
* @throws {RequiredError}
|
|
29123
|
+
*/
|
|
29124
|
+
async captureExpiringAuthorizations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.captureExpiringAuthorizations(options);
|
|
29126
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29127
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.captureExpiringAuthorizations']?.[localVarOperationServerIndex]?.url;
|
|
29128
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29129
|
+
},
|
|
29130
|
+
/**
|
|
29131
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29132
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29133
|
+
* @param {*} [options] Override http request option.
|
|
29134
|
+
* @throws {RequiredError}
|
|
29135
|
+
*/
|
|
29136
|
+
async capturePastReservations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.capturePastReservations(options);
|
|
29138
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29139
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.capturePastReservations']?.[localVarOperationServerIndex]?.url;
|
|
29140
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29141
|
+
},
|
|
29142
|
+
/**
|
|
29143
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29144
|
+
* @summary Expire les réservations en attente de paiement
|
|
29145
|
+
* @param {*} [options] Override http request option.
|
|
29146
|
+
* @throws {RequiredError}
|
|
29147
|
+
*/
|
|
29148
|
+
async expireBookingWaitingPayments(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.expireBookingWaitingPayments(options);
|
|
29150
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29151
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.expireBookingWaitingPayments']?.[localVarOperationServerIndex]?.url;
|
|
29152
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29153
|
+
},
|
|
29154
|
+
/**
|
|
29155
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29156
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29157
|
+
* @param {*} [options] Override http request option.
|
|
29158
|
+
* @throws {RequiredError}
|
|
29159
|
+
*/
|
|
29160
|
+
async expireWaitlistPayments(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29161
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.expireWaitlistPayments(options);
|
|
29162
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29163
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.expireWaitlistPayments']?.[localVarOperationServerIndex]?.url;
|
|
29164
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29165
|
+
},
|
|
29166
|
+
/**
|
|
29167
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29168
|
+
* @summary Health check pour les jobs
|
|
29169
|
+
* @param {*} [options] Override http request option.
|
|
29170
|
+
* @throws {RequiredError}
|
|
29171
|
+
*/
|
|
29172
|
+
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Health200Response>> {
|
|
29173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
|
|
29174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29175
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.health']?.[localVarOperationServerIndex]?.url;
|
|
29176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29177
|
+
},
|
|
29178
|
+
/**
|
|
29179
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29180
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29181
|
+
* @param {*} [options] Override http request option.
|
|
29182
|
+
* @throws {RequiredError}
|
|
29183
|
+
*/
|
|
29184
|
+
async maintainSlots(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29185
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.maintainSlots(options);
|
|
29186
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29187
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.maintainSlots']?.[localVarOperationServerIndex]?.url;
|
|
29188
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29189
|
+
},
|
|
29190
|
+
/**
|
|
29191
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29192
|
+
* @summary Libère les anciennes réservations terminées
|
|
29193
|
+
* @param {*} [options] Override http request option.
|
|
29194
|
+
* @throws {RequiredError}
|
|
29195
|
+
*/
|
|
29196
|
+
async releaseOldBookings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29197
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.releaseOldBookings(options);
|
|
29198
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29199
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.releaseOldBookings']?.[localVarOperationServerIndex]?.url;
|
|
29200
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29201
|
+
},
|
|
29202
|
+
/**
|
|
29203
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
29204
|
+
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
29205
|
+
* @param {*} [options] Override http request option.
|
|
29206
|
+
* @throws {RequiredError}
|
|
29207
|
+
*/
|
|
29208
|
+
async sendBookingReminders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendBookingReminders(options);
|
|
29210
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29211
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.sendBookingReminders']?.[localVarOperationServerIndex]?.url;
|
|
29212
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29213
|
+
},
|
|
29214
|
+
}
|
|
29215
|
+
};
|
|
29216
|
+
|
|
29217
|
+
/**
|
|
29218
|
+
* JobsApi - factory interface
|
|
29219
|
+
* @export
|
|
29220
|
+
*/
|
|
29221
|
+
export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29222
|
+
const localVarFp = JobsApiFp(configuration)
|
|
29223
|
+
return {
|
|
29224
|
+
/**
|
|
29225
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29226
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29227
|
+
* @param {*} [options] Override http request option.
|
|
29228
|
+
* @throws {RequiredError}
|
|
29229
|
+
*/
|
|
29230
|
+
captureExpiringAuthorizations(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29231
|
+
return localVarFp.captureExpiringAuthorizations(options).then((request) => request(axios, basePath));
|
|
29232
|
+
},
|
|
29233
|
+
/**
|
|
29234
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29235
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29236
|
+
* @param {*} [options] Override http request option.
|
|
29237
|
+
* @throws {RequiredError}
|
|
29238
|
+
*/
|
|
29239
|
+
capturePastReservations(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29240
|
+
return localVarFp.capturePastReservations(options).then((request) => request(axios, basePath));
|
|
29241
|
+
},
|
|
29242
|
+
/**
|
|
29243
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29244
|
+
* @summary Expire les réservations en attente de paiement
|
|
29245
|
+
* @param {*} [options] Override http request option.
|
|
29246
|
+
* @throws {RequiredError}
|
|
29247
|
+
*/
|
|
29248
|
+
expireBookingWaitingPayments(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29249
|
+
return localVarFp.expireBookingWaitingPayments(options).then((request) => request(axios, basePath));
|
|
29250
|
+
},
|
|
29251
|
+
/**
|
|
29252
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29253
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29254
|
+
* @param {*} [options] Override http request option.
|
|
29255
|
+
* @throws {RequiredError}
|
|
29256
|
+
*/
|
|
29257
|
+
expireWaitlistPayments(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29258
|
+
return localVarFp.expireWaitlistPayments(options).then((request) => request(axios, basePath));
|
|
29259
|
+
},
|
|
29260
|
+
/**
|
|
29261
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29262
|
+
* @summary Health check pour les jobs
|
|
29263
|
+
* @param {*} [options] Override http request option.
|
|
29264
|
+
* @throws {RequiredError}
|
|
29265
|
+
*/
|
|
29266
|
+
health(options?: RawAxiosRequestConfig): AxiosPromise<Health200Response> {
|
|
29267
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
29268
|
+
},
|
|
29269
|
+
/**
|
|
29270
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29271
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29272
|
+
* @param {*} [options] Override http request option.
|
|
29273
|
+
* @throws {RequiredError}
|
|
29274
|
+
*/
|
|
29275
|
+
maintainSlots(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29276
|
+
return localVarFp.maintainSlots(options).then((request) => request(axios, basePath));
|
|
29277
|
+
},
|
|
29278
|
+
/**
|
|
29279
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29280
|
+
* @summary Libère les anciennes réservations terminées
|
|
29281
|
+
* @param {*} [options] Override http request option.
|
|
29282
|
+
* @throws {RequiredError}
|
|
29283
|
+
*/
|
|
29284
|
+
releaseOldBookings(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29285
|
+
return localVarFp.releaseOldBookings(options).then((request) => request(axios, basePath));
|
|
29286
|
+
},
|
|
29287
|
+
/**
|
|
29288
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
29289
|
+
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
29290
|
+
* @param {*} [options] Override http request option.
|
|
29291
|
+
* @throws {RequiredError}
|
|
29292
|
+
*/
|
|
29293
|
+
sendBookingReminders(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29294
|
+
return localVarFp.sendBookingReminders(options).then((request) => request(axios, basePath));
|
|
29295
|
+
},
|
|
29296
|
+
};
|
|
29297
|
+
};
|
|
29298
|
+
|
|
29299
|
+
/**
|
|
29300
|
+
* JobsApi - object-oriented interface
|
|
29301
|
+
* @export
|
|
29302
|
+
* @class JobsApi
|
|
29303
|
+
* @extends {BaseAPI}
|
|
29304
|
+
*/
|
|
29305
|
+
export class JobsApi extends BaseAPI {
|
|
29306
|
+
/**
|
|
29307
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29308
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29309
|
+
* @param {*} [options] Override http request option.
|
|
29310
|
+
* @throws {RequiredError}
|
|
29311
|
+
* @memberof JobsApi
|
|
29312
|
+
*/
|
|
29313
|
+
public captureExpiringAuthorizations(options?: RawAxiosRequestConfig) {
|
|
29314
|
+
return JobsApiFp(this.configuration).captureExpiringAuthorizations(options).then((request) => request(this.axios, this.basePath));
|
|
29315
|
+
}
|
|
29316
|
+
|
|
29317
|
+
/**
|
|
29318
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29319
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29320
|
+
* @param {*} [options] Override http request option.
|
|
29321
|
+
* @throws {RequiredError}
|
|
29322
|
+
* @memberof JobsApi
|
|
29323
|
+
*/
|
|
29324
|
+
public capturePastReservations(options?: RawAxiosRequestConfig) {
|
|
29325
|
+
return JobsApiFp(this.configuration).capturePastReservations(options).then((request) => request(this.axios, this.basePath));
|
|
29326
|
+
}
|
|
29327
|
+
|
|
29328
|
+
/**
|
|
29329
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29330
|
+
* @summary Expire les réservations en attente de paiement
|
|
29331
|
+
* @param {*} [options] Override http request option.
|
|
29332
|
+
* @throws {RequiredError}
|
|
29333
|
+
* @memberof JobsApi
|
|
29334
|
+
*/
|
|
29335
|
+
public expireBookingWaitingPayments(options?: RawAxiosRequestConfig) {
|
|
29336
|
+
return JobsApiFp(this.configuration).expireBookingWaitingPayments(options).then((request) => request(this.axios, this.basePath));
|
|
29337
|
+
}
|
|
29338
|
+
|
|
29339
|
+
/**
|
|
29340
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29341
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29342
|
+
* @param {*} [options] Override http request option.
|
|
29343
|
+
* @throws {RequiredError}
|
|
29344
|
+
* @memberof JobsApi
|
|
29345
|
+
*/
|
|
29346
|
+
public expireWaitlistPayments(options?: RawAxiosRequestConfig) {
|
|
29347
|
+
return JobsApiFp(this.configuration).expireWaitlistPayments(options).then((request) => request(this.axios, this.basePath));
|
|
29348
|
+
}
|
|
29349
|
+
|
|
29350
|
+
/**
|
|
29351
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29352
|
+
* @summary Health check pour les jobs
|
|
29353
|
+
* @param {*} [options] Override http request option.
|
|
29354
|
+
* @throws {RequiredError}
|
|
29355
|
+
* @memberof JobsApi
|
|
29356
|
+
*/
|
|
29357
|
+
public health(options?: RawAxiosRequestConfig) {
|
|
29358
|
+
return JobsApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
29359
|
+
}
|
|
29360
|
+
|
|
29361
|
+
/**
|
|
29362
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29363
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29364
|
+
* @param {*} [options] Override http request option.
|
|
29365
|
+
* @throws {RequiredError}
|
|
29366
|
+
* @memberof JobsApi
|
|
29367
|
+
*/
|
|
29368
|
+
public maintainSlots(options?: RawAxiosRequestConfig) {
|
|
29369
|
+
return JobsApiFp(this.configuration).maintainSlots(options).then((request) => request(this.axios, this.basePath));
|
|
29370
|
+
}
|
|
29371
|
+
|
|
29372
|
+
/**
|
|
29373
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29374
|
+
* @summary Libère les anciennes réservations terminées
|
|
29375
|
+
* @param {*} [options] Override http request option.
|
|
29376
|
+
* @throws {RequiredError}
|
|
29377
|
+
* @memberof JobsApi
|
|
29378
|
+
*/
|
|
29379
|
+
public releaseOldBookings(options?: RawAxiosRequestConfig) {
|
|
29380
|
+
return JobsApiFp(this.configuration).releaseOldBookings(options).then((request) => request(this.axios, this.basePath));
|
|
29381
|
+
}
|
|
29382
|
+
|
|
29383
|
+
/**
|
|
29384
|
+
* Job: Envoyer les rappels de réservation et d\'événements Fréquence recommandée: Toutes les heures
|
|
29385
|
+
* @summary Envoie des emails de rappel 24h avant les réservations et événements
|
|
29386
|
+
* @param {*} [options] Override http request option.
|
|
29387
|
+
* @throws {RequiredError}
|
|
29388
|
+
* @memberof JobsApi
|
|
29389
|
+
*/
|
|
29390
|
+
public sendBookingReminders(options?: RawAxiosRequestConfig) {
|
|
29391
|
+
return JobsApiFp(this.configuration).sendBookingReminders(options).then((request) => request(this.axios, this.basePath));
|
|
29392
|
+
}
|
|
29393
|
+
}
|
|
29394
|
+
|
|
29395
|
+
|
|
29396
|
+
|
|
28646
29397
|
/**
|
|
28647
29398
|
* PublicEmailApi - axios parameter creator
|
|
28648
29399
|
* @export
|
|
@@ -35069,6 +35820,43 @@ export const WaitListStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35069
35820
|
|
|
35070
35821
|
|
|
35071
35822
|
|
|
35823
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35824
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35825
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35826
|
+
|
|
35827
|
+
return {
|
|
35828
|
+
url: toPathString(localVarUrlObj),
|
|
35829
|
+
options: localVarRequestOptions,
|
|
35830
|
+
};
|
|
35831
|
+
},
|
|
35832
|
+
/**
|
|
35833
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
35834
|
+
* @param {string} eventId
|
|
35835
|
+
* @param {*} [options] Override http request option.
|
|
35836
|
+
* @throws {RequiredError}
|
|
35837
|
+
*/
|
|
35838
|
+
getEventWaitListPlayers: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35839
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35840
|
+
assertParamExists('getEventWaitListPlayers', 'eventId', eventId)
|
|
35841
|
+
const localVarPath = `/api/waitlist/event/{eventId}/players`
|
|
35842
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
35843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35844
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35845
|
+
let baseOptions;
|
|
35846
|
+
if (configuration) {
|
|
35847
|
+
baseOptions = configuration.baseOptions;
|
|
35848
|
+
}
|
|
35849
|
+
|
|
35850
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35851
|
+
const localVarHeaderParameter = {} as any;
|
|
35852
|
+
const localVarQueryParameter = {} as any;
|
|
35853
|
+
|
|
35854
|
+
// authentication bearerAuth required
|
|
35855
|
+
// http bearer authentication required
|
|
35856
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35857
|
+
|
|
35858
|
+
|
|
35859
|
+
|
|
35072
35860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35073
35861
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35074
35862
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -35235,6 +36023,18 @@ export const WaitListStaffApiFp = function(configuration?: Configuration) {
|
|
|
35235
36023
|
const localVarOperationServerBasePath = operationServerMap['WaitListStaffApi.getEventWaitList']?.[localVarOperationServerIndex]?.url;
|
|
35236
36024
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35237
36025
|
},
|
|
36026
|
+
/**
|
|
36027
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
36028
|
+
* @param {string} eventId
|
|
36029
|
+
* @param {*} [options] Override http request option.
|
|
36030
|
+
* @throws {RequiredError}
|
|
36031
|
+
*/
|
|
36032
|
+
async getEventWaitListPlayers(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitListPlayersListResponse>> {
|
|
36033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventWaitListPlayers(eventId, options);
|
|
36034
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36035
|
+
const localVarOperationServerBasePath = operationServerMap['WaitListStaffApi.getEventWaitListPlayers']?.[localVarOperationServerIndex]?.url;
|
|
36036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36037
|
+
},
|
|
35238
36038
|
/**
|
|
35239
36039
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35240
36040
|
* @param {string} bookingId
|
|
@@ -35308,6 +36108,15 @@ export const WaitListStaffApiFactory = function (configuration?: Configuration,
|
|
|
35308
36108
|
getEventWaitList(requestParameters: WaitListStaffApiGetEventWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<WaitListListResponse> {
|
|
35309
36109
|
return localVarFp.getEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
35310
36110
|
},
|
|
36111
|
+
/**
|
|
36112
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
36113
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
36114
|
+
* @param {*} [options] Override http request option.
|
|
36115
|
+
* @throws {RequiredError}
|
|
36116
|
+
*/
|
|
36117
|
+
getEventWaitListPlayers(requestParameters: WaitListStaffApiGetEventWaitListPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<WaitListPlayersListResponse> {
|
|
36118
|
+
return localVarFp.getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
36119
|
+
},
|
|
35311
36120
|
/**
|
|
35312
36121
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35313
36122
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|
|
@@ -35380,6 +36189,20 @@ export interface WaitListStaffApiGetEventWaitListRequest {
|
|
|
35380
36189
|
readonly eventId: string
|
|
35381
36190
|
}
|
|
35382
36191
|
|
|
36192
|
+
/**
|
|
36193
|
+
* Request parameters for getEventWaitListPlayers operation in WaitListStaffApi.
|
|
36194
|
+
* @export
|
|
36195
|
+
* @interface WaitListStaffApiGetEventWaitListPlayersRequest
|
|
36196
|
+
*/
|
|
36197
|
+
export interface WaitListStaffApiGetEventWaitListPlayersRequest {
|
|
36198
|
+
/**
|
|
36199
|
+
*
|
|
36200
|
+
* @type {string}
|
|
36201
|
+
* @memberof WaitListStaffApiGetEventWaitListPlayers
|
|
36202
|
+
*/
|
|
36203
|
+
readonly eventId: string
|
|
36204
|
+
}
|
|
36205
|
+
|
|
35383
36206
|
/**
|
|
35384
36207
|
* Request parameters for processBookingWaitList operation in WaitListStaffApi.
|
|
35385
36208
|
* @export
|
|
@@ -35462,6 +36285,17 @@ export class WaitListStaffApi extends BaseAPI {
|
|
|
35462
36285
|
return WaitListStaffApiFp(this.configuration).getEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
35463
36286
|
}
|
|
35464
36287
|
|
|
36288
|
+
/**
|
|
36289
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
36290
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
36291
|
+
* @param {*} [options] Override http request option.
|
|
36292
|
+
* @throws {RequiredError}
|
|
36293
|
+
* @memberof WaitListStaffApi
|
|
36294
|
+
*/
|
|
36295
|
+
public getEventWaitListPlayers(requestParameters: WaitListStaffApiGetEventWaitListPlayersRequest, options?: RawAxiosRequestConfig) {
|
|
36296
|
+
return WaitListStaffApiFp(this.configuration).getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
36297
|
+
}
|
|
36298
|
+
|
|
35465
36299
|
/**
|
|
35466
36300
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35467
36301
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|