@nangohq/node 0.36.8 → 0.36.10

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -108,6 +108,7 @@ export interface SyncConfig extends Timestamps {
108
108
  export interface Action extends Timestamps {
109
109
  name: string;
110
110
  }
111
+ type SyncType = 'INCREMENTAL' | 'INITIAL';
111
112
  export interface Integration {
112
113
  unique_key: string;
113
114
  provider: string;
@@ -116,6 +117,9 @@ export interface Integration {
116
117
  }
117
118
  export interface SyncStatus {
118
119
  id: string;
120
+ type: SyncType;
121
+ finishedAt: string;
122
+ nextScheduledSyncAt: string;
119
123
  name: string;
120
124
  status: 'RUNNING' | 'SUCCESS' | 'ERROR' | 'PAUSED' | 'STOPPED';
121
125
  latestResult: Record<string, StatusAction>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/node",
3
- "version": "0.36.8",
3
+ "version": "0.36.10",
4
4
  "description": "Nango's Node client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",