16 lines
498 B
JavaScript
16 lines
498 B
JavaScript
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const Reviews = StripeResource.extend({
|
|
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/reviews/{review}' }),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/reviews',
|
|
methodType: 'list',
|
|
}),
|
|
approve: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/reviews/{review}/approve',
|
|
}),
|
|
});
|