@nangohq/node 0.36.8 → 0.36.9
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/types.d.ts +4 -0
- 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>;
|