Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
723 B
Text
23 lines
723 B
Text
// File generated from our OpenAPI spec
|
|
import { StripeResource } from '../../StripeResource.js';
|
|
const stripeMethod = StripeResource.method;
|
|
export const Orders = StripeResource.extend({
|
|
create: stripeMethod({ method: 'POST', fullPath: '/v1/climate/orders' }),
|
|
retrieve: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/climate/orders/{order}',
|
|
}),
|
|
update: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/climate/orders/{order}',
|
|
}),
|
|
list: stripeMethod({
|
|
method: 'GET',
|
|
fullPath: '/v1/climate/orders',
|
|
methodType: 'list',
|
|
}),
|
|
cancel: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/climate/orders/{order}/cancel',
|
|
}),
|
|
});
|