Module - netsuite.io.input

NetsuiteCredentials

Authentication credentials for connecting to the NetSuite API.

Example JSON:

{
    "account": "TSTDRV1762243",
    "consumer_key": "your_consumer_key",
    "consumer_secret": "your_consumer_secret",
    "token_id": "your_token_id",
    "token_secret": "your_token_secret"
}

type

object

properties

  • account

Account

NetSuite account ID.

type

string

examples

TSTDRV1762243

  • consumer_key

Consumer Key

OAuth consumer key used for authentication.

type

string

examples

your_consumer_key

  • consumer_secret

Consumer Secret

OAuth consumer secret used for authentication.

type

string

examples

your_consumer_secret

  • token_id

Token Id

OAuth token ID for authentication.

type

string

examples

your_token_id

  • token_secret

Token Secret

OAuth token secret for authentication.

type

string

examples

your_token_secret

NetsuiteFileCabinetDownloadConfig

Configuration settings for downloading files from the NetSuite File Cabinet.

This class extends NetsuiteCredentials, adding optional parameters for configuring API connection details.

Example JSON:

{
    "account": "TSTDRV1762243",
    "consumer_key": "your_consumer_key",
    "consumer_secret": "your_consumer_secret",
    "token_id": "your_token_id",
    "token_secret": "your_token_secret",
    "url": "https://api.netsuite.com"
}
Attributes:
url (str|None): Custom NetSuite API base URL. If not provided,

the default NetSuite URL will be used.

type

object

properties

  • account

Account

NetSuite account ID.

type

string

examples

TSTDRV1762243

  • consumer_key

Consumer Key

OAuth consumer key used for authentication.

type

string

examples

your_consumer_key

  • consumer_secret

Consumer Secret

OAuth consumer secret used for authentication.

type

string

examples

your_consumer_secret

  • token_id

Token Id

OAuth token ID for authentication.

type

string

examples

your_token_id

  • token_secret

Token Secret

OAuth token secret for authentication.

type

string

examples

your_token_secret

  • url

Url

Optional custom NetSuite API base URL.

type

string

examples

https://api.netsuite.com

NetsuiteFileCabinetDownload

Responsible for downloading the files, IO job is used.

Job example:

type

object

properties

  • credentials

Credentials

NetSuite API Config.

allOf

NetsuiteFileCabinetDownloadConfig

  • path

Path

File path pattern to match files in NetSuite File Cabinet.

The ‘path’ should be a valid regex pattern that identifies files to be downloaded from the cabinet.

Example: “/directory/^report_.*{last_month}_{last_month.year}.csv”

type

string

examples

/directory/^report_.*{last_month}_{last_month.year}.csv

/Google Drive Connect/test/1-sales.json

/Google Drive Connect/test/

  • destination_path

Destination Path

Destination path where the downloaded file(s) will be stored.

If set, the downloaded file(s) will be saved into this directory. If None, files will be saved in the system’s default data path.

Example: “output_folder_{year}_{month}_{day}/report.csv”

type

string

examples

output_folder_{year}_{month}_{day}/

output_folder_{year}_{month}_{day}/report.csv

output_folder_{year}_{month}_{day}/sub_folder/

definitions

  • NetsuiteFileCabinetDownloadConfig

NetsuiteFileCabinetDownloadConfig

Configuration settings for downloading files from the NetSuite File Cabinet.

This class extends NetsuiteCredentials, adding optional parameters for configuring API connection details.

Example JSON:

{
    "account": "TSTDRV1762243",
    "consumer_key": "your_consumer_key",
    "consumer_secret": "your_consumer_secret",
    "token_id": "your_token_id",
    "token_secret": "your_token_secret",
    "url": "https://api.netsuite.com"
}
Attributes:
url (str|None): Custom NetSuite API base URL. If not provided,

the default NetSuite URL will be used.

type

object

properties

  • account

Account

NetSuite account ID.

type

string

examples

TSTDRV1762243

  • consumer_key

Consumer Key

OAuth consumer key used for authentication.

type

string

examples

your_consumer_key

  • consumer_secret

Consumer Secret

OAuth consumer secret used for authentication.

type

string

examples

your_consumer_secret

  • token_id

Token Id

OAuth token ID for authentication.

type

string

examples

your_token_id

  • token_secret

Token Secret

OAuth token secret for authentication.

type

string

examples

your_token_secret

  • url

Url

Optional custom NetSuite API base URL.

type

string

examples

https://api.netsuite.com