-
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.
* Update generated code for v1268 * Update generated code for v1279 * Update generated code for v1314 * Update generated code for v1317 * Update generated code for v1318 * Update generated code for v1318 * Update generated code for v1319 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
- Loading branch information
1 parent
768206d
commit 8698096
Showing
75 changed files
with
3,198 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v1268 | ||
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.