@tennac-booking/sdk 1.0.241 → 1.0.243

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.
@@ -178,6 +178,7 @@ docs/EstimateOpenBookingJoinRequest.md
178
178
  docs/EstimateOpenEventBookingJoinPrice200Response.md
179
179
  docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md
180
180
  docs/EventBookingDetailSummary.md
181
+ docs/EventBookingDetailSummaryPartnersInner.md
181
182
  docs/EventBookingDetailSummaryPaymentPerPlayersInner.md
182
183
  docs/EventBookingResponse.md
183
184
  docs/EventBookingResponsePaymentPerPlayersInner.md
@@ -454,6 +455,7 @@ docs/UserClubMembershipsResponse.md
454
455
  docs/UserClubSubscription.md
455
456
  docs/UserEventParticipation.md
456
457
  docs/UserEventSummary.md
458
+ docs/UserEventSummarySportsDetailsInner.md
457
459
  docs/UserEventsResponse.md
458
460
  docs/UserInfo.md
459
461
  docs/UserLocationSummary.md
package/README.md CHANGED
@@ -476,6 +476,7 @@ Class | Method | HTTP request | Description
476
476
  - [EstimateOpenEventBookingJoinPrice200Response](docs/EstimateOpenEventBookingJoinPrice200Response.md)
477
477
  - [EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo](docs/EstimateOpenEventBookingJoinPrice200ResponseSubscriptionInfo.md)
