@drxsuperapp/sdk 1.1.507 → 1.1.509
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 +1 -0
- package/apis/FeatureApi.ts +29 -3
- package/deploy.log +11 -9
- package/dist/apis/FeatureApi.d.ts +9 -3
- package/dist/apis/FeatureApi.js +15 -3
- package/dist/models/ApiFeatureGetFilterParameter.d.ts +33 -0
- package/dist/models/ApiFeatureGetFilterParameter.js +42 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/ApiFeatureGetFilterParameter.ts +73 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -120,6 +120,7 @@ models/ApiEsportVideogamesGet200ResponseResponseObjectInner.ts
|
|
|
120
120
|
models/ApiFeatureGet200Response.ts
|
|
121
121
|
models/ApiFeatureGet200ResponseResponseObjectInner.ts
|
|
122
122
|
models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.ts
|
|
123
|
+
models/ApiFeatureGetFilterParameter.ts
|
|
123
124
|
models/ApiFeaturePut200Response.ts
|
|
124
125
|
models/ApiFeaturePutRequest.ts
|
|
125
126
|
models/ApiFeaturePutRequestNavigate.ts
|
package/apis/FeatureApi.ts
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ApiFeatureGet200Response,
|
|
19
|
+
ApiFeatureGetFilterParameter,
|
|
19
20
|
ApiFeaturePut200Response,
|
|
20
21
|
ApiFeaturePutRequest,
|
|
21
22
|
ApiFeatureSwitchPutRequest,
|
|
@@ -23,6 +24,8 @@ import type {
|
|
|
23
24
|
import {
|
|
24
25
|
ApiFeatureGet200ResponseFromJSON,
|
|
25
26
|
ApiFeatureGet200ResponseToJSON,
|
|
27
|
+
ApiFeatureGetFilterParameterFromJSON,
|
|
28
|
+
ApiFeatureGetFilterParameterToJSON,
|
|
26
29
|
ApiFeaturePut200ResponseFromJSON,
|
|
27
30
|
ApiFeaturePut200ResponseToJSON,
|
|
28
31
|
ApiFeaturePutRequestFromJSON,
|
|
@@ -31,6 +34,13 @@ import {
|
|
|
31
34
|
ApiFeatureSwitchPutRequestToJSON,
|
|
32
35
|
} from '../models/index';
|
|
33
36
|
|
|
37
|
+
export interface ApiFeatureGetRequest {
|
|
38
|
+
page?: number;
|
|
39
|
+
pageSize?: number;
|
|
40
|
+
sort?: string;
|
|
41
|
+
filter?: ApiFeatureGetFilterParameter;
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
export interface ApiFeatureIdDeleteRequest {
|
|
35
45
|
id: string;
|
|
36
46
|
}
|
|
@@ -55,9 +65,25 @@ export class FeatureApi extends runtime.BaseAPI {
|
|
|
55
65
|
/**
|
|
56
66
|
* Get All Features
|
|
57
67
|
*/
|
|
58
|
-
async apiFeatureGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiFeatureGet200Response>> {
|
|
68
|
+
async apiFeatureGetRaw(requestParameters: ApiFeatureGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiFeatureGet200Response>> {
|
|
59
69
|
const queryParameters: any = {};
|
|
60
70
|
|
|
71
|
+
if (requestParameters['page'] != null) {
|
|
72
|
+
queryParameters['page'] = requestParameters['page'];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (requestParameters['pageSize'] != null) {
|
|
76
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (requestParameters['sort'] != null) {
|
|
80
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (requestParameters['filter'] != null) {
|
|
84
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
85
|
+
}
|
|
86
|
+
|
|
61
87
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
62
88
|
|
|
63
89
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -85,8 +111,8 @@ export class FeatureApi extends runtime.BaseAPI {
|
|
|
85
111
|
/**
|
|
86
112
|
* Get All Features
|
|
87
113
|
*/
|
|
88
|
-
async apiFeatureGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiFeatureGet200Response> {
|
|
89
|
-
const response = await this.apiFeatureGetRaw(initOverrides);
|
|
114
|
+
async apiFeatureGet(requestParameters: ApiFeatureGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiFeatureGet200Response> {
|
|
115
|
+
const response = await this.apiFeatureGetRaw(requestParameters, initOverrides);
|
|
90
116
|
return await response.value();
|
|
91
117
|
}
|
|
92
118
|
|
package/deploy.log
CHANGED
|
@@ -322,6 +322,7 @@
|
|
|
322
322
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload_post_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
323
323
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload__filename__delete_200_response_responseObject. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload__filename__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload__filename__delete_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
324
324
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_file_upload__filename__delete_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_file_upload__filename__delete_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_file_upload__filename__delete_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
325
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_feature_get_filter_parameter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_feature_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_feature_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
325
326
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_feature_get_200_response_responseObject_inner_Navigate. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_feature_get_200_response_responseObject_inner_Navigate=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_feature_get_200_response_responseObject_inner_Navigate=NewModel,ModelA=NewModelA in CLI).
|
|
326
327
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_feature_get_200_response_responseObject_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_feature_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_feature_get_200_response_responseObject_inner=NewModel,ModelA=NewModelA in CLI).
|
|
327
328
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_feature_get_200_response. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_feature_get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_feature_get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -437,6 +438,7 @@
|
|
|
437
438
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeatureGet200Response.ts
|
|
438
439
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeatureGet200ResponseResponseObjectInner.ts
|
|
439
440
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.ts
|
|
441
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeatureGetFilterParameter.ts
|
|
440
442
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeaturePut200Response.ts
|
|
441
443
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeaturePutRequest.ts
|
|
442
444
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiFeaturePutRequestNavigate.ts
|
|
@@ -906,21 +908,21 @@
|
|
|
906
908
|
# https://opencollective.com/openapi_generator/donate #
|
|
907
909
|
################################################################################
|
|
908
910
|
✅ SDK generated
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
911
|
+
[master 9ac8b95] VPS: Generated API SDK
|
|
912
|
+
4 files changed, 104 insertions(+), 3 deletions(-)
|
|
913
|
+
create mode 100644 models/ApiFeatureGetFilterParameter.ts
|
|
914
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
915
|
+
b202f27..9ac8b95 master -> master
|
|
914
916
|
✅ Changes committed and pushed
|
|
915
|
-
v1.1.
|
|
917
|
+
v1.1.509
|
|
916
918
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
917
|
-
|
|
919
|
+
9ac8b95..639a3ca master -> master
|
|
918
920
|
✅ Version bumped
|
|
919
921
|
|
|
920
|
-
> @drxsuperapp/sdk@1.1.
|
|
922
|
+
> @drxsuperapp/sdk@1.1.509 prepublishOnly
|
|
921
923
|
> npm run build
|
|
922
924
|
|
|
923
925
|
|
|
924
|
-
> @drxsuperapp/sdk@1.1.
|
|
926
|
+
> @drxsuperapp/sdk@1.1.509 build
|
|
925
927
|
> tsc
|
|
926
928
|
|
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ApiFeatureGet200Response, ApiFeaturePut200Response, ApiFeaturePutRequest, ApiFeatureSwitchPutRequest } from '../models/index';
|
|
13
|
+
import type { ApiFeatureGet200Response, ApiFeatureGetFilterParameter, ApiFeaturePut200Response, ApiFeaturePutRequest, ApiFeatureSwitchPutRequest } from '../models/index';
|
|
14
|
+
export interface ApiFeatureGetRequest {
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
sort?: string;
|
|
18
|
+
filter?: ApiFeatureGetFilterParameter;
|
|
19
|
+
}
|
|
14
20
|
export interface ApiFeatureIdDeleteRequest {
|
|
15
21
|
id: string;
|
|
16
22
|
}
|
|
@@ -30,11 +36,11 @@ export declare class FeatureApi extends runtime.BaseAPI {
|
|
|
30
36
|
/**
|
|
31
37
|
* Get All Features
|
|
32
38
|
*/
|
|
33
|
-
apiFeatureGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiFeatureGet200Response>>;
|
|
39
|
+
apiFeatureGetRaw(requestParameters: ApiFeatureGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiFeatureGet200Response>>;
|
|
34
40
|
/**
|
|
35
41
|
* Get All Features
|
|
36
42
|
*/
|
|
37
|
-
apiFeatureGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiFeatureGet200Response>;
|
|
43
|
+
apiFeatureGet(requestParameters?: ApiFeatureGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiFeatureGet200Response>;
|
|
38
44
|
/**
|
|
39
45
|
* Delete Feature
|
|
40
46
|
*/
|
package/dist/apis/FeatureApi.js
CHANGED
|
@@ -20,8 +20,20 @@ export class FeatureApi extends runtime.BaseAPI {
|
|
|
20
20
|
/**
|
|
21
21
|
* Get All Features
|
|
22
22
|
*/
|
|
23
|
-
async apiFeatureGetRaw(initOverrides) {
|
|
23
|
+
async apiFeatureGetRaw(requestParameters, initOverrides) {
|
|
24
24
|
const queryParameters = {};
|
|
25
|
+
if (requestParameters['page'] != null) {
|
|
26
|
+
queryParameters['page'] = requestParameters['page'];
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['pageSize'] != null) {
|
|
29
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
30
|
+
}
|
|
31
|
+
if (requestParameters['sort'] != null) {
|
|
32
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
33
|
+
}
|
|
34
|
+
if (requestParameters['filter'] != null) {
|
|
35
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
36
|
+
}
|
|
25
37
|
const headerParameters = {};
|
|
26
38
|
if (this.configuration && this.configuration.apiKey) {
|
|
27
39
|
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
@@ -44,8 +56,8 @@ export class FeatureApi extends runtime.BaseAPI {
|
|
|
44
56
|
/**
|
|
45
57
|
* Get All Features
|
|
46
58
|
*/
|
|
47
|
-
async apiFeatureGet(initOverrides) {
|
|
48
|
-
const response = await this.apiFeatureGetRaw(initOverrides);
|
|
59
|
+
async apiFeatureGet(requestParameters = {}, initOverrides) {
|
|
60
|
+
const response = await this.apiFeatureGetRaw(requestParameters, initOverrides);
|
|
49
61
|
return await response.value();
|
|
50
62
|
}
|
|
51
63
|
/**
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiFeatureGetFilterParameter
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiFeatureGetFilterParameter {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
|
|
22
|
+
* @memberof ApiFeatureGetFilterParameter
|
|
23
|
+
*/
|
|
24
|
+
hidden?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApiFeatureGetFilterParameter interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApiFeatureGetFilterParameter(value: object): value is ApiFeatureGetFilterParameter;
|
|
30
|
+
export declare function ApiFeatureGetFilterParameterFromJSON(json: any): ApiFeatureGetFilterParameter;
|
|
31
|
+
export declare function ApiFeatureGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGetFilterParameter;
|
|
32
|
+
export declare function ApiFeatureGetFilterParameterToJSON(json: any): ApiFeatureGetFilterParameter;
|
|
33
|
+
export declare function ApiFeatureGetFilterParameterToJSONTyped(value?: ApiFeatureGetFilterParameter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON, ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON, } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiFeatureGetFilterParameter interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiFeatureGetFilterParameter(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ApiFeatureGetFilterParameterFromJSON(json) {
|
|
22
|
+
return ApiFeatureGetFilterParameterFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ApiFeatureGetFilterParameterFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'hidden': json['hidden'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['hidden']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ApiFeatureGetFilterParameterToJSON(json) {
|
|
33
|
+
return ApiFeatureGetFilterParameterToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ApiFeatureGetFilterParameterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'hidden': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['hidden']),
|
|
41
|
+
};
|
|
42
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
|
91
91
|
export * from './ApiFeatureGet200Response';
|
|
92
92
|
export * from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
93
93
|
export * from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
94
|
+
export * from './ApiFeatureGetFilterParameter';
|
|
94
95
|
export * from './ApiFeaturePut200Response';
|
|
95
96
|
export * from './ApiFeaturePutRequest';
|
|
96
97
|
export * from './ApiFeaturePutRequestNavigate';
|
package/dist/models/index.js
CHANGED
|
@@ -93,6 +93,7 @@ export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
|
93
93
|
export * from './ApiFeatureGet200Response';
|
|
94
94
|
export * from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
95
95
|
export * from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
96
|
+
export * from './ApiFeatureGetFilterParameter';
|
|
96
97
|
export * from './ApiFeaturePut200Response';
|
|
97
98
|
export * from './ApiFeaturePutRequest';
|
|
98
99
|
export * from './ApiFeaturePutRequestNavigate';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
17
|
+
import {
|
|
18
|
+
ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON,
|
|
19
|
+
ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSONTyped,
|
|
20
|
+
ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON,
|
|
21
|
+
ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSONTyped,
|
|
22
|
+
} from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiFeatureGetFilterParameter
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiFeatureGetFilterParameter {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
|
|
33
|
+
* @memberof ApiFeatureGetFilterParameter
|
|
34
|
+
*/
|
|
35
|
+
hidden?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ApiFeatureGetFilterParameter interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfApiFeatureGetFilterParameter(value: object): value is ApiFeatureGetFilterParameter {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ApiFeatureGetFilterParameterFromJSON(json: any): ApiFeatureGetFilterParameter {
|
|
46
|
+
return ApiFeatureGetFilterParameterFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ApiFeatureGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGetFilterParameter {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'hidden': json['hidden'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['hidden']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ApiFeatureGetFilterParameterToJSON(json: any): ApiFeatureGetFilterParameter {
|
|
60
|
+
return ApiFeatureGetFilterParameterToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ApiFeatureGetFilterParameterToJSONTyped(value?: ApiFeatureGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'hidden': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['hidden']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
package/models/index.ts
CHANGED
|
@@ -93,6 +93,7 @@ export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
|
93
93
|
export * from './ApiFeatureGet200Response';
|
|
94
94
|
export * from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
95
95
|
export * from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
96
|
+
export * from './ApiFeatureGetFilterParameter';
|
|
96
97
|
export * from './ApiFeaturePut200Response';
|
|
97
98
|
export * from './ApiFeaturePutRequest';
|
|
98
99
|
export * from './ApiFeaturePutRequestNavigate';
|