Skip to content

Commit

Permalink
Pick up the latest API schema (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstasiak authored Jun 9, 2022
1 parent 8059ed7 commit 465caf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/models/UpdateAccountRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

/**
* It's only possible to edit the name and beneficiary of an account.
*
* Not providing the `beneficiary` field will result in clearing the existing value
* (if present).
*
*/
export type UpdateAccountRequest = {
/**
Expand All @@ -13,7 +17,7 @@ export type UpdateAccountRequest = {
/**
* The account beneficiary.
*/
beneficiary: string
beneficiary?: string
/**
* The bundle mix unique identifier.
*/
Expand Down
1 change: 1 addition & 0 deletions src/services/BundleSelectionsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export abstract class BundleSelectionsService {
errors: {
400: `Bad Request`,
401: `Unauthorized. The API Key is invalid or disabled.`,
403: `Forbidden. The API Key is not authorized to perform the operation.`,
409: `Conflict`,
429: `Rate limit exceeded`,
},
Expand Down

0 comments on commit 465caf2

Please sign in to comment.