@drxsuperapp/sdk 1.1.349 → 1.1.350
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/PublicRewardApi.ts
CHANGED
|
@@ -25,10 +25,6 @@ import {
|
|
|
25
25
|
ApiWeb3RewardPut200ResponseToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
|
-
export interface ApiPublicWeb3RewardGetRequest {
|
|
29
|
-
id: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
export interface ApiPublicWeb3RewardIdGetRequest {
|
|
33
29
|
id: string;
|
|
34
30
|
}
|
|
@@ -41,14 +37,7 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
41
37
|
/**
|
|
42
38
|
* List Rewards
|
|
43
39
|
*/
|
|
44
|
-
async apiPublicWeb3RewardGetRaw(
|
|
45
|
-
if (requestParameters['id'] == null) {
|
|
46
|
-
throw new runtime.RequiredError(
|
|
47
|
-
'id',
|
|
48
|
-
'Required parameter "id" was null or undefined when calling apiPublicWeb3RewardGet().'
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
|
-
|
|
40
|
+
async apiPublicWeb3RewardGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3RewardGet200Response>> {
|
|
52
41
|
const queryParameters: any = {};
|
|
53
42
|
|
|
54
43
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -66,7 +55,7 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
66
55
|
}
|
|
67
56
|
}
|
|
68
57
|
const response = await this.request({
|
|
69
|
-
path: `/api/public/web3/reward
|
|
58
|
+
path: `/api/public/web3/reward`,
|
|
70
59
|
method: 'GET',
|
|
71
60
|
headers: headerParameters,
|
|
72
61
|
query: queryParameters,
|
|
@@ -78,8 +67,8 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
78
67
|
/**
|
|
79
68
|
* List Rewards
|
|
80
69
|
*/
|
|
81
|
-
async apiPublicWeb3RewardGet(
|
|
82
|
-
const response = await this.apiPublicWeb3RewardGetRaw(
|
|
70
|
+
async apiPublicWeb3RewardGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3RewardGet200Response> {
|
|
71
|
+
const response = await this.apiPublicWeb3RewardGetRaw(initOverrides);
|
|
83
72
|
return await response.value();
|
|
84
73
|
}
|
|
85
74
|
|
package/deploy.log
CHANGED
|
@@ -697,21 +697,20 @@
|
|
|
697
697
|
# https://opencollective.com/openapi_generator/donate #
|
|
698
698
|
################################################################################
|
|
699
699
|
✅ SDK generated
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
Everything up-to-date
|
|
700
|
+
[master 5463d0c] VPS: Generated API SDK
|
|
701
|
+
1 file changed, 4 insertions(+), 15 deletions(-)
|
|
702
|
+
To https://gitlab.com/drx-super/drx-sdk.git
|
|
703
|
+
4855278..5463d0c master -> master
|
|
705
704
|
✅ Changes committed and pushed
|
|
706
|
-
v1.1.
|
|
705
|
+
v1.1.350
|
|
707
706
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
708
|
-
|
|
707
|
+
5463d0c..7bb6836 master -> master
|
|
709
708
|
✅ Version bumped
|
|
710
709
|
|
|
711
|
-
> @drxsuperapp/sdk@1.1.
|
|
710
|
+
> @drxsuperapp/sdk@1.1.350 prepublishOnly
|
|
712
711
|
> npm run build
|
|
713
712
|
|
|
714
713
|
|
|
715
|
-
> @drxsuperapp/sdk@1.1.
|
|
714
|
+
> @drxsuperapp/sdk@1.1.350 build
|
|
716
715
|
> tsc
|
|
717
716
|
|
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { ApiWeb3RewardGet200Response, ApiWeb3RewardPut200Response } from '../models/index';
|
|
14
|
-
export interface ApiPublicWeb3RewardGetRequest {
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
14
|
export interface ApiPublicWeb3RewardIdGetRequest {
|
|
18
15
|
id: string;
|
|
19
16
|
}
|
|
@@ -24,11 +21,11 @@ export declare class PublicRewardApi extends runtime.BaseAPI {
|
|
|
24
21
|
/**
|
|
25
22
|
* List Rewards
|
|
26
23
|
*/
|
|
27
|
-
apiPublicWeb3RewardGetRaw(
|
|
24
|
+
apiPublicWeb3RewardGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiWeb3RewardGet200Response>>;
|
|
28
25
|
/**
|
|
29
26
|
* List Rewards
|
|
30
27
|
*/
|
|
31
|
-
apiPublicWeb3RewardGet(
|
|
28
|
+
apiPublicWeb3RewardGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiWeb3RewardGet200Response>;
|
|
32
29
|
/**
|
|
33
30
|
* Get Reward Detail
|
|
34
31
|
*/
|
|
@@ -20,10 +20,7 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
20
20
|
/**
|
|
21
21
|
* List Rewards
|
|
22
22
|
*/
|
|
23
|
-
async apiPublicWeb3RewardGetRaw(
|
|
24
|
-
if (requestParameters['id'] == null) {
|
|
25
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiPublicWeb3RewardGet().');
|
|
26
|
-
}
|
|
23
|
+
async apiPublicWeb3RewardGetRaw(initOverrides) {
|
|
27
24
|
const queryParameters = {};
|
|
28
25
|
const headerParameters = {};
|
|
29
26
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -37,7 +34,7 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
37
34
|
}
|
|
38
35
|
}
|
|
39
36
|
const response = await this.request({
|
|
40
|
-
path: `/api/public/web3/reward
|
|
37
|
+
path: `/api/public/web3/reward`,
|
|
41
38
|
method: 'GET',
|
|
42
39
|
headers: headerParameters,
|
|
43
40
|
query: queryParameters,
|
|
@@ -47,8 +44,8 @@ export class PublicRewardApi extends runtime.BaseAPI {
|
|
|
47
44
|
/**
|
|
48
45
|
* List Rewards
|
|
49
46
|
*/
|
|
50
|
-
async apiPublicWeb3RewardGet(
|
|
51
|
-
const response = await this.apiPublicWeb3RewardGetRaw(
|
|
47
|
+
async apiPublicWeb3RewardGet(initOverrides) {
|
|
48
|
+
const response = await this.apiPublicWeb3RewardGetRaw(initOverrides);
|
|
52
49
|
return await response.value();
|
|
53
50
|
}
|
|
54
51
|
/**
|