Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.0"
".": "0.10.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-26d0931f3488af784c16303683cbf24225c727615fd32ee071144974e7c59670.yml
openapi_spec_hash: 242a5f4d982645a25e0d66ef088940a5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-cd8e042a9746bbe9bd180614fccc7597b85f4e8f6a29da6cd2f4cbf831fb2fbe.yml
openapi_spec_hash: e27c0d9cd8cdeb348c88e6c4e8777e39
config_hash: 5509bb7a961ae2e79114b24c381606d4
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.10.0 (2026-08-02)

Full Changelog: [v0.9.0...v0.10.0](https://github.com/CASParser/cas-parser-php/compare/v0.9.0...v0.10.0)

### Features

* **api:** api update ([cdcfee7](https://github.com/CASParser/cas-parser-php/commit/cdcfee727b8e2ffa4274d982f2c7b9fcdf0bf2d7))

## 0.9.0 (2026-07-26)

Full Changelog: [v0.8.0...v0.9.0](https://github.com/CASParser/cas-parser-php/compare/v0.8.0...v0.9.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* advisor?: string|null,
* amfi?: string|null,
* closeUnits?: float|null,
* isDemat?: bool|null,
* openUnits?: float|null,
* rtaCode?: string|null,
* }
Expand Down Expand Up @@ -42,6 +43,12 @@ final class AdditionalInfo implements BaseModel
#[Optional('close_units', nullable: true)]
public ?float $closeUnits;

/**
* Whether the scheme is held in demat form (CAMS/KFintech). true = Demat, false = Non-Demat, null = not specified.
*/
#[Optional('is_demat', nullable: true)]
public ?bool $isDemat;

/**
* Opening balance units for the statement period.
*/
Expand All @@ -68,6 +75,7 @@ public static function with(
?string $advisor = null,
?string $amfi = null,
?float $closeUnits = null,
?bool $isDemat = null,
?float $openUnits = null,
?string $rtaCode = null,
): self {
Expand All @@ -76,6 +84,7 @@ public static function with(
null !== $advisor && $self['advisor'] = $advisor;
null !== $amfi && $self['amfi'] = $amfi;
null !== $closeUnits && $self['closeUnits'] = $closeUnits;
null !== $isDemat && $self['isDemat'] = $isDemat;
null !== $openUnits && $self['openUnits'] = $openUnits;
null !== $rtaCode && $self['rtaCode'] = $rtaCode;

Expand Down Expand Up @@ -115,6 +124,17 @@ public function withCloseUnits(?float $closeUnits): self
return $self;
}

/**
* Whether the scheme is held in demat form (CAMS/KFintech). true = Demat, false = Non-Demat, null = not specified.
*/
public function withIsDemat(?bool $isDemat): self
{
$self = clone $this;
$self['isDemat'] = $isDemat;

return $self;
}

/**
* Opening balance units for the statement period.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace CasParser;

// x-release-please-start-version
const VERSION = '0.9.0';
const VERSION = '0.10.0';
// x-release-please-end