478
478
  - [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
479
+ - [EventBookingDetailSummaryPartnersInner](docs/EventBookingDetailSummaryPartnersInner.md)
479
480
  - [EventBookingDetailSummaryPaymentPerPlayersInner](docs/EventBookingDetailSummaryPaymentPerPlayersInner.md)
480
481
  - [EventBookingResponse](docs/EventBookingResponse.md)
481
482
  - [EventBookingResponsePaymentPerPlayersInner](docs/EventBookingResponsePaymentPerPlayersInner.md)
@@ -736,6 +737,7 @@ Class | Method | HTTP request | Description
736
737
  - [UserClubSubscription](docs/UserClubSubscription.md)
737
738
  - [UserEventParticipation](docs/UserEventParticipation.md)
738
739
  - [UserEventSummary](docs/UserEventSummary.md)
740
+ - [UserEventSummarySportsDetailsInner](docs/UserEventSummarySportsDetailsInner.md)
739
741
  - [UserEventsResponse](docs/UserEventsResponse.md)
740
742
  - [UserInfo](docs/UserInfo.md)
741
743
  - [UserLocationSummary](docs/UserLocationSummary.md)
package/api.ts CHANGED
@@ -2360,6 +2360,12 @@ export interface ClubEvent {
2360
2360
  * @memberof ClubEvent
2361
2361
  */
2362
2362
  'description'?: string;
2363
+ /**
2364
+ *
2365
+ * @type {string}
2366
+ * @memberof ClubEvent
2367
+ */
2368
+ 'category'?: string;
2363
2369
  /**
2364
2370
  *
2365
2371
  * @type {string}
@@ -4863,6 +4869,12 @@ export interface CreateEventRequest {
4863
4869
  * @memberof CreateEventRequest
4864
4870
  */
4865
4871
  'title': string;
4872
+ /**
4873
+ *
4874
+ * @type {string}
4875
+ * @memberof CreateEventRequest
4876
+ */
4877
+ 'category'?: string;
4866
4878
  /**
4867
4879
  *
4868
4880
  * @type {string}
@@ -5875,6 +5887,12 @@ export interface EventBookingDetailSummary {
5875
5887
  * @memberof EventBookingDetailSummary
5876
5888
  */
5877
5889
  'players': Array<string>;
5890
+ /**
5891
+ *
5892
+ * @type {Array<EventBookingDetailSummaryPartnersInner>}
5893
+ * @memberof EventBookingDetailSummary
5894
+ */
5895
+ 'partners'?: Array<EventBookingDetailSummaryPartnersInner>;
5878
5896
  /**
5879
5897
  * Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`.
5880
5898
  * @type {Array<EventBookingDetailSummaryPaymentPerPlayersInner>}
@@ -5939,6 +5957,37 @@ export const EventBookingDetailSummaryUserParticipationStatusEnum = {
5939
5957
 
5940
5958
  export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
5941
5959
 
5960
+ /**
5961
+ *
5962
+ * @export
5963
+ * @interface EventBookingDetailSummaryPartnersInner
5964
+ */
5965
+ export interface EventBookingDetailSummaryPartnersInner {
5966
+ /**
5967
+ *
5968
+ * @type {string}
5969
+ * @memberof EventBookingDetailSummaryPartnersInner
5970
+ */
5971
+ 'profilePicture'?: string | null;
5972
+ /**
5973
+ *
5974
+ * @type {string}
5975
+ * @memberof EventBookingDetailSummaryPartnersInner
5976
+ */
5977
+ 'lastName'?: string | null;
5978
+ /**
5979
+ *
5980
+ * @type {string}
5981
+ * @memberof EventBookingDetailSummaryPartnersInner
5982
+ */
5983
+ 'firstName'?: string | null;
5984
+ /**
5985
+ *
5986
+ * @type {string}
5987
+ * @memberof EventBookingDetailSummaryPartnersInner
5988
+ */
5989
+ 'id': string;
5990
+ }
5942
5991
  /**
5943
5992
  *
5944
5993
  * @export
@@ -6280,6 +6329,12 @@ export interface EventResponse {
6280
6329
  * @memberof EventResponse
6281
6330
  */
6282
6331
  'title': string;
6332
+ /**
6333
+ *
6334
+ * @type {string}
6335
+ * @memberof EventResponse
6336
+ */
6337
+ 'category'?: string;
6283
6338
  /**
6284
6339
  *
6285
6340
  * @type {string}
@@ -6358,6 +6413,12 @@ export interface EventResponse {
6358
6413
  * @memberof EventResponse
6359
6414
  */
6360
6415
  'teams'?: Array<Team>;
6416
+ /**
6417
+ *
6418
+ * @type {Array<string>}
6419
+ * @memberof EventResponse
6420
+ */
6421
+ 'registeredAvatars'?: Array<string>;
6361
6422
  /**
6362
6423
  *
6363
6424
  * @type {number}
@@ -11453,6 +11514,12 @@ export interface RecurringDefinitionResponse {
11453
11514
  * @memberof RecurringDefinitionResponse
11454
11515
  */
11455
11516
  'title': string;
11517
+ /**
11518
+ *
11519
+ * @type {string}
11520
+ * @memberof RecurringDefinitionResponse
11521
+ */
11522
+ 'category'?: string;
11456
11523
  /**
11457
11524
  *
11458
11525
  * @type {string}
@@ -14390,6 +14457,12 @@ export interface UpdateEventRequest {
14390
14457
  * @memberof UpdateEventRequest
14391
14458
  */
14392
14459
  'title'?: string;
14460
+ /**
14461
+ *
14462
+ * @type {string}
14463
+ * @memberof UpdateEventRequest
14464
+ */
14465
+ 'category'?: string;
14393
14466
  /**
14394
14467
  *
14395
14468
  * @type {string}
@@ -14628,6 +14701,12 @@ export interface UpdateRecurringDefinitionRequest {
14628
14701
  * @memberof UpdateRecurringDefinitionRequest
14629
14702
  */
14630
14703
  'title'?: string;
14704
+ /**
14705
+ *
14706
+ * @type {string}
14707
+ * @memberof UpdateRecurringDefinitionRequest
14708
+ */
14709
+ 'category'?: string;
14631
14710
  /**
14632
14711
  *
14633
14712
  * @type {string}
@@ -15295,12 +15374,30 @@ export interface UserEventSummary {
15295
15374
  * @memberof UserEventSummary
15296
15375
  */
15297
15376
  'clubId': string;
15377
+ /**
15378
+ *
15379
+ * @type {string}
15380
+ * @memberof UserEventSummary
15381
+ */
15382
+ 'clubName'?: string | null;
15383
+ /**
15384
+ *
15385
+ * @type {string}
15386
+ * @memberof UserEventSummary
15387
+ */
15388
+ 'clubLogo'?: string | null;
15298
15389
  /**
15299
15390
  *
15300
15391
  * @type {string}
15301
15392
  * @memberof UserEventSummary
15302
15393
  */
15303
15394
  'title': string;
15395
+ /**
15396
+ *
15397
+ * @type {string}
15398
+ * @memberof UserEventSummary
15399
+ */
15400
+ 'category'?: string | null;
15304
15401
  /**
15305
15402
  *
15306
15403
  * @type {string}
@@ -15355,6 +15452,12 @@ export interface UserEventSummary {
15355
15452
  * @memberof UserEventSummary
15356
15453
  */
15357
15454
  'sports'?: Array<string>;
15455
+ /**
15456
+ *
15457
+ * @type {Array<UserEventSummarySportsDetailsInner>}
15458
+ * @memberof UserEventSummary
15459
+ */
15460
+ 'sportsDetails'?: Array<UserEventSummarySportsDetailsInner>;
15358
15461
  /**
15359
15462
  *
15360
15463
  * @type {Array<string>}
@@ -15364,6 +15467,31 @@ export interface UserEventSummary {
15364
15467
  }
15365
15468
 
15366
15469
 
15470
+ /**
15471
+ *
15472
+ * @export
15473
+ * @interface UserEventSummarySportsDetailsInner
15474
+ */
15475
+ export interface UserEventSummarySportsDetailsInner {
15476
+ /**
15477
+ *
15478
+ * @type {string}
15479
+ * @memberof UserEventSummarySportsDetailsInner
15480
+ */
15481
+ 'name'?: string | null;
15482
+ /**
15483
+ *
15484
+ * @type {string}
15485
+ * @memberof UserEventSummarySportsDetailsInner
15486
+ */
15487
+ 'key'?: string | null;
15488
+ /**
15489
+ *
15490
+ * @type {string}
15491
+ * @memberof UserEventSummarySportsDetailsInner
15492
+ */
15493
+ 'id': string;
15494
+ }
15367
15495
  /**
15368
15496
  *
15369
15497
  * @export
@@ -36690,10 +36818,12 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
36690
36818
  * @param {number} [page]
36691
36819
  * @param {number} [limit]
36692
36820
  * @param {Array<string>} [excludeIds]
36821
+ * @param {string} [eventId]
36822
+ * @param {string} [openBookingId]
36693
36823
  * @param {*} [options] Override http request option.
36694
36824
  * @throws {RequiredError}
36695
36825
  */
36696
- searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36826
+ searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36697
36827
  // verify required parameter 'q' is not null or undefined
36698
36828
  assertParamExists('searchPartner', 'q', q)
36699
36829
  const localVarPath = `/api/users/searchPartner`;
@@ -36728,6 +36858,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
36728
36858
  localVarQueryParameter['excludeIds'] = excludeIds;
36729
36859
  }
36730
36860
 
36861
+ if (eventId !== undefined) {
36862
+ localVarQueryParameter['eventId'] = eventId;
36863
+ }
36864
+
36865
+ if (openBookingId !== undefined) {
36866
+ localVarQueryParameter['openBookingId'] = openBookingId;
36867
+ }
36868
+
36731
36869
 
36732
36870
 
36733
36871
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -37536,11 +37674,13 @@ export const UsersApiFp = function(configuration?: Configuration) {
37536
37674
  * @param {number} [page]
37537
37675
  * @param {number} [limit]
37538
37676
  * @param {Array<string>} [excludeIds]
37677
+ * @param {string} [eventId]
37678
+ * @param {string} [openBookingId]
37539
37679
  * @param {*} [options] Override http request option.
37540
37680
  * @throws {RequiredError}
37541
37681
  */
37542
- async searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>> {
37543
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
37682
+ async searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>> {
37683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options);
37544
37684
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37545
37685
  const localVarOperationServerBasePath = operationServerMap['UsersApi.searchPartner']?.[localVarOperationServerIndex]?.url;
37546
37686
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -38000,7 +38140,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
38000
38140
  * @throws {RequiredError}
38001
38141
  */
38002
38142
  searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise<PartnerSearchResponse> {
38003
- return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
38143
+ return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(axios, basePath));
38004
38144
  },
38005
38145
  /**
38006
38146
  *
@@ -38684,6 +38824,20 @@ export interface UsersApiSearchPartnerRequest {
38684
38824
  * @memberof UsersApiSearchPartner
38685
38825
  */
38686
38826
  readonly excludeIds?: Array<string>
38827
+
38828
+ /**
38829
+ *
38830
+ * @type {string}
38831
+ * @memberof UsersApiSearchPartner
38832
+ */
38833
+ readonly eventId?: string
38834
+
38835
+ /**
38836
+ *
38837
+ * @type {string}
38838
+ * @memberof UsersApiSearchPartner
38839
+ */
38840
+ readonly openBookingId?: string
38687
38841
  }
38688
38842
 
38689
38843
  /**
@@ -39233,7 +39387,7 @@ export class UsersApi extends BaseAPI {
39233
39387
  * @memberof UsersApi
39234
39388
  */
39235
39389
  public searchPartner(requestParameters: UsersApiSearchPartnerRequest, options?: RawAxiosRequestConfig) {
39236
- return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
39390
+ return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(this.axios, this.basePath));
39237
39391
  }
