24 lines
723 B
JavaScript
24 lines
723 B
JavaScript
// 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',
|
|
}),
|
|
});
|