forked from ehmad11/netsuite-rest
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrestlet-demo.js
32 lines (29 loc) · 886 Bytes
/
restlet-demo.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* @NAPIVersion 2.0
* @NScriptType Restlet
*/
/*
This file was generated via the
headintheclouds [typings-suitescript-2.0[(https://github.com/headintheclouddev/typings-suitescript-2.0) project.
It can be deployed as a restlet and will return a successful response to any GET request.
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
define(["N/log"], function (log_1) {
var exports = {};
Object.defineProperty(exports, "__esModule", { value: true });
exports.get = void 0;
log_1 = __importDefault(log_1);
var get = function (requestParams) {
log_1.default.debug({
title: 'GET Request',
details: requestParams,
});
return {
success: true,
};
};
exports.get = get;
return exports;
});