39238
39392
 
39239
39393
  /**
package/dist/api.d.ts CHANGED
@@ -2313,6 +2313,12 @@ export interface ClubEvent {
2313
2313
  * @memberof ClubEvent
2314
2314
  */
2315
2315
  'description'?: string;
2316
+ /**
2317
+ *
2318
+ * @type {string}
2319
+ * @memberof ClubEvent
2320
+ */
2321
+ 'category'?: string;
2316
2322
  /**
2317
2323
  *
2318
2324
  * @type {string}
@@ -4807,6 +4813,12 @@ export interface CreateEventRequest {
4807
4813
  * @memberof CreateEventRequest
4808
4814
  */
4809
4815
  'title': string;
4816
+ /**
4817
+ *
4818
+ * @type {string}
4819
+ * @memberof CreateEventRequest
4820
+ */
4821
+ 'category'?: string;
4810
4822
  /**
4811
4823
  *
4812
4824
  * @type {string}
@@ -5799,6 +5811,12 @@ export interface EventBookingDetailSummary {
5799
5811
  * @memberof EventBookingDetailSummary
5800
5812
  */
5801
5813
  'players': Array<string>;
5814
+ /**
5815
+ *
5816
+ * @type {Array<EventBookingDetailSummaryPartnersInner>}
5817
+ * @memberof EventBookingDetailSummary
5818
+ */
5819
+ 'partners'?: Array<EventBookingDetailSummaryPartnersInner>;
5802
5820
  /**
5803
5821
  * Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`.
5804
5822
  * @type {Array<EventBookingDetailSummaryPaymentPerPlayersInner>}
@@ -5860,6 +5878,37 @@ export declare const EventBookingDetailSummaryUserParticipationStatusEnum: {
5860
5878
  readonly Waitlist: "waitlist";
5861
5879
  };
5862
5880
  export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
5881
+ /**
5882
+ *
5883
+ * @export
5884
+ * @interface EventBookingDetailSummaryPartnersInner
5885
+ */
5886
+ export interface EventBookingDetailSummaryPartnersInner {
5887
+ /**
5888
+ *
5889
+ * @type {string}
5890
+ * @memberof EventBookingDetailSummaryPartnersInner
5891
+ */
5892
+ 'profilePicture'?: string | null;
5893
+ /**
5894
+ *
5895
+ * @type {string}
5896
+ * @memberof EventBookingDetailSummaryPartnersInner
5897
+ */
5898
+ 'lastName'?: string | null;
5899
+ /**
5900
+ *
5901
+ * @type {string}
5902
+ * @memberof EventBookingDetailSummaryPartnersInner
5903
+ */
5904
+ 'firstName'?: string | null;
5905
+ /**
5906
+ *
5907
+ * @type {string}
5908
+ * @memberof EventBookingDetailSummaryPartnersInner
5909
+ */
5910
+ 'id': string;
5911
+ }
5863
5912
  /**
5864
5913
  *
5865
5914
  * @export
@@ -6193,6 +6242,12 @@ export interface EventResponse {
6193
6242
  * @memberof EventResponse
6194
6243
  */
6195
6244
  'title': string;
6245
+ /**
6246
+ *
6247
+ * @type {string}
6248
+ * @memberof EventResponse
6249
+ */
6250
+ 'category'?: string;
6196
6251
  /**
6197
6252
  *
6198
6253
  * @type {string}
@@ -6271,6 +6326,12 @@ export interface EventResponse {
6271
6326
  * @memberof EventResponse
6272
6327
  */
6273
6328
  'teams'?: Array<Team>;
6329
+ /**
6330
+ *
6331
+ * @type {Array<string>}
6332
+ * @memberof EventResponse
6333
+ */
6334
+ 'registeredAvatars'?: Array<string>;
6274
6335
  /**
6275
6336
  *
6276
6337
  * @type {number}
@@ -11270,6 +11331,12 @@ export interface RecurringDefinitionResponse {
11270
11331
  * @memberof RecurringDefinitionResponse
11271
11332
  */
11272
11333
  'title': string;
11334
+ /**
11335
+ *
11336
+ * @type {string}
11337
+ * @memberof RecurringDefinitionResponse
11338
+ */
11339
+ 'category'?: string;
11273
11340
  /**
11274
11341
  *
11275
11342
  * @type {string}
@@ -14162,6 +14229,12 @@ export interface UpdateEventRequest {
14162
14229
  * @memberof UpdateEventRequest
14163
14230
  */
14164
14231
  'title'?: string;
14232
+ /**
14233
+ *
14234
+ * @type {string}
14235
+ * @memberof UpdateEventRequest
14236
+ */
14237
+ 'category'?: string;
14165
14238
  /**
14166
14239
  *
14167
14240
  * @type {string}
@@ -14394,6 +14467,12 @@ export interface UpdateRecurringDefinitionRequest {
14394
14467
  * @memberof UpdateRecurringDefinitionRequest
14395
14468
  */
