@drxsuperapp/sdk 1.1.409 → 1.1.411

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/deploy.log CHANGED
@@ -823,21 +823,20 @@
823
823
  # https://opencollective.com/openapi_generator/donate #
824
824
  ################################################################################
825
825
  ✅ SDK generated
826
- On branch master
827
- Your branch is up to date with 'origin/master'.
828
-
829
- nothing to commit, working tree clean
830
- Everything up-to-date
826
+ [master 62aba80] VPS: Generated API SDK
827
+ 1 file changed, 27 insertions(+)
828
+ To https://gitlab.com/drx-super/drx-sdk.git
829
+ 613decd..62aba80 master -> master
831
830
  ✅ Changes committed and pushed
832
- v1.1.409
831
+ v1.1.411
833
832
  To https://gitlab.com/drx-super/drx-sdk.git
834
- 4d838c3..994efb6 master -> master
833
+ 62aba80..a508531 master -> master
835
834
  ✅ Version bumped
836
835
 
837
- > @drxsuperapp/sdk@1.1.409 prepublishOnly
836
+ > @drxsuperapp/sdk@1.1.411 prepublishOnly
838
837
  > npm run build
839
838
 
840
839
 
841
- > @drxsuperapp/sdk@1.1.409 build
840
+ > @drxsuperapp/sdk@1.1.411 build
842
841
  > tsc
843
842
 
@@ -58,6 +58,18 @@ export interface ApiWeb3SwapGet200ResponseResponseObjectItemsInner {
58
58
  * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
59
59
  */
60
60
  createdAt: Date;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
65
+ */
66
+ txHash: string | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
71
+ */
72
+ adminRemarks: string | null;
61
73
  /**
62
74
  *
63
75
  * @type {ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser}
@@ -42,6 +42,10 @@ export function instanceOfApiWeb3SwapGet200ResponseResponseObjectItemsInner(valu
42
42
  return false;
43
43
  if (!('createdAt' in value) || value['createdAt'] === undefined)
44
44
  return false;
45
+ if (!('txHash' in value) || value['txHash'] === undefined)
46
+ return false;
47
+ if (!('adminRemarks' in value) || value['adminRemarks'] === undefined)
48
+ return false;
45
49
  if (!('user' in value) || value['user'] === undefined)
46
50
  return false;
47
51
  return true;
@@ -61,6 +65,8 @@ export function ApiWeb3SwapGet200ResponseResponseObjectItemsInnerFromJSONTyped(j
61
65
  'drxAmount': json['drxAmount'],
62
66
  'status': json['status'],
63
67
  'createdAt': (new Date(json['createdAt'])),
68
+ 'txHash': json['txHash'],
69
+ 'adminRemarks': json['adminRemarks'],
64
70
  'user': ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUserFromJSON(json['user']),
65
71
  };
66
72
  }
@@ -79,6 +85,8 @@ export function ApiWeb3SwapGet200ResponseResponseObjectItemsInnerToJSONTyped(val
79
85
  'drxAmount': value['drxAmount'],
80
86
  'status': value['status'],
81
87
  'createdAt': ((value['createdAt']).toISOString()),
88
+ 'txHash': value['txHash'],
89
+ 'adminRemarks': value['adminRemarks'],
82
90
  'user': ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUserToJSON(value['user']),
83
91
  };
84
92
  }
@@ -33,6 +33,12 @@ export interface ApiWeb3SwapLimitsGet200ResponseResponseObject {
33
33
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
34
34
  */
35
35
  pointsToDrxRate: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
40
+ */
41
+ maxRequestsPerDay: number;
36
42
  /**
37
43
  *
38
44
  * @type {string}
@@ -45,12 +51,24 @@ export interface ApiWeb3SwapLimitsGet200ResponseResponseObject {
45
51
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
46
52
  */
47
53
  todayUsedPoints: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
58
+ */
59
+ todayRequestCount: string;
48
60
  /**
49
61
  *
50
62
  * @type {string}
51
63
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
52
64
  */
53
65
  remainingDailyLimit: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
70
+ */
71
+ remainingRequests: string;
54
72
  }
