@squidcloud/freshdesk-client 1.0.467 → 1.0.469
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.
|
@@ -194,6 +194,24 @@ export interface AddFreshdeskNoteRequest {
|
|
|
194
194
|
/** Whether this is a private note (default: true) */
|
|
195
195
|
private?: boolean;
|
|
196
196
|
}
|
|
197
|
+
/** Request to get the sync status of a Freshdesk integration */
|
|
198
|
+
export interface GetFreshdeskSyncStatusRequest {
|
|
199
|
+
/** The ID of the Freshdesk integration */
|
|
200
|
+
integrationId: IntegrationId;
|
|
201
|
+
}
|
|
202
|
+
/** Sync status for a Freshdesk integration */
|
|
203
|
+
export interface FreshdeskSyncStatus {
|
|
204
|
+
integrationId: string;
|
|
205
|
+
syncStatus: 'idle' | 'in_progress' | 'completed' | 'failed';
|
|
206
|
+
lastSync?: Date;
|
|
207
|
+
syncStartTime?: Date;
|
|
208
|
+
/** Number of tickets successfully synced in the current or most recent run */
|
|
209
|
+
itemsSyncedInCurrentRun: number;
|
|
210
|
+
/** Total tickets to sync in the current or most recent run (enables progress: synced/total) */
|
|
211
|
+
itemsTotalInCurrentRun: number;
|
|
212
|
+
/** Number of tickets currently in a failed state */
|
|
213
|
+
itemsFailedTotal: number;
|
|
214
|
+
}
|
|
197
215
|
/** Response from Freshdesk ticket operations */
|
|
198
216
|
export interface FreshdeskTicketResponse {
|
|
199
217
|
/** Ticket ID */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/freshdesk-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.469",
|
|
4
4
|
"description": "Squid Freshdesk Client - SDK for interacting with the Freshdesk connector",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/freshdesk-client/src/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"assertic": "^1.3.0",
|
|
26
|
-
"@squidcloud/client": "^1.0.
|
|
26
|
+
"@squidcloud/client": "^1.0.469"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">=20.0.0"
|