14396
14469
  'title'?: string;
14470
+ /**
14471
+ *
14472
+ * @type {string}
14473
+ * @memberof UpdateRecurringDefinitionRequest
14474
+ */
14475
+ 'category'?: string;
14397
14476
  /**
14398
14477
  *
14399
14478
  * @type {string}
@@ -15047,12 +15126,30 @@ export interface UserEventSummary {
15047
15126
  * @memberof UserEventSummary
15048
15127
  */
15049
15128
  'clubId': string;
15129
+ /**
15130
+ *
15131
+ * @type {string}
15132
+ * @memberof UserEventSummary
15133
+ */
15134
+ 'clubName'?: string | null;
15135
+ /**
15136
+ *
15137
+ * @type {string}
15138
+ * @memberof UserEventSummary
15139
+ */
15140
+ 'clubLogo'?: string | null;
15050
15141
  /**
15051
15142
  *
15052
15143
  * @type {string}
15053
15144
  * @memberof UserEventSummary
15054
15145
  */
15055
15146
  'title': string;
15147
+ /**
15148
+ *
15149
+ * @type {string}
15150
+ * @memberof UserEventSummary
15151
+ */
15152
+ 'category'?: string | null;
15056
15153
  /**
15057
15154
  *
15058
15155
  * @type {string}
@@ -15107,6 +15204,12 @@ export interface UserEventSummary {
15107
15204
  * @memberof UserEventSummary
15108
15205
  */
15109
15206
  'sports'?: Array<string>;
15207
+ /**
15208
+ *
15209
+ * @type {Array<UserEventSummarySportsDetailsInner>}
15210
+ * @memberof UserEventSummary
15211
+ */
15212
+ 'sportsDetails'?: Array<UserEventSummarySportsDetailsInner>;
15110
15213
  /**
15111
15214
  *
15112
15215
  * @type {Array<string>}
@@ -15114,6 +15217,31 @@ export interface UserEventSummary {
15114
15217
  */
15115
15218
  'courts'?: Array<string>;
15116
15219
  }
15220
+ /**
15221
+ *
15222
+ * @export
15223
+ * @interface UserEventSummarySportsDetailsInner
15224
+ */
15225
+ export interface UserEventSummarySportsDetailsInner {
15226
+ /**
15227
+ *
15228
+ * @type {string}
15229
+ * @memberof UserEventSummarySportsDetailsInner
15230
+ */
15231
+ 'name'?: string | null;
15232
+ /**
15233
+ *
15234
+ * @type {string}
15235
+ * @memberof UserEventSummarySportsDetailsInner
15236
+ */
15237
+ 'key'?: string | null;
15238
+ /**
15239
+ *
15240
+ * @type {string}
15241
+ * @memberof UserEventSummarySportsDetailsInner
15242
+ */
15243
+ 'id': string;
15244
+ }
15117
15245
  /**
15118
15246
  *
15119
15247
  * @export
@@ -26102,10 +26230,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
26102
26230
  * @param {number} [page]
26103
26231
  * @param {number} [limit]
26104
26232
  * @param {Array<string>} [excludeIds]
26233
+ * @param {string} [eventId]
26234
+ * @param {string} [openBookingId]
26105
26235
  * @param {*} [options] Override http request option.
26106
26236
  * @throws {RequiredError}
26107
26237
  */
26108
- searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26238
+ searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26109
26239
  /**
26110
26240
  *
26111
26241
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -26468,10 +26598,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
26468
26598
  * @param {number} [page]
26469
26599
  * @param {number} [limit]
26470
26600
  * @param {Array<string>} [excludeIds]
26601
+ * @param {string} [eventId]
26602
+ * @param {string} [openBookingId]
26471
26603
  * @param {*} [options] Override http request option.
26472
26604
  * @throws {RequiredError}
26473
26605
  */
26474
- searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
26606
+ searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
26475
26607
  /**
26476
26608
  *
26477
26609
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -27422,6 +27554,18 @@ export interface UsersApiSearchPartnerRequest {
27422
27554
  * @memberof UsersApiSearchPartner
27423
27555
  */
27424
27556
  readonly excludeIds?: Array<string>;
27557
+ /**
27558
+ *
27559
+ * @type {string}
27560
+ * @memberof UsersApiSearchPartner
27561
+ */
27562
+ readonly eventId?: string;
27563
+ /**
27564
+ *
27565
+ * @type {string}
27566
+ * @memberof UsersApiSearchPartner
27567
+ */
27568
+ readonly openBookingId?: string;
27425
27569
  }
27426
27570
  /**
27427
27571
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
package/dist/api.js CHANGED
@@ -16598,10 +16598,12 @@ const UsersApiAxiosParamCreator = function (configuration) {
16598
16598
  * @param {number} [page]
16599
16599
  * @param {number} [limit]
16600
16600
  * @param {Array<string>} [excludeIds]
16601
+ * @param {string} [eventId]
16602
+ * @param {string} [openBookingId]
16601
16603
  * @param {*} [options] Override http request option.
16602
16604
  * @throws {RequiredError}
16603
16605
  */
