@tennac-booking/sdk 1.0.193 → 1.0.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +13 -0
- package/api.ts +813 -61
- package/dist/api.d.ts +463 -0
- package/dist/api.js +525 -4
- package/dist/esm/api.d.ts +463 -0
- package/dist/esm/api.js +517 -0
- package/docs/Health200Response.md +22 -0
- package/docs/JobResult.md +24 -0
- package/docs/JobsApi.md +322 -0
- package/docs/WaitListEntryWithPlayer.md +44 -0
- package/docs/WaitListPlayer.md +28 -0
- package/docs/WaitListPlayersListResponse.md +22 -0
- package/docs/WaitListStaffApi.md +55 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6701,6 +6701,25 @@ export interface GoogleAuthResponseUser {
|
|
|
6701
6701
|
*/
|
|
6702
6702
|
'id': string;
|
|
6703
6703
|
}
|
|
6704
|
+
/**
|
|
6705
|
+
*
|
|
6706
|
+
* @export
|
|
6707
|
+
* @interface Health200Response
|
|
6708
|
+
*/
|
|
6709
|
+
export interface Health200Response {
|
|
6710
|
+
/**
|
|
6711
|
+
*
|
|
6712
|
+
* @type {string}
|
|
6713
|
+
* @memberof Health200Response
|
|
6714
|
+
*/
|
|
6715
|
+
'timestamp': string;
|
|
6716
|
+
/**
|
|
6717
|
+
*
|
|
6718
|
+
* @type {string}
|
|
6719
|
+
* @memberof Health200Response
|
|
6720
|
+
*/
|
|
6721
|
+
'status': string;
|
|
6722
|
+
}
|
|
6704
6723
|
/**
|
|
6705
6724
|
*
|
|
6706
6725
|
* @export
|
|
@@ -7422,6 +7441,33 @@ export const InvoiceStatusSETUPSUCCESS = {
|
|
|
7422
7441
|
export type InvoiceStatusSETUPSUCCESS = typeof InvoiceStatusSETUPSUCCESS[keyof typeof InvoiceStatusSETUPSUCCESS];
|
|
7423
7442
|
|
|
7424
7443
|
|
|
7444
|
+
/**
|
|
7445
|
+
*
|
|
7446
|
+
* @export
|
|
7447
|
+
* @interface JobResult
|
|
7448
|
+
*/
|
|
7449
|
+
export interface JobResult {
|
|
7450
|
+
[key: string]: any;
|
|
7451
|
+
|
|
7452
|
+
/**
|
|
7453
|
+
*
|
|
7454
|
+
* @type {boolean}
|
|
7455
|
+
* @memberof JobResult
|
|
7456
|
+
*/
|
|
7457
|
+
'success': boolean;
|
|
7458
|
+
/**
|
|
7459
|
+
*
|
|
7460
|
+
* @type {string}
|
|
7461
|
+
* @memberof JobResult
|
|
7462
|
+
*/
|
|
7463
|
+
'job': string;
|
|
7464
|
+
/**
|
|
7465
|
+
*
|
|
7466
|
+
* @type {string}
|
|
7467
|
+
* @memberof JobResult
|
|
7468
|
+
*/
|
|
7469
|
+
'timestamp': string;
|
|
7470
|
+
}
|
|
7425
7471
|
/**
|
|
7426
7472
|
*
|
|
7427
7473
|
* @export
|
|
@@ -14107,6 +14153,100 @@ export const VisibilityType = {
|
|
|
14107
14153
|
export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
|
|
14108
14154
|
|
|
14109
14155
|
|
|
14156
|
+
/**
|
|
14157
|
+
*
|
|
14158
|
+
* @export
|
|
14159
|
+
* @interface WaitListEntryWithPlayer
|
|
14160
|
+
*/
|
|
14161
|
+
export interface WaitListEntryWithPlayer {
|
|
14162
|
+
/**
|
|
14163
|
+
*
|
|
14164
|
+
* @type {string}
|
|
14165
|
+
* @memberof WaitListEntryWithPlayer
|
|
14166
|
+
*/
|
|
14167
|
+
'id': string;
|
|
14168
|
+
/**
|
|
14169
|
+
*
|
|
14170
|
+
* @type {string}
|
|
14171
|
+
* @memberof WaitListEntryWithPlayer
|
|
14172
|
+
*/
|
|
14173
|
+
'userId': string;
|
|
14174
|
+
/**
|
|
14175
|
+
*
|
|
14176
|
+
* @type {string}
|
|
14177
|
+
* @memberof WaitListEntryWithPlayer
|
|
14178
|
+
*/
|
|
14179
|
+
'clubId': string;
|
|
14180
|
+
/**
|
|
14181
|
+
*
|
|
14182
|
+
* @type {string}
|
|
14183
|
+
* @memberof WaitListEntryWithPlayer
|
|
14184
|
+
*/
|
|
14185
|
+
'targetType': WaitListEntryWithPlayerTargetTypeEnum;
|
|
14186
|
+
/**
|
|
14187
|
+
*
|
|
14188
|
+
* @type {string}
|
|
14189
|
+
* @memberof WaitListEntryWithPlayer
|
|
14190
|
+
*/
|
|
14191
|
+
'targetId': string;
|
|
14192
|
+
/**
|
|
14193
|
+
*
|
|
14194
|
+
* @type {string}
|
|
14195
|
+
* @memberof WaitListEntryWithPlayer
|
|
14196
|
+
*/
|
|
14197
|
+
'status': string;
|
|
14198
|
+
/**
|
|
14199
|
+
*
|
|
14200
|
+
* @type {number}
|
|
14201
|
+
* @memberof WaitListEntryWithPlayer
|
|
14202
|
+
*/
|
|
14203
|
+
'position': number;
|
|
14204
|
+
/**
|
|
14205
|
+
*
|
|
14206
|
+
* @type {number}
|
|
14207
|
+
* @memberof WaitListEntryWithPlayer
|
|
14208
|
+
*/
|
|
14209
|
+
'priceInCents': number;
|
|
14210
|
+
/**
|
|
14211
|
+
*
|
|
14212
|
+
* @type {string}
|
|
14213
|
+
* @memberof WaitListEntryWithPlayer
|
|
14214
|
+
*/
|
|
14215
|
+
'joinedAt': string;
|
|
14216
|
+
/**
|
|
14217
|
+
*
|
|
14218
|
+
* @type {string}
|
|
14219
|
+
* @memberof WaitListEntryWithPlayer
|
|
14220
|
+
*/
|
|
14221
|
+
'notifiedAt'?: string;
|
|
14222
|
+
/**
|
|
14223
|
+
*
|
|
14224
|
+
* @type {string}
|
|
14225
|
+
* @memberof WaitListEntryWithPlayer
|
|
14226
|
+
*/
|
|
14227
|
+
'paymentExpiresAt'?: string;
|
|
14228
|
+
/**
|
|
14229
|
+
*
|
|
14230
|
+
* @type {string}
|
|
14231
|
+
* @memberof WaitListEntryWithPlayer
|
|
14232
|
+
*/
|
|
14233
|
+
'confirmedAt'?: string;
|
|
14234
|
+
/**
|
|
14235
|
+
*
|
|
14236
|
+
* @type {WaitListPlayer}
|
|
14237
|
+
* @memberof WaitListEntryWithPlayer
|
|
14238
|
+
*/
|
|
14239
|
+
'player': WaitListPlayer;
|
|
14240
|
+
}
|
|
14241
|
+
|
|
14242
|
+
export const WaitListEntryWithPlayerTargetTypeEnum = {
|
|
14243
|
+
Event: 'event',
|
|
14244
|
+
Booking: 'booking',
|
|
14245
|
+
EventBooking: 'event_booking'
|
|
14246
|
+
} as const;
|
|
14247
|
+
|
|
14248
|
+
export type WaitListEntryWithPlayerTargetTypeEnum = typeof WaitListEntryWithPlayerTargetTypeEnum[keyof typeof WaitListEntryWithPlayerTargetTypeEnum];
|
|
14249
|
+
|
|
14110
14250
|
/**
|
|
14111
14251
|
*
|
|
14112
14252
|
* @export
|
|
@@ -14126,6 +14266,62 @@ export interface WaitListListResponse {
|
|
|
14126
14266
|
*/
|
|
14127
14267
|
'total': number;
|
|
14128
14268
|
}
|
|
14269
|
+
/**
|
|
14270
|
+
*
|
|
14271
|
+
* @export
|
|
14272
|
+
* @interface WaitListPlayer
|
|
14273
|
+
*/
|
|
14274
|
+
export interface WaitListPlayer {
|
|
14275
|
+
/**
|
|
14276
|
+
*
|
|
14277
|
+
* @type {string}
|
|
14278
|
+
* @memberof WaitListPlayer
|
|
14279
|
+
*/
|
|
14280
|
+
'id': string;
|
|
14281
|
+
/**
|
|
14282
|
+
*
|
|
14283
|
+
* @type {string}
|
|
14284
|
+
* @memberof WaitListPlayer
|
|
14285
|
+
*/
|
|
14286
|
+
'firstName': string;
|
|
14287
|
+
/**
|
|
14288
|
+
*
|
|
14289
|
+
* @type {string}
|
|
14290
|
+
* @memberof WaitListPlayer
|
|
14291
|
+
*/
|
|
14292
|
+
'lastName': string;
|
|
14293
|
+
/**
|
|
14294
|
+
*
|
|
14295
|
+
* @type {string}
|
|
14296
|
+
* @memberof WaitListPlayer
|
|
14297
|
+
*/
|
|
14298
|
+
'username'?: string;
|
|
14299
|
+
/**
|
|
14300
|
+
*
|
|
14301
|
+
* @type {string}
|
|
14302
|
+
* @memberof WaitListPlayer
|
|
14303
|
+
*/
|
|
14304
|
+
'profilePicture'?: string;
|
|
14305
|
+
}
|
|
14306
|
+
/**
|
|
14307
|
+
*
|
|
14308
|
+
* @export
|
|
14309
|
+
* @interface WaitListPlayersListResponse
|
|
14310
|
+
*/
|
|
14311
|
+
export interface WaitListPlayersListResponse {
|
|
14312
|
+
/**
|
|
14313
|
+
*
|
|
14314
|
+
* @type {Array<WaitListEntryWithPlayer>}
|
|
14315
|
+
* @memberof WaitListPlayersListResponse
|
|
14316
|
+
*/
|
|
14317
|
+
'waitList': Array<WaitListEntryWithPlayer>;
|
|
14318
|
+
/**
|
|
14319
|
+
*
|
|
14320
|
+
* @type {number}
|
|
14321
|
+
* @memberof WaitListPlayersListResponse
|
|
14322
|
+
*/
|
|
14323
|
+
'total': number;
|
|
14324
|
+
}
|
|
14129
14325
|
/**
|
|
14130
14326
|
*
|
|
14131
14327
|
* @export
|
|
@@ -28644,21 +28840,19 @@ export class ImagesApi extends BaseAPI {
|
|
|
28644
28840
|
|
|
28645
28841
|
|
|
28646
28842
|
/**
|
|
28647
|
-
*
|
|
28843
|
+
* JobsApi - axios parameter creator
|
|
28648
28844
|
* @export
|
|
28649
28845
|
*/
|
|
28650
|
-
export const
|
|
28846
|
+
export const JobsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28651
28847
|
return {
|
|
28652
28848
|
/**
|
|
28653
|
-
*
|
|
28654
|
-
* @
|
|
28849
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
28850
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
28655
28851
|
* @param {*} [options] Override http request option.
|
|
28656
28852
|
* @throws {RequiredError}
|
|
28657
28853
|
*/
|
|
28658
|
-
|
|
28659
|
-
|
|
28660
|
-
assertParamExists('authEmailExists', 'emailExistsRequestBody', emailExistsRequestBody)
|
|
28661
|
-
const localVarPath = `/api/public-email/auth-email-exists`;
|
|
28854
|
+
captureExpiringAuthorizations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28855
|
+
const localVarPath = `/api/jobs/capture-expiring-authorizations`;
|
|
28662
28856
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28663
28857
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28664
28858
|
let baseOptions;
|
|
@@ -28666,18 +28860,15 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28666
28860
|
baseOptions = configuration.baseOptions;
|
|
28667
28861
|
}
|
|
28668
28862
|
|
|
28669
|
-
const localVarRequestOptions = { method: '
|
|
28863
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28670
28864
|
const localVarHeaderParameter = {} as any;
|
|
28671
28865
|
const localVarQueryParameter = {} as any;
|
|
28672
28866
|
|
|
28673
28867
|
|
|
28674
28868
|
|
|
28675
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28676
|
-
|
|
28677
28869
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28678
28870
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28679
28871
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28680
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailExistsRequestBody, localVarRequestOptions, configuration)
|
|
28681
28872
|
|
|
28682
28873
|
return {
|
|
28683
28874
|
url: toPathString(localVarUrlObj),
|
|
@@ -28685,15 +28876,13 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28685
28876
|
};
|
|
28686
28877
|
},
|
|
28687
28878
|
/**
|
|
28688
|
-
*
|
|
28689
|
-
* @
|
|
28879
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
28880
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
28690
28881
|
* @param {*} [options] Override http request option.
|
|
28691
28882
|
* @throws {RequiredError}
|
|
28692
28883
|
*/
|
|
28693
|
-
|
|
28694
|
-
|
|
28695
|
-
assertParamExists('requestPublicEmailVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody)
|
|
28696
|
-
const localVarPath = `/api/public-email/request-verification-code`;
|
|
28884
|
+
capturePastReservations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28885
|
+
const localVarPath = `/api/jobs/capture-past-reservations`;
|
|
28697
28886
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28698
28887
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28699
28888
|
let baseOptions;
|
|
@@ -28701,18 +28890,15 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28701
28890
|
baseOptions = configuration.baseOptions;
|
|
28702
28891
|
}
|
|
28703
28892
|
|
|
28704
|
-
const localVarRequestOptions = { method: '
|
|
28893
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28705
28894
|
const localVarHeaderParameter = {} as any;
|
|
28706
28895
|
const localVarQueryParameter = {} as any;
|
|
28707
28896
|
|
|
28708
28897
|
|
|
28709
28898
|
|
|
28710
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28711
|
-
|
|
28712
28899
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28713
28900
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28714
28901
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28715
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestEmailCodeBody, localVarRequestOptions, configuration)
|
|
28716
28902
|
|
|
28717
28903
|
return {
|
|
28718
28904
|
url: toPathString(localVarUrlObj),
|
|
@@ -28720,15 +28906,13 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28720
28906
|
};
|
|
28721
28907
|
},
|
|
28722
28908
|
/**
|
|
28723
|
-
*
|
|
28724
|
-
* @
|
|
28909
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
28910
|
+
* @summary Expire les réservations en attente de paiement
|
|
28725
28911
|
* @param {*} [options] Override http request option.
|
|
28726
28912
|
* @throws {RequiredError}
|
|
28727
28913
|
*/
|
|
28728
|
-
|
|
28729
|
-
|
|
28730
|
-
assertParamExists('verifyCode', 'verifyEmailCodeBody', verifyEmailCodeBody)
|
|
28731
|
-
const localVarPath = `/api/public-email/verify-code`;
|
|
28914
|
+
expireBookingWaitingPayments: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28915
|
+
const localVarPath = `/api/jobs/expire-booking-waiting-payments`;
|
|
28732
28916
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28733
28917
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28734
28918
|
let baseOptions;
|
|
@@ -28736,67 +28920,552 @@ export const PublicEmailApiAxiosParamCreator = function (configuration?: Configu
|
|
|
28736
28920
|
baseOptions = configuration.baseOptions;
|
|
28737
28921
|
}
|
|
28738
28922
|
|
|
28739
|
-
const localVarRequestOptions = { method: '
|
|
28923
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28740
28924
|
const localVarHeaderParameter = {} as any;
|
|
28741
28925
|
const localVarQueryParameter = {} as any;
|
|
28742
28926
|
|
|
28743
28927
|
|
|
28744
28928
|
|
|
28745
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28746
|
-
|
|
28747
28929
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28748
28930
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28749
28931
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28750
|
-
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailCodeBody, localVarRequestOptions, configuration)
|
|
28751
28932
|
|
|
28752
28933
|
return {
|
|
28753
28934
|
url: toPathString(localVarUrlObj),
|
|
28754
28935
|
options: localVarRequestOptions,
|
|
28755
28936
|
};
|
|
28756
28937
|
},
|
|
28757
|
-
}
|
|
28758
|
-
};
|
|
28759
|
-
|
|
28760
|
-
/**
|
|
28761
|
-
* PublicEmailApi - functional programming interface
|
|
28762
|
-
* @export
|
|
28763
|
-
*/
|
|
28764
|
-
export const PublicEmailApiFp = function(configuration?: Configuration) {
|
|
28765
|
-
const localVarAxiosParamCreator = PublicEmailApiAxiosParamCreator(configuration)
|
|
28766
|
-
return {
|
|
28767
28938
|
/**
|
|
28768
|
-
*
|
|
28769
|
-
* @
|
|
28939
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
28940
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
28770
28941
|
* @param {*} [options] Override http request option.
|
|
28771
28942
|
* @throws {RequiredError}
|
|
28772
28943
|
*/
|
|
28773
|
-
async
|
|
28774
|
-
const
|
|
28775
|
-
|
|
28776
|
-
const
|
|
28777
|
-
|
|
28944
|
+
expireWaitlistPayments: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28945
|
+
const localVarPath = `/api/jobs/expire-waitlist-payments`;
|
|
28946
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28947
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28948
|
+
let baseOptions;
|
|
28949
|
+
if (configuration) {
|
|
28950
|
+
baseOptions = configuration.baseOptions;
|
|
28951
|
+
}
|
|
28952
|
+
|
|
28953
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28954
|
+
const localVarHeaderParameter = {} as any;
|
|
28955
|
+
const localVarQueryParameter = {} as any;
|
|
28956
|
+
|
|
28957
|
+
|
|
28958
|
+
|
|
28959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28961
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28962
|
+
|
|
28963
|
+
return {
|
|
28964
|
+
url: toPathString(localVarUrlObj),
|
|
28965
|
+
options: localVarRequestOptions,
|
|
28966
|
+
};
|
|
28778
28967
|
},
|
|
28779
28968
|
/**
|
|
28780
|
-
*
|
|
28781
|
-
* @
|
|
28969
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
28970
|
+
* @summary Health check pour les jobs
|
|
28782
28971
|
* @param {*} [options] Override http request option.
|
|
28783
28972
|
* @throws {RequiredError}
|
|
28784
28973
|
*/
|
|
28785
|
-
async
|
|
28786
|
-
const
|
|
28787
|
-
|
|
28788
|
-
const
|
|
28789
|
-
|
|
28974
|
+
health: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28975
|
+
const localVarPath = `/api/jobs/health`;
|
|
28976
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28977
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28978
|
+
let baseOptions;
|
|
28979
|
+
if (configuration) {
|
|
28980
|
+
baseOptions = configuration.baseOptions;
|
|
28981
|
+
}
|
|
28982
|
+
|
|
28983
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28984
|
+
const localVarHeaderParameter = {} as any;
|
|
28985
|
+
const localVarQueryParameter = {} as any;
|
|
28986
|
+
|
|
28987
|
+
|
|
28988
|
+
|
|
28989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28991
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28992
|
+
|
|
28993
|
+
return {
|
|
28994
|
+
url: toPathString(localVarUrlObj),
|
|
28995
|
+
options: localVarRequestOptions,
|
|
28996
|
+
};
|
|
28790
28997
|
},
|
|
28791
28998
|
/**
|
|
28792
|
-
*
|
|
28793
|
-
* @
|
|
28999
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29000
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
28794
29001
|
* @param {*} [options] Override http request option.
|
|
28795
29002
|
* @throws {RequiredError}
|
|
28796
29003
|
*/
|
|
28797
|
-
async
|
|
28798
|
-
const
|
|
28799
|
-
|
|
29004
|
+
maintainSlots: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29005
|
+
const localVarPath = `/api/jobs/maintain-slots`;
|
|
29006
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29007
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29008
|
+
let baseOptions;
|
|
29009
|
+
if (configuration) {
|
|
29010
|
+
baseOptions = configuration.baseOptions;
|
|
29011
|
+
}
|
|
29012
|
+
|
|
29013
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29014
|
+
const localVarHeaderParameter = {} as any;
|
|
29015
|
+
const localVarQueryParameter = {} as any;
|
|
29016
|
+
|
|
29017
|
+
|
|
29018
|
+
|
|
29019
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29020
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29021
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29022
|
+
|
|
29023
|
+
return {
|
|
29024
|
+
url: toPathString(localVarUrlObj),
|
|
29025
|
+
options: localVarRequestOptions,
|
|
29026
|
+
};
|
|
29027
|
+
},
|
|
29028
|
+
/**
|
|
29029
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29030
|
+
* @summary Libère les anciennes réservations terminées
|
|
29031
|
+
* @param {*} [options] Override http request option.
|
|
29032
|
+
* @throws {RequiredError}
|
|
29033
|
+
*/
|
|
29034
|
+
releaseOldBookings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29035
|
+
const localVarPath = `/api/jobs/release-old-bookings`;
|
|
29036
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29037
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29038
|
+
let baseOptions;
|
|
29039
|
+
if (configuration) {
|
|
29040
|
+
baseOptions = configuration.baseOptions;
|
|
29041
|
+
}
|
|
29042
|
+
|
|
29043
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29044
|
+
const localVarHeaderParameter = {} as any;
|
|
29045
|
+
const localVarQueryParameter = {} as any;
|
|
29046
|
+
|
|
29047
|
+
|
|
29048
|
+
|
|
29049
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29050
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29051
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29052
|
+
|
|
29053
|
+
return {
|
|
29054
|
+
url: toPathString(localVarUrlObj),
|
|
29055
|
+
options: localVarRequestOptions,
|
|
29056
|
+
};
|
|
29057
|
+
},
|
|
29058
|
+
}
|
|
29059
|
+
};
|
|
29060
|
+
|
|
29061
|
+
/**
|
|
29062
|
+
* JobsApi - functional programming interface
|
|
29063
|
+
* @export
|
|
29064
|
+
*/
|
|
29065
|
+
export const JobsApiFp = function(configuration?: Configuration) {
|
|
29066
|
+
const localVarAxiosParamCreator = JobsApiAxiosParamCreator(configuration)
|
|
29067
|
+
return {
|
|
29068
|
+
/**
|
|
29069
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29070
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29071
|
+
* @param {*} [options] Override http request option.
|
|
29072
|
+
* @throws {RequiredError}
|
|
29073
|
+
*/
|
|
29074
|
+
async captureExpiringAuthorizations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.captureExpiringAuthorizations(options);
|
|
29076
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29077
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.captureExpiringAuthorizations']?.[localVarOperationServerIndex]?.url;
|
|
29078
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29079
|
+
},
|
|
29080
|
+
/**
|
|
29081
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29082
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29083
|
+
* @param {*} [options] Override http request option.
|
|
29084
|
+
* @throws {RequiredError}
|
|
29085
|
+
*/
|
|
29086
|
+
async capturePastReservations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.capturePastReservations(options);
|
|
29088
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29089
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.capturePastReservations']?.[localVarOperationServerIndex]?.url;
|
|
29090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29091
|
+
},
|
|
29092
|
+
/**
|
|
29093
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29094
|
+
* @summary Expire les réservations en attente de paiement
|
|
29095
|
+
* @param {*} [options] Override http request option.
|
|
29096
|
+
* @throws {RequiredError}
|
|
29097
|
+
*/
|
|
29098
|
+
async expireBookingWaitingPayments(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.expireBookingWaitingPayments(options);
|
|
29100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29101
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.expireBookingWaitingPayments']?.[localVarOperationServerIndex]?.url;
|
|
29102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29103
|
+
},
|
|
29104
|
+
/**
|
|
29105
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29106
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29107
|
+
* @param {*} [options] Override http request option.
|
|
29108
|
+
* @throws {RequiredError}
|
|
29109
|
+
*/
|
|
29110
|
+
async expireWaitlistPayments(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.expireWaitlistPayments(options);
|
|
29112
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29113
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.expireWaitlistPayments']?.[localVarOperationServerIndex]?.url;
|
|
29114
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29115
|
+
},
|
|
29116
|
+
/**
|
|
29117
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29118
|
+
* @summary Health check pour les jobs
|
|
29119
|
+
* @param {*} [options] Override http request option.
|
|
29120
|
+
* @throws {RequiredError}
|
|
29121
|
+
*/
|
|
29122
|
+
async health(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Health200Response>> {
|
|
29123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
|
|
29124
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29125
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.health']?.[localVarOperationServerIndex]?.url;
|
|
29126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29127
|
+
},
|
|
29128
|
+
/**
|
|
29129
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29130
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29131
|
+
* @param {*} [options] Override http request option.
|
|
29132
|
+
* @throws {RequiredError}
|
|
29133
|
+
*/
|
|
29134
|
+
async maintainSlots(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.maintainSlots(options);
|
|
29136
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29137
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.maintainSlots']?.[localVarOperationServerIndex]?.url;
|
|
29138
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29139
|
+
},
|
|
29140
|
+
/**
|
|
29141
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29142
|
+
* @summary Libère les anciennes réservations terminées
|
|
29143
|
+
* @param {*} [options] Override http request option.
|
|
29144
|
+
* @throws {RequiredError}
|
|
29145
|
+
*/
|
|
29146
|
+
async releaseOldBookings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResult>> {
|
|
29147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.releaseOldBookings(options);
|
|
29148
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29149
|
+
const localVarOperationServerBasePath = operationServerMap['JobsApi.releaseOldBookings']?.[localVarOperationServerIndex]?.url;
|
|
29150
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29151
|
+
},
|
|
29152
|
+
}
|
|
29153
|
+
};
|
|
29154
|
+
|
|
29155
|
+
/**
|
|
29156
|
+
* JobsApi - factory interface
|
|
29157
|
+
* @export
|
|
29158
|
+
*/
|
|
29159
|
+
export const JobsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29160
|
+
const localVarFp = JobsApiFp(configuration)
|
|
29161
|
+
return {
|
|
29162
|
+
/**
|
|
29163
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29164
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29165
|
+
* @param {*} [options] Override http request option.
|
|
29166
|
+
* @throws {RequiredError}
|
|
29167
|
+
*/
|
|
29168
|
+
captureExpiringAuthorizations(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29169
|
+
return localVarFp.captureExpiringAuthorizations(options).then((request) => request(axios, basePath));
|
|
29170
|
+
},
|
|
29171
|
+
/**
|
|
29172
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29173
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29174
|
+
* @param {*} [options] Override http request option.
|
|
29175
|
+
* @throws {RequiredError}
|
|
29176
|
+
*/
|
|
29177
|
+
capturePastReservations(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29178
|
+
return localVarFp.capturePastReservations(options).then((request) => request(axios, basePath));
|
|
29179
|
+
},
|
|
29180
|
+
/**
|
|
29181
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29182
|
+
* @summary Expire les réservations en attente de paiement
|
|
29183
|
+
* @param {*} [options] Override http request option.
|
|
29184
|
+
* @throws {RequiredError}
|
|
29185
|
+
*/
|
|
29186
|
+
expireBookingWaitingPayments(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29187
|
+
return localVarFp.expireBookingWaitingPayments(options).then((request) => request(axios, basePath));
|
|
29188
|
+
},
|
|
29189
|
+
/**
|
|
29190
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29191
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29192
|
+
* @param {*} [options] Override http request option.
|
|
29193
|
+
* @throws {RequiredError}
|
|
29194
|
+
*/
|
|
29195
|
+
expireWaitlistPayments(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29196
|
+
return localVarFp.expireWaitlistPayments(options).then((request) => request(axios, basePath));
|
|
29197
|
+
},
|
|
29198
|
+
/**
|
|
29199
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29200
|
+
* @summary Health check pour les jobs
|
|
29201
|
+
* @param {*} [options] Override http request option.
|
|
29202
|
+
* @throws {RequiredError}
|
|
29203
|
+
*/
|
|
29204
|
+
health(options?: RawAxiosRequestConfig): AxiosPromise<Health200Response> {
|
|
29205
|
+
return localVarFp.health(options).then((request) => request(axios, basePath));
|
|
29206
|
+
},
|
|
29207
|
+
/**
|
|
29208
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29209
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29210
|
+
* @param {*} [options] Override http request option.
|
|
29211
|
+
* @throws {RequiredError}
|
|
29212
|
+
*/
|
|
29213
|
+
maintainSlots(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29214
|
+
return localVarFp.maintainSlots(options).then((request) => request(axios, basePath));
|
|
29215
|
+
},
|
|
29216
|
+
/**
|
|
29217
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29218
|
+
* @summary Libère les anciennes réservations terminées
|
|
29219
|
+
* @param {*} [options] Override http request option.
|
|
29220
|
+
* @throws {RequiredError}
|
|
29221
|
+
*/
|
|
29222
|
+
releaseOldBookings(options?: RawAxiosRequestConfig): AxiosPromise<JobResult> {
|
|
29223
|
+
return localVarFp.releaseOldBookings(options).then((request) => request(axios, basePath));
|
|
29224
|
+
},
|
|
29225
|
+
};
|
|
29226
|
+
};
|
|
29227
|
+
|
|
29228
|
+
/**
|
|
29229
|
+
* JobsApi - object-oriented interface
|
|
29230
|
+
* @export
|
|
29231
|
+
* @class JobsApi
|
|
29232
|
+
* @extends {BaseAPI}
|
|
29233
|
+
*/
|
|
29234
|
+
export class JobsApi extends BaseAPI {
|
|
29235
|
+
/**
|
|
29236
|
+
* Job: Capturer les autorisations de paiement qui expirent bientôt Fréquence recommandée: Toutes les 30 minutes
|
|
29237
|
+
* @summary Capture les autorisations Stripe qui expirent dans moins de 4h
|
|
29238
|
+
* @param {*} [options] Override http request option.
|
|
29239
|
+
* @throws {RequiredError}
|
|
29240
|
+
* @memberof JobsApi
|
|
29241
|
+
*/
|
|
29242
|
+
public captureExpiringAuthorizations(options?: RawAxiosRequestConfig) {
|
|
29243
|
+
return JobsApiFp(this.configuration).captureExpiringAuthorizations(options).then((request) => request(this.axios, this.basePath));
|
|
29244
|
+
}
|
|
29245
|
+
|
|
29246
|
+
/**
|
|
29247
|
+
* Job: Capturer les paiements pour les réservations passées Fréquence recommandée: Toutes les heures
|
|
29248
|
+
* @summary Capture les paiements autorisés pour les réservations passées
|
|
29249
|
+
* @param {*} [options] Override http request option.
|
|
29250
|
+
* @throws {RequiredError}
|
|
29251
|
+
* @memberof JobsApi
|
|
29252
|
+
*/
|
|
29253
|
+
public capturePastReservations(options?: RawAxiosRequestConfig) {
|
|
29254
|
+
return JobsApiFp(this.configuration).capturePastReservations(options).then((request) => request(this.axios, this.basePath));
|
|
29255
|
+
}
|
|
29256
|
+
|
|
29257
|
+
/**
|
|
29258
|
+
* Job: Expirer les réservations en attente de paiement Fréquence recommandée: Toutes les minutes
|
|
29259
|
+
* @summary Expire les réservations en attente de paiement
|
|
29260
|
+
* @param {*} [options] Override http request option.
|
|
29261
|
+
* @throws {RequiredError}
|
|
29262
|
+
* @memberof JobsApi
|
|
29263
|
+
*/
|
|
29264
|
+
public expireBookingWaitingPayments(options?: RawAxiosRequestConfig) {
|
|
29265
|
+
return JobsApiFp(this.configuration).expireBookingWaitingPayments(options).then((request) => request(this.axios, this.basePath));
|
|
29266
|
+
}
|
|
29267
|
+
|
|
29268
|
+
/**
|
|
29269
|
+
* Job: Expirer les paiements en attente sur la waitlist Fréquence recommandée: Toutes les minutes
|
|
29270
|
+
* @summary Expire les paiements en attente sur la waitlist
|
|
29271
|
+
* @param {*} [options] Override http request option.
|
|
29272
|
+
* @throws {RequiredError}
|
|
29273
|
+
* @memberof JobsApi
|
|
29274
|
+
*/
|
|
29275
|
+
public expireWaitlistPayments(options?: RawAxiosRequestConfig) {
|
|
29276
|
+
return JobsApiFp(this.configuration).expireWaitlistPayments(options).then((request) => request(this.axios, this.basePath));
|
|
29277
|
+
}
|
|
29278
|
+
|
|
29279
|
+
/**
|
|
29280
|
+
* Route de santé pour vérifier que le service jobs est opérationnel
|
|
29281
|
+
* @summary Health check pour les jobs
|
|
29282
|
+
* @param {*} [options] Override http request option.
|
|
29283
|
+
* @throws {RequiredError}
|
|
29284
|
+
* @memberof JobsApi
|
|
29285
|
+
*/
|
|
29286
|
+
public health(options?: RawAxiosRequestConfig) {
|
|
29287
|
+
return JobsApiFp(this.configuration).health(options).then((request) => request(this.axios, this.basePath));
|
|
29288
|
+
}
|
|
29289
|
+
|
|
29290
|
+
/**
|
|
29291
|
+
* Job: Maintenir les créneaux (slots) Fréquence recommandée: Une fois par jour (2h du matin)
|
|
29292
|
+
* @summary Génère les créneaux futurs et nettoie les anciens
|
|
29293
|
+
* @param {*} [options] Override http request option.
|
|
29294
|
+
* @throws {RequiredError}
|
|
29295
|
+
* @memberof JobsApi
|
|
29296
|
+
*/
|
|
29297
|
+
public maintainSlots(options?: RawAxiosRequestConfig) {
|
|
29298
|
+
return JobsApiFp(this.configuration).maintainSlots(options).then((request) => request(this.axios, this.basePath));
|
|
29299
|
+
}
|
|
29300
|
+
|
|
29301
|
+
/**
|
|
29302
|
+
* Job: Libérer les anciennes réservations Fréquence recommandée: Toutes les minutes
|
|
29303
|
+
* @summary Libère les anciennes réservations terminées
|
|
29304
|
+
* @param {*} [options] Override http request option.
|
|
29305
|
+
* @throws {RequiredError}
|
|
29306
|
+
* @memberof JobsApi
|
|
29307
|
+
*/
|
|
29308
|
+
public releaseOldBookings(options?: RawAxiosRequestConfig) {
|
|
29309
|
+
return JobsApiFp(this.configuration).releaseOldBookings(options).then((request) => request(this.axios, this.basePath));
|
|
29310
|
+
}
|
|
29311
|
+
}
|
|
29312
|
+
|
|
29313
|
+
|
|
29314
|
+
|
|
29315
|
+
/**
|
|
29316
|
+
* PublicEmailApi - axios parameter creator
|
|
29317
|
+
* @export
|
|
29318
|
+
*/
|
|
29319
|
+
export const PublicEmailApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29320
|
+
return {
|
|
29321
|
+
/**
|
|
29322
|
+
*
|
|
29323
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
29324
|
+
* @param {*} [options] Override http request option.
|
|
29325
|
+
* @throws {RequiredError}
|
|
29326
|
+
*/
|
|
29327
|
+
authEmailExists: async (emailExistsRequestBody: EmailExistsRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29328
|
+
// verify required parameter 'emailExistsRequestBody' is not null or undefined
|
|
29329
|
+
assertParamExists('authEmailExists', 'emailExistsRequestBody', emailExistsRequestBody)
|
|
29330
|
+
const localVarPath = `/api/public-email/auth-email-exists`;
|
|
29331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29333
|
+
let baseOptions;
|
|
29334
|
+
if (configuration) {
|
|
29335
|
+
baseOptions = configuration.baseOptions;
|
|
29336
|
+
}
|
|
29337
|
+
|
|
29338
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29339
|
+
const localVarHeaderParameter = {} as any;
|
|
29340
|
+
const localVarQueryParameter = {} as any;
|
|
29341
|
+
|
|
29342
|
+
|
|
29343
|
+
|
|
29344
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29345
|
+
|
|
29346
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29347
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29348
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29349
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailExistsRequestBody, localVarRequestOptions, configuration)
|
|
29350
|
+
|
|
29351
|
+
return {
|
|
29352
|
+
url: toPathString(localVarUrlObj),
|
|
29353
|
+
options: localVarRequestOptions,
|
|
29354
|
+
};
|
|
29355
|
+
},
|
|
29356
|
+
/**
|
|
29357
|
+
*
|
|
29358
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
29359
|
+
* @param {*} [options] Override http request option.
|
|
29360
|
+
* @throws {RequiredError}
|
|
29361
|
+
*/
|
|
29362
|
+
requestPublicEmailVerificationCode: async (requestEmailCodeBody: RequestEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29363
|
+
// verify required parameter 'requestEmailCodeBody' is not null or undefined
|
|
29364
|
+
assertParamExists('requestPublicEmailVerificationCode', 'requestEmailCodeBody', requestEmailCodeBody)
|
|
29365
|
+
const localVarPath = `/api/public-email/request-verification-code`;
|
|
29366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29368
|
+
let baseOptions;
|
|
29369
|
+
if (configuration) {
|
|
29370
|
+
baseOptions = configuration.baseOptions;
|
|
29371
|
+
}
|
|
29372
|
+
|
|
29373
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29374
|
+
const localVarHeaderParameter = {} as any;
|
|
29375
|
+
const localVarQueryParameter = {} as any;
|
|
29376
|
+
|
|
29377
|
+
|
|
29378
|
+
|
|
29379
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29380
|
+
|
|
29381
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29382
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29383
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29384
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestEmailCodeBody, localVarRequestOptions, configuration)
|
|
29385
|
+
|
|
29386
|
+
return {
|
|
29387
|
+
url: toPathString(localVarUrlObj),
|
|
29388
|
+
options: localVarRequestOptions,
|
|
29389
|
+
};
|
|
29390
|
+
},
|
|
29391
|
+
/**
|
|
29392
|
+
*
|
|
29393
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
29394
|
+
* @param {*} [options] Override http request option.
|
|
29395
|
+
* @throws {RequiredError}
|
|
29396
|
+
*/
|
|
29397
|
+
verifyCode: async (verifyEmailCodeBody: VerifyEmailCodeBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29398
|
+
// verify required parameter 'verifyEmailCodeBody' is not null or undefined
|
|
29399
|
+
assertParamExists('verifyCode', 'verifyEmailCodeBody', verifyEmailCodeBody)
|
|
29400
|
+
const localVarPath = `/api/public-email/verify-code`;
|
|
29401
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29402
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29403
|
+
let baseOptions;
|
|
29404
|
+
if (configuration) {
|
|
29405
|
+
baseOptions = configuration.baseOptions;
|
|
29406
|
+
}
|
|
29407
|
+
|
|
29408
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29409
|
+
const localVarHeaderParameter = {} as any;
|
|
29410
|
+
const localVarQueryParameter = {} as any;
|
|
29411
|
+
|
|
29412
|
+
|
|
29413
|
+
|
|
29414
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29415
|
+
|
|
29416
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29418
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29419
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyEmailCodeBody, localVarRequestOptions, configuration)
|
|
29420
|
+
|
|
29421
|
+
return {
|
|
29422
|
+
url: toPathString(localVarUrlObj),
|
|
29423
|
+
options: localVarRequestOptions,
|
|
29424
|
+
};
|
|
29425
|
+
},
|
|
29426
|
+
}
|
|
29427
|
+
};
|
|
29428
|
+
|
|
29429
|
+
/**
|
|
29430
|
+
* PublicEmailApi - functional programming interface
|
|
29431
|
+
* @export
|
|
29432
|
+
*/
|
|
29433
|
+
export const PublicEmailApiFp = function(configuration?: Configuration) {
|
|
29434
|
+
const localVarAxiosParamCreator = PublicEmailApiAxiosParamCreator(configuration)
|
|
29435
|
+
return {
|
|
29436
|
+
/**
|
|
29437
|
+
*
|
|
29438
|
+
* @param {EmailExistsRequestBody} emailExistsRequestBody
|
|
29439
|
+
* @param {*} [options] Override http request option.
|
|
29440
|
+
* @throws {RequiredError}
|
|
29441
|
+
*/
|
|
29442
|
+
async authEmailExists(emailExistsRequestBody: EmailExistsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailExistsResponse>> {
|
|
29443
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authEmailExists(emailExistsRequestBody, options);
|
|
29444
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29445
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.authEmailExists']?.[localVarOperationServerIndex]?.url;
|
|
29446
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29447
|
+
},
|
|
29448
|
+
/**
|
|
29449
|
+
*
|
|
29450
|
+
* @param {RequestEmailCodeBody} requestEmailCodeBody
|
|
29451
|
+
* @param {*} [options] Override http request option.
|
|
29452
|
+
* @throws {RequiredError}
|
|
29453
|
+
*/
|
|
29454
|
+
async requestPublicEmailVerificationCode(requestEmailCodeBody: RequestEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestEmailCodeResponse>> {
|
|
29455
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.requestPublicEmailVerificationCode(requestEmailCodeBody, options);
|
|
29456
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29457
|
+
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.requestPublicEmailVerificationCode']?.[localVarOperationServerIndex]?.url;
|
|
29458
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29459
|
+
},
|
|
29460
|
+
/**
|
|
29461
|
+
*
|
|
29462
|
+
* @param {VerifyEmailCodeBody} verifyEmailCodeBody
|
|
29463
|
+
* @param {*} [options] Override http request option.
|
|
29464
|
+
* @throws {RequiredError}
|
|
29465
|
+
*/
|
|
29466
|
+
async verifyCode(verifyEmailCodeBody: VerifyEmailCodeBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyEmailCodeResponse>> {
|
|
29467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyCode(verifyEmailCodeBody, options);
|
|
29468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28800
29469
|
const localVarOperationServerBasePath = operationServerMap['PublicEmailApi.verifyCode']?.[localVarOperationServerIndex]?.url;
|
|
28801
29470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28802
29471
|
},
|
|
@@ -35069,6 +35738,43 @@ export const WaitListStaffApiAxiosParamCreator = function (configuration?: Confi
|
|
|
35069
35738
|
|
|
35070
35739
|
|
|
35071
35740
|
|
|
35741
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35743
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35744
|
+
|
|
35745
|
+
return {
|
|
35746
|
+
url: toPathString(localVarUrlObj),
|
|
35747
|
+
options: localVarRequestOptions,
|
|
35748
|
+
};
|
|
35749
|
+
},
|
|
35750
|
+
/**
|
|
35751
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
35752
|
+
* @param {string} eventId
|
|
35753
|
+
* @param {*} [options] Override http request option.
|
|
35754
|
+
* @throws {RequiredError}
|
|
35755
|
+
*/
|
|
35756
|
+
getEventWaitListPlayers: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35757
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
35758
|
+
assertParamExists('getEventWaitListPlayers', 'eventId', eventId)
|
|
35759
|
+
const localVarPath = `/api/waitlist/event/{eventId}/players`
|
|
35760
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
35761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35763
|
+
let baseOptions;
|
|
35764
|
+
if (configuration) {
|
|
35765
|
+
baseOptions = configuration.baseOptions;
|
|
35766
|
+
}
|
|
35767
|
+
|
|
35768
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35769
|
+
const localVarHeaderParameter = {} as any;
|
|
35770
|
+
const localVarQueryParameter = {} as any;
|
|
35771
|
+
|
|
35772
|
+
// authentication bearerAuth required
|
|
35773
|
+
// http bearer authentication required
|
|
35774
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35775
|
+
|
|
35776
|
+
|
|
35777
|
+
|
|
35072
35778
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35073
35779
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35074
35780
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -35235,6 +35941,18 @@ export const WaitListStaffApiFp = function(configuration?: Configuration) {
|
|
|
35235
35941
|
const localVarOperationServerBasePath = operationServerMap['WaitListStaffApi.getEventWaitList']?.[localVarOperationServerIndex]?.url;
|
|
35236
35942
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35237
35943
|
},
|
|
35944
|
+
/**
|
|
35945
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
35946
|
+
* @param {string} eventId
|
|
35947
|
+
* @param {*} [options] Override http request option.
|
|
35948
|
+
* @throws {RequiredError}
|
|
35949
|
+
*/
|
|
35950
|
+
async getEventWaitListPlayers(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitListPlayersListResponse>> {
|
|
35951
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventWaitListPlayers(eventId, options);
|
|
35952
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35953
|
+
const localVarOperationServerBasePath = operationServerMap['WaitListStaffApi.getEventWaitListPlayers']?.[localVarOperationServerIndex]?.url;
|
|
35954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35955
|
+
},
|
|
35238
35956
|
/**
|
|
35239
35957
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35240
35958
|
* @param {string} bookingId
|
|
@@ -35308,6 +36026,15 @@ export const WaitListStaffApiFactory = function (configuration?: Configuration,
|
|
|
35308
36026
|
getEventWaitList(requestParameters: WaitListStaffApiGetEventWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<WaitListListResponse> {
|
|
35309
36027
|
return localVarFp.getEventWaitList(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
35310
36028
|
},
|
|
36029
|
+
/**
|
|
36030
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
36031
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
36032
|
+
* @param {*} [options] Override http request option.
|
|
36033
|
+
* @throws {RequiredError}
|
|
36034
|
+
*/
|
|
36035
|
+
getEventWaitListPlayers(requestParameters: WaitListStaffApiGetEventWaitListPlayersRequest, options?: RawAxiosRequestConfig): AxiosPromise<WaitListPlayersListResponse> {
|
|
36036
|
+
return localVarFp.getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
36037
|
+
},
|
|
35311
36038
|
/**
|
|
35312
36039
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35313
36040
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|
|
@@ -35380,6 +36107,20 @@ export interface WaitListStaffApiGetEventWaitListRequest {
|
|
|
35380
36107
|
readonly eventId: string
|
|
35381
36108
|
}
|
|
35382
36109
|
|
|
36110
|
+
/**
|
|
36111
|
+
* Request parameters for getEventWaitListPlayers operation in WaitListStaffApi.
|
|
36112
|
+
* @export
|
|
36113
|
+
* @interface WaitListStaffApiGetEventWaitListPlayersRequest
|
|
36114
|
+
*/
|
|
36115
|
+
export interface WaitListStaffApiGetEventWaitListPlayersRequest {
|
|
36116
|
+
/**
|
|
36117
|
+
*
|
|
36118
|
+
* @type {string}
|
|
36119
|
+
* @memberof WaitListStaffApiGetEventWaitListPlayers
|
|
36120
|
+
*/
|
|
36121
|
+
readonly eventId: string
|
|
36122
|
+
}
|
|
36123
|
+
|
|
35383
36124
|
/**
|
|
35384
36125
|
* Request parameters for processBookingWaitList operation in WaitListStaffApi.
|
|
35385
36126
|
* @export
|
|
@@ -35462,6 +36203,17 @@ export class WaitListStaffApi extends BaseAPI {
|
|
|
35462
36203
|
return WaitListStaffApiFp(this.configuration).getEventWaitList(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
35463
36204
|
}
|
|
35464
36205
|
|
|
36206
|
+
/**
|
|
36207
|
+
* Obtenir la liste des joueurs dans la file d\'attente pour un event (staff only)
|
|
36208
|
+
* @param {WaitListStaffApiGetEventWaitListPlayersRequest} requestParameters Request parameters.
|
|
36209
|
+
* @param {*} [options] Override http request option.
|
|
36210
|
+
* @throws {RequiredError}
|
|
36211
|
+
* @memberof WaitListStaffApi
|
|
36212
|
+
*/
|
|
36213
|
+
public getEventWaitListPlayers(requestParameters: WaitListStaffApiGetEventWaitListPlayersRequest, options?: RawAxiosRequestConfig) {
|
|
36214
|
+
return WaitListStaffApiFp(this.configuration).getEventWaitListPlayers(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
36215
|
+
}
|
|
36216
|
+
|
|
35465
36217
|
/**
|
|
35466
36218
|
* Forcer le traitement de la waitlist pour un booking (staff only)
|
|
35467
36219
|
* @param {WaitListStaffApiProcessBookingWaitListRequest} requestParameters Request parameters.
|