@squidcloud/freshdesk-client 1.0.492 → 1.0.494

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.
@@ -213,6 +213,30 @@ export interface FreshdeskSyncStatus {
213
213
  /** Number of tickets currently in a failed state */
214
214
  itemsFailedTotal: number;
215
215
  }
216
+ /** Request to list tickets that failed to sync for a Freshdesk integration, one page at a time. */
217
+ export interface GetFreshdeskSyncFailedItemsRequest {
218
+ /** The ID of the Freshdesk integration */
219
+ integrationId: IntegrationId;
220
+ /** Return items with an id greater than this (exclusive) — pass the previous page's `nextAfterId` to continue. */
221
+ afterId?: string;
222
+ /** Max items to return in this page. Defaults to 50, capped at 200. */
223
+ pageSize?: number;
224
+ }
225
+ /** A ticket that failed to sync */
226
+ export interface FreshdeskSyncFailedItem {
227
+ /** The Freshdesk ticket id */
228
+ id: string;
229
+ /** Ticket subject, when known */
230
+ title?: string;
231
+ /** Message describing the most recent failure */
232
+ error: string;
233
+ }
234
+ /** One page of tickets that failed to sync for a Freshdesk integration. */
235
+ export interface GetFreshdeskSyncFailedItemsResponse {
236
+ items: Array<FreshdeskSyncFailedItem>;
237
+ /** Pass as `afterId` to fetch the next page. Undefined when this is the last page. */
238
+ nextAfterId?: string;
239
+ }
216
240
  /** Response from Freshdesk ticket operations */
217
241
  export interface FreshdeskTicketResponse {
218
242
  /** Ticket ID */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/freshdesk-client",
3
- "version": "1.0.492",
3
+ "version": "1.0.494",
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.492"
26
+ "@squidcloud/client": "^1.0.494"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=20.0.0"