mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-25 07:27:19 -05:00
Add CoralApi.deleteFriendIsNew
This commit is contained in:
parent
3746f76812
commit
ddaa7a5ba0
|
|
@ -146,7 +146,7 @@ export abstract class AbstractCoralApi {
|
|||
});
|
||||
}
|
||||
|
||||
/** unused */
|
||||
/** @deprecated unused */
|
||||
async getFriend(nsa_id: string) {
|
||||
return this.call<Friend_4, {nsaId: string}>('/v4/Friend/Show', {
|
||||
nsaId: nsa_id,
|
||||
|
|
@ -159,6 +159,12 @@ export abstract class AbstractCoralApi {
|
|||
});
|
||||
}
|
||||
|
||||
async deleteFriendIsNew(nsa_id: string) {
|
||||
return this.call<{}, {friendNsaId: string}>('/v4/Friend/IsNew/Delete', {
|
||||
friendNsaId: nsa_id,
|
||||
});
|
||||
}
|
||||
|
||||
async deleteFriend(nsa_id: string) {
|
||||
return this.call<{}, {nsaId: string}>('/v3/Friend/Delete', {
|
||||
nsaId: nsa_id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user