@nangohq/node 0.17.5-beta → 0.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,2 +1,50 @@
1
- import { Nango, NangoSync, NangoHelper, HubspotModels } from '@nangohq/shared';
2
- export { Nango, NangoSync, NangoHelper, HubspotModels };
1
+ import type { ProxyConfiguration } from './types';
2
+ export declare class Nango {
3
+ serverUrl: string;
4
+ secretKey: string;
5
+ constructor(config?: {
6
+ host?: string;
7
+ secretKey?: string;
8
+ });
9
+ /**
10
+ * For OAuth 2: returns the access token directly as a string.
11
+ * For OAuth 2: If you want to obtain a new refresh token from the provider before the current token has expired,
12
+ * you can set the forceRefresh argument to true."
13
+ * For OAuth 1: returns an object with 'oAuthToken' and 'oAuthTokenSecret' fields.
14
+ * @param providerConfigKey - This is the unique Config Key for the integration
15
+ * @param connectionId - This is the unique connection identifier used to identify this connection
16
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
17
+ * you can set the forceRefresh argument to true.
18
+ * */
19
+ getToken(providerConfigKey: string, connectionId: string, forceRefresh?: boolean): Promise<any>;
20
+ /**
21
+ * Get the full (fresh) credentials payload returned by the external API,
22
+ * which also contains access credentials.
23
+ * @param providerConfigKey - This is the unique Config Key for the integration
24
+ * @param connectionId - This is the unique connection identifier used to identify this connection
25
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
26
+ * you can set the forceRefresh argument to true.
27
+ * */
28
+ getRawTokenResponse(providerConfigKey: string, connectionId: string, forceRefresh?: boolean): Promise<any>;
29
+ /**
30
+ * Get the Connection object, which also contains access credentials and full credentials payload
31
+ * returned by the external API.
32
+ * @param providerConfigKey - This is the unique Config Key for the integration
33
+ * @param connectionId - This is the unique connection identifier used to identify this connection
34
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
35
+ * you can set the forceRefresh argument to true.
36
+ */
37
+ getConnection(providerConfigKey: string, connectionId: string, forceRefresh?: boolean): Promise<any>;
38
+ proxy(config: ProxyConfiguration): Promise<import("axios").AxiosResponse<any, any>>;
39
+ get(config: ProxyConfiguration): Promise<import("axios").AxiosResponse<any, any>>;
40
+ post(config: ProxyConfiguration): Promise<import("axios").AxiosResponse<any, any>>;
41
+ patch(config: ProxyConfiguration): Promise<import("axios").AxiosResponse<any, any>>;
42
+ delete(config: ProxyConfiguration): Promise<import("axios").AxiosResponse<any, any>>;
43
+ private getConnectionDetails;
44
+ /**
45
+ * Get the list of Connections, which does not contain access credentials.
46
+ */
47
+ listConnections(connectionId?: string): Promise<any>;
48
+ private listConnectionDetails;
49
+ private enrichHeaders;
50
+ }
package/dist/index.js CHANGED
@@ -1,3 +1,168 @@
1
- import { Nango, NangoSync, NangoHelper, HubspotModels } from '@nangohq/shared';
2
- export { Nango, NangoSync, NangoHelper, HubspotModels };
1
+ import axios from 'axios';
2
+ import { validateProxyConfiguration } from './utils.js';
3
+ const prodHost = 'https://api.nango.dev';
4
+ const stagingHost = 'https://api-staging.nango.dev';
5
+ export class Nango {
6
+ serverUrl;
7
+ secretKey;
8
+ constructor(config = {}) {
9
+ config.host = config.host || prodHost;
10
+ this.serverUrl = config.host;
11
+ if (this.serverUrl.slice(-1) === '/') {
12
+ this.serverUrl = this.serverUrl.slice(0, -1);
13
+ }
14
+ try {
15
+ new URL(this.serverUrl);
16
+ }
17
+ catch (err) {
18
+ throw new Error(`Invalid URL provided for the Nango host: ${this.serverUrl}`);
19
+ }
20
+ this.secretKey = config.secretKey || '';
21
+ }
22
+ /**
23
+ * For OAuth 2: returns the access token directly as a string.
24
+ * For OAuth 2: If you want to obtain a new refresh token from the provider before the current token has expired,
25
+ * you can set the forceRefresh argument to true."
26
+ * For OAuth 1: returns an object with 'oAuthToken' and 'oAuthTokenSecret' fields.
27
+ * @param providerConfigKey - This is the unique Config Key for the integration
28
+ * @param connectionId - This is the unique connection identifier used to identify this connection
29
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
30
+ * you can set the forceRefresh argument to true.
31
+ * */
32
+ async getToken(providerConfigKey, connectionId, forceRefresh) {
33
+ let response = await this.getConnectionDetails(providerConfigKey, connectionId, forceRefresh);
34
+ switch (response.data.credentials.type) {
35
+ case 'OAUTH2':
36
+ return response.data.credentials.access_token;
37
+ case 'OAUTH1':
38
+ return { oAuthToken: response.data.credentials.oauth_token, oAuthTokenSecret: response.data.credentials.oauth_token_secret };
39
+ default:
40
+ throw new Error(`Unrecognized OAuth type '${response.data.credentials.type}' in stored credentials.`);
41
+ }
42
+ }
43
+ /**
44
+ * Get the full (fresh) credentials payload returned by the external API,
45
+ * which also contains access credentials.
46
+ * @param providerConfigKey - This is the unique Config Key for the integration
47
+ * @param connectionId - This is the unique connection identifier used to identify this connection
48
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
49
+ * you can set the forceRefresh argument to true.
50
+ * */
51
+ async getRawTokenResponse(providerConfigKey, connectionId, forceRefresh) {
52
+ let response = await this.getConnectionDetails(providerConfigKey, connectionId, forceRefresh);
53
+ return response.data.credentials.raw;
54
+ }
55
+ /**
56
+ * Get the Connection object, which also contains access credentials and full credentials payload
57
+ * returned by the external API.
58
+ * @param providerConfigKey - This is the unique Config Key for the integration
59
+ * @param connectionId - This is the unique connection identifier used to identify this connection
60
+ * @param [forceRefresh] - When set, this is used to obtain a new refresh token from the provider before the current token has expired,
61
+ * you can set the forceRefresh argument to true.
62
+ */
63
+ async getConnection(providerConfigKey, connectionId, forceRefresh) {
64
+ let response = await this.getConnectionDetails(providerConfigKey, connectionId, forceRefresh);
65
+ return response.data;
66
+ }
67
+ async proxy(config) {
68
+ validateProxyConfiguration(config);
69
+ const { providerConfigKey, connectionId, method, retries, headers: customHeaders } = config;
70
+ const url = `${this.serverUrl}/proxy/${config.endpoint}`;
71
+ const headers = {
72
+ 'Connection-Id': connectionId,
73
+ 'Provider-Config-Key': providerConfigKey,
74
+ ...customHeaders
75
+ };
76
+ if (retries) {
77
+ headers['Retries'] = retries;
78
+ }
79
+ const options = {
80
+ headers: this.enrichHeaders(headers)
81
+ };
82
+ if (config.params) {
83
+ options.params = config.params;
84
+ }
85
+ if (config.paramsSerializer) {
86
+ options.paramsSerializer = config.paramsSerializer;
87
+ }
88
+ if (method?.toUpperCase() === 'POST') {
89
+ return axios.post(url, config.data, options);
90
+ }
91
+ else if (method?.toUpperCase() === 'PATCH') {
92
+ return axios.patch(url, config.data, options);
93
+ }
94
+ else if (method?.toUpperCase() === 'PUT') {
95
+ return axios.put(url, config.data, options);
96
+ }
97
+ else if (method?.toUpperCase() === 'DELETE') {
98
+ return axios.delete(url, options);
99
+ }
100
+ else {
101
+ return axios.get(url, options);
102
+ }
103
+ }
104
+ async get(config) {
105
+ return this.proxy({
106
+ ...config,
107
+ method: 'GET'
108
+ });
109
+ }
110
+ async post(config) {
111
+ return this.proxy({
112
+ ...config,
113
+ method: 'POST'
114
+ });
115
+ }
116
+ async patch(config) {
117
+ return this.proxy({
118
+ ...config,
119
+ method: 'PATCH'
120
+ });
121
+ }
122
+ async delete(config) {
123
+ return this.proxy({
124
+ ...config,
125
+ method: 'DELETE'
126
+ });
127
+ }
128
+ async getConnectionDetails(providerConfigKey, connectionId, forceRefresh = false) {
129
+ let url = `${this.serverUrl}/connection/${connectionId}`;
130
+ let headers = {
131
+ 'Content-Type': 'application/json',
132
+ 'Accept-Encoding': 'application/json'
133
+ };
134
+ let params = {
135
+ provider_config_key: providerConfigKey,
136
+ force_refresh: forceRefresh
137
+ };
138
+ return axios.get(url, { params: params, headers: this.enrichHeaders(headers) });
139
+ }
140
+ /**
141
+ * Get the list of Connections, which does not contain access credentials.
142
+ */
143
+ async listConnections(connectionId) {
144
+ let response = await this.listConnectionDetails(connectionId);
145
+ return response.data;
146
+ }
147
+ async listConnectionDetails(connectionId) {
148
+ let url = `${this.serverUrl}/connection?`;
149
+ if (connectionId) {
150
+ url = url.concat(`connectionId=${connectionId}`);
151
+ }
152
+ let headers = {
153
+ 'Content-Type': 'application/json',
154
+ 'Accept-Encoding': 'application/json'
155
+ };
156
+ return axios.get(url, { headers: this.enrichHeaders(headers) });
157
+ }
158
+ enrichHeaders(headers = {}) {
159
+ if (this.serverUrl === prodHost || this.serverUrl === stagingHost) {
160
+ headers['Authorization'] = 'Bearer ' + this.secretKey;
161
+ }
162
+ else if (this.secretKey) {
163
+ headers['Authorization'] = 'Basic ' + Buffer.from(this.secretKey + ':').toString('base64');
164
+ }
165
+ return headers;
166
+ }
167
+ }
3
168
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/E,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAIxD,MAAM,QAAQ,GAAG,uBAAuB,CAAC;AACzC,MAAM,WAAW,GAAG,+BAA+B,CAAC;AAEpD,MAAM,OAAO,KAAK;IACd,SAAS,CAAS;IAClB,SAAS,CAAS;IAElB,YAAY,SAAgD,EAAE;QAC1D,MAAM,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,IAAI,QAAQ,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC;QAE7B,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;YAClC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,E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.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { ParamsSerializerOptions } from 'axios';
1
2
  export interface ProxyConfiguration {
2
3
  [key: string]: any;
3
4
  endpoint: string;
@@ -6,22 +7,7 @@ export interface ProxyConfiguration {
6
7
  method?: 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' | 'get' | 'post' | 'patch' | 'put' | 'delete';
7
8
  headers?: Record<string, string>;
8
9
  params?: string | Record<string, string>;
9
- paramsSerializer?: {
10
- encode?: (param: string) => string;
11
- serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions) => void;
12
- indexes?: boolean;
13
- };
10
+ paramsSerializer?: ParamsSerializerOptions;
14
11
  data?: unknown;
15
12
  retries?: number;
16
13
  }
