@morambacrypto/connect 0.0.17 → 0.0.18
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/dist/index.d.mts +21 -37
- package/dist/index.d.ts +21 -37
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -124,9 +124,21 @@ declare class CompanyAPI {
|
|
|
124
124
|
|
|
125
125
|
interface CreateMerchantPayload {
|
|
126
126
|
payment_method: PaymentMethod;
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
merchant_name: string;
|
|
128
|
+
merchant_email: string;
|
|
129
|
+
company_id: string;
|
|
130
|
+
}
|
|
131
|
+
interface MerchantData {
|
|
132
|
+
id: string;
|
|
133
|
+
merchant_name: string;
|
|
134
|
+
merchant_email: string;
|
|
129
135
|
company_id: string;
|
|
136
|
+
partner_id: string;
|
|
137
|
+
payment_network: string;
|
|
138
|
+
payment_token_name: string;
|
|
139
|
+
payment_token_address: string;
|
|
140
|
+
created_at: string;
|
|
141
|
+
updated_at: string;
|
|
130
142
|
}
|
|
131
143
|
interface CreateMerchantResponse {
|
|
132
144
|
success: boolean;
|
|
@@ -136,11 +148,7 @@ interface CreateMerchantResponse {
|
|
|
136
148
|
interface UpdateMerchantPaymentPayload {
|
|
137
149
|
company_id: string;
|
|
138
150
|
merchant_id: string;
|
|
139
|
-
payment_method:
|
|
140
|
-
network: string;
|
|
141
|
-
token: string;
|
|
142
|
-
address: string;
|
|
143
|
-
};
|
|
151
|
+
payment_method: PaymentMethod;
|
|
144
152
|
}
|
|
145
153
|
interface UpdateMerchantPaymentResponse {
|
|
146
154
|
success: boolean;
|
|
@@ -150,7 +158,7 @@ interface UpdateMerchantPaymentResponse {
|
|
|
150
158
|
interface UpdateMerchantEmailPayload {
|
|
151
159
|
company_id: string;
|
|
152
160
|
merchant_id: string;
|
|
153
|
-
|
|
161
|
+
merchant_email: string;
|
|
154
162
|
}
|
|
155
163
|
interface UpdateMerchantEmailResponse {
|
|
156
164
|
success: boolean;
|
|
@@ -167,12 +175,12 @@ interface MerchantListQuery {
|
|
|
167
175
|
interface MerchantListData {
|
|
168
176
|
id: string;
|
|
169
177
|
company_id: string;
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
merchant_name: string;
|
|
179
|
+
merchant_email: string;
|
|
172
180
|
partner_id: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
181
|
+
payment_network: string;
|
|
182
|
+
payment_token_name: string;
|
|
183
|
+
payment_token_address: string;
|
|
176
184
|
created_at: string;
|
|
177
185
|
updated_at: string;
|
|
178
186
|
}
|
|
@@ -186,30 +194,6 @@ interface GetMerchantListResponse {
|
|
|
186
194
|
interface GetMerchantQuery {
|
|
187
195
|
merchant_id?: string;
|
|
188
196
|
}
|
|
189
|
-
interface MerchantData {
|
|
190
|
-
id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
email: string;
|
|
193
|
-
company_id: string;
|
|
194
|
-
partner_id: string;
|
|
195
|
-
network: string;
|
|
196
|
-
token: string;
|
|
197
|
-
address: string;
|
|
198
|
-
created_at: string;
|
|
199
|
-
updated_at: string;
|
|
200
|
-
}
|
|
201
|
-
interface MerchantData {
|
|
202
|
-
id: string;
|
|
203
|
-
company_id: string;
|
|
204
|
-
name: string;
|
|
205
|
-
email: string;
|
|
206
|
-
partner_id: string;
|
|
207
|
-
network: string;
|
|
208
|
-
token: string;
|
|
209
|
-
address: string;
|
|
210
|
-
created_at: string;
|
|
211
|
-
updated_at: string;
|
|
212
|
-
}
|
|
213
197
|
interface GetMerchantResponse {
|
|
214
198
|
success: boolean;
|
|
215
199
|
message: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -124,9 +124,21 @@ declare class CompanyAPI {
|
|
|
124
124
|
|
|
125
125
|
interface CreateMerchantPayload {
|
|
126
126
|
payment_method: PaymentMethod;
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
merchant_name: string;
|
|
128
|
+
merchant_email: string;
|
|
129
|
+
company_id: string;
|
|
130
|
+
}
|
|
131
|
+
interface MerchantData {
|
|
132
|
+
id: string;
|
|
133
|
+
merchant_name: string;
|
|
134
|
+
merchant_email: string;
|
|
129
135
|
company_id: string;
|
|
136
|
+
partner_id: string;
|
|
137
|
+
payment_network: string;
|
|
138
|
+
payment_token_name: string;
|
|
139
|
+
payment_token_address: string;
|
|
140
|
+
created_at: string;
|
|
141
|
+
updated_at: string;
|
|
130
142
|
}
|
|
131
143
|
interface CreateMerchantResponse {
|
|
132
144
|
success: boolean;
|
|
@@ -136,11 +148,7 @@ interface CreateMerchantResponse {
|
|
|
136
148
|
interface UpdateMerchantPaymentPayload {
|
|
137
149
|
company_id: string;
|
|
138
150
|
merchant_id: string;
|
|
139
|
-
payment_method:
|
|
140
|
-
network: string;
|
|
141
|
-
token: string;
|
|
142
|
-
address: string;
|
|
143
|
-
};
|
|
151
|
+
payment_method: PaymentMethod;
|
|
144
152
|
}
|
|
145
153
|
interface UpdateMerchantPaymentResponse {
|
|
146
154
|
success: boolean;
|
|
@@ -150,7 +158,7 @@ interface UpdateMerchantPaymentResponse {
|
|
|
150
158
|
interface UpdateMerchantEmailPayload {
|
|
151
159
|
company_id: string;
|
|
152
160
|
merchant_id: string;
|
|
153
|
-
|
|
161
|
+
merchant_email: string;
|
|
154
162
|
}
|
|
155
163
|
interface UpdateMerchantEmailResponse {
|
|
156
164
|
success: boolean;
|
|
@@ -167,12 +175,12 @@ interface MerchantListQuery {
|
|
|
167
175
|
interface MerchantListData {
|
|
168
176
|
id: string;
|
|
169
177
|
company_id: string;
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
merchant_name: string;
|
|
179
|
+
merchant_email: string;
|
|
172
180
|
partner_id: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
181
|
+
payment_network: string;
|
|
182
|
+
payment_token_name: string;
|
|
183
|
+
payment_token_address: string;
|
|
176
184
|
created_at: string;
|
|
177
185
|
updated_at: string;
|
|
178
186
|
}
|
|
@@ -186,30 +194,6 @@ interface GetMerchantListResponse {
|
|
|
186
194
|
interface GetMerchantQuery {
|
|
187
195
|
merchant_id?: string;
|
|
188
196
|
}
|
|
189
|
-
interface MerchantData {
|
|
190
|
-
id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
email: string;
|
|
193
|
-
company_id: string;
|
|
194
|
-
partner_id: string;
|
|
195
|
-
network: string;
|
|
196
|
-
token: string;
|
|
197
|
-
address: string;
|
|
198
|
-
created_at: string;
|
|
199
|
-
updated_at: string;
|
|
200
|
-
}
|
|
201
|
-
interface MerchantData {
|
|
202
|
-
id: string;
|
|
203
|
-
company_id: string;
|
|
204
|
-
name: string;
|
|
205
|
-
email: string;
|
|
206
|
-
partner_id: string;
|
|
207
|
-
network: string;
|
|
208
|
-
token: string;
|
|
209
|
-
address: string;
|
|
210
|
-
created_at: string;
|
|
211
|
-
updated_at: string;
|
|
212
|
-
}
|
|
213
197
|
interface GetMerchantResponse {
|
|
214
198
|
success: boolean;
|
|
215
199
|
message: string;
|