Skip to content

Commit ba4d459

Browse files
feat(api): api update
1 parent 3943f32 commit ba4d459

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9dec0094dc893c97344611be679e9ba11d0e4405538c4ac163633b48b4d3755d.yml
3-
openapi_spec_hash: 00bca190205d5763c023911b5f013db3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c4cfc1e3f7a08dfe8be37b73f7da951caaff66d967512d5dd15956b908cda488.yml
3+
openapi_spec_hash: 458dc62dd9bc06b1a103e010feca1d9f
44
config_hash: 27e44ed36b9c5617b580ead7231a594a

src/Exports/ExportCreateParams/BalanceCsv.php

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* @phpstan-import-type CreatedAtShape from \Increase\Exports\ExportCreateParams\BalanceCsv\CreatedAt
1616
*
1717
* @phpstan-type BalanceCsvShape = array{
18-
* accountID?: string|null,
19-
* createdAt?: null|CreatedAt|CreatedAtShape,
20-
* programID?: string|null,
18+
* accountID?: string|null, createdAt?: null|CreatedAt|CreatedAtShape
2119
* }
2220
*/
2321
final class BalanceCsv implements BaseModel
@@ -37,12 +35,6 @@ final class BalanceCsv implements BaseModel
3735
#[Optional('created_at')]
3836
public ?CreatedAt $createdAt;
3937

40-
/**
41-
* Filter exported Balances to the specified Program.
42-
*/
43-
#[Optional('program_id')]
44-
public ?string $programID;
45-
4638
public function __construct()
4739
{
4840
$this->initialize();
@@ -57,14 +49,12 @@ public function __construct()
5749
*/
5850
public static function with(
5951
?string $accountID = null,
60-
CreatedAt|array|null $createdAt = null,
61-
?string $programID = null,
52+
CreatedAt|array|null $createdAt = null
6253
): self {
6354
$self = new self;
6455

6556
null !== $accountID && $self['accountID'] = $accountID;
6657
null !== $createdAt && $self['createdAt'] = $createdAt;
67-
null !== $programID && $self['programID'] = $programID;
6858

6959
return $self;
7060
}
@@ -92,15 +82,4 @@ public function withCreatedAt(CreatedAt|array $createdAt): self
9282

9383
return $self;
9484
}
95-
96-
/**
97-
* Filter exported Balances to the specified Program.
98-
*/
99-
public function withProgramID(string $programID): self
100-
{
101-
$self = clone $this;
102-
$self['programID'] = $programID;
103-
104-
return $self;
105-
}
10685
}

tests/Services/ExportsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public function testCreateWithOptionalParams(): void
6666
'onOrAfter' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
6767
'onOrBefore' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
6868
],
69-
'programID' => 'program_id',
7069
],
7170
bookkeepingAccountBalanceCsv: [
7271
'bookkeepingAccountID' => 'bookkeeping_account_id',

0 commit comments

Comments
 (0)