17
- interface ParamsSerializerOptions {
18
- encode?: ParamEncoder;
19
- serialize?: CustomParamsSerializer;
20
- }
21
- interface ParamEncoder {
22
- (value: any, defaultEncoder: (value: any) => any): any;
23
- }
24
- interface CustomParamsSerializer {
25
- (params: Record<string, any>, options?: ParamsSerializerOptions): string;
26
- }
27
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/node",
3
- "version": "0.17.5-beta",
3
+ "version": "0.17.5",
4
4
  "description": "Nango's Node client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,6 @@
13
13
  },
14
14
  "license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY",
15
15
  "dependencies": {
16
- "@nangohq/shared": "^0.17.17",
17
16
  "axios": "^1.2.0"
18
17
  },
19
18
  "engines": {
package/dist/sync.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import type { Nango } from './index.js';
2
- export declare abstract class NangoSync {
3
- abstract fetchData(nango: Nango): Promise<any>;
4
- abstract postData(nango: Nango): Promise<any>;
5
- abstract patchData(nango: Nango): Promise<any>;
6
- abstract putData(nango: Nango): Promise<any>;
7
- abstract deleteData(nango: Nango): Promise<any>;
8
- }
9
- export default NangoSync;
package/dist/sync.js DELETED
@@ -1,4 +0,0 @@
1
- export class NangoSync {
2
- }
3
- export default NangoSync;
4
- //# sourceMappingURL=sync.js.map
package/dist/sync.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync.js","sourceRoot":"","sources":["../lib/sync.ts"],"names":[],"mappings":"AAEA,MAAM,OAAgB,SAAS;CAM9B;AAED,eAAe,SAAS,CAAC"}