UNPKG

bc-node-sdk

Version:

BetterCommerce's NodeJS SDK encapsulates the base framework for all the Next.js applications.

25 lines (24 loc) 825 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RequestMethod = void 0; /** * Enum representing HTTP request methods. * * @enum {string} * @ordinal {string} POST - HTTP POST method. * @ordinal {string} GET - HTTP GET method. * @ordinal {string} HEAD - HTTP HEAD method. * @ordinal {string} PUT - HTTP PUT method. * @ordinal {string} PATCH - HTTP PATCH method. * @ordinal {string} DELETE - HTTP DELETE method. */ var RequestMethod; (function (RequestMethod) { RequestMethod["POST"] = "POST"; RequestMethod["GET"] = "GET"; RequestMethod["HEAD"] = "HEAD"; RequestMethod["PUT"] = "PUT"; RequestMethod["PATCH"] = "PATCH"; RequestMethod["DELETE"] = "DELETE"; })(RequestMethod = exports.RequestMethod || (exports.RequestMethod = {})); ;