55
73
  /**
56
74
  * Check if a given object implements the ApiWeb3SwapLimitsGet200ResponseResponseObject interface.
@@ -21,12 +21,18 @@ export function instanceOfApiWeb3SwapLimitsGet200ResponseResponseObject(value) {
21
21
  return false;
22
22
  if (!('pointsToDrxRate' in value) || value['pointsToDrxRate'] === undefined)
23
23
  return false;
24
+ if (!('maxRequestsPerDay' in value) || value['maxRequestsPerDay'] === undefined)
25
+ return false;
24
26
  if (!('availablePoints' in value) || value['availablePoints'] === undefined)
25
27
  return false;
26
28
  if (!('todayUsedPoints' in value) || value['todayUsedPoints'] === undefined)
27
29
  return false;
30
+ if (!('todayRequestCount' in value) || value['todayRequestCount'] === undefined)
31
+ return false;
28
32
  if (!('remainingDailyLimit' in value) || value['remainingDailyLimit'] === undefined)
29
33
  return false;
34
+ if (!('remainingRequests' in value) || value['remainingRequests'] === undefined)
35
+ return false;
30
36
  return true;
31
37
  }
32
38
  export function ApiWeb3SwapLimitsGet200ResponseResponseObjectFromJSON(json) {
@@ -40,9 +46,12 @@ export function ApiWeb3SwapLimitsGet200ResponseResponseObjectFromJSONTyped(json,
40
46
  'dailyLimitPoints': json['dailyLimitPoints'],
41
47
  'minSwapAmount': json['minSwapAmount'],
42
48
  'pointsToDrxRate': json['pointsToDrxRate'],
49
+ 'maxRequestsPerDay': json['maxRequestsPerDay'],
43
50
  'availablePoints': json['availablePoints'],
44
51
  'todayUsedPoints': json['todayUsedPoints'],
52
+ 'todayRequestCount': json['todayRequestCount'],
45
53
  'remainingDailyLimit': json['remainingDailyLimit'],
54
+ 'remainingRequests': json['remainingRequests'],
46
55
  };
47
56
  }
48
57
  export function ApiWeb3SwapLimitsGet200ResponseResponseObjectToJSON(json) {
@@ -56,8 +65,11 @@ export function ApiWeb3SwapLimitsGet200ResponseResponseObjectToJSONTyped(value,
56
65
  'dailyLimitPoints': value['dailyLimitPoints'],
57
66
  'minSwapAmount': value['minSwapAmount'],
58
67
  'pointsToDrxRate': value['pointsToDrxRate'],
68
+ 'maxRequestsPerDay': value['maxRequestsPerDay'],
59
69
  'availablePoints': value['availablePoints'],
60
70
  'todayUsedPoints': value['todayUsedPoints'],
71
+ 'todayRequestCount': value['todayRequestCount'],
61
72
  'remainingDailyLimit': value['remainingDailyLimit'],
73
+ 'remainingRequests': value['remainingRequests'],
62
74
  };
63
75
  }
@@ -69,6 +69,18 @@ export interface ApiWeb3SwapGet200ResponseResponseObjectItemsInner {
69
69
  * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
70
70
  */
71
71
  createdAt: Date;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
76
+ */
77
+ txHash: string | null;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof ApiWeb3SwapGet200ResponseResponseObjectItemsInner
82
+ */
83
+ adminRemarks: string | null;
72
84
  /**
73
85
  *
74
86
  * @type {ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser}
@@ -104,6 +116,8 @@ export function instanceOfApiWeb3SwapGet200ResponseResponseObjectItemsInner(valu
104
116
  if (!('drxAmount' in value) || value['drxAmount'] === undefined) return false;
105
117
  if (!('status' in value) || value['status'] === undefined) return false;
106
118
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
119
+ if (!('txHash' in value) || value['txHash'] === undefined) return false;
120
+ if (!('adminRemarks' in value) || value['adminRemarks'] === undefined) return false;
107
121
  if (!('user' in value) || value['user'] === undefined) return false;
108
122
  return true;
109
123
  }
@@ -125,6 +139,8 @@ export function ApiWeb3SwapGet200ResponseResponseObjectItemsInnerFromJSONTyped(j
125
139
  'drxAmount': json['drxAmount'],
126
140
  'status': json['status'],
127
141
  'createdAt': (new Date(json['createdAt'])),
142
+ 'txHash': json['txHash'],
143
+ 'adminRemarks': json['adminRemarks'],
128
144
  'user': ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUserFromJSON(json['user']),
129
145
  };
130
146
  }
@@ -147,6 +163,8 @@ export function ApiWeb3SwapGet200ResponseResponseObjectItemsInnerToJSONTyped(val
147
163
  'drxAmount': value['drxAmount'],
148
164
  'status': value['status'],
149
165
  'createdAt': ((value['createdAt']).toISOString()),
166
+ 'txHash': value['txHash'],
167
+ 'adminRemarks': value['adminRemarks'],
150
168
  'user': ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUserToJSON(value['user']),
151
169
  };
152
170
  }
@@ -37,6 +37,12 @@ export interface ApiWeb3SwapLimitsGet200ResponseResponseObject {
37
37
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
38
38
  */
39
39
  pointsToDrxRate: number;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
44
+ */
45
+ maxRequestsPerDay: number;
40
46
  /**
41
47
  *
42
48
  * @type {string}
@@ -49,12 +55,24 @@ export interface ApiWeb3SwapLimitsGet200ResponseResponseObject {
49
55
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
50
56
  */
51
57
  todayUsedPoints: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
62
+ */
63
+ todayRequestCount: string;
52
64
  /**
53
65
  *
54
66
  * @type {string}
55
67
  * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
56
68
  */
57
69
  remainingDailyLimit: string;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof ApiWeb3SwapLimitsGet200ResponseResponseObject
74
+ */
75
+ remainingRequests: string;
58
76
  }
59
77
 
60
78
  /**
@@ -64,9 +82,12 @@ export function instanceOfApiWeb3SwapLimitsGet200ResponseResponseObject(value: o
64
82
  if (!('dailyLimitPoints' in value) || value['dailyLimitPoints'] === undefined) return false;
65
83
  if (!('minSwapAmount' in value) || value['minSwapAmount'] === undefined) return false;
66
84
  if (!('pointsToDrxRate' in value) || value['pointsToDrxRate'] === undefined) return false;
85
+ if (!('maxRequestsPerDay' in value) || value['maxRequestsPerDay'] === undefined) return false;
67
86
  if (!('availablePoints' in value) || value['availablePoints'] === undefined) return false;
68
87
  if (!('todayUsedPoints' in value) || value['todayUsedPoints'] === undefined) return false;
88
+ if (!('todayRequestCount' in value) || value['todayRequestCount'] === undefined) return false;
69
89
  if (!('remainingDailyLimit' in value) || value['remainingDailyLimit'] === undefined) return false;
90
+ if (!('remainingRequests' in value) || value['remainingRequests'] === undefined) return false;
70
91
  return true;
71
92
  }
72
93
 
@@ -83,9 +104,12 @@ export function ApiWeb3SwapLimitsGet200ResponseResponseObjectFromJSONTyped(json:
83
104
  'dailyLimitPoints': json['dailyLimitPoints'],
84
105
  'minSwapAmount': json['minSwapAmount'],
85
106
  'pointsToDrxRate': json['pointsToDrxRate'],
107
+ 'maxRequestsPerDay': json['maxRequestsPerDay'],
86
108
  'availablePoints': json['availablePoints'],
87
109
  'todayUsedPoints': json['todayUsedPoints'],
110
+ 'todayRequestCount': json['todayRequestCount'],
88
111
  'remainingDailyLimit': json['remainingDailyLimit'],
112
+ 'remainingRequests': json['remainingRequests'],
89
113
  };
90
114
  }
91
115
 
@@ -103,9 +127,12 @@ export function ApiWeb3SwapLimitsGet200ResponseResponseObjectToJSONTyped(value?:
103
127
  'dailyLimitPoints': value['dailyLimitPoints'],
104
128
  'minSwapAmount': value['minSwapAmount'],
105
129
  'pointsToDrxRate': value['pointsToDrxRate'],
130
+ 'maxRequestsPerDay': value['maxRequestsPerDay'],
106
131
  'availablePoints': value['availablePoints'],
107
132
  'todayUsedPoints': value['todayUsedPoints'],
133
+ 'todayRequestCount': value['todayRequestCount'],
108
134
  'remainingDailyLimit': value['remainingDailyLimit'],
135
+ 'remainingRequests': value['remainingRequests'],
109
136
  };
110
137
  }
111
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.409",
3
+ "version": "1.1.411",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {