@stigg/typescript 0.1.0-beta.19 → 0.1.0-beta.20

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-beta.20 (2026-06-08)
4
+
5
+ Full Changelog: [v0.1.0-beta.19...v0.1.0-beta.20](https://github.com/stiggio/stigg-typescript/compare/v0.1.0-beta.19...v0.1.0-beta.20)
6
+
7
+ ### Features
8
+
9
+ * **api:** add connectionStatus and lastSyncStatus fields to destinations responses ([0913722](https://github.com/stiggio/stigg-typescript/commit/09137220f0a7aa541d1c6361a8b6bb5f40d61f72))
10
+
3
11
  ## 0.1.0-beta.19 (2026-06-07)
4
12
 
5
13
  Full Changelog: [v0.1.0-beta.18...v0.1.0-beta.19](https://github.com/stiggio/stigg-typescript/compare/v0.1.0-beta.18...v0.1.0-beta.19)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/typescript",
3
- "version": "0.1.0-beta.19",
3
+ "version": "0.1.0-beta.20",
4
4
  "description": "The official TypeScript library for the Stigg API",
5
5
  "author": "Stigg <>",
6
6
  "types": "./index.d.ts",
@@ -66,6 +66,45 @@ export declare namespace DestinationCreateResponse {
66
66
  * Destination type (snowflake, bigquery, ...)
67
67
  */
68
68
  type: string;
69
+ /**
70
+ * Connection status of the destination (connected, failed)
71
+ */
72
+ connectionStatus?: string;
73
+ /**
74
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
75
+ */
76
+ lastSyncStatus?: Destination.LastSyncStatus;
77
+ }
78
+ namespace Destination {
79
+ /**
80
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
81
+ */
82
+ interface LastSyncStatus {
83
+ /**
84
+ * ISO8601 timestamp of when the latest sync finished
85
+ */
86
+ finishedAt: string;
87
+ /**
88
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
89
+ */
90
+ status: string;
91
+ /**
92
+ * Provider transfer ID of the latest sync
93
+ */
94
+ transferId: string;
95
+ /**
96
+ * Party responsible for a failed sync, as reported by the data-export provider
97
+ */
98
+ blamedParty?: string;
99
+ /**
100
+ * Customer-friendly failure message, when the latest sync failed
101
+ */
102
+ failureMessage?: string;
103
+ /**
104
+ * Number of rows transferred in the latest sync
105
+ */
106
+ rowsTransferred?: number;
107
+ }
69
108
  }
70
109
  }
71
110
  }
@@ -105,6 +144,45 @@ export declare namespace DestinationDeleteResponse {
105
144
  * Destination type (snowflake, bigquery, ...)
106
145
  */
107
146
  type: string;
147
+ /**
148
+ * Connection status of the destination (connected, failed)
149
+ */
150
+ connectionStatus?: string;
151
+ /**
152
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
153
+ */
154
+ lastSyncStatus?: Destination.LastSyncStatus;
155
+ }
156
+ namespace Destination {
157
+ /**
158
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
159
+ */
160
+ interface LastSyncStatus {
161
+ /**
162
+ * ISO8601 timestamp of when the latest sync finished
163
+ */
164
+ finishedAt: string;
165
+ /**
166
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
167
+ */
168
+ status: string;
169
+ /**
170
+ * Provider transfer ID of the latest sync
171
+ */
172
+ transferId: string;
173
+ /**
174
+ * Party responsible for a failed sync, as reported by the data-export provider
175
+ */
176
+ blamedParty?: string;
177
+ /**
178
+ * Customer-friendly failure message, when the latest sync failed
179
+ */
180
+ failureMessage?: string;
181
+ /**
182
+ * Number of rows transferred in the latest sync
183
+ */
184
+ rowsTransferred?: number;
185
+ }
108
186
  }
109
187
  }
110
188
  }
@@ -1 +1 @@
1
- {"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/events/data-export/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCA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IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
1
+ {"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../../../../src/resources/v1/events/data-export/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;;;;;;;;;OAUG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAG/F;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC;CACtC;AAED,yBAAiB,yBAAyB,CAAC;IACzC;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACvC;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,WAAW;YAC1B;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,aAAa,EAAE,MAAM,CAAC;YAEtB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,gBAAgB,CAAC,EAAE,MAAM,CA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AAC;gBAErB;;mBAEG;gBACH,cAAc,CAAC,EAAE,MAAM,CAAC;gBAExB;;mBAEG;gBACH,eAAe,CAAC,EAAE,MAAM,CAAC;aAC1B;SACF;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -66,6 +66,45 @@ export declare namespace DestinationCreateResponse {
66
66
  * Destination type (snowflake, bigquery, ...)
67
67
  */
68
68
  type: string;
69
+ /**
70
+ * Connection status of the destination (connected, failed)
71
+ */
72
+ connectionStatus?: string;
73
+ /**
74
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
75
+ */
76
+ lastSyncStatus?: Destination.LastSyncStatus;
77
+ }
78
+ namespace Destination {
79
+ /**
80
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
81
+ */
82
+ interface LastSyncStatus {
83
+ /**
84
+ * ISO8601 timestamp of when the latest sync finished
85
+ */
86
+ finishedAt: string;
87
+ /**
88
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
89
+ */
90
+ status: string;
91
+ /**
92
+ * Provider transfer ID of the latest sync
93
+ */
94
+ transferId: string;
95
+ /**
96
+ * Party responsible for a failed sync, as reported by the data-export provider
97
+ */
98
+ blamedParty?: string;
99
+ /**
100
+ * Customer-friendly failure message, when the latest sync failed
101
+ */
102
+ failureMessage?: string;
103
+ /**
104
+ * Number of rows transferred in the latest sync
105
+ */
106
+ rowsTransferred?: number;
107
+ }
69
108
  }
70
109
  }
