@tennac-booking/sdk 1.0.170 → 1.0.171

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/base.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.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.163
7
+ * The version of the OpenAPI document: 1.0.171
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.163
5
+ * The version of the OpenAPI document: 1.0.171
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5030,6 +5030,12 @@ export interface EventBookingDetailSummary {
5030
5030
  * @memberof EventBookingDetailSummary
5031
5031
  */
5032
5032
  'limitCancellationDate'?: string | null;
5033
+ /**
5034
+ * Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement
5035
+ * @type {number}
5036
+ * @memberof EventBookingDetailSummary
5037
+ */
5038
+ 'waitListPosition'?: number | null;
5033
5039
  /**
5034
5040
  *
5035
5041
  * @type {string}
@@ -6136,6 +6142,44 @@ export interface GetSlotsByClubById200Response {
6136
6142
  */
6137
6143
  'slots': Array<any>;
6138
6144
  }
6145
+ /**
6146
+ *
6147
+ * @export
6148
+ * @interface GetUserPosition200Response
6149
+ */
6150
+ export interface GetUserPosition200Response {
6151
+ /**
6152
+ *
6153
+ * @type {string}
6154
+ * @memberof GetUserPosition200Response
6155
+ */
6156
+ 'message'?: string;
6157
+ /**
6158
+ *
6159
+ * @type {number}
6160
+ * @memberof GetUserPosition200Response
6161
+ */
6162
+ 'position': number | null;
6163
+ }
6164
+ /**
6165
+ *
6166
+ * @export
6167
+ * @interface GetWaitListForEvent200Response
6168
+ */
6169
+ export interface GetWaitListForEvent200Response {
6170
+ /**
6171
+ *
6172
+ * @type {number}
6173
+ * @memberof GetWaitListForEvent200Response
6174
+ */
6175
+ 'total': number;
6176
+ /**
6177
+ *
6178
+ * @type {Array<WaitListResponse>}
6179
+ * @memberof GetWaitListForEvent200Response
6180
+ */
6181
+ 'waitList': Array<WaitListResponse>;
6182
+ }
6139
6183
  /**
6140
6184
  *
6141
6185
  * @export
@@ -7174,6 +7218,56 @@ export interface JoinOpenEventResponse {
7174
7218
  */
7175
7219
  'invoices'?: Array<CheckInEventParticipants200ResponseInvoicesInner>;
7176
7220
  }
