Skip to content

rename AccountRequestAttachment to IndividualAccountAttachment#65

Open
rafaelcabral-stark wants to merge 1 commit into
masterfrom
fix/individual-account-attachment
Open

rename AccountRequestAttachment to IndividualAccountAttachment#65
rafaelcabral-stark wants to merge 1 commit into
masterfrom
fix/individual-account-attachment

Conversation

@rafaelcabral-stark

Copy link
Copy Markdown
Contributor
  • route changed from /account-request-attachment to /individual-account-attachment
  • change IndividualAccountRequest address field from string to object
  • add IndividualAccountAttachment delete method

- route changed from /account-request-attachment to /individual-account-attachment
- change IndividualAccountRequest address field from string to object
- add IndividualAccountAttachment delete method
@rafaelcabral-stark rafaelcabral-stark force-pushed the fix/individual-account-attachment branch from 5a96536 to 6e491bb Compare June 11, 2026 20:31
*
* Parameters (optional):
* @param address [string]: Address of the individual. ex: 'R. pamplona, 123'
* @param address [dictionary object]: Address of the individual. ex: {street: 'R. Pamplona', number: '123', neighborhood: 'Jardim Paulista', city: 'São Paulo', state: 'SP', zipCode: '01405030'}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

não deveria ser uma classe separada?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHP só nesse caso tá como um objeto direto também

]);
assert(typeof attachments[0].id == 'string');
let attachment = await starkinfra.individualAccountAttachment.delete(attachments[0].id);
assert(typeof attachment.id == 'string');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

acho que seria bom também validar o status retornado, para ver se está vindo como deleted

@raphaelvalerio-stark

Copy link
Copy Markdown
Contributor

só um detalhe, acho que faltou fazer o merge do bump, pq o changelog esta com a versao 0.18.0, porem outros arquivos ainda estao com 0.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants