-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2216 from stripe/latest-codegen-beta
Update generated code for beta
- Loading branch information
Showing
40 changed files
with
1,673 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1314 | ||
v1319 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
export const ApiVersion = '2024-09-30.acacia'; | ||
export const ApiVersion = '2024-10-28.acacia'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
import {StripeResource} from '../../StripeResource.js'; | ||
import {EventDestinations} from './Core/EventDestinations.js'; | ||
import {Events} from './Core/Events.js'; | ||
export const Core = StripeResource.extend({ | ||
constructor: function(...args: any) { | ||
StripeResource.apply(this, args); | ||
this.eventDestinations = new EventDestinations(...args); | ||
this.events = new Events(...args); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// File generated from our OpenAPI spec | ||
|
||
import {StripeResource} from '../../../StripeResource.js'; | ||
const stripeMethod = StripeResource.method; | ||
export const EventDestinations = StripeResource.extend({ | ||
create: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v2/core/event_destinations', | ||
}), | ||
retrieve: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v2/core/event_destinations/{id}', | ||
}), | ||
update: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v2/core/event_destinations/{id}', | ||
}), | ||
list: stripeMethod({ | ||
method: 'GET', | ||
fullPath: '/v2/core/event_destinations', | ||
methodType: 'list', | ||
}), | ||
del: stripeMethod({ | ||
method: 'DELETE', | ||
fullPath: '/v2/core/event_destinations/{id}', | ||
}), | ||
disable: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v2/core/event_destinations/{id}/disable', | ||
}), | ||
enable: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v2/core/event_destinations/{id}/enable', | ||
}), | ||
ping: stripeMethod({ | ||
method: 'POST', | ||
fullPath: '/v2/core/event_destinations/{id}/ping', | ||
}), | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.