@tennac-booking/sdk 1.0.241 → 1.0.242
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/api.ts +37 -5
- package/dist/api.d.ts +24 -2
- package/dist/api.js +15 -5
- package/dist/esm/api.d.ts +24 -2
- package/dist/esm/api.js +15 -5
- package/docs/EventResponse.md +2 -0
- package/docs/UsersApi.md +7 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -6358,6 +6358,12 @@ export interface EventResponse {
|
|
|
6358
6358
|
* @memberof EventResponse
|
|
6359
6359
|
*/
|
|
6360
6360
|
'teams'?: Array<Team>;
|
|
6361
|
+
/**
|
|
6362
|
+
*
|
|
6363
|
+
* @type {Array<string>}
|
|
6364
|
+
* @memberof EventResponse
|
|
6365
|
+
*/
|
|
6366
|
+
'registeredAvatars'?: Array<string>;
|
|
6361
6367
|
/**
|
|
6362
6368
|
*
|
|
6363
6369
|
* @type {number}
|
|
@@ -36690,10 +36696,12 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
36690
36696
|
* @param {number} [page]
|
|
36691
36697
|
* @param {number} [limit]
|
|
36692
36698
|
* @param {Array<string>} [excludeIds]
|
|
36699
|
+
* @param {string} [eventId]
|
|
36700
|
+
* @param {string} [openBookingId]
|
|
36693
36701
|
* @param {*} [options] Override http request option.
|
|
36694
36702
|
* @throws {RequiredError}
|
|
36695
36703
|
*/
|
|
36696
|
-
searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36704
|
+
searchPartner: async (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36697
36705
|
// verify required parameter 'q' is not null or undefined
|
|
36698
36706
|
assertParamExists('searchPartner', 'q', q)
|
|
36699
36707
|
const localVarPath = `/api/users/searchPartner`;
|
|
@@ -36728,6 +36736,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
36728
36736
|
localVarQueryParameter['excludeIds'] = excludeIds;
|
|
36729
36737
|
}
|
|
36730
36738
|
|
|
36739
|
+
if (eventId !== undefined) {
|
|
36740
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
36741
|
+
}
|
|
36742
|
+
|
|
36743
|
+
if (openBookingId !== undefined) {
|
|
36744
|
+
localVarQueryParameter['openBookingId'] = openBookingId;
|
|
36745
|
+
}
|
|
36746
|
+
|
|
36731
36747
|
|
|
36732
36748
|
|
|
36733
36749
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -37536,11 +37552,13 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
37536
37552
|
* @param {number} [page]
|
|
37537
37553
|
* @param {number} [limit]
|
|
37538
37554
|
* @param {Array<string>} [excludeIds]
|
|
37555
|
+
* @param {string} [eventId]
|
|
37556
|
+
* @param {string} [openBookingId]
|
|
37539
37557
|
* @param {*} [options] Override http request option.
|
|
37540
37558
|
* @throws {RequiredError}
|
|
37541
37559
|
*/
|
|
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);
|
|
37560
|
+
async searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>> {
|
|
37561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPartner(q, page, limit, excludeIds, eventId, openBookingId, options);
|
|
37544
37562
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37545
37563
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.searchPartner']?.[localVarOperationServerIndex]?.url;
|
|
37546
37564
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -38000,7 +38018,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
38000
38018
|
* @throws {RequiredError}
|
|
38001
38019
|
*/
|
|
38002
38020
|
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));
|
|
38021
|
+
return localVarFp.searchPartner(requestParameters.q, requestParameters.page, requestParameters.limit, requestParameters.excludeIds, requestParameters.eventId, requestParameters.openBookingId, options).then((request) => request(axios, basePath));
|
|
38004
38022
|
},
|
|
38005
38023
|
/**
|
|
38006
38024
|
*
|
|
@@ -38684,6 +38702,20 @@ export interface UsersApiSearchPartnerRequest {
|
|
|
38684
38702
|
* @memberof UsersApiSearchPartner
|
|
38685
38703
|
*/
|
|
38686
38704
|
readonly excludeIds?: Array<string>
|
|
38705
|
+
|
|
38706
|
+
/**
|
|
38707
|
+
*
|
|
38708
|
+
* @type {string}
|
|
38709
|
+
* @memberof UsersApiSearchPartner
|
|
38710
|
+
*/
|
|
38711
|
+
readonly eventId?: string
|
|
38712
|
+
|
|
38713
|
+
/**
|
|
38714
|
+
*
|
|
38715
|
+
* @type {string}
|
|
38716
|
+
* @memberof UsersApiSearchPartner
|
|
38717
|
+
*/
|
|
38718
|
+
readonly openBookingId?: string
|
|
38687
38719
|
}
|
|
38688
38720
|
|
|
38689
38721
|
/**
|
|
@@ -39233,7 +39265,7 @@ export class UsersApi extends BaseAPI {
|
|
|
39233
39265
|
* @memberof UsersApi
|
|
39234
39266
|
*/
|
|
39235
39267
|
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));
|
|
39268
|
+
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
39269
|
}
|
|
39238
39270
|
|
|
39239
39271
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -6271,6 +6271,12 @@ export interface EventResponse {
|
|
|
6271
6271
|
* @memberof EventResponse
|
|
6272
6272
|
*/
|
|
6273
6273
|
'teams'?: Array<Team>;
|
|
6274
|
+
/**
|
|
6275
|
+
*
|
|
6276
|
+
* @type {Array<string>}
|
|
6277
|
+
* @memberof EventResponse
|
|
6278
|
+
*/
|
|
6279
|
+
'registeredAvatars'?: Array<string>;
|
|
6274
6280
|
/**
|
|
6275
6281
|
*
|
|
6276
6282
|
* @type {number}
|
|
@@ -26102,10 +26108,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26102
26108
|
* @param {number} [page]
|
|
26103
26109
|
* @param {number} [limit]
|
|
26104
26110
|
* @param {Array<string>} [excludeIds]
|
|
26111
|
+
* @param {string} [eventId]
|
|
26112
|
+
* @param {string} [openBookingId]
|
|
26105
26113
|
* @param {*} [options] Override http request option.
|
|
26106
26114
|
* @throws {RequiredError}
|
|
26107
26115
|
*/
|
|
26108
|
-
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26116
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26109
26117
|
/**
|
|
26110
26118
|
*
|
|
26111
26119
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -26468,10 +26476,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
26468
26476
|
* @param {number} [page]
|
|
26469
26477
|
* @param {number} [limit]
|
|
26470
26478
|
* @param {Array<string>} [excludeIds]
|
|
26479
|
+
* @param {string} [eventId]
|
|
26480
|
+
* @param {string} [openBookingId]
|
|
26471
26481
|
* @param {*} [options] Override http request option.
|
|
26472
26482
|
* @throws {RequiredError}
|
|
26473
26483
|
*/
|
|
26474
|
-
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
26484
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
26475
26485
|
/**
|
|
26476
26486
|
*
|
|
26477
26487
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -27422,6 +27432,18 @@ export interface UsersApiSearchPartnerRequest {
|
|
|
27422
27432
|
* @memberof UsersApiSearchPartner
|
|
27423
27433
|
*/
|
|
27424
27434
|
readonly excludeIds?: Array<string>;
|
|
27435
|
+
/**
|
|
27436
|
+
*
|
|
27437
|
+
* @type {string}
|
|
27438
|
+
* @memberof UsersApiSearchPartner
|
|
27439
|
+
*/
|
|
27440
|
+
readonly eventId?: string;
|
|
27441
|
+
/**
|
|
27442
|
+
*
|
|
27443
|
+
* @type {string}
|
|
27444
|
+
* @memberof UsersApiSearchPartner
|
|
27445
|
+
*/
|
|
27446
|
+
readonly openBookingId?: string;
|
|
27425
27447
|
}
|
|
27426
27448
|
/**
|
|
27427
27449
|
* 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
|
@@ -6271,6 +6271,12 @@ export interface EventResponse {
|
|
|
6271
6271
|
* @memberof EventResponse
|
|
6272
6272
|
*/
|
|
6273
6273
|
'teams'?: Array<Team>;
|
|
6274
|
+
/**
|
|
6275
|
+
*
|
|
6276
|
+
* @type {Array<string>}
|
|
6277
|
+
* @memberof EventResponse
|
|
6278
|
+
*/
|
|
6279
|
+
'registeredAvatars'?: Array<string>;
|
|
6274
6280
|
/**
|
|
6275
6281
|
*
|
|
6276
6282
|
* @type {number}
|
|
@@ -26102,10 +26108,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26102
26108
|
* @param {number} [page]
|
|
26103
26109
|
* @param {number} [limit]
|
|
26104
26110
|
* @param {Array<string>} [excludeIds]
|
|
26111
|
+
* @param {string} [eventId]
|
|
26112
|
+
* @param {string} [openBookingId]
|
|
26105
26113
|
* @param {*} [options] Override http request option.
|
|
26106
26114
|
* @throws {RequiredError}
|
|
26107
26115
|
*/
|
|
26108
|
-
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26116
|
+
searchPartner: (q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26109
26117
|
/**
|
|
26110
26118
|
*
|
|
26111
26119
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -26468,10 +26476,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
26468
26476
|
* @param {number} [page]
|
|
26469
26477
|
* @param {number} [limit]
|
|
26470
26478
|
* @param {Array<string>} [excludeIds]
|
|
26479
|
+
* @param {string} [eventId]
|
|
26480
|
+
* @param {string} [openBookingId]
|
|
26471
26481
|
* @param {*} [options] Override http request option.
|
|
26472
26482
|
* @throws {RequiredError}
|
|
26473
26483
|
*/
|
|
26474
|
-
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
26484
|
+
searchPartner(q: string, page?: number, limit?: number, excludeIds?: Array<string>, eventId?: string, openBookingId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerSearchResponse>>;
|
|
26475
26485
|
/**
|
|
26476
26486
|
*
|
|
26477
26487
|
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
@@ -27422,6 +27432,18 @@ export interface UsersApiSearchPartnerRequest {
|
|
|
27422
27432
|
* @memberof UsersApiSearchPartner
|
|
27423
27433
|
*/
|
|
27424
27434
|
readonly excludeIds?: Array<string>;
|
|
27435
|
+
/**
|
|
27436
|
+
*
|
|
27437
|
+
* @type {string}
|
|
27438
|
+
* @memberof UsersApiSearchPartner
|
|
27439
|
+
*/
|
|
27440
|
+
readonly eventId?: string;
|
|
27441
|
+
/**
|
|
27442
|
+
*
|
|
27443
|
+
* @type {string}
|
|
27444
|
+
* @memberof UsersApiSearchPartner
|
|
27445
|
+
*/
|
|
27446
|
+
readonly openBookingId?: string;
|
|
27425
27447
|
}
|
|
27426
27448
|
/**
|
|
27427
27449
|
* 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/EventResponse.md
CHANGED
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**participationType** | **string** | | [default to undefined]
|
|
23
23
|
**participants** | [**Array<EventUser>**](EventUser.md) | | [optional] [default to undefined]
|
|
24
24
|
**teams** | [**Array<Team>**](Team.md) | | [optional] [default to undefined]
|
|
25
|
+
**registeredAvatars** | **Array<string>** | | [optional] [default to undefined]
|
|
25
26
|
**playerLimit** | **number** | | [optional] [default to undefined]
|
|
26
27
|
**teamLimit** | **number** | | [optional] [default to undefined]
|
|
27
28
|
**playersPerTeam** | **number** | | [optional] [default to undefined]
|
|
@@ -60,6 +61,7 @@ const instance: EventResponse = {
|
|
|
60
61
|
participationType,
|
|
61
62
|
participants,
|
|
62
63
|
teams,
|
|
64
|
+
registeredAvatars,
|
|
63
65
|
playerLimit,
|
|
64
66
|
teamLimit,
|
|
65
67
|
playersPerTeam,
|
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<string>** | | (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
|