-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: upgrade runtime * chore: fix tests * fix: npm i * refactor: remove comment * chore: upgrade backbone * refactor: isDefault true * fix: use syncUntil in test * chore: bump runtime to real v5 * chore: undo unnecessary formatting change * fix: update test * refactor: rename ConnectorResponse to Response * refactor: Response -> ConnectorHttpResponse * refactor: update sdk types * refactor: update tests * chore: bump local backbone * ci: audit exclude * chore: rm comment * fix: specify atTypes * fix: do not use runtime in connector tests * fix: more issues * chore: remove relic * fix: naming * fix: make only optional where necessary --------- Co-authored-by: Sebastian Mahr <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Julian König <[email protected]>
- Loading branch information
1 parent
3181bbc
commit 1738600
Showing
52 changed files
with
372 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
BACKBONE_VERSION=6.2.0 | ||
BACKBONE_VERSION=6.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { ConnectorResponse, ConnectorSyncInfo, IdentityInfo } from "../types"; | ||
import { ConnectorHttpResponse, ConnectorSyncInfo, IdentityInfo } from "../types"; | ||
import { Endpoint } from "./Endpoint"; | ||
|
||
export class AccountEndpoint extends Endpoint { | ||
public async getIdentityInfo(): Promise<ConnectorResponse<IdentityInfo>> { | ||
public async getIdentityInfo(): Promise<ConnectorHttpResponse<IdentityInfo>> { | ||
return await this.get("/api/v2/Account/IdentityInfo"); | ||
} | ||
|
||
public async sync(): Promise<ConnectorResponse<void>> { | ||
public async sync(): Promise<ConnectorHttpResponse<void>> { | ||
return await this.post("/api/v2/Account/Sync", undefined, 204); | ||
} | ||
|
||
public async getSyncInfo(): Promise<ConnectorResponse<ConnectorSyncInfo>> { | ||
public async getSyncInfo(): Promise<ConnectorHttpResponse<ConnectorSyncInfo>> { | ||
return await this.get("/api/v2/Account/SyncInfo"); | ||
} | ||
} |
Oops, something went wrong.