This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const spawn = require('cross-spawn'); | |
| const readline = require('readline').createInterface({ | |
| input: process.stdin, | |
| output: process.stdout, | |
| }); | |
| const getNetsuiteDomain = require('./rest.js'); | |
| /** | |
| * @param {Config} config The configuration object |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const nconf = require('nconf'); | |
| const fetch = require('node-fetch'); | |
| const NETSUITE_REST_ROLES_SERVICE_URLS = { | |
| production: 'https://rest.netsuite.com/rest/roles', | |
| sandbox: 'https://rest.sandbox.netsuite.com/rest/roles', | |
| beta: 'https://rest.beta.netsuite.com/rest/roles', | |
| eu: 'https://rest.eu1.netsuite.com/rest/roles', | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Security.Cryptography; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Web; | |
| namespace OAuth { | |
| public class OAuthBase { | |
| /// <summary> |