aftermath-ts-sdk 4.0.0-dev.f4d4bd4 → 4.1.0-dev.a3aa1c2
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.ts +5057 -4995
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15382,6 +15382,36 @@ var init_perpetuals = __esm({
|
|
|
15382
15382
|
// Rebates
|
|
15383
15383
|
// =========================================================================
|
|
15384
15384
|
// =========================================================================
|
|
15385
|
+
// Rebates (CSV)
|
|
15386
|
+
// =========================================================================
|
|
15387
|
+
/**
|
|
15388
|
+
* Generate a CSV-formatted rebate report for perpetuals market makers.
|
|
15389
|
+
*
|
|
15390
|
+
* **Currently unavailable:** the backend removed
|
|
15391
|
+
* `/api/perpetuals/rebates/create-csv-rebates`, so this request fails until
|
|
15392
|
+
* a replacement endpoint ships. Kept so existing callers still compile.
|
|
15393
|
+
*
|
|
15394
|
+
* @param inputs - {@link ApiPerpetualsCreateCsvRebatesBody}.
|
|
15395
|
+
* @returns `ApiPerpetualsCreateCsvRebatesResponse` containing the CSV string.
|
|
15396
|
+
*/
|
|
15397
|
+
async getCsvRebates(inputs) {
|
|
15398
|
+
return this.fetchApi("rebates/create-csv-rebates", inputs);
|
|
15399
|
+
}
|
|
15400
|
+
/**
|
|
15401
|
+
* Generate a CSV-formatted referral rebate report.
|
|
15402
|
+
*
|
|
15403
|
+
* **Currently unavailable:** the backend removed
|
|
15404
|
+
* `/api/perpetuals/rebates/create-referral-csv-rebates`, so this request
|
|
15405
|
+
* fails until a replacement endpoint ships. Kept so existing callers still
|
|
15406
|
+
* compile.
|
|
15407
|
+
*
|
|
15408
|
+
* @param inputs - {@link ApiPerpetualsCreateReferralCsvRebatesBody}.
|
|
15409
|
+
* @returns `ApiPerpetualsCreateReferralCsvRebatesResponse` containing the CSV string.
|
|
15410
|
+
*/
|
|
15411
|
+
async getReferralCsvRebates(inputs) {
|
|
15412
|
+
return this.fetchApi("rebates/create-referral-csv-rebates", inputs);
|
|
15413
|
+
}
|
|
15414
|
+
// =========================================================================
|
|
15385
15415
|
// Builder Codes Transactions
|
|
15386
15416
|
// =========================================================================
|
|
15387
15417
|
/**
|