Skip to content

Commit 3bb4fc1

Browse files
fix(api): mark AppleWebPushProvisioningResponse fields required
1 parent 5940b21 commit 3bb4fc1

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-eeeb62a4869ba1436c9252f9630006a829695178e86305aea232f6be0d1e3d81.yml
3-
openapi_spec_hash: 25bf9c499cd22240949862e622c534f2
4-
config_hash: 2af43c32faa12490c9c9caa2ce62bccb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-d6e80e52c9f20d95780f2cf4869f80ee2c4b270ff9470941dc057e79d15bda1a.yml
3+
openapi_spec_hash: f2bb7084cd5225769302589cd1563241
4+
config_hash: 31d71922d7838f34ae0875c9b8026d99

src/resources/cards/cards.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,12 +792,12 @@ export namespace CardWebProvisionResponse {
792792
/**
793793
* JWS object required for handoff to Apple's script.
794794
*/
795-
jws?: AppleWebPushProvisioningResponse.Jws;
795+
jws: AppleWebPushProvisioningResponse.Jws;
796796

797797
/**
798798
* A unique identifier for the JWS object.
799799
*/
800-
state?: string;
800+
state: string;
801801
}
802802

803803
export namespace AppleWebPushProvisioningResponse {

src/resources/payments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ export namespace PaymentCreateParams {
618618
/**
619619
* Number of days to hold the ACH payment
620620
*/
621-
ach_hold__period?: number;
621+
ach_hold_period?: number;
622622

623623
addenda?: string | null;
624624
}

tests/api-resources/payments.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('resource payments', () => {
3434
method: 'ACH_NEXT_DAY',
3535
method_attributes: {
3636
sec_code: 'CCD',
37-
ach_hold__period: 0,
37+
ach_hold_period: 0,
3838
addenda: 'addenda',
3939
},
4040
type: 'COLLECTION',

0 commit comments

Comments
 (0)