@drxsuperapp/sdk 1.1.466 → 1.1.468
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 +3 -0
- package/apis/SystemOperationsApi.ts +70 -0
- package/apis/index.ts +1 -0
- package/deploy.log +11 -4
- package/dist/apis/SystemOperationsApi.d.ts +28 -0
- package/dist/apis/SystemOperationsApi.js +53 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApiAdminSyncUserPointsPost200Response.d.ts +51 -0
- package/dist/models/ApiAdminSyncUserPointsPost200Response.js +54 -0
- package/dist/models/ApiAdminSyncUserPointsPost200ResponseResponseObject.d.ts +38 -0
- package/dist/models/ApiAdminSyncUserPointsPost200ResponseResponseObject.js +47 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/models/ApiAdminSyncUserPointsPost200Response.ts +100 -0
- package/models/ApiAdminSyncUserPointsPost200ResponseResponseObject.ts +75 -0
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -15,6 +15,7 @@ apis/PublicRewardApi.ts
|
|
|
15
15
|
apis/RedemptionApi.ts
|
|
16
16
|
apis/RewardManagementApi.ts
|
|
17
17
|
apis/SwapApi.ts
|
|
18
|
+
apis/SystemOperationsApi.ts
|
|
18
19
|
apis/TennisSportsApi.ts
|
|
19
20
|
apis/TournamentManagementApi.ts
|
|
20
21
|
apis/UserAffiliateApi.ts
|
|
@@ -33,6 +34,8 @@ models/ApiAdminAppConfigsGroupGroupGet200Response.ts
|
|
|
33
34
|
models/ApiAdminAppConfigsIdPutRequest.ts
|
|
34
35
|
models/ApiAdminAppConfigsPost200Response.ts
|
|
35
36
|
models/ApiAdminAppConfigsPostRequest.ts
|
|
37
|
+
models/ApiAdminSyncUserPointsPost200Response.ts
|
|
38
|
+
models/ApiAdminSyncUserPointsPost200ResponseResponseObject.ts
|
|
36
39
|
models/ApiAuthChangePasswordPostRequest.ts
|
|
37
40
|
models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
|
|
38
41
|
models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
ApiAdminSyncUserPointsPost200Response,
|
|
19
|
+
} from '../models/index';
|
|
20
|
+
import {
|
|
21
|
+
ApiAdminSyncUserPointsPost200ResponseFromJSON,
|
|
22
|
+
ApiAdminSyncUserPointsPost200ResponseToJSON,
|
|
23
|
+
} from '../models/index';
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class SystemOperationsApi extends runtime.BaseAPI {
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
32
|
+
* Trigger User Points Sync
|
|
33
|
+
*/
|
|
34
|
+
async apiAdminSyncUserPointsPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminSyncUserPointsPost200Response>> {
|
|
35
|
+
const queryParameters: any = {};
|
|
36
|
+
|
|
37
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
38
|
+
|
|
39
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
40
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
44
|
+
const token = this.configuration.accessToken;
|
|
45
|
+
const tokenString = await token("BearerAuth", []);
|
|
46
|
+
|
|
47
|
+
if (tokenString) {
|
|
48
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const response = await this.request({
|
|
52
|
+
path: `/api/admin/sync/user-points`,
|
|
53
|
+
method: 'POST',
|
|
54
|
+
headers: headerParameters,
|
|
55
|
+
query: queryParameters,
|
|
56
|
+
}, initOverrides);
|
|
57
|
+
|
|
58
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminSyncUserPointsPost200ResponseFromJSON(jsonValue));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
63
|
+
* Trigger User Points Sync
|
|
64
|
+
*/
|
|
65
|
+
async apiAdminSyncUserPointsPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminSyncUserPointsPost200Response> {
|
|
66
|
+
const response = await this.apiAdminSyncUserPointsPostRaw(initOverrides);
|
|
67
|
+
return await response.value();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
}
|
package/apis/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './PublicRewardApi';
|
|
|
17
17
|
export * from './RedemptionApi';
|
|
18
18
|
export * from './RewardManagementApi';
|
|
19
19
|
export * from './SwapApi';
|
|
20
|
+
export * from './SystemOperationsApi';
|
|
20
21
|
export * from './TennisSportsApi';
|
|
21
22
|
export * from './TournamentManagementApi';
|
|
22
23
|
export * from './UserAffiliateApi';
|
package/deploy.log
CHANGED
|
@@ -233,6 +233,8 @@
|
|
|
233
233
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_admin_app_configs_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_admin_app_configs_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_admin_app_configs_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
234
234
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_admin_app_configs__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_admin_app_configs__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_admin_app_configs__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
235
235
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_admin_app_configs_group__group__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_admin_app_configs_group__group__get_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_admin_app_configs_group__group__get_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
236
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_admin_sync_user_points_post_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_admin_sync_user_points_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_admin_sync_user_points_post_200_response_responseObject=NewModel,ModelA=NewModelA in CLI).
|
|
237
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_admin_sync_user_points_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_admin_sync_user_points_post_200_response=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_admin_sync_user_points_post_200_response=NewModel,ModelA=NewModelA in CLI).
|
|
236
238
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_mma_events_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_mma_events_get_filter_parameter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_mma_events_get_filter_parameter=NewModel,ModelA=NewModelA in CLI).
|
|
237
239
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner_Fighter. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner_Fighter=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner_Fighter=NewModel,ModelA=NewModelA in CLI).
|
|
238
240
|
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_mma_events_get_200_response_responseObject_items_inner_Fights_inner_FightFighters_inner=NewModel,ModelA=NewModelA in CLI).
|
|
@@ -342,6 +344,8 @@
|
|
|
342
344
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAdminAppConfigsIdPutRequest.ts
|
|
343
345
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAdminAppConfigsPost200Response.ts
|
|
344
346
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAdminAppConfigsPostRequest.ts
|
|
347
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAdminSyncUserPointsPost200Response.ts
|
|
348
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAdminSyncUserPointsPost200ResponseResponseObject.ts
|
|
345
349
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthChangePasswordPostRequest.ts
|
|
346
350
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200Response.ts
|
|
347
351
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./models/ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject.ts
|
|
@@ -747,6 +751,7 @@
|
|
|
747
751
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/admin/app-configs/{id}. Renamed to auto-generated operationId: apiAdminAppConfigsIdDelete
|
|
748
752
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/admin/app-configs/key/{key}. Renamed to auto-generated operationId: apiAdminAppConfigsKeyKeyGet
|
|
749
753
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/admin/app-configs/group/{group}. Renamed to auto-generated operationId: apiAdminAppConfigsGroupGroupGet
|
|
754
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/admin/sync/user-points. Renamed to auto-generated operationId: apiAdminSyncUserPointsPost
|
|
750
755
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/mma/events. Renamed to auto-generated operationId: apiMmaEventsGet
|
|
751
756
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/mma/events/{id}. Renamed to auto-generated operationId: apiMmaEventsIdGet
|
|
752
757
|
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/notification/user. Renamed to auto-generated operationId: apiNotificationUserPost
|
|
@@ -840,6 +845,8 @@
|
|
|
840
845
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
841
846
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/SwapApi.ts
|
|
842
847
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
848
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/SystemOperationsApi.ts
|
|
849
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
843
850
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/TennisSportsApi.ts
|
|
844
851
|
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
845
852
|
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./apis/TournamentManagementApi.ts
|
|
@@ -875,15 +882,15 @@ Your branch is up to date with 'origin/master'.
|
|
|
875
882
|
nothing to commit, working tree clean
|
|
876
883
|
Everything up-to-date
|
|
877
884
|
✅ Changes committed and pushed
|
|
878
|
-
v1.1.
|
|
885
|
+
v1.1.468
|
|
879
886
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
880
|
-
|
|
887
|
+
c9a9747..84d74d2 master -> master
|
|
881
888
|
✅ Version bumped
|
|
882
889
|
|
|
883
|
-
> @drxsuperapp/sdk@1.1.
|
|
890
|
+
> @drxsuperapp/sdk@1.1.468 prepublishOnly
|
|
884
891
|
> npm run build
|
|
885
892
|
|
|
886
893
|
|
|
887
|
-
> @drxsuperapp/sdk@1.1.
|
|
894
|
+
> @drxsuperapp/sdk@1.1.468 build
|
|
888
895
|
> tsc
|
|
889
896
|
|
|
@@ -0,0 +1,28 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ApiAdminSyncUserPointsPost200Response } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class SystemOperationsApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
20
|
+
* Trigger User Points Sync
|
|
21
|
+
*/
|
|
22
|
+
apiAdminSyncUserPointsPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminSyncUserPointsPost200Response>>;
|
|
23
|
+
/**
|
|
24
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
25
|
+
* Trigger User Points Sync
|
|
26
|
+
*/
|
|
27
|
+
apiAdminSyncUserPointsPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminSyncUserPointsPost200Response>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 * as runtime from '../runtime';
|
|
15
|
+
import { ApiAdminSyncUserPointsPost200ResponseFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class SystemOperationsApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
22
|
+
* Trigger User Points Sync
|
|
23
|
+
*/
|
|
24
|
+
async apiAdminSyncUserPointsPostRaw(initOverrides) {
|
|
25
|
+
const queryParameters = {};
|
|
26
|
+
const headerParameters = {};
|
|
27
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
28
|
+
headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
|
|
29
|
+
}
|
|
30
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
31
|
+
const token = this.configuration.accessToken;
|
|
32
|
+
const tokenString = await token("BearerAuth", []);
|
|
33
|
+
if (tokenString) {
|
|
34
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const response = await this.request({
|
|
38
|
+
path: `/api/admin/sync/user-points`,
|
|
39
|
+
method: 'POST',
|
|
40
|
+
headers: headerParameters,
|
|
41
|
+
query: queryParameters,
|
|
42
|
+
}, initOverrides);
|
|
43
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminSyncUserPointsPost200ResponseFromJSON(jsonValue));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Manually trigger the synchronization of user points from external systems (TAP2 and PENALTY)
|
|
47
|
+
* Trigger User Points Sync
|
|
48
|
+
*/
|
|
49
|
+
async apiAdminSyncUserPointsPost(initOverrides) {
|
|
50
|
+
const response = await this.apiAdminSyncUserPointsPostRaw(initOverrides);
|
|
51
|
+
return await response.value();
|
|
52
|
+
}
|
|
53
|
+
}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './PublicRewardApi';
|
|
|
15
15
|
export * from './RedemptionApi';
|
|
16
16
|
export * from './RewardManagementApi';
|
|
17
17
|
export * from './SwapApi';
|
|
18
|
+
export * from './SystemOperationsApi';
|
|
18
19
|
export * from './TennisSportsApi';
|
|
19
20
|
export * from './TournamentManagementApi';
|
|
20
21
|
export * from './UserAffiliateApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export * from './PublicRewardApi';
|
|
|
17
17
|
export * from './RedemptionApi';
|
|
18
18
|
export * from './RewardManagementApi';
|
|
19
19
|
export * from './SwapApi';
|
|
20
|
+
export * from './SystemOperationsApi';
|
|
20
21
|
export * from './TennisSportsApi';
|
|
21
22
|
export * from './TournamentManagementApi';
|
|
22
23
|
export * from './UserAffiliateApi';
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { ApiAdminSyncUserPointsPost200ResponseResponseObject } from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiAdminSyncUserPointsPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiAdminSyncUserPointsPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiAdminSyncUserPointsPost200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiAdminSyncUserPointsPost200Response(value: object): value is ApiAdminSyncUserPointsPost200Response;
|
|
48
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseFromJSON(json: any): ApiAdminSyncUserPointsPost200Response;
|
|
49
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSyncUserPointsPost200Response;
|
|
50
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseToJSON(json: any): ApiAdminSyncUserPointsPost200Response;
|
|
51
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseToJSONTyped(value?: ApiAdminSyncUserPointsPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON, ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON, } from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiAdminSyncUserPointsPost200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiAdminSyncUserPointsPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiAdminSyncUserPointsPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiAdminSyncUserPointsPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiAdminSyncUserPointsPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiAdminSyncUserPointsPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiAdminSyncUserPointsPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
timestamp: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200ResponseResponseObject interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiAdminSyncUserPointsPost200ResponseResponseObject(value: object): value is ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
35
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON(json: any): ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
36
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
37
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON(json: any): ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
38
|
+
export declare function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped(value?: ApiAdminSyncUserPointsPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAdminSyncUserPointsPost200ResponseResponseObject(value) {
|
|
18
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON(json) {
|
|
25
|
+
return ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'message': json['message'],
|
|
33
|
+
'timestamp': json['timestamp'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON(json) {
|
|
37
|
+
return ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
'timestamp': value['timestamp'],
|
|
46
|
+
};
|
|
47
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './ApiAdminAppConfigsGroupGroupGet200Response';
|
|
|
6
6
|
export * from './ApiAdminAppConfigsIdPutRequest';
|
|
7
7
|
export * from './ApiAdminAppConfigsPost200Response';
|
|
8
8
|
export * from './ApiAdminAppConfigsPostRequest';
|
|
9
|
+
export * from './ApiAdminSyncUserPointsPost200Response';
|
|
10
|
+
export * from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
9
11
|
export * from './ApiAuthChangePasswordPostRequest';
|
|
10
12
|
export * from './ApiAuthForgotPasswordChangePasswordPost200Response';
|
|
11
13
|
export * from './ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject';
|
package/dist/models/index.js
CHANGED
|
@@ -8,6 +8,8 @@ export * from './ApiAdminAppConfigsGroupGroupGet200Response';
|
|
|
8
8
|
export * from './ApiAdminAppConfigsIdPutRequest';
|
|
9
9
|
export * from './ApiAdminAppConfigsPost200Response';
|
|
10
10
|
export * from './ApiAdminAppConfigsPostRequest';
|
|
11
|
+
export * from './ApiAdminSyncUserPointsPost200Response';
|
|
12
|
+
export * from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
11
13
|
export * from './ApiAuthChangePasswordPostRequest';
|
|
12
14
|
export * from './ApiAuthForgotPasswordChangePasswordPost200Response';
|
|
13
15
|
export * from './ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject';
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { ApiAdminSyncUserPointsPost200ResponseResponseObject } from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiAdminSyncUserPointsPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiAdminSyncUserPointsPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiAdminSyncUserPointsPost200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiAdminSyncUserPointsPost200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiAdminSyncUserPointsPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiAdminSyncUserPointsPost200Response(value: object): value is ApiAdminSyncUserPointsPost200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiAdminSyncUserPointsPost200ResponseFromJSON(json: any): ApiAdminSyncUserPointsPost200Response {
|
|
67
|
+
return ApiAdminSyncUserPointsPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiAdminSyncUserPointsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSyncUserPointsPost200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiAdminSyncUserPointsPost200ResponseToJSON(json: any): ApiAdminSyncUserPointsPost200Response {
|
|
84
|
+
return ApiAdminSyncUserPointsPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiAdminSyncUserPointsPost200ResponseToJSONTyped(value?: ApiAdminSyncUserPointsPost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAdminSyncUserPointsPost200ResponseResponseObject
|
|
32
|
+
*/
|
|
33
|
+
timestamp: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiAdminSyncUserPointsPost200ResponseResponseObject interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiAdminSyncUserPointsPost200ResponseResponseObject(value: object): value is ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
40
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
41
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSON(json: any): ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
46
|
+
return ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'message': json['message'],
|
|
56
|
+
'timestamp': json['timestamp'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSON(json: any): ApiAdminSyncUserPointsPost200ResponseResponseObject {
|
|
61
|
+
return ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ApiAdminSyncUserPointsPost200ResponseResponseObjectToJSONTyped(value?: ApiAdminSyncUserPointsPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'message': value['message'],
|
|
72
|
+
'timestamp': value['timestamp'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './ApiAdminAppConfigsGroupGroupGet200Response';
|
|
|
8
8
|
export * from './ApiAdminAppConfigsIdPutRequest';
|
|
9
9
|
export * from './ApiAdminAppConfigsPost200Response';
|
|
10
10
|
export * from './ApiAdminAppConfigsPostRequest';
|
|
11
|
+
export * from './ApiAdminSyncUserPointsPost200Response';
|
|
12
|
+
export * from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
11
13
|
export * from './ApiAuthChangePasswordPostRequest';
|
|
12
14
|
export * from './ApiAuthForgotPasswordChangePasswordPost200Response';
|
|
13
15
|
export * from './ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject';
|