7221
+ /**
7222
+ *
7223
+ * @export
7224
+ * @interface JoinWaitList200Response
7225
+ */
7226
+ export interface JoinWaitList200Response {
7227
+ /**
7228
+ *
7229
+ * @type {boolean}
7230
+ * @memberof JoinWaitList200Response
7231
+ */
7232
+ 'requiresSetup'?: boolean;
7233
+ /**
7234
+ *
7235
+ * @type {string}
7236
+ * @memberof JoinWaitList200Response
7237
+ */
7238
+ 'paymentLink'?: string;
7239
+ /**
7240
+ *
7241
+ * @type {WaitListResponse}
7242
+ * @memberof JoinWaitList200Response
7243
+ */
7244
+ 'waitList': WaitListResponse;
7245
+ /**
7246
+ *
7247
+ * @type {string}
7248
+ * @memberof JoinWaitList200Response
7249
+ */
7250
+ 'message': string;
7251
+ }
7252
+ /**
7253
+ *
7254
+ * @export
7255
+ * @interface JoinWaitListRequest
7256
+ */
7257
+ export interface JoinWaitListRequest {
7258
+ /**
7259
+ *
7260
+ * @type {PaymentMethod}
7261
+ * @memberof JoinWaitListRequest
7262
+ */
7263
+ 'paymentMethod'?: PaymentMethod;
7264
+ /**
7265
+ *
7266
+ * @type {boolean}
7267
+ * @memberof JoinWaitListRequest
7268
+ */
7269
+ 'useDefaultPaymentMethod'?: boolean;
7270
+ }
7177
7271
  /**
7178
7272
  *
7179
7273
  * @export
@@ -12598,6 +12692,73 @@ export declare const VisibilityType: {
12598
12692
  readonly Invitation: "invitation";
12599
12693
  };
12600
12694
  export type VisibilityType = typeof VisibilityType[keyof typeof VisibilityType];
12695
+ /**
12696
+ *
12697
+ * @export
12698
+ * @interface WaitListResponse
12699
+ */
12700
+ export interface WaitListResponse {
12701
+ /**
12702
+ *
12703
+ * @type {string}
12704
+ * @memberof WaitListResponse
12705
+ */
12706
+ 'id': string;
12707
+ /**
12708
+ *
12709
+ * @type {string}
12710
+ * @memberof WaitListResponse
12711
+ */
12712
+ 'eventId': string;
12713
+ /**
12714
+ *
12715
+ * @type {string}
12716
+ * @memberof WaitListResponse
12717
+ */
12718
+ 'userId': string;
12719
+ /**
12720
+ *
12721
+ * @type {string}
12722
+ * @memberof WaitListResponse
12723
+ */
12724
+ 'status': string;
12725
+ /**
12726
+ *
12727
+ * @type {number}
12728
+ * @memberof WaitListResponse
12729
+ */
12730
+ 'position': number;
12731
+ /**
12732
+ *
12733
+ * @type {number}
12734
+ * @memberof WaitListResponse
12735
+ */
12736
+ 'priceInCents': number;
12737
+ /**
12738
+ *
12739
+ * @type {boolean}
12740
+ * @memberof WaitListResponse
12741
+ */
12742
+ 'paymentAuthorized': boolean;
12743
+ /**
12744
+ *
12745
+ * @type {string}
12746
+ * @memberof WaitListResponse
12747
+ */
12748
+ 'joinedAt': string;
12749
+ /**
12750
+ *
12751
+ * @type {string}
12752
+ * @memberof WaitListResponse
12753
+ */
12754
+ 'expiresAt'?: string;
12755
+ /**
12756
+ *
12757
+ * @type {string}
12758
+ * @memberof WaitListResponse
12759
+ */
12760
+ 'paymentLink'?: string;
12761
+ }
12601
12762
  /**
12602
12763
  *
12603
12764
  * @export
@@ -19591,6 +19752,276 @@ export declare const GetWeeklyEventsTypeEnum: {
19591
19752
  readonly Closure: "closure";
19592
19753
  };
19593
19754
  export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
19755
+ /**
19756
+ * EventsWaitListApi - axios parameter creator
19757
+ * @export
19758
+ */
19759
+ export declare const EventsWaitListApiAxiosParamCreator: (configuration?: Configuration) => {
19760
+ /**
19761
+ * Obtenir la position actuelle dans la file d\'attente
19762
+ * @param {string} eventId
19763
+ * @param {*} [options] Override http request option.
19764
+ * @throws {RequiredError}
19765
+ */
19766
+ getUserPosition: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19767
+ /**
19768
+ * Rejoindre la file d\'attente pour un événement
19769
+ * @param {string} eventId
19770
+ * @param {JoinWaitListRequest} joinWaitListRequest
19771
+ * @param {*} [options] Override http request option.
19772
+ * @throws {RequiredError}
19773
+ */
19774
+ joinWaitList: (eventId: string, joinWaitListRequest: JoinWaitListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19775
+ /**
19776
+ * Quitter la file d\'attente
19777
+ * @param {string} eventId
19778
+ * @param {*} [options] Override http request option.
19779
+ * @throws {RequiredError}
19780
+ */
19781
+ leaveWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19782
+ };
19783
+ /**
19784
+ * EventsWaitListApi - functional programming interface
19785
+ * @export
19786
+ */
19787
+ export declare const EventsWaitListApiFp: (configuration?: Configuration) => {
19788
+ /**
19789
+ * Obtenir la position actuelle dans la file d\'attente
19790
+ * @param {string} eventId
19791
+ * @param {*} [options] Override http request option.
19792
+ * @throws {RequiredError}
19793
+ */
19794
+ getUserPosition(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPosition200Response>>;
19795
+ /**
19796
+ * Rejoindre la file d\'attente pour un événement
19797
+ * @param {string} eventId
19798
+ * @param {JoinWaitListRequest} joinWaitListRequest
19799
+ * @param {*} [options] Override http request option.
19800
+ * @throws {RequiredError}
19801
+ */
19802
+ joinWaitList(eventId: string, joinWaitListRequest: JoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinWaitList200Response>>;
19803
+ /**
19804
+ * Quitter la file d\'attente
19805
+ * @param {string} eventId
19806
+ * @param {*} [options] Override http request option.
19807
+ * @throws {RequiredError}
19808
+ */
19809
+ leaveWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
19810
+ };
19811
+ /**
19812
+ * EventsWaitListApi - factory interface
19813
+ * @export
19814
+ */
19815
+ export declare const EventsWaitListApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
19816
+ /**
19817
+ * Obtenir la position actuelle dans la file d\'attente
19818
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
19819
+ * @param {*} [options] Override http request option.
19820
+ * @throws {RequiredError}
19821
+ */
19822
+ getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPosition200Response>;
19823
+ /**
19824
+ * Rejoindre la file d\'attente pour un événement
19825
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
19826
+ * @param {*} [options] Override http request option.
19827
+ * @throws {RequiredError}
19828
+ */
19829
+ joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinWaitList200Response>;
19830
+ /**
19831
+ * Quitter la file d\'attente
19832
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
19833
+ * @param {*} [options] Override http request option.
19834
+ * @throws {RequiredError}
19835
+ */
19836
+ leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
19837
+ };
19838
+ /**
19839
+ * Request parameters for getUserPosition operation in EventsWaitListApi.
19840
+ * @export
19841
+ * @interface EventsWaitListApiGetUserPositionRequest
19842
+ */
19843
+ export interface EventsWaitListApiGetUserPositionRequest {
19844
+ /**
19845
+ *
19846
+ * @type {string}
19847
+ * @memberof EventsWaitListApiGetUserPosition
19848
+ */
19849
+ readonly eventId: string;
19850
+ }
19851
+ /**
19852
+ * Request parameters for joinWaitList operation in EventsWaitListApi.
19853
+ * @export
19854
+ * @interface EventsWaitListApiJoinWaitListRequest
19855
+ */
19856
+ export interface EventsWaitListApiJoinWaitListRequest {
19857
+ /**
19858
+ *
19859
+ * @type {string}
19860
+ * @memberof EventsWaitListApiJoinWaitList
19861
+ */
19862
+ readonly eventId: string;
19863
+ /**
19864
+ *
19865
+ * @type {JoinWaitListRequest}
19866
+ * @memberof EventsWaitListApiJoinWaitList
19867
+ */
19868
+ readonly joinWaitListRequest: JoinWaitListRequest;
19869
+ }
19870
+ /**
19871
+ * Request parameters for leaveWaitList operation in EventsWaitListApi.
19872
+ * @export
19873
+ * @interface EventsWaitListApiLeaveWaitListRequest
19874
+ */
19875
+ export interface EventsWaitListApiLeaveWaitListRequest {
19876
+ /**
19877
+ *
19878
+ * @type {string}
19879
+ * @memberof EventsWaitListApiLeaveWaitList
19880
+ */
19881
+ readonly eventId: string;
19882
+ }
19883
+ /**
19884
+ * EventsWaitListApi - object-oriented interface
19885
+ * @export
19886
+ * @class EventsWaitListApi
19887
+ * @extends {BaseAPI}
19888
+ */
19889
+ export declare class EventsWaitListApi extends BaseAPI {
19890
+ /**
19891
+ * Obtenir la position actuelle dans la file d\'attente
19892
+ * @param {EventsWaitListApiGetUserPositionRequest} requestParameters Request parameters.
19893
+ * @param {*} [options] Override http request option.
19894
+ * @throws {RequiredError}
19895
+ * @memberof EventsWaitListApi
19896
+ */
19897
+ getUserPosition(requestParameters: EventsWaitListApiGetUserPositionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPosition200Response, any, {}>>;
19898
+ /**
19899
+ * Rejoindre la file d\'attente pour un événement
19900
+ * @param {EventsWaitListApiJoinWaitListRequest} requestParameters Request parameters.
19901
+ * @param {*} [options] Override http request option.
19902
+ * @throws {RequiredError}
19903
+ * @memberof EventsWaitListApi
19904
+ */
19905
+ joinWaitList(requestParameters: EventsWaitListApiJoinWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JoinWaitList200Response, any, {}>>;
19906
+ /**
19907
+ * Quitter la file d\'attente
19908
+ * @param {EventsWaitListApiLeaveWaitListRequest} requestParameters Request parameters.
19909
+ * @param {*} [options] Override http request option.
19910
+ * @throws {RequiredError}
19911
+ * @memberof EventsWaitListApi
19912
+ */
19913
+ leaveWaitList(requestParameters: EventsWaitListApiLeaveWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
19914
+ }
19915
+ /**
19916
+ * EventsWaitListStaffApi - axios parameter creator
19917
+ * @export
19918
+ */
19919
+ export declare const EventsWaitListStaffApiAxiosParamCreator: (configuration?: Configuration) => {
19920
+ /**
19921
+ * Obtenir la liste complète de la file d\'attente (staff only)
19922
+ * @param {string} eventId
19923
+ * @param {*} [options] Override http request option.
19924
+ * @throws {RequiredError}
19925
+ */
19926
+ getWaitListForEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19927
+ /**
19928
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
19929
+ * @param {string} eventId
19930
+ * @param {*} [options] Override http request option.
19931
+ * @throws {RequiredError}
19932
+ */
19933
+ processWaitList: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19934
+ };
19935
+ /**
19936
+ * EventsWaitListStaffApi - functional programming interface
19937
+ * @export
19938
+ */
19939
+ export declare const EventsWaitListStaffApiFp: (configuration?: Configuration) => {
19940
+ /**
19941
+ * Obtenir la liste complète de la file d\'attente (staff only)
19942
+ * @param {string} eventId
19943
+ * @param {*} [options] Override http request option.
19944
+ * @throws {RequiredError}
19945
+ */
19946
+ getWaitListForEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWaitListForEvent200Response>>;
19947
+ /**
19948
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
19949
+ * @param {string} eventId
19950
+ * @param {*} [options] Override http request option.
19951
+ * @throws {RequiredError}
19952
+ */
19953
+ processWaitList(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPasswordReset200Response>>;
19954
+ };
19955
+ /**
19956
+ * EventsWaitListStaffApi - factory interface
19957
+ * @export
19958
+ */
19959
+ export declare const EventsWaitListStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
19960
+ /**
19961
+ * Obtenir la liste complète de la file d\'attente (staff only)
19962
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
19963
+ * @param {*} [options] Override http request option.
19964
+ * @throws {RequiredError}
19965
+ */
19966
+ getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetWaitListForEvent200Response>;
19967
+ /**
19968
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
19969
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
19970
+ * @param {*} [options] Override http request option.
19971
+ * @throws {RequiredError}
19972
+ */
19973
+ processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig): AxiosPromise<RequestPasswordReset200Response>;
19974
+ };
19975
+ /**
19976
+ * Request parameters for getWaitListForEvent operation in EventsWaitListStaffApi.
19977
+ * @export
19978
+ * @interface EventsWaitListStaffApiGetWaitListForEventRequest
19979
+ */
19980
+ export interface EventsWaitListStaffApiGetWaitListForEventRequest {
19981
+ /**
19982
+ *
19983
+ * @type {string}
19984
+ * @memberof EventsWaitListStaffApiGetWaitListForEvent
19985
+ */
19986
+ readonly eventId: string;
19987
+ }
19988
+ /**
19989
+ * Request parameters for processWaitList operation in EventsWaitListStaffApi.
19990
+ * @export
19991
+ * @interface EventsWaitListStaffApiProcessWaitListRequest
19992
+ */
19993
+ export interface EventsWaitListStaffApiProcessWaitListRequest {
19994
+ /**
19995
+ *
19996
+ * @type {string}
19997
+ * @memberof EventsWaitListStaffApiProcessWaitList
19998
+ */
19999
+ readonly eventId: string;
20000
+ }
20001
+ /**
20002
+ * EventsWaitListStaffApi - object-oriented interface
20003
+ * @export
20004
+ * @class EventsWaitListStaffApi
20005
+ * @extends {BaseAPI}
20006
+ */
20007
+ export declare class EventsWaitListStaffApi extends BaseAPI {
20008
+ /**
20009
+ * Obtenir la liste complète de la file d\'attente (staff only)
20010
+ * @param {EventsWaitListStaffApiGetWaitListForEventRequest} requestParameters Request parameters.
20011
+ * @param {*} [options] Override http request option.
20012
+ * @throws {RequiredError}
20013
+ * @memberof EventsWaitListStaffApi
20014
+ */
20015
+ getWaitListForEvent(requestParameters: EventsWaitListStaffApiGetWaitListForEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetWaitListForEvent200Response, any, {}>>;
20016
+ /**
20017
+ * Forcer le traitement de la waitlist (staff only) Utile pour tester ou forcer la promotion des utilisateurs en attente
20018
+ * @param {EventsWaitListStaffApiProcessWaitListRequest} requestParameters Request parameters.
20019
+ * @param {*} [options] Override http request option.
20020
+ * @throws {RequiredError}
20021
+ * @memberof EventsWaitListStaffApi
20022
+ */
20023
+ processWaitList(requestParameters: EventsWaitListStaffApiProcessWaitListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPasswordReset200Response, any, {}>>;
20024
+ }
19594
20025
  /**
19595
20026
  * ImagesApi - axios parameter creator
19596
20027
  * @export