16604
- searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
16606
+ searchPartner: (q_1, page_1, limit_1, excludeIds_1, eventId_1, openBookingId_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, eventId_1, openBookingId_1, ...args_1], void 0, function* (q, page, limit, excludeIds, eventId, openBookingId, options = {}) {
16605
16607
  // verify required parameter 'q' is not null or undefined
16606
16608
  (0, common_1.assertParamExists)('searchPartner', 'q', q);
16607
16609
  const localVarPath = `/api/users/searchPartner`;
@@ -16629,6 +16631,12 @@ const UsersApiAxiosParamCreator = function (configuration) {
16629
16631
  if (excludeIds) {
16630
16632
  localVarQueryParameter['excludeIds'] = excludeIds;
16631
16633
  }
16634
+ if (eventId !== undefined) {
16635
+ localVarQueryParameter['eventId'] = eventId;
16636
+ }
16637
+ if (openBookingId !== undefined) {
16638
+ localVarQueryParameter['openBookingId'] = openBookingId;
16639
+ }
16632
16640
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16633
16641
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16634
16642
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -17498,13 +17506,15 @@ const UsersApiFp = function (configuration) {
17498
17506
  * @param {number} [page]
17499
17507
  * @param {number} [limit]
17500
17508
  * @param {Array<string>} [excludeIds]
17509
+ * @param {string} [eventId]
17510
+ * @param {string} [openBookingId]
17501
17511
  * @param {*} [options] Override http request option.
17502
17512
  * @throws {RequiredError}
17503
17513
  */
17504
- searchPartner(q, page, limit, excludeIds, options) {
17514
+ searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options) {
17505
17515
  return __awaiter(this, void 0, void 0, function* () {
17506
17516
  var _a, _b, _c;
17507
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
17517
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options);
17508
17518
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17509
17519
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UsersApi.searchPartner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17510
17520
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17989,7 +17999,7 @@ const UsersApiFactory = function (configuration, basePath, axios) {
17989
17999
  * @throws {RequiredError}
17990
18000
  */
17991
18001
  searchPartner(requestParameters, options) {
17992
- return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
18002
+ return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(axios, basePath));
17993
18003
  },
17994
18004
  /**
17995
18005
  *
@@ -18462,7 +18472,7 @@ class UsersApi extends base_1.BaseAPI {
18462
18472
  * @memberof UsersApi
18463
18473
  */
18464
18474
  searchPartner(requestParameters, options) {
18465
- return (0, exports.UsersApiFp)(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
18475
+ return (0, exports.UsersApiFp)(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(this.axios, this.basePath));
18466
18476
  }
18467
18477
  /**
18468
18478
  *
package/dist/esm/api.d.ts CHANGED
@@ -2313,6 +2313,12 @@ export interface ClubEvent {
2313
2313
  * @memberof ClubEvent
2314
2314
  */
2315
2315
  'description'?: string;
2316
+ /**
2317
+ *
2318
+ * @type {string}
2319
+ * @memberof ClubEvent
2320
+ */
2321
+ 'category'?: string;
2316
2322
  /**
2317
2323
  *
2318
2324
  * @type {string}
@@ -4807,6 +4813,12 @@ export interface CreateEventRequest {
4807
4813
  * @memberof CreateEventRequest
4808
4814
  */
4809
4815
  'title': string;
4816
+ /**
4817
+ *
4818
+ * @type {string}
4819
+ * @memberof CreateEventRequest
4820
+ */
4821
+ 'category'?: string;
4810
4822
  /**
4811
4823
  *
4812
4824
  * @type {string}
@@ -5799,6 +5811,12 @@ export interface EventBookingDetailSummary {
5799
5811
  * @memberof EventBookingDetailSummary
5800
5812
  */
5801
5813
  'players': Array<string>;
5814
+ /**
5815
+ *
5816
+ * @type {Array<EventBookingDetailSummaryPartnersInner>}
5817
+ * @memberof EventBookingDetailSummary
5818
+ */
5819
+ 'partners'?: Array<EventBookingDetailSummaryPartnersInner>;
5802
5820
  /**
5803
5821
  * Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`.
5804
5822
  * @type {Array<EventBookingDetailSummaryPaymentPerPlayersInner>}
@@ -5860,6 +5878,37 @@ export declare const EventBookingDetailSummaryUserParticipationStatusEnum: {
5860
5878
  readonly Waitlist: "waitlist";
5861
5879
  };
5862
5880
  export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
5881
+ /**
5882
+ *
5883
+ * @export
5884
+ * @interface EventBookingDetailSummaryPartnersInner
5885
+ */
5886
+ export interface EventBookingDetailSummaryPartnersInner {
5887
+ /**
5888
+ *
5889
+ * @type {string}
5890
+ * @memberof EventBookingDetailSummaryPartnersInner
5891
+ */
5892
+ 'profilePicture'?: string | null;
5893
+ /**
5894
+ *
5895
+ * @type {string}
5896
+ * @memberof EventBookingDetailSummaryPartnersInner
5897
+ */
5898
+ 'lastName'?: string | null;
5899
+ /**
5900
+ *
5901
+ * @type {string}
5902
+ * @memberof EventBookingDetailSummaryPartnersInner
5903
+ */
5904
+ 'firstName'?: string | null;
5905
+ /**
5906
+ *
5907
+ * @type {string}
5908
+ * @memberof EventBookingDetailSummaryPartnersInner
5909
+ */
5910
+ 'id': string;
5911
+ }
5863
5912
  /**
5864
5913
  *
5865
5914
  * @export
@@ -6193,6 +6242,12 @@ export interface EventResponse {
6193
6242
  * @memberof EventResponse
6194
6243
  */
6195
6244
  'title': string;
6245
+ /**
6246
+ *
6247
+ * @type {string}
6248
+ * @memberof EventResponse
6249
+ */
6250
+ 'category'?: string;
6196
6251
  /**
6197
6252
  *
6198
6253
  * @type {string}
@@ -6271,6 +6326,12 @@ export interface EventResponse {
6271
6326
  * @memberof EventResponse
6272
6327
  */
6273
6328
  'teams'?: Array<Team>;
6329
+ /**
6330
+ *
6331
+ * @type {Array<string>}
6332
+ * @memberof EventResponse
6333
+ */
6334
+ 'registeredAvatars'?: Array<string>;
6274
6335
  /**
6275
6336
  *
6276
6337
  * @type {number}
@@ -11270,6 +11331,12 @@ export interface RecurringDefinitionResponse {
11270
11331
  * @memberof RecurringDefinitionResponse
11271
11332
  */
11272
11333
  'title': string;
11334
+ /**
11335
+ *
11336
+ * @type {string}
11337
+ * @memberof RecurringDefinitionResponse
11338
+ */
11339
+ 'category'?: string;
11273
11340
  /**
11274
11341
  *
11275
11342
  * @type {string}
@@ -14162,6 +14229,12 @@ export interface UpdateEventRequest {
14162
14229
  * @memberof UpdateEventRequest
14163
14230
  */
14164
14231
  'title'?: string;
14232
+ /**
14233
+ *
14234
+ * @type {string}
14235
+ * @memberof UpdateEventRequest
14236
+ */
14237
+ 'category'?: string;
14165
14238
  /**
14166
14239
  *
14167
14240
  * @type {string}
@@ -14394,6 +14467,12 @@ export interface UpdateRecurringDefinitionRequest {
14394
14467
  * @memberof UpdateRecurringDefinitionRequest
14395
14468
  */
14396
14469
  'title'?: string;
14470
+ /**
14471
+ *
14472
+ * @type {string}
14473
+ * @memberof UpdateRecurringDefinitionRequest
14474
+ */
14475
+ 'category'?: string;
14397
14476
  /**
14398
14477
  *
14399
14478
  * @type {string}
@@ -15047,12 +15126,30 @@ export interface UserEventSummary {
15047
15126
  * @memberof UserEventSummary
15048
15127
  */
15049
15128
  'clubId': string;
15129
+ /**
15130
+ *
15131
+ * @type {string}
15132
+ * @memberof UserEventSummary
15133
+ */
15134
+ 'clubName'?: string | null;
15135
+ /**
15136
+ *
15137
+ * @type {string}
15138
+ * @memberof UserEventSummary
15139
+ */
15140
+ 'clubLogo'?: string | null;
15050
15141
  /**
15051
15142
  *
15052
15143
  * @type {string}
15053
15144
  * @memberof UserEventSummary
15054
15145
  */
15055
15146
  'title': string;
15147
+ /**
15148
+ *
15149
+ * @type {string}
15150
+ * @memberof UserEventSummary
15151
+ */
15152
+ 'category'?: string | null;
15056
15153
  /**
15057
15154
  *
15058
15155
  * @type {string}
@@ -15107,6 +15204,12 @@ export interface UserEventSummary {
15107
15204
  * @memberof UserEventSummary
15108
15205
  */
15109
15206
  'sports'?: Array<string>;
15207
+ /**
15208
+ *
15209
+ * @type {Array<UserEventSummarySportsDetailsInner>}
15210
+ * @memberof UserEventSummary
15211
+ */
15212
+ 'sportsDetails'?: Array<UserEventSummarySportsDetailsInner>;
15110
15213
  /**
15111
15214
  *
15112
15215
  * @type {Array<string>}
@@ -15114,6 +15217,31 @@ export interface UserEventSummary {
15114
15217
  */
15115
15218
  'courts'?: Array<string>;
15116
15219
  }
15220
+ /**
15221
+ *
15222
+ * @export
15223
+ * @interface UserEventSummarySportsDetailsInner
15224
+ */
15225
+ export interface UserEventSummarySportsDetailsInner {
15226
+ /**
15227
+ *
15228
+ * @type {string}
15229
+ * @memberof UserEventSummarySportsDetailsInner
15230
+ */
15231
+ 'name'?: string | null;
15232
+ /**
15233
+ *
15234
+ * @type {string}
15235
+ * @memberof UserEventSummarySportsDetailsInner
15236
+ */
15237
+ 'key'?: string | null;
15238
+ /**
15239
+ *
15240
+ * @type {string}
15241
+ * @memberof UserEventSummarySportsDetailsInner
15242
+ */
15243
+ 'id': string;
15244
+ }
15117
15245
  /**
15118
15246
  *
15119
15247
  * @export
@@ -26102,10 +26230,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
26102
26230
  * @param {number} [page]
26103
26231
  * @param {number} [limit]
26104
26232
  * @param {Array<string>} [excludeIds]
26233
+ * @param {string} [eventId]
26234
+ * @param {string} [openBookingId]
26105
26235
  * @param {*} [options] Override http request option.
26106
26236
  * @throws {RequiredError}
26107
26237
  */
26108
- searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26238
+ searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26109
26239
  /**
26110
26240
  *
26111
26241
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -26468,10 +26598,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
26468
26598
  * @param {number} [page]
26469
26599
  * @param {number} [limit]
26470
26600
  * @param {Array<string>} [excludeIds]
26601
+ * @param {string} [eventId]
26602
+ * @param {string} [openBookingId]
26471
26603
  * @param {*} [options] Override http request option.
26472
26604
  * @throws {RequiredError}
26473
26605
  */
26474
- searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
26606
+ searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
26475
26607
  /**
26476
26608
  *
26477
26609
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -27422,6 +27554,18 @@ export interface UsersApiSearchPartnerRequest {
27422
27554
  * @memberof UsersApiSearchPartner
27423
27555
  */
27424
27556
  readonly excludeIds?: Array<string>;
27557
+ /**
27558
+ *
27559
+ * @type {string}
27560
+ * @memberof UsersApiSearchPartner
27561
+ */
27562
+ readonly eventId?: string;
27563
+ /**
27564
+ *
27565
+ * @type {string}
27566
+ * @memberof UsersApiSearchPartner
27567
+ */
27568
+ readonly openBookingId?: string;
27425
27569
  }
27426
27570
  /**
27427
27571
  * Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
package/dist/esm/api.js CHANGED
@@ -16451,10 +16451,12 @@ export const UsersApiAxiosParamCreator = function (configuration) {
16451
16451
  * @param {number} [page]
16452
16452
  * @param {number} [limit]
16453
16453
  * @param {Array<string>} [excludeIds]
16454
+ * @param {string} [eventId]
16455
+ * @param {string} [openBookingId]
16454
16456
  * @param {*} [options] Override http request option.
16455
16457
  * @throws {RequiredError}
16456
16458
  */
16457
- searchPartner: (q_1, page_1, limit_1, excludeIds_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, ...args_1], void 0, function* (q, page, limit, excludeIds, options = {}) {
16459
+ searchPartner: (q_1, page_1, limit_1, excludeIds_1, eventId_1, openBookingId_1, ...args_1) => __awaiter(this, [q_1, page_1, limit_1, excludeIds_1, eventId_1, openBookingId_1, ...args_1], void 0, function* (q, page, limit, excludeIds, eventId, openBookingId, options = {}) {
16458
16460
  // verify required parameter 'q' is not null or undefined
16459
16461
  assertParamExists('searchPartner', 'q', q);
16460
16462
  const localVarPath = `/api/users/searchPartner`;
@@ -16482,6 +16484,12 @@ export const UsersApiAxiosParamCreator = function (configuration) {
16482
16484
  if (excludeIds) {
16483
16485
  localVarQueryParameter['excludeIds'] = excludeIds;
16484
16486
  }
16487
+ if (eventId !== undefined) {
16488
+ localVarQueryParameter['eventId'] = eventId;
16489
+ }
16490
+ if (openBookingId !== undefined) {
16491
+ localVarQueryParameter['openBookingId'] = openBookingId;
16492
+ }
16485
16493
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16486
16494
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16487
16495
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -17350,13 +17358,15 @@ export const UsersApiFp = function (configuration) {
17350
17358
  * @param {number} [page]
17351
17359
  * @param {number} [limit]
17352
17360
  * @param {Array<string>} [excludeIds]
17361
+ * @param {string} [eventId]
17362
+ * @param {string} [openBookingId]
17353
17363
  * @param {*} [options] Override http request option.
17354
17364
  * @throws {RequiredError}
17355
17365
  */
17356
- searchPartner(q, page, limit, excludeIds, options) {
17366
+ searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options) {
17357
17367
  return __awaiter(this, void 0, void 0, function* () {
17358
17368
  var _a, _b, _c;
17359
- const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, options);
17369
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options);
17360
17370
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17361
17371
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.searchPartner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17362
17372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17840,7 +17850,7 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
17840
17850
  * @throws {RequiredError}
17841
17851
  */
17842
17852
  searchPartner(requestParameters, options) {
17843
- return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(axios, basePath));
17853
+ return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(axios, basePath));
17844
17854
  },
17845
17855
  /**
17846
17856
  *
@@ -18312,7 +18322,7 @@ export class UsersApi extends BaseAPI {
18312
18322
  * @memberof UsersApi
18313
18323
  */
18314
18324
  searchPartner(requestParameters, options) {
18315
- return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, options).then((request) => request(this.axios, this.basePath));
18325
+ return UsersApiFp(this.configuration).searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(this.axios, this.basePath));
18316
18326
  }
18317
18327
  /**
18318
18328
  *
package/docs/ClubEvent.md CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **imageSrc** | **string** | | [optional] [default to undefined]
9
9
  **sport** | **string** | | [optional] [default to undefined]
10
10
  **description** | **string** | | [optional] [default to undefined]
11
+ **category** | **string** | | [optional] [default to undefined]
11
12
  **endDate** | **string** | | [default to undefined]
12
13
  **startDate** | **string** | | [default to undefined]
13
14
  **name** | **string** | | [default to undefined]
@@ -22,6 +23,7 @@ const instance: ClubEvent = {
22
23
  imageSrc,
23
24
  sport,
24
25
  description,
26
+ category,
25
27
  endDate,
26
28
  startDate,
27
29
  name,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **type** | **string** | | [default to undefined]
9
9
  **title** | **string** | | [default to undefined]
10
+ **category** | **string** | | [optional] [default to undefined]
10
11
  **description** | **string** | | [optional] [default to undefined]
11
12
  **photoUrl** | **string** | | [optional] [default to undefined]
12
13
  **isAllDay** | **boolean** | | [default to undefined]
@@ -39,6 +40,7 @@ import { CreateEventRequest } from '@tennac-booking/sdk';
39
40
  const instance: CreateEventRequest = {
40
41
  type,
41
42
  title,
43
+ category,
42
44
  description,
43
45
  photoUrl,
44
46
  isAllDay,
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
10
  **teamName** | **string** | | [optional] [default to undefined]
11
11
  **players** | **Array&lt;string&gt;** | | [default to undefined]
12
+ **partners** | [**Array&lt;EventBookingDetailSummaryPartnersInner&gt;**](EventBookingDetailSummaryPartnersInner.md) | | [optional] [default to undefined]
12
13
  **paymentPerPlayers** | [**Array&lt;EventBookingDetailSummaryPaymentPerPlayersInner&gt;**](EventBookingDetailSummaryPaymentPerPlayersInner.md) | Détails des paiements par joueur pour cette réservation d\&#39;événement. Remplace l\&#39;ancien champ &#x60;invoices&#x60;. | [default to undefined]
13
14
  **creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
14
15
  **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
@@ -29,6 +30,7 @@ const instance: EventBookingDetailSummary = {
29
30
  status,
30
31
  teamName,
31
32
  players,
33
+ partners,
32
34
  paymentPerPlayers,
33
35
  creatorPaymentMethodId,
34
36
  paymentMethodSetupCompleted,
@@ -0,0 +1,26 @@
1
+ # EventBookingDetailSummaryPartnersInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **profilePicture** | **string** | | [optional] [default to undefined]
9
+ **lastName** | **string** | | [optional] [default to undefined]
10
+ **firstName** | **string** | | [optional] [default to undefined]
11
+ **id** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { EventBookingDetailSummaryPartnersInner } from '@tennac-booking/sdk';
17
+
18
+ const instance: EventBookingDetailSummaryPartnersInner = {
19
+ profilePicture,
20
+ lastName,
21
+ firstName,
22
+ id,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **clubId** | **string** | | [default to undefined]
10
10
  **type** | **string** | | [default to undefined]
11
11
  **title** | **string** | | [default to undefined]
12
+ **category** | **string** | | [optional] [default to undefined]
12
13
  **description** | **string** | | [optional] [default to undefined]
13
14
  **photoUrl** | **string** | | [optional] [default to undefined]
14
15
  **isAllDay** | **boolean** | | [default to undefined]
@@ -22,6 +23,7 @@ Name | Type | Description | Notes
22
23
  **participationType** | **string** | | [default to undefined]
23
24
  **participants** | [**Array&lt;EventUser&gt;**](EventUser.md) | | [optional] [default to undefined]
24
25
  **teams** | [**Array&lt;Team&gt;**](Team.md) | | [optional] [default to undefined]
26
+ **registeredAvatars** | **Array&lt;string&gt;** | | [optional] [default to undefined]
25
27
  **playerLimit** | **number** | | [optional] [default to undefined]
26
28
  **teamLimit** | **number** | | [optional] [default to undefined]
27
29
  **playersPerTeam** | **number** | | [optional] [default to undefined]
@@ -47,6 +49,7 @@ const instance: EventResponse = {
47
49
  clubId,
48
50
  type,
49
51
  title,
52
+ category,
50
53
  description,
51
54
  photoUrl,
52
55
  isAllDay,
@@ -60,6 +63,7 @@ const instance: EventResponse = {
60
63
  participationType,
61
64
  participants,
62
65
  teams,
66
+ registeredAvatars,
63
67
  playerLimit,
64
68
  teamLimit,
65
69
  playersPerTeam,
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | | [default to undefined]
9
9
  **clubId** | **string** | | [optional] [default to undefined]
10
10
  **title** | **string** | | [default to undefined]
11
+ **category** | **string** | | [optional] [default to undefined]
11
12
  **baseStartDate** | **string** | | [default to undefined]
12
13
  **baseEndDate** | **string** | | [default to undefined]
13
14
  **isAllDay** | **boolean** | | [default to undefined]
@@ -27,6 +28,7 @@ const instance: RecurringDefinitionResponse = {
27
28
  id,
28
29
  clubId,
29
30
  title,
31
+ category,
30
32
  baseStartDate,
31
33
  baseEndDate,
32
34
  isAllDay,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **type** | **string** | | [optional] [default to undefined]
9
9
  **title** | **string** | | [optional] [default to undefined]
10
+ **category** | **string** | | [optional] [default to undefined]
10
11
  **description** | **string** | | [optional] [default to undefined]
11
12
  **photoUrl** | **string** | | [optional] [default to undefined]
12
13
  **isAllDay** | **boolean** | | [optional] [default to undefined]
@@ -38,6 +39,7 @@ import { UpdateEventRequest } from '@tennac-booking/sdk';
38
39
  const instance: UpdateEventRequest = {
39
40
  type,
40
41
  title,
42
+ category,
41
43
  description,
42
44
  photoUrl,
43
45
  isAllDay,
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | | [optional] [default to undefined]
9
+ **category** | **string** | | [optional] [default to undefined]
9
10
  **description** | **string** | | [optional] [default to undefined]
10
11
  **photoUrl** | **string** | | [optional] [default to undefined]
11
12
  **sportId** | **string** | | [optional] [default to undefined]
@@ -36,6 +37,7 @@ import { UpdateRecurringDefinitionRequest } from '@tennac-booking/sdk';
36
37
 
37
38
  const instance: UpdateRecurringDefinitionRequest = {
38
39
  title,
40
+ category,
39
41
  description,
40
42
  photoUrl,
41
43
  sportId,
@@ -7,7 +7,10 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
9
  **clubId** | **string** | | [default to undefined]
10
+ **clubName** | **string** | | [optional] [default to undefined]
11
+ **clubLogo** | **string** | | [optional] [default to undefined]
10
12
  **title** | **string** | | [default to undefined]
13
+ **category** | **string** | | [optional] [default to undefined]
11
14
  **description** | **string** | | [optional] [default to undefined]
12
15
  **photoUrl** | **string** | | [optional] [default to undefined]
13
16
  **startDate** | **string** | | [default to undefined]
@@ -17,6 +20,7 @@ Name | Type | Description | Notes
17
20
  **isActive** | **boolean** | | [default to undefined]
18
21
  **price** | **number** | | [optional] [default to undefined]
19
22
  **sports** | **Array&lt;string&gt;** | | [optional] [default to undefined]
23
+ **sportsDetails** | [**Array&lt;UserEventSummarySportsDetailsInner&gt;**](UserEventSummarySportsDetailsInner.md) | | [optional] [default to undefined]
20
24
  **courts** | **Array&lt;string&gt;** | | [optional] [default to undefined]
21
25
 
22
26
  ## Example
@@ -27,7 +31,10 @@ import { UserEventSummary } from '@tennac-booking/sdk';
27
31
  const instance: UserEventSummary = {
28
32
  id,
29
33
  clubId,
34
+ clubName,
35
+ clubLogo,
30
36
  title,
37
+ category,
31
38
  description,
32
39
  photoUrl,
33
40
  startDate,
@@ -37,6 +44,7 @@ const instance: UserEventSummary = {
37
44
  isActive,
38
45
  price,
39
46
  sports,
47
+ sportsDetails,
40
48
  courts,
41
49
  };
42
50
  ```
@@ -0,0 +1,24 @@
1
+ # UserEventSummarySportsDetailsInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **key** | **string** | | [optional] [default to undefined]
10
+ **id** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { UserEventSummarySportsDetailsInner } from '@tennac-booking/sdk';
16
+
17
+ const instance: UserEventSummarySportsDetailsInner = {
18
+ name,
19
+ key,
20
+ id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/UsersApi.md CHANGED
@@ -2050,12 +2050,16 @@ let q: string; // (default to undefined)
2050
2050
  let page: number; // (optional) (default to undefined)
2051
2051
  let limit: number; // (optional) (default to undefined)
2052
2052
  let excludeIds: Array<string>; // (optional) (default to undefined)
2053
+ let eventId: string; // (optional) (default to undefined)
2054
+ let openBookingId: string; // (optional) (default to undefined)
2053
2055
 
2054
2056
  const { status, data } = await apiInstance.searchPartner(
2055
2057
  q,
2056
2058
  page,
2057
2059
  limit,
2058
- excludeIds
2060
+ excludeIds,
2061
+ eventId,
2062
+ openBookingId
2059
2063
  );
2060
2064
  ```
2061
2065
 
@@ -2067,6 +2071,8 @@ const { status, data } = await apiInstance.searchPartner(
2067
2071
  | **page** | [**number**] | | (optional) defaults to undefined|
2068
2072
  | **limit** | [**number**] | | (optional) defaults to undefined|
2069
2073
  | **excludeIds** | **Array&lt;string&gt;** | | (optional) defaults to undefined|
2074
+ | **eventId** | [**string**] | | (optional) defaults to undefined|
2075
+ | **openBookingId** | [**string**] | | (optional) defaults to undefined|
2070
2076
 
2071
2077
 
2072
2078
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.241",
3
+ "version": "1.0.243",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {