@drxsuperapp/sdk 1.1.393 → 1.1.394
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 +7 -7
- package/dist/models/ApiWeb3PrepareRedeemPostRequest.d.ts +6 -0
- package/dist/models/ApiWeb3PrepareRedeemPostRequest.js +2 -0
- package/dist/models/ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner.d.ts +6 -0
- package/dist/models/ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner.js +4 -0
- package/dist/models/ApiWeb3RedemptionIdGet200ResponseResponseObject.d.ts +6 -0
- package/dist/models/ApiWeb3RedemptionIdGet200ResponseResponseObject.js +4 -0
- package/models/ApiWeb3PrepareRedeemPostRequest.ts +8 -0
- package/models/ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner.ts +9 -0
- package/models/ApiWeb3RedemptionIdGet200ResponseResponseObject.ts +9 -0
- package/package.json +1 -1
package/deploy.log
CHANGED
|
@@ -804,20 +804,20 @@
|
|
|
804
804
|
# https://opencollective.com/openapi_generator/donate #
|
|
805
805
|
################################################################################
|
|
806
806
|
✅ SDK generated
|
|
807
|
-
[master
|
|
808
|
-
3 files changed,
|
|
807
|
+
[master d678c10] VPS: Generated API SDK
|
|
808
|
+
3 files changed, 26 insertions(+)
|
|
809
809
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
810
|
-
|
|
810
|
+
70264c9..d678c10 master -> master
|
|
811
811
|
✅ Changes committed and pushed
|
|
812
|
-
v1.1.
|
|
812
|
+
v1.1.394
|
|
813
813
|
To https://gitlab.com/drx-super/drx-sdk.git
|
|
814
|
-
|
|
814
|
+
d678c10..98f7e85 master -> master
|
|
815
815
|
✅ Version bumped
|
|
816
816
|
|
|
817
|
-
> @drxsuperapp/sdk@1.1.
|
|
817
|
+
> @drxsuperapp/sdk@1.1.394 prepublishOnly
|
|
818
818
|
> npm run build
|
|
819
819
|
|
|
820
820
|
|
|
821
|
-
> @drxsuperapp/sdk@1.1.
|
|
821
|
+
> @drxsuperapp/sdk@1.1.394 build
|
|
822
822
|
> tsc
|
|
823
823
|
|
|
@@ -27,6 +27,12 @@ export interface ApiWeb3PrepareRedeemPostRequest {
|
|
|
27
27
|
* @memberof ApiWeb3PrepareRedeemPostRequest
|
|
28
28
|
*/
|
|
29
29
|
stockAmount: number;
|
|
30
|
+
/**
|
|
31
|
+
* Optional email for notifications
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiWeb3PrepareRedeemPostRequest
|
|
34
|
+
*/
|
|
35
|
+
notificationEmail?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the ApiWeb3PrepareRedeemPostRequest interface.
|
|
@@ -31,6 +31,7 @@ export function ApiWeb3PrepareRedeemPostRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
31
31
|
return {
|
|
32
32
|
'rewardItemId': json['rewardItemId'],
|
|
33
33
|
'stockAmount': json['stockAmount'],
|
|
34
|
+
'notificationEmail': json['notificationEmail'] == null ? undefined : json['notificationEmail'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
export function ApiWeb3PrepareRedeemPostRequestToJSON(json) {
|
|
@@ -43,5 +44,6 @@ export function ApiWeb3PrepareRedeemPostRequestToJSONTyped(value, ignoreDiscrimi
|
|
|
43
44
|
return {
|
|
44
45
|
'rewardItemId': value['rewardItemId'],
|
|
45
46
|
'stockAmount': value['stockAmount'],
|
|
47
|
+
'notificationEmail': value['notificationEmail'],
|
|
46
48
|
};
|
|
47
49
|
}
|
|
@@ -53,6 +53,12 @@ export interface ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner {
|
|
|
53
53
|
* @memberof ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner
|
|
54
54
|
*/
|
|
55
55
|
txHash: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner
|
|
60
|
+
*/
|
|
61
|
+
notificationEmail: string | null;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {Date}
|
|
@@ -29,6 +29,8 @@ export function instanceOfApiWeb3RedemptionGet200ResponseResponseObjectItemsInne
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('txHash' in value) || value['txHash'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
+
if (!('notificationEmail' in value) || value['notificationEmail'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
33
35
|
return false;
|
|
34
36
|
if (!('reward' in value) || value['reward'] === undefined)
|
|
@@ -51,6 +53,7 @@ export function ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerFromJSONT
|
|
|
51
53
|
'amountDrx': json['amountDrx'],
|
|
52
54
|
'amountIdr': json['amountIdr'],
|
|
53
55
|
'txHash': json['txHash'],
|
|
56
|
+
'notificationEmail': json['notificationEmail'],
|
|
54
57
|
'createdAt': (new Date(json['createdAt'])),
|
|
55
58
|
'reward': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerRewardFromJSON(json['reward']),
|
|
56
59
|
'user': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerUserFromJSON(json['user']),
|
|
@@ -70,6 +73,7 @@ export function ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerToJSONTyp
|
|
|
70
73
|
'amountDrx': value['amountDrx'],
|
|
71
74
|
'amountIdr': value['amountIdr'],
|
|
72
75
|
'txHash': value['txHash'],
|
|
76
|
+
'notificationEmail': value['notificationEmail'],
|
|
73
77
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
74
78
|
'reward': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerRewardToJSON(value['reward']),
|
|
75
79
|
'user': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerUserToJSON(value['user']),
|
|
@@ -52,6 +52,12 @@ export interface ApiWeb3RedemptionIdGet200ResponseResponseObject {
|
|
|
52
52
|
* @memberof ApiWeb3RedemptionIdGet200ResponseResponseObject
|
|
53
53
|
*/
|
|
54
54
|
txHash: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ApiWeb3RedemptionIdGet200ResponseResponseObject
|
|
59
|
+
*/
|
|
60
|
+
notificationEmail: string | null;
|
|
55
61
|
/**
|
|
56
62
|
*
|
|
57
63
|
* @type {Date}
|
|
@@ -28,6 +28,8 @@ export function instanceOfApiWeb3RedemptionIdGet200ResponseResponseObject(value)
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('txHash' in value) || value['txHash'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('notificationEmail' in value) || value['notificationEmail'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('reviewedAt' in value) || value['reviewedAt'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('confirmedAt' in value) || value['confirmedAt'] === undefined)
|
|
@@ -58,6 +60,7 @@ export function ApiWeb3RedemptionIdGet200ResponseResponseObjectFromJSONTyped(jso
|
|
|
58
60
|
'amountDrx': json['amountDrx'],
|
|
59
61
|
'amountIdr': json['amountIdr'],
|
|
60
62
|
'txHash': json['txHash'],
|
|
63
|
+
'notificationEmail': json['notificationEmail'],
|
|
61
64
|
'reviewedAt': (json['reviewedAt'] == null ? null : new Date(json['reviewedAt'])),
|
|
62
65
|
'confirmedAt': (json['confirmedAt'] == null ? null : new Date(json['confirmedAt'])),
|
|
63
66
|
'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
|
|
@@ -81,6 +84,7 @@ export function ApiWeb3RedemptionIdGet200ResponseResponseObjectToJSONTyped(value
|
|
|
81
84
|
'amountDrx': value['amountDrx'],
|
|
82
85
|
'amountIdr': value['amountIdr'],
|
|
83
86
|
'txHash': value['txHash'],
|
|
87
|
+
'notificationEmail': value['notificationEmail'],
|
|
84
88
|
'reviewedAt': (value['reviewedAt'] == null ? null : value['reviewedAt'].toISOString()),
|
|
85
89
|
'confirmedAt': (value['confirmedAt'] == null ? null : value['confirmedAt'].toISOString()),
|
|
86
90
|
'completedAt': (value['completedAt'] == null ? null : value['completedAt'].toISOString()),
|
|
@@ -31,6 +31,12 @@ export interface ApiWeb3PrepareRedeemPostRequest {
|
|
|
31
31
|
* @memberof ApiWeb3PrepareRedeemPostRequest
|
|
32
32
|
*/
|
|
33
33
|
stockAmount: number;
|
|
34
|
+
/**
|
|
35
|
+
* Optional email for notifications
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiWeb3PrepareRedeemPostRequest
|
|
38
|
+
*/
|
|
39
|
+
notificationEmail?: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -54,6 +60,7 @@ export function ApiWeb3PrepareRedeemPostRequestFromJSONTyped(json: any, ignoreDi
|
|
|
54
60
|
|
|
55
61
|
'rewardItemId': json['rewardItemId'],
|
|
56
62
|
'stockAmount': json['stockAmount'],
|
|
63
|
+
'notificationEmail': json['notificationEmail'] == null ? undefined : json['notificationEmail'],
|
|
57
64
|
};
|
|
58
65
|
}
|
|
59
66
|
|
|
@@ -70,6 +77,7 @@ export function ApiWeb3PrepareRedeemPostRequestToJSONTyped(value?: ApiWeb3Prepar
|
|
|
70
77
|
|
|
71
78
|
'rewardItemId': value['rewardItemId'],
|
|
72
79
|
'stockAmount': value['stockAmount'],
|
|
80
|
+
'notificationEmail': value['notificationEmail'],
|
|
73
81
|
};
|
|
74
82
|
}
|
|
75
83
|
|
|
@@ -70,6 +70,12 @@ export interface ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner {
|
|
|
70
70
|
* @memberof ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner
|
|
71
71
|
*/
|
|
72
72
|
txHash: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner
|
|
77
|
+
*/
|
|
78
|
+
notificationEmail: string | null;
|
|
73
79
|
/**
|
|
74
80
|
*
|
|
75
81
|
* @type {Date}
|
|
@@ -100,6 +106,7 @@ export function instanceOfApiWeb3RedemptionGet200ResponseResponseObjectItemsInne
|
|
|
100
106
|
if (!('amountDrx' in value) || value['amountDrx'] === undefined) return false;
|
|
101
107
|
if (!('amountIdr' in value) || value['amountIdr'] === undefined) return false;
|
|
102
108
|
if (!('txHash' in value) || value['txHash'] === undefined) return false;
|
|
109
|
+
if (!('notificationEmail' in value) || value['notificationEmail'] === undefined) return false;
|
|
103
110
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
104
111
|
if (!('reward' in value) || value['reward'] === undefined) return false;
|
|
105
112
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
@@ -122,6 +129,7 @@ export function ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerFromJSONT
|
|
|
122
129
|
'amountDrx': json['amountDrx'],
|
|
123
130
|
'amountIdr': json['amountIdr'],
|
|
124
131
|
'txHash': json['txHash'],
|
|
132
|
+
'notificationEmail': json['notificationEmail'],
|
|
125
133
|
'createdAt': (new Date(json['createdAt'])),
|
|
126
134
|
'reward': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerRewardFromJSON(json['reward']),
|
|
127
135
|
'user': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerUserFromJSON(json['user']),
|
|
@@ -145,6 +153,7 @@ export function ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerToJSONTyp
|
|
|
145
153
|
'amountDrx': value['amountDrx'],
|
|
146
154
|
'amountIdr': value['amountIdr'],
|
|
147
155
|
'txHash': value['txHash'],
|
|
156
|
+
'notificationEmail': value['notificationEmail'],
|
|
148
157
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
149
158
|
'reward': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerRewardToJSON(value['reward']),
|
|
150
159
|
'user': ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerUserToJSON(value['user']),
|
|
@@ -63,6 +63,12 @@ export interface ApiWeb3RedemptionIdGet200ResponseResponseObject {
|
|
|
63
63
|
* @memberof ApiWeb3RedemptionIdGet200ResponseResponseObject
|
|
64
64
|
*/
|
|
65
65
|
txHash: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ApiWeb3RedemptionIdGet200ResponseResponseObject
|
|
70
|
+
*/
|
|
71
|
+
notificationEmail: string | null;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @type {Date}
|
|
@@ -117,6 +123,7 @@ export function instanceOfApiWeb3RedemptionIdGet200ResponseResponseObject(value:
|
|
|
117
123
|
if (!('amountDrx' in value) || value['amountDrx'] === undefined) return false;
|
|
118
124
|
if (!('amountIdr' in value) || value['amountIdr'] === undefined) return false;
|
|
119
125
|
if (!('txHash' in value) || value['txHash'] === undefined) return false;
|
|
126
|
+
if (!('notificationEmail' in value) || value['notificationEmail'] === undefined) return false;
|
|
120
127
|
if (!('reviewedAt' in value) || value['reviewedAt'] === undefined) return false;
|
|
121
128
|
if (!('confirmedAt' in value) || value['confirmedAt'] === undefined) return false;
|
|
122
129
|
if (!('completedAt' in value) || value['completedAt'] === undefined) return false;
|
|
@@ -143,6 +150,7 @@ export function ApiWeb3RedemptionIdGet200ResponseResponseObjectFromJSONTyped(jso
|
|
|
143
150
|
'amountDrx': json['amountDrx'],
|
|
144
151
|
'amountIdr': json['amountIdr'],
|
|
145
152
|
'txHash': json['txHash'],
|
|
153
|
+
'notificationEmail': json['notificationEmail'],
|
|
146
154
|
'reviewedAt': (json['reviewedAt'] == null ? null : new Date(json['reviewedAt'])),
|
|
147
155
|
'confirmedAt': (json['confirmedAt'] == null ? null : new Date(json['confirmedAt'])),
|
|
148
156
|
'completedAt': (json['completedAt'] == null ? null : new Date(json['completedAt'])),
|
|
@@ -170,6 +178,7 @@ export function ApiWeb3RedemptionIdGet200ResponseResponseObjectToJSONTyped(value
|
|
|
170
178
|
'amountDrx': value['amountDrx'],
|
|
171
179
|
'amountIdr': value['amountIdr'],
|
|
172
180
|
'txHash': value['txHash'],
|
|
181
|
+
'notificationEmail': value['notificationEmail'],
|
|
173
182
|
'reviewedAt': (value['reviewedAt'] == null ? null : (value['reviewedAt'] as any).toISOString()),
|
|
174
183
|
'confirmedAt': (value['confirmedAt'] == null ? null : (value['confirmedAt'] as any).toISOString()),
|
|
175
184
|
'completedAt': (value['completedAt'] == null ? null : (value['completedAt'] as any).toISOString()),
|