@jugarhoy/api 1.1.38 → 1.1.39
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/apis/AppPlaySearchApi.ts +2 -9
- package/package.json +1 -1
- package/runtime.ts +1 -1
package/apis/AppPlaySearchApi.ts
CHANGED
|
@@ -88,7 +88,7 @@ export interface KickRegistrationRequest {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export interface ListPlaySearchesRequest {
|
|
91
|
-
sport
|
|
91
|
+
sport?: Sport;
|
|
92
92
|
type?: PlaySearchType;
|
|
93
93
|
latitude?: number;
|
|
94
94
|
longitude?: number;
|
|
@@ -535,13 +535,6 @@ export class AppPlaySearchApi extends runtime.BaseAPI {
|
|
|
535
535
|
* List play searches with filters
|
|
536
536
|
*/
|
|
537
537
|
async listPlaySearchesRaw(requestParameters: ListPlaySearchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PlaySearchListResponse>> {
|
|
538
|
-
if (requestParameters['sport'] == null) {
|
|
539
|
-
throw new runtime.RequiredError(
|
|
540
|
-
'sport',
|
|
541
|
-
'Required parameter "sport" was null or undefined when calling listPlaySearches().'
|
|
542
|
-
);
|
|
543
|
-
}
|
|
544
|
-
|
|
545
538
|
const queryParameters: any = {};
|
|
546
539
|
|
|
547
540
|
if (requestParameters['sport'] != null) {
|
|
@@ -607,7 +600,7 @@ export class AppPlaySearchApi extends runtime.BaseAPI {
|
|
|
607
600
|
/**
|
|
608
601
|
* List play searches with filters
|
|
609
602
|
*/
|
|
610
|
-
async listPlaySearches(requestParameters: ListPlaySearchesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlaySearchListResponse> {
|
|
603
|
+
async listPlaySearches(requestParameters: ListPlaySearchesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PlaySearchListResponse> {
|
|
611
604
|
const response = await this.listPlaySearchesRaw(requestParameters, initOverrides);
|
|
612
605
|
return await response.value();
|
|
613
606
|
}
|
package/package.json
CHANGED
package/runtime.ts
CHANGED