@gambulls-org/gambulls-apis 3.0.275 → 3.0.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -2
- package/apis/AdminSportApi.js +7 -7
- package/apis/AdminSportApi.ts +16 -16
- package/models/{ApiAdminSportsIdPatch200Response.js → ApiAdminSportsIdPut200Response.js} +13 -13
- package/models/{ApiAdminSportsIdPatch200Response.ts → ApiAdminSportsIdPut200Response.ts} +14 -14
- package/models/ApiAdminSportsIdPutRequest.js +50 -0
- package/models/{ApiAdminSportsIdPatchRequest.ts → ApiAdminSportsIdPutRequest.ts} +12 -12
- package/models/index.js +2 -2
- package/models/index.ts +2 -2
- package/package.json +1 -1
- package/models/ApiAdminSportsIdPatchRequest.js +0 -50
package/.openapi-generator/FILES
CHANGED
|
@@ -228,8 +228,8 @@ models/ApiAdminRegisterPostRequest.ts
|
|
|
228
228
|
models/ApiAdminSportsGet200Response.ts
|
|
229
229
|
models/ApiAdminSportsGet200ResponseResponseObject.ts
|
|
230
230
|
models/ApiAdminSportsGet200ResponseResponseObjectItemsInner.ts
|
|
231
|
-
models/
|
|
232
|
-
models/
|
|
231
|
+
models/ApiAdminSportsIdPut200Response.ts
|
|
232
|
+
models/ApiAdminSportsIdPutRequest.ts
|
|
233
233
|
models/ApiAdminUploadPost200Response.ts
|
|
234
234
|
models/ApiAdminUploadPost200ResponseResponseObject.ts
|
|
235
235
|
models/ApiAdminUserWagerReportGet200Response.ts
|
package/apis/AdminSportApi.js
CHANGED
|
@@ -105,10 +105,10 @@ class AdminSportApi extends runtime.BaseAPI {
|
|
|
105
105
|
/**
|
|
106
106
|
* Update Sport
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
apiAdminSportsIdPutRaw(requestParameters, initOverrides) {
|
|
109
109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
110
110
|
if (requestParameters['id'] == null) {
|
|
111
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling
|
|
111
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiAdminSportsIdPut().');
|
|
112
112
|
}
|
|
113
113
|
const queryParameters = {};
|
|
114
114
|
const headerParameters = {};
|
|
@@ -125,20 +125,20 @@ class AdminSportApi extends runtime.BaseAPI {
|
|
|
125
125
|
}
|
|
126
126
|
const response = yield this.request({
|
|
127
127
|
path: `/api/admin/sports/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
128
|
-
method: '
|
|
128
|
+
method: 'PUT',
|
|
129
129
|
headers: headerParameters,
|
|
130
130
|
query: queryParameters,
|
|
131
|
-
body: (0, index_1.
|
|
131
|
+
body: (0, index_1.ApiAdminSportsIdPutRequestToJSON)(requestParameters['apiAdminSportsIdPutRequest']),
|
|
132
132
|
}, initOverrides);
|
|
133
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
133
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiAdminSportsIdPut200ResponseFromJSON)(jsonValue));
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* Update Sport
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
apiAdminSportsIdPut(requestParameters, initOverrides) {
|
|
140
140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
-
const response = yield this.
|
|
141
|
+
const response = yield this.apiAdminSportsIdPutRaw(requestParameters, initOverrides);
|
|
142
142
|
return yield response.value();
|
|
143
143
|
});
|
|
144
144
|
}
|
package/apis/AdminSportApi.ts
CHANGED
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ApiAdminSportsGet200Response,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
ApiAdminSportsIdPut200Response,
|
|
20
|
+
ApiAdminSportsIdPutRequest,
|
|
21
21
|
} from '../models/index';
|
|
22
22
|
import {
|
|
23
23
|
ApiAdminSportsGet200ResponseFromJSON,
|
|
24
24
|
ApiAdminSportsGet200ResponseToJSON,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
ApiAdminSportsIdPut200ResponseFromJSON,
|
|
26
|
+
ApiAdminSportsIdPut200ResponseToJSON,
|
|
27
|
+
ApiAdminSportsIdPutRequestFromJSON,
|
|
28
|
+
ApiAdminSportsIdPutRequestToJSON,
|
|
29
29
|
} from '../models/index';
|
|
30
30
|
|
|
31
31
|
export interface ApiAdminSportsGetRequest {
|
|
@@ -36,9 +36,9 @@ export interface ApiAdminSportsGetRequest {
|
|
|
36
36
|
sortOrder?: ApiAdminSportsGetSortOrderEnum;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
export interface
|
|
40
|
-
id:
|
|
41
|
-
|
|
39
|
+
export interface ApiAdminSportsIdPutOperationRequest {
|
|
40
|
+
id: string;
|
|
41
|
+
apiAdminSportsIdPutRequest?: ApiAdminSportsIdPutRequest;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -107,11 +107,11 @@ export class AdminSportApi extends runtime.BaseAPI {
|
|
|
107
107
|
/**
|
|
108
108
|
* Update Sport
|
|
109
109
|
*/
|
|
110
|
-
async
|
|
110
|
+
async apiAdminSportsIdPutRaw(requestParameters: ApiAdminSportsIdPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminSportsIdPut200Response>> {
|
|
111
111
|
if (requestParameters['id'] == null) {
|
|
112
112
|
throw new runtime.RequiredError(
|
|
113
113
|
'id',
|
|
114
|
-
'Required parameter "id" was null or undefined when calling
|
|
114
|
+
'Required parameter "id" was null or undefined when calling apiAdminSportsIdPut().'
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -135,20 +135,20 @@ export class AdminSportApi extends runtime.BaseAPI {
|
|
|
135
135
|
}
|
|
136
136
|
const response = await this.request({
|
|
137
137
|
path: `/api/admin/sports/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
138
|
-
method: '
|
|
138
|
+
method: 'PUT',
|
|
139
139
|
headers: headerParameters,
|
|
140
140
|
query: queryParameters,
|
|
141
|
-
body:
|
|
141
|
+
body: ApiAdminSportsIdPutRequestToJSON(requestParameters['apiAdminSportsIdPutRequest']),
|
|
142
142
|
}, initOverrides);
|
|
143
143
|
|
|
144
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
144
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminSportsIdPut200ResponseFromJSON(jsonValue));
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Update Sport
|
|
149
149
|
*/
|
|
150
|
-
async
|
|
151
|
-
const response = await this.
|
|
150
|
+
async apiAdminSportsIdPut(requestParameters: ApiAdminSportsIdPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminSportsIdPut200Response> {
|
|
151
|
+
const response = await this.apiAdminSportsIdPutRaw(requestParameters, initOverrides);
|
|
152
152
|
return await response.value();
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfApiAdminSportsIdPut200Response = instanceOfApiAdminSportsIdPut200Response;
|
|
17
|
+
exports.ApiAdminSportsIdPut200ResponseFromJSON = ApiAdminSportsIdPut200ResponseFromJSON;
|
|
18
|
+
exports.ApiAdminSportsIdPut200ResponseFromJSONTyped = ApiAdminSportsIdPut200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiAdminSportsIdPut200ResponseToJSON = ApiAdminSportsIdPut200ResponseToJSON;
|
|
20
|
+
exports.ApiAdminSportsIdPut200ResponseToJSONTyped = ApiAdminSportsIdPut200ResponseToJSONTyped;
|
|
21
21
|
const ApiAdminSportsGet200ResponseResponseObjectItemsInner_1 = require("./ApiAdminSportsGet200ResponseResponseObjectItemsInner");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the ApiAdminSportsIdPut200Response interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfApiAdminSportsIdPut200Response(value) {
|
|
26
26
|
if (!('success' in value) || value['success'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -31,10 +31,10 @@ function instanceOfApiAdminSportsIdPatch200Response(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
return true;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
return
|
|
34
|
+
function ApiAdminSportsIdPut200ResponseFromJSON(json) {
|
|
35
|
+
return ApiAdminSportsIdPut200ResponseFromJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function ApiAdminSportsIdPut200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
if (json == null) {
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
@@ -45,10 +45,10 @@ function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
45
45
|
'statusCode': json['statusCode'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
48
|
+
function ApiAdminSportsIdPut200ResponseToJSON(json) {
|
|
49
|
+
return ApiAdminSportsIdPut200ResponseToJSONTyped(json, false);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function ApiAdminSportsIdPut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
52
|
if (value == null) {
|
|
53
53
|
return value;
|
|
54
54
|
}
|
|
@@ -24,50 +24,50 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface ApiAdminSportsIdPut200Response
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface ApiAdminSportsIdPut200Response {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {boolean}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ApiAdminSportsIdPut200Response
|
|
34
34
|
*/
|
|
35
35
|
success: boolean;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof ApiAdminSportsIdPut200Response
|
|
40
40
|
*/
|
|
41
41
|
message: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {ApiAdminSportsGet200ResponseResponseObjectItemsInner}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof ApiAdminSportsIdPut200Response
|
|
46
46
|
*/
|
|
47
47
|
responseObject?: ApiAdminSportsGet200ResponseResponseObjectItemsInner;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {number}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof ApiAdminSportsIdPut200Response
|
|
52
52
|
*/
|
|
53
53
|
statusCode: number;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Check if a given object implements the
|
|
57
|
+
* Check if a given object implements the ApiAdminSportsIdPut200Response interface.
|
|
58
58
|
*/
|
|
59
|
-
export function
|
|
59
|
+
export function instanceOfApiAdminSportsIdPut200Response(value: object): value is ApiAdminSportsIdPut200Response {
|
|
60
60
|
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
61
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
62
|
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
63
|
return true;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export function
|
|
67
|
-
return
|
|
66
|
+
export function ApiAdminSportsIdPut200ResponseFromJSON(json: any): ApiAdminSportsIdPut200Response {
|
|
67
|
+
return ApiAdminSportsIdPut200ResponseFromJSONTyped(json, false);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export function
|
|
70
|
+
export function ApiAdminSportsIdPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPut200Response {
|
|
71
71
|
if (json == null) {
|
|
72
72
|
return json;
|
|
73
73
|
}
|
|
@@ -80,11 +80,11 @@ export function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json: any, ignoreD
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export function
|
|
84
|
-
return
|
|
83
|
+
export function ApiAdminSportsIdPut200ResponseToJSON(json: any): ApiAdminSportsIdPut200Response {
|
|
84
|
+
return ApiAdminSportsIdPut200ResponseToJSONTyped(json, false);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export function
|
|
87
|
+
export function ApiAdminSportsIdPut200ResponseToJSONTyped(value?: ApiAdminSportsIdPut200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
88
|
if (value == null) {
|
|
89
89
|
return value;
|
|
90
90
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiAdminSportsIdPutRequest = instanceOfApiAdminSportsIdPutRequest;
|
|
17
|
+
exports.ApiAdminSportsIdPutRequestFromJSON = ApiAdminSportsIdPutRequestFromJSON;
|
|
18
|
+
exports.ApiAdminSportsIdPutRequestFromJSONTyped = ApiAdminSportsIdPutRequestFromJSONTyped;
|
|
19
|
+
exports.ApiAdminSportsIdPutRequestToJSON = ApiAdminSportsIdPutRequestToJSON;
|
|
20
|
+
exports.ApiAdminSportsIdPutRequestToJSONTyped = ApiAdminSportsIdPutRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiAdminSportsIdPutRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiAdminSportsIdPutRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiAdminSportsIdPutRequestFromJSON(json) {
|
|
28
|
+
return ApiAdminSportsIdPutRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiAdminSportsIdPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'imageUrl': json['imageUrl'] == null ? undefined : json['imageUrl'],
|
|
36
|
+
'sequence': json['sequence'] == null ? undefined : json['sequence'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ApiAdminSportsIdPutRequestToJSON(json) {
|
|
40
|
+
return ApiAdminSportsIdPutRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ApiAdminSportsIdPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'imageUrl': value['imageUrl'],
|
|
48
|
+
'sequence': value['sequence'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -16,35 +16,35 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ApiAdminSportsIdPutRequest
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ApiAdminSportsIdPutRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ApiAdminSportsIdPutRequest
|
|
26
26
|
*/
|
|
27
27
|
imageUrl?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ApiAdminSportsIdPutRequest
|
|
32
32
|
*/
|
|
33
33
|
sequence?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* Check if a given object implements the
|
|
37
|
+
* Check if a given object implements the ApiAdminSportsIdPutRequest interface.
|
|
38
38
|
*/
|
|
39
|
-
export function
|
|
39
|
+
export function instanceOfApiAdminSportsIdPutRequest(value: object): value is ApiAdminSportsIdPutRequest {
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export function
|
|
44
|
-
return
|
|
43
|
+
export function ApiAdminSportsIdPutRequestFromJSON(json: any): ApiAdminSportsIdPutRequest {
|
|
44
|
+
return ApiAdminSportsIdPutRequestFromJSONTyped(json, false);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export function
|
|
47
|
+
export function ApiAdminSportsIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPutRequest {
|
|
48
48
|
if (json == null) {
|
|
49
49
|
return json;
|
|
50
50
|
}
|
|
@@ -55,11 +55,11 @@ export function ApiAdminSportsIdPatchRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function
|
|
59
|
-
return
|
|
58
|
+
export function ApiAdminSportsIdPutRequestToJSON(json: any): ApiAdminSportsIdPutRequest {
|
|
59
|
+
return ApiAdminSportsIdPutRequestToJSONTyped(json, false);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export function
|
|
62
|
+
export function ApiAdminSportsIdPutRequestToJSONTyped(value?: ApiAdminSportsIdPutRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
package/models/index.js
CHANGED
|
@@ -189,8 +189,8 @@ __exportStar(require("./ApiAdminRegisterPostRequest"), exports);
|
|
|
189
189
|
__exportStar(require("./ApiAdminSportsGet200Response"), exports);
|
|
190
190
|
__exportStar(require("./ApiAdminSportsGet200ResponseResponseObject"), exports);
|
|
191
191
|
__exportStar(require("./ApiAdminSportsGet200ResponseResponseObjectItemsInner"), exports);
|
|
192
|
-
__exportStar(require("./
|
|
193
|
-
__exportStar(require("./
|
|
192
|
+
__exportStar(require("./ApiAdminSportsIdPut200Response"), exports);
|
|
193
|
+
__exportStar(require("./ApiAdminSportsIdPutRequest"), exports);
|
|
194
194
|
__exportStar(require("./ApiAdminUploadPost200Response"), exports);
|
|
195
195
|
__exportStar(require("./ApiAdminUploadPost200ResponseResponseObject"), exports);
|
|
196
196
|
__exportStar(require("./ApiAdminUserWagerReportGet200Response"), exports);
|
package/models/index.ts
CHANGED
|
@@ -173,8 +173,8 @@ export * from './ApiAdminRegisterPostRequest';
|
|
|
173
173
|
export * from './ApiAdminSportsGet200Response';
|
|
174
174
|
export * from './ApiAdminSportsGet200ResponseResponseObject';
|
|
175
175
|
export * from './ApiAdminSportsGet200ResponseResponseObjectItemsInner';
|
|
176
|
-
export * from './
|
|
177
|
-
export * from './
|
|
176
|
+
export * from './ApiAdminSportsIdPut200Response';
|
|
177
|
+
export * from './ApiAdminSportsIdPutRequest';
|
|
178
178
|
export * from './ApiAdminUploadPost200Response';
|
|
179
179
|
export * from './ApiAdminUploadPost200ResponseResponseObject';
|
|
180
180
|
export * from './ApiAdminUserWagerReportGet200Response';
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Swagger API
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfApiAdminSportsIdPatchRequest = instanceOfApiAdminSportsIdPatchRequest;
|
|
17
|
-
exports.ApiAdminSportsIdPatchRequestFromJSON = ApiAdminSportsIdPatchRequestFromJSON;
|
|
18
|
-
exports.ApiAdminSportsIdPatchRequestFromJSONTyped = ApiAdminSportsIdPatchRequestFromJSONTyped;
|
|
19
|
-
exports.ApiAdminSportsIdPatchRequestToJSON = ApiAdminSportsIdPatchRequestToJSON;
|
|
20
|
-
exports.ApiAdminSportsIdPatchRequestToJSONTyped = ApiAdminSportsIdPatchRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ApiAdminSportsIdPatchRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfApiAdminSportsIdPatchRequest(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function ApiAdminSportsIdPatchRequestFromJSON(json) {
|
|
28
|
-
return ApiAdminSportsIdPatchRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function ApiAdminSportsIdPatchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'imageUrl': json['imageUrl'] == null ? undefined : json['imageUrl'],
|
|
36
|
-
'sequence': json['sequence'] == null ? undefined : json['sequence'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ApiAdminSportsIdPatchRequestToJSON(json) {
|
|
40
|
-
return ApiAdminSportsIdPatchRequestToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ApiAdminSportsIdPatchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'imageUrl': value['imageUrl'],
|
|
48
|
-
'sequence': value['sequence'],
|
|
49
|
-
};
|
|
50
|
-
}
|