71
110
  }
@@ -105,6 +144,45 @@ export declare namespace DestinationDeleteResponse {
105
144
  * Destination type (snowflake, bigquery, ...)
106
145
  */
107
146
  type: string;
147
+ /**
148
+ * Connection status of the destination (connected, failed)
149
+ */
150
+ connectionStatus?: string;
151
+ /**
152
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
153
+ */
154
+ lastSyncStatus?: Destination.LastSyncStatus;
155
+ }
156
+ namespace Destination {
157
+ /**
158
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
159
+ */
160
+ interface LastSyncStatus {
161
+ /**
162
+ * ISO8601 timestamp of when the latest sync finished
163
+ */
164
+ finishedAt: string;
165
+ /**
166
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
167
+ */
168
+ status: string;
169
+ /**
170
+ * Provider transfer ID of the latest sync
171
+ */
172
+ transferId: string;
173
+ /**
174
+ * Party responsible for a failed sync, as reported by the data-export provider
175
+ */
176
+ blamedParty?: string;
177
+ /**
178
+ * Customer-friendly failure message, when the latest sync failed
179
+ */
180
+ failureMessage?: string;
181
+ /**
182
+ * Number of rows transferred in the latest sync
183
+ */
184
+ rowsTransferred?: number;
185
+ }
108
186
  }
109
187
  }
110
188
  }
@@ -1 +1 @@
1
- {"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/events/data-export/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;;;;;;;;;OAUG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAG/F;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC;CACtC;AAED,yBAAiB,yBAAyB,CAAC;IACzC;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACvC;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,WAAW;YAC1B;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,aAAa,EAAE,MAAM,CAAC;YAEtB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC;CACtC;AAED,yBAAiB,yBAAyB,CAAC;IACzC;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KACvC;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,WAAW;YAC1B;;eAEG;YACH,WAAW,EAAE,MAAM,CAAC;YAEpB;;eAEG;YACH,aAAa,EAAE,MAAM,CAAC;YAEtB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
1
+ {"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../../../../src/resources/v1/events/data-export/destinations.ts"],"names":[],"mappings":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AAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -80,6 +80,53 @@ export namespace DestinationCreateResponse {
80
80
  * Destination type (snowflake, bigquery, ...)
81
81
  */
82
82
  type: string;
83
+
84
+ /**
85
+ * Connection status of the destination (connected, failed)
86
+ */
87
+ connectionStatus?: string;
88
+
89
+ /**
90
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
91
+ */
92
+ lastSyncStatus?: Destination.LastSyncStatus;
93
+ }
94
+
95
+ export namespace Destination {
96
+ /**
97
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
98
+ */
99
+ export interface LastSyncStatus {
100
+ /**
101
+ * ISO8601 timestamp of when the latest sync finished
102
+ */
103
+ finishedAt: string;
104
+
105
+ /**
106
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
107
+ */
108
+ status: string;
109
+
110
+ /**
111
+ * Provider transfer ID of the latest sync
112
+ */
113
+ transferId: string;
114
+
115
+ /**
116
+ * Party responsible for a failed sync, as reported by the data-export provider
117
+ */
118
+ blamedParty?: string;
119
+
120
+ /**
121
+ * Customer-friendly failure message, when the latest sync failed
122
+ */
123
+ failureMessage?: string;
124
+
125
+ /**
126
+ * Number of rows transferred in the latest sync
127
+ */
128
+ rowsTransferred?: number;
129
+ }
83
130
  }
84
131
  }
85
132
  }
@@ -124,6 +171,53 @@ export namespace DestinationDeleteResponse {
124
171
  * Destination type (snowflake, bigquery, ...)
125
172
  */
126
173
  type: string;
174
+
175
+ /**
176
+ * Connection status of the destination (connected, failed)
177
+ */
178
+ connectionStatus?: string;
179
+
180
+ /**
181
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
182
+ */
183
+ lastSyncStatus?: Destination.LastSyncStatus;
184
+ }
185
+
186
+ export namespace Destination {
187
+ /**
188
+ * Latest sync snapshot for the destination, refreshed by the provider webhook
189
+ */
190
+ export interface LastSyncStatus {
191
+ /**
192
+ * ISO8601 timestamp of when the latest sync finished
193
+ */
194
+ finishedAt: string;
195
+
196
+ /**
197
+ * Sync status (PENDING, RUNNING, INCOMPLETE, FAILED, SUCCEEDED, CANCELLED)
198
+ */
199
+ status: string;
200
+
201
+ /**
202
+ * Provider transfer ID of the latest sync
203
+ */
204
+ transferId: string;
205
+
206
+ /**
207
+ * Party responsible for a failed sync, as reported by the data-export provider
208
+ */
209
+ blamedParty?: string;
210
+
211
+ /**
212
+ * Customer-friendly failure message, when the latest sync failed
213
+ */
214
+ failureMessage?: string;
215
+
216
+ /**
217
+ * Number of rows transferred in the latest sync
218
+ */
219
+ rowsTransferred?: number;
220
+ }
127
221
  }
128
222
  }
129
223
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-beta.19'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.20'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.19";
1
+ export declare const VERSION = "0.1.0-beta.20";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.19";
1
+ export declare const VERSION = "0.1.0-beta.20";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-beta.19'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-beta.20'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-beta.19'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.20'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map