UNPKG

stripe

Version:
19 lines (18 loc) 642 B
"use strict"; // File generated from our OpenAPI spec Object.defineProperty(exports, "__esModule", { value: true }); exports.Reviews = void 0; const StripeResource_js_1 = require("../StripeResource.js"); const stripeMethod = StripeResource_js_1.StripeResource.method; exports.Reviews = StripeResource_js_1.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', }), });