@binance/pay 5.0.0 → 5.0.2
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/chunk.mjs +13 -0
- package/dist/index.d.mts +442 -535
- package/dist/index.d.ts +444 -536
- package/dist/index.js +307 -320
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +222 -305
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,319 +1,236 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
for (var name2 in all)
|
|
4
|
-
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
// src/pay.ts
|
|
8
|
-
import { buildUserAgent, ConfigurationRestAPI as ConfigurationRestAPI3, PAY_REST_API_PROD_URL } from "@binance/common";
|
|
1
|
+
import { t as __export } from "./chunk.mjs";
|
|
2
|
+
import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, PAY_REST_API_PROD_URL, PAY_REST_API_PROD_URL as PAY_REST_API_PROD_URL$1, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError, buildUserAgent, sendRequest } from "@binance/common";
|
|
9
3
|
|
|
10
|
-
|
|
4
|
+
//#region package.json
|
|
11
5
|
var name = "@binance/pay";
|
|
12
|
-
var version = "5.0.
|
|
13
|
-
|
|
14
|
-
// src/rest-api/index.ts
|
|
15
|
-
var rest_api_exports = {};
|
|
16
|
-
__export(rest_api_exports, {
|
|
17
|
-
PayApi: () => PayApi,
|
|
18
|
-
RestAPI: () => RestAPI
|
|
19
|
-
});
|
|
6
|
+
var version = "5.0.2";
|
|
20
7
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
* receiverInfo : name, accountId
|
|
55
|
-
* Receiver's perspective when orderType is PAY_REFUND
|
|
56
|
-
* payerInfo : name
|
|
57
|
-
* receiverInfo : binanceId
|
|
58
|
-
* Sender's perspective when orderType is PAYOUT
|
|
59
|
-
* payerInfo : binanceId, name
|
|
60
|
-
* receiverInfo : name, accountId
|
|
61
|
-
* Receiver's perspective when orderType is PAYOUT
|
|
62
|
-
* payerInfo : name
|
|
63
|
-
* receiverInfo : binanceId
|
|
64
|
-
* Receiver's perspective when orderType is CRYPTO_BOX_RF
|
|
65
|
-
* payerInfo : name(the value is always "Crypto Box")
|
|
66
|
-
* receiverInfo : binanceId
|
|
67
|
-
* Sender's perspective when orderType is REMITTANCE
|
|
68
|
-
* payerInfo : binanceId
|
|
69
|
-
* receiverInfo : name, institutionName, cardNumber, digitalWalletId
|
|
70
|
-
*
|
|
71
|
-
* Weight: 3000
|
|
72
|
-
*
|
|
73
|
-
* @summary Get Pay Trade History
|
|
74
|
-
* @param {number} [startTime]
|
|
75
|
-
* @param {number} [endTime]
|
|
76
|
-
* @param {number} [limit] default 100, max 100
|
|
77
|
-
* @param {number} [recvWindow]
|
|
78
|
-
*
|
|
79
|
-
* @throws {RequiredError}
|
|
80
|
-
*/
|
|
81
|
-
getPayTradeHistory: async (startTime, endTime, limit, recvWindow) => {
|
|
82
|
-
const localVarQueryParameter = {};
|
|
83
|
-
if (startTime !== void 0 && startTime !== null) {
|
|
84
|
-
localVarQueryParameter["startTime"] = startTime;
|
|
85
|
-
}
|
|
86
|
-
if (endTime !== void 0 && endTime !== null) {
|
|
87
|
-
localVarQueryParameter["endTime"] = endTime;
|
|
88
|
-
}
|
|
89
|
-
if (limit !== void 0 && limit !== null) {
|
|
90
|
-
localVarQueryParameter["limit"] = limit;
|
|
91
|
-
}
|
|
92
|
-
if (recvWindow !== void 0 && recvWindow !== null) {
|
|
93
|
-
localVarQueryParameter["recvWindow"] = recvWindow;
|
|
94
|
-
}
|
|
95
|
-
let _timeUnit;
|
|
96
|
-
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
97
|
-
return {
|
|
98
|
-
endpoint: "/sapi/v1/pay/transactions",
|
|
99
|
-
method: "GET",
|
|
100
|
-
params: localVarQueryParameter,
|
|
101
|
-
timeUnit: _timeUnit
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
};
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/rest-api/modules/pay-api.ts
|
|
10
|
+
/**
|
|
11
|
+
* Binance Pay REST API
|
|
12
|
+
*
|
|
13
|
+
* OpenAPI Specification for the Binance Pay REST API
|
|
14
|
+
*
|
|
15
|
+
* The version of the OpenAPI document: 1.0.0
|
|
16
|
+
*
|
|
17
|
+
*
|
|
18
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
19
|
+
* https://openapi-generator.tech
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* PayApi - axios parameter creator
|
|
24
|
+
*/
|
|
25
|
+
const PayApiAxiosParamCreator = function(configuration) {
|
|
26
|
+
return { getPayTradeHistory: async (startTime, endTime, limit, recvWindow) => {
|
|
27
|
+
const localVarQueryParameter = {};
|
|
28
|
+
if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
|
|
29
|
+
if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
|
|
30
|
+
if (limit !== void 0 && limit !== null) localVarQueryParameter["limit"] = limit;
|
|
31
|
+
if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
|
|
32
|
+
let _timeUnit;
|
|
33
|
+
if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
|
|
34
|
+
return {
|
|
35
|
+
endpoint: "/sapi/v1/pay/transactions",
|
|
36
|
+
method: "GET",
|
|
37
|
+
params: localVarQueryParameter,
|
|
38
|
+
timeUnit: _timeUnit
|
|
39
|
+
};
|
|
40
|
+
} };
|
|
105
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* PayApi - object-oriented interface
|
|
44
|
+
* @class PayApi
|
|
45
|
+
*/
|
|
106
46
|
var PayApi = class {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
requestParameters?.limit,
|
|
169
|
-
requestParameters?.recvWindow
|
|
170
|
-
);
|
|
171
|
-
return sendRequest(
|
|
172
|
-
this.configuration,
|
|
173
|
-
localVarAxiosArgs.endpoint,
|
|
174
|
-
localVarAxiosArgs.method,
|
|
175
|
-
localVarAxiosArgs.params,
|
|
176
|
-
localVarAxiosArgs?.timeUnit,
|
|
177
|
-
{ isSigned: true }
|
|
178
|
-
);
|
|
179
|
-
}
|
|
47
|
+
constructor(configuration) {
|
|
48
|
+
this.configuration = configuration;
|
|
49
|
+
this.localVarAxiosParamCreator = PayApiAxiosParamCreator(configuration);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get Pay Trade History
|
|
53
|
+
*
|
|
54
|
+
* If startTime and endTime are not sent, the recent 90 days' data will be returned.
|
|
55
|
+
* The max interval between startTime and endTime is 90 days.
|
|
56
|
+
* Support for querying orders within the last 18 months.
|
|
57
|
+
* For payerInfo and receiverInfo,there are different return values in different orderTypes.
|
|
58
|
+
* Sender's perspective when orderType is C2C
|
|
59
|
+
* payerInfo : binanceId
|
|
60
|
+
* receiverInfo : name, binanceId/accountId/email/countryCode/phoneNumber/mobileCode (based on user input)
|
|
61
|
+
* Receiver's perspective when orderType is C2C
|
|
62
|
+
* payerInfo : name
|
|
63
|
+
* receiverInfo : binanceId
|
|
64
|
+
* Sender's perspective when orderType is CRYPTO_BOX
|
|
65
|
+
* payerInfo : binanceId
|
|
66
|
+
* receiverInfo : name(the value is always "Crypto Box")
|
|
67
|
+
* Receiver's perspective when orderType is CRYPTO_BOX
|
|
68
|
+
* payerInfo : name
|
|
69
|
+
* receiverInfo : binanceId
|
|
70
|
+
* Sender's perspective when orderType is PAY
|
|
71
|
+
* payerInfo : binanceId
|
|
72
|
+
* receiverInfo : name
|
|
73
|
+
* Receiver's perspective when orderType is PAY
|
|
74
|
+
* payerInfo : name
|
|
75
|
+
* receiverInfo : binanceId, name
|
|
76
|
+
* Sender's perspective when orderType is PAY_REFUND
|
|
77
|
+
* payerInfo : binanceId, name
|
|
78
|
+
* receiverInfo : name, accountId
|
|
79
|
+
* Receiver's perspective when orderType is PAY_REFUND
|
|
80
|
+
* payerInfo : name
|
|
81
|
+
* receiverInfo : binanceId
|
|
82
|
+
* Sender's perspective when orderType is PAYOUT
|
|
83
|
+
* payerInfo : binanceId, name
|
|
84
|
+
* receiverInfo : name, accountId
|
|
85
|
+
* Receiver's perspective when orderType is PAYOUT
|
|
86
|
+
* payerInfo : name
|
|
87
|
+
* receiverInfo : binanceId
|
|
88
|
+
* Receiver's perspective when orderType is CRYPTO_BOX_RF
|
|
89
|
+
* payerInfo : name(the value is always "Crypto Box")
|
|
90
|
+
* receiverInfo : binanceId
|
|
91
|
+
* Sender's perspective when orderType is REMITTANCE
|
|
92
|
+
* payerInfo : binanceId
|
|
93
|
+
* receiverInfo : name, institutionName, cardNumber, digitalWalletId
|
|
94
|
+
*
|
|
95
|
+
* Weight: 3000
|
|
96
|
+
*
|
|
97
|
+
* @summary Get Pay Trade History
|
|
98
|
+
* @param {GetPayTradeHistoryRequest} requestParameters Request parameters.
|
|
99
|
+
* @returns {Promise<RestApiResponse<GetPayTradeHistoryResponse>>}
|
|
100
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
101
|
+
* @memberof PayApi
|
|
102
|
+
* @see {@link https://developers.binance.com/docs/pay/rest-api/Get-Pay-Trade-History Binance API Documentation}
|
|
103
|
+
*/
|
|
104
|
+
async getPayTradeHistory(requestParameters = {}) {
|
|
105
|
+
const localVarAxiosArgs = await this.localVarAxiosParamCreator.getPayTradeHistory(requestParameters?.startTime, requestParameters?.endTime, requestParameters?.limit, requestParameters?.recvWindow);
|
|
106
|
+
return sendRequest(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.params, localVarAxiosArgs?.timeUnit, { isSigned: true });
|
|
107
|
+
}
|
|
180
108
|
};
|
|
181
109
|
|
|
182
|
-
|
|
183
|
-
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/rest-api/rest-api.ts
|
|
112
|
+
/**
|
|
113
|
+
* Binance Pay REST API
|
|
114
|
+
*
|
|
115
|
+
* OpenAPI Specification for the Binance Pay REST API
|
|
116
|
+
*
|
|
117
|
+
* The version of the OpenAPI document: 1.0.0
|
|
118
|
+
*
|
|
119
|
+
*
|
|
120
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
121
|
+
* https://openapi-generator.tech
|
|
122
|
+
* Do not edit the class manually.
|
|
123
|
+
*/
|
|
184
124
|
var RestAPI = class {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
return this.payApi.getPayTradeHistory(requestParameters);
|
|
268
|
-
}
|
|
125
|
+
constructor(configuration) {
|
|
126
|
+
this.configuration = configuration;
|
|
127
|
+
this.payApi = new PayApi(configuration);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Generic function to send a request.
|
|
131
|
+
* @param endpoint - The API endpoint to call.
|
|
132
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
133
|
+
* @param params - Query parameters for the request.
|
|
134
|
+
*
|
|
135
|
+
* @returns A promise resolving to the response data object.
|
|
136
|
+
*/
|
|
137
|
+
sendRequest(endpoint, method, params = {}) {
|
|
138
|
+
return sendRequest(this.configuration, endpoint, method, params, void 0);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Generic function to send a signed request.
|
|
142
|
+
* @param endpoint - The API endpoint to call.
|
|
143
|
+
* @param method - HTTP method to use (GET, POST, DELETE, etc.).
|
|
144
|
+
* @param params - Query parameters for the request.
|
|
145
|
+
*
|
|
146
|
+
* @returns A promise resolving to the response data object.
|
|
147
|
+
*/
|
|
148
|
+
sendSignedRequest(endpoint, method, params = {}) {
|
|
149
|
+
return sendRequest(this.configuration, endpoint, method, params, void 0, { isSigned: true });
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Get Pay Trade History
|
|
153
|
+
*
|
|
154
|
+
* If startTime and endTime are not sent, the recent 90 days' data will be returned.
|
|
155
|
+
* The max interval between startTime and endTime is 90 days.
|
|
156
|
+
* Support for querying orders within the last 18 months.
|
|
157
|
+
* For payerInfo and receiverInfo,there are different return values in different orderTypes.
|
|
158
|
+
* Sender's perspective when orderType is C2C
|
|
159
|
+
* payerInfo : binanceId
|
|
160
|
+
* receiverInfo : name, binanceId/accountId/email/countryCode/phoneNumber/mobileCode (based on user input)
|
|
161
|
+
* Receiver's perspective when orderType is C2C
|
|
162
|
+
* payerInfo : name
|
|
163
|
+
* receiverInfo : binanceId
|
|
164
|
+
* Sender's perspective when orderType is CRYPTO_BOX
|
|
165
|
+
* payerInfo : binanceId
|
|
166
|
+
* receiverInfo : name(the value is always "Crypto Box")
|
|
167
|
+
* Receiver's perspective when orderType is CRYPTO_BOX
|
|
168
|
+
* payerInfo : name
|
|
169
|
+
* receiverInfo : binanceId
|
|
170
|
+
* Sender's perspective when orderType is PAY
|
|
171
|
+
* payerInfo : binanceId
|
|
172
|
+
* receiverInfo : name
|
|
173
|
+
* Receiver's perspective when orderType is PAY
|
|
174
|
+
* payerInfo : name
|
|
175
|
+
* receiverInfo : binanceId, name
|
|
176
|
+
* Sender's perspective when orderType is PAY_REFUND
|
|
177
|
+
* payerInfo : binanceId, name
|
|
178
|
+
* receiverInfo : name, accountId
|
|
179
|
+
* Receiver's perspective when orderType is PAY_REFUND
|
|
180
|
+
* payerInfo : name
|
|
181
|
+
* receiverInfo : binanceId
|
|
182
|
+
* Sender's perspective when orderType is PAYOUT
|
|
183
|
+
* payerInfo : binanceId, name
|
|
184
|
+
* receiverInfo : name, accountId
|
|
185
|
+
* Receiver's perspective when orderType is PAYOUT
|
|
186
|
+
* payerInfo : name
|
|
187
|
+
* receiverInfo : binanceId
|
|
188
|
+
* Receiver's perspective when orderType is CRYPTO_BOX_RF
|
|
189
|
+
* payerInfo : name(the value is always "Crypto Box")
|
|
190
|
+
* receiverInfo : binanceId
|
|
191
|
+
* Sender's perspective when orderType is REMITTANCE
|
|
192
|
+
* payerInfo : binanceId
|
|
193
|
+
* receiverInfo : name, institutionName, cardNumber, digitalWalletId
|
|
194
|
+
*
|
|
195
|
+
* Weight: 3000
|
|
196
|
+
*
|
|
197
|
+
* @summary Get Pay Trade History
|
|
198
|
+
* @param {GetPayTradeHistoryRequest} requestParameters Request parameters.
|
|
199
|
+
*
|
|
200
|
+
* @returns {Promise<RestApiResponse<GetPayTradeHistoryResponse>>}
|
|
201
|
+
* @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
|
|
202
|
+
* @see {@link https://developers.binance.com/docs/pay/rest-api/Get-Pay-Trade-History Binance API Documentation}
|
|
203
|
+
*/
|
|
204
|
+
getPayTradeHistory(requestParameters = {}) {
|
|
205
|
+
return this.payApi.getPayTradeHistory(requestParameters);
|
|
206
|
+
}
|
|
269
207
|
};
|
|
270
208
|
|
|
271
|
-
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/rest-api/index.ts
|
|
211
|
+
var rest_api_exports = /* @__PURE__ */ __export({
|
|
212
|
+
PayApi: () => PayApi,
|
|
213
|
+
RestAPI: () => RestAPI
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region src/pay.ts
|
|
272
218
|
var Pay = class {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
}
|
|
219
|
+
constructor(config) {
|
|
220
|
+
const userAgent = buildUserAgent(name, version);
|
|
221
|
+
if (config?.configurationRestAPI) {
|
|
222
|
+
const configRestAPI = new ConfigurationRestAPI(config.configurationRestAPI);
|
|
223
|
+
configRestAPI.basePath = configRestAPI.basePath || PAY_REST_API_PROD_URL$1;
|
|
224
|
+
configRestAPI.baseOptions = configRestAPI.baseOptions || {};
|
|
225
|
+
configRestAPI.baseOptions.headers = {
|
|
226
|
+
...configRestAPI.baseOptions.headers || {},
|
|
227
|
+
"User-Agent": userAgent
|
|
228
|
+
};
|
|
229
|
+
this.restAPI = new RestAPI(configRestAPI);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
288
232
|
};
|
|
289
233
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
PAY_REST_API_PROD_URL as PAY_REST_API_PROD_URL2,
|
|
293
|
-
ConnectorClientError,
|
|
294
|
-
RequiredError,
|
|
295
|
-
UnauthorizedError,
|
|
296
|
-
ForbiddenError,
|
|
297
|
-
TooManyRequestsError,
|
|
298
|
-
RateLimitBanError,
|
|
299
|
-
ServerError,
|
|
300
|
-
NetworkError,
|
|
301
|
-
NotFoundError,
|
|
302
|
-
BadRequestError
|
|
303
|
-
} from "@binance/common";
|
|
304
|
-
export {
|
|
305
|
-
BadRequestError,
|
|
306
|
-
ConnectorClientError,
|
|
307
|
-
ForbiddenError,
|
|
308
|
-
NetworkError,
|
|
309
|
-
NotFoundError,
|
|
310
|
-
PAY_REST_API_PROD_URL2 as PAY_REST_API_PROD_URL,
|
|
311
|
-
Pay,
|
|
312
|
-
rest_api_exports as PayRestAPI,
|
|
313
|
-
RateLimitBanError,
|
|
314
|
-
RequiredError,
|
|
315
|
-
ServerError,
|
|
316
|
-
TooManyRequestsError,
|
|
317
|
-
UnauthorizedError
|
|
318
|
-
};
|
|
234
|
+
//#endregion
|
|
235
|
+
export { BadRequestError, ConfigurationPay, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, PAY_REST_API_PROD_URL, Pay, rest_api_exports as PayRestAPI, RateLimitBanError, RequiredError, ServerError, TooManyRequestsError, UnauthorizedError };
|
|
319
236
|
//# sourceMappingURL=index.mjs.map
|