@shipengine/js-api
Advanced tools
| import { AxiosInstance } from "axios"; | ||
| import { Addon } from "./types"; | ||
| /** | ||
| * # Account Addons API module - /v1/account/addons | ||
| * @docs https://auctane.atlassian.net/wiki/spaces/SEEU/pages/6364332064/Add-ons+New+endpoints+definition | ||
| */ | ||
| export declare class AccountAddonsAPI { | ||
| private client; | ||
| constructor(client: AxiosInstance); | ||
| /** | ||
| * The `list` method retrieves a list of all available addons, also includes | ||
| * if its avaiable for the current user | ||
| */ | ||
| list: () => Promise<import("axios").AxiosResponse<Addon[], any>>; | ||
| } |
| export * from "./api"; | ||
| export * from "./types"; |
| export type AddonTypes = "ss_api_analytics"; | ||
| export type Addon = { | ||
| code: AddonTypes; | ||
| isActive: boolean; | ||
| isAvailableToConnect: boolean; | ||
| name: string; | ||
| }; |
+6
-0
| import { AxiosError, AxiosRequestHeaders } from "axios"; | ||
| import { AccountAddonsAPI } from "./account-addons"; | ||
| import { AccountBillingAPI } from "./account-billing"; | ||
@@ -109,2 +110,7 @@ import { AccountBillingPlanAPI } from "./account-billing-plan"; | ||
| /** | ||
| * The `accountAddons` method provides access to the Account Addons endpoints | ||
| * in ShipEngine API. | ||
| */ | ||
| get accountAddons(): AccountAddonsAPI; | ||
| /** | ||
| * The `accountBilling` method provides access to the Account Billing (Recurly) endpoints | ||
@@ -111,0 +117,0 @@ * in ShipEngine API. |
+1
-0
| export * as SE from "./types"; | ||
| export * from "./account-settings"; | ||
| export * from "./account-addons"; | ||
| export * from "./addresses"; | ||
@@ -4,0 +5,0 @@ export * from "./auctane-pay"; |
+1
-1
| { | ||
| "name": "@shipengine/js-api", | ||
| "version": "4.14.0", | ||
| "version": "4.15.0", | ||
| "main": "./index.js", | ||
@@ -5,0 +5,0 @@ "types": "./index.d.ts", |
+1
-0
@@ -5,2 +5,3 @@ export type RequiredFields<T, K extends keyof T> = T & Required<Pick<T, K>>; | ||
| export * from "./account-billing/types"; | ||
| export * from "./account-addons/types"; | ||
| export * from "./addresses/types"; | ||
@@ -7,0 +8,0 @@ export * from "./auctane-pay/types"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1595636
0.14%106
2.91%45259
0.16%