@nangohq/node 0.57.3 → 0.57.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.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +2 -28
- package/dist/types.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -44,7 +44,7 @@ var import_node_https = __toESM(require("https"), 1);
|
|
|
44
44
|
var import_os = __toESM(require("os"), 1);
|
|
45
45
|
|
|
46
46
|
// lib/version.ts
|
|
47
|
-
var NANGO_VERSION = "0.57.
|
|
47
|
+
var NANGO_VERSION = "0.57.5";
|
|
48
48
|
|
|
49
49
|
// lib/utils.ts
|
|
50
50
|
var validateProxyConfiguration = (config) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AxiosInstance, AxiosResponse, InternalAxiosRequestConfig } from 'axios';
|
|
2
2
|
import type { ApiKeyCredentials, AppCredentials, OAuth1Token, AppStoreCredentials, BasicApiCredentials, CustomCredentials, OAuth2ClientCredentials, TbaCredentials, TableauCredentials, UnauthCredentials, BillCredentials, GetPublicProviders, GetPublicProvider, GetPublicListIntegrationsLegacy, GetPublicIntegration, PostConnectSessions, JwtCredentials, TwoStepCredentials, GetPublicConnections, SignatureCredentials, PostPublicConnectSessionsReconnect, GetPublicConnection, NangoRecord, PostSyncVariant, DeleteSyncVariant } from '@nangohq/types';
|
|
3
|
-
import type { CreateConnectionOAuth1, CreateConnectionOAuth2, Integration, IntegrationWithCreds, ListRecordsRequestConfig, Metadata, MetadataChangeResponse, NangoProps, ProxyConfiguration,
|
|
3
|
+
import type { CreateConnectionOAuth1, CreateConnectionOAuth2, Integration, IntegrationWithCreds, ListRecordsRequestConfig, Metadata, MetadataChangeResponse, StandardNangoConfig, NangoProps, ProxyConfiguration, SyncStatusResponse, UpdateSyncFrequencyResponse } from './types.js';
|
|
4
4
|
export declare const prodHost = "https://api.nango.dev";
|
|
5
5
|
export * from './types.js';
|
|
6
6
|
export { getUserAgent } from './utils.js';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody, AuthOperation, AuthOperationType, AuthModeType, AuthModes, HTTP_METHOD, NangoSyncEndpointV2, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, TbaCredentials, RecordMetadata, RecordLastAction, NangoRecord, JwtCredentials, TwoStepCredentials, CredentialsCommon, TableauCredentials, BillCredentials, GetPublicProviders, GetPublicProvider, GetPublicListIntegrations, GetPublicListIntegrationsLegacy, GetPublicIntegration, GetPublicConnections, GetPublicConnection, PostConnectSessions, PostPublicConnectSessionsReconnect, GetPublicRecords, UserProvidedProxyConfiguration } from '@nangohq/types';
|
|
1
|
+
import type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody, AuthOperation, AuthOperationType, AuthModeType, AuthModes, HTTP_METHOD, NangoSyncEndpointV2, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, TbaCredentials, RecordMetadata, RecordLastAction, NangoRecord, JwtCredentials, TwoStepCredentials, CredentialsCommon, TableauCredentials, BillCredentials, GetPublicProviders, GetPublicProvider, GetPublicListIntegrations, GetPublicListIntegrationsLegacy, GetPublicIntegration, GetPublicConnections, GetPublicConnection, PostConnectSessions, PostPublicConnectSessionsReconnect, GetPublicRecords, UserProvidedProxyConfiguration, StandardNangoConfig, NangoSyncConfig } from '@nangohq/types';
|
|
2
2
|
export type { NangoSyncWebhookBodySuccess, NangoSyncWebhookBodyError, NangoSyncWebhookBody, NangoAuthWebhookBodySuccess, NangoAuthWebhookBodyError, NangoAuthWebhookBody, NangoWebhookBody };
|
|
3
3
|
export type { AuthOperation, AuthOperationType, AuthModeType, AuthModes, AllAuthCredentials, OAuth1Token, OAuth1Credentials, OAuth2Credentials, OAuth2ClientCredentials, BasicApiCredentials, ApiKeyCredentials, AppCredentials, AppStoreCredentials, UnauthCredentials, CustomCredentials, CredentialsCommon, TableauCredentials, BillCredentials, TbaCredentials, JwtCredentials, TwoStepCredentials };
|
|
4
4
|
export type { HTTP_METHOD, NangoSyncEndpointV2 };
|
|
5
5
|
export type { RecordMetadata, RecordLastAction, NangoRecord };
|
|
6
6
|
export type { GetPublicProviders, GetPublicProvider, GetPublicListIntegrations, GetPublicListIntegrationsLegacy, GetPublicIntegration, GetPublicConnections, GetPublicConnection, PostConnectSessions, PostPublicConnectSessionsReconnect, GetPublicRecords };
|
|
7
|
+
export type { StandardNangoConfig, NangoSyncConfig };
|
|
7
8
|
export interface NangoProps {
|
|
8
9
|
host?: string;
|
|
9
10
|
secretKey: string;
|
|
@@ -104,13 +105,6 @@ export interface SyncStatusResponse {
|
|
|
104
105
|
export interface UpdateSyncFrequencyResponse {
|
|
105
106
|
frequency: string;
|
|
106
107
|
}
|
|
107
|
-
export interface StandardNangoConfig {
|
|
108
|
-
providerConfigKey: string;
|
|
109
|
-
provider?: string;
|
|
110
|
-
syncs: NangoSyncConfig[];
|
|
111
|
-
actions: NangoSyncConfig[];
|
|
112
|
-
postConnectionScripts?: string[];
|
|
113
|
-
}
|
|
114
108
|
export declare enum SyncConfigType {
|
|
115
109
|
SYNC = "sync",
|
|
116
110
|
ACTION = "action"
|
|
@@ -124,26 +118,6 @@ export interface NangoSyncModel {
|
|
|
124
118
|
description?: string;
|
|
125
119
|
fields: NangoSyncModelField[];
|
|
126
120
|
}
|
|
127
|
-
export interface NangoSyncConfig {
|
|
128
|
-
name: string;
|
|
129
|
-
type?: SyncConfigType;
|
|
130
|
-
runs: string;
|
|
131
|
-
auto_start?: boolean;
|
|
132
|
-
attributes?: object;
|
|
133
|
-
description?: string;
|
|
134
|
-
scopes?: string[];
|
|
135
|
-
track_deletes?: boolean;
|
|
136
|
-
returns: string[];
|
|
137
|
-
models: NangoSyncModel[];
|
|
138
|
-
endpoints: NangoSyncEndpointV2[];
|
|
139
|
-
is_public?: boolean;
|
|
140
|
-
pre_built?: boolean;
|
|
141
|
-
version?: string | null;
|
|
142
|
-
last_deployed?: string | null;
|
|
143
|
-
input?: NangoSyncModel;
|
|
144
|
-
sync_type?: SyncType;
|
|
145
|
-
webhookSubscriptions?: string[];
|
|
146
|
-
}
|
|
147
121
|
export interface SyncResult {
|
|
148
122
|
added: number;
|
|
149
123
|
updated: number;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../lib/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../lib/types.ts"],"names":[],"mappings":"AA0NA,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,mCAAiB,CAAA;AACrB,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NANGO_VERSION = "0.57.
|
|
1
|
+
export declare const NANGO_VERSION = "0.57.5";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const NANGO_VERSION = '0.57.
|
|
1
|
+
export const NANGO_VERSION = '0.57.5';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nangohq/node",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.5",
|
|
4
4
|
"description": "Nango's Node client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE FILE IN GIT REPOSITORY",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@nangohq/types": "0.57.
|
|
28
|
+
"@nangohq/types": "0.57.5",
|
|
29
29
|
"axios": "^1.8.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|