@cstar.help/js 0.18.1 → 0.18.4

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { W as WebhookEventType, a as WebhookEventDataMap } from './webhookEvents-Lqpsj935.js';
2
- export { b as WEBHOOK_EVENT_CATALOG, c as WEBHOOK_EVENT_SAMPLES, d as WebhookEvent } from './webhookEvents-Lqpsj935.js';
3
- export { A as ApiErrorBody, C as CStarAuthenticationError, a as CStarConflictError, b as CStarError, c as CStarFeatureDisabledError, d as CStarNotFoundError, e as CStarPermissionError, f as CStarRateLimitError, h as CStarServerError, i as CStarValidationError, E as ErrorType } from './errors-bW8CwTn4.js';
1
+ import { W as WebhookEventType, a as WebhookEventDataMap } from './webhookEvents-YQer37My.js';
2
+ export { b as WEBHOOK_EVENT_CATALOG, c as WEBHOOK_EVENT_SAMPLES, d as WebhookEvent } from './webhookEvents-YQer37My.js';
3
+ export { A as ApiErrorBody, C as CStarAuthenticationError, a as CStarConflictError, b as CStarError, c as CStarFeatureDisabledError, d as CStarNotFoundError, e as CStarPermissionError, f as CStarRateLimitError, h as CStarServerError, i as CStarValidationError, E as ErrorType } from './errors-BnUUTVlT.js';
4
4
 
5
5
  /** Metadata: string key-value pairs. Max 50 keys, 40-char keys, 500-char values. */
6
6
  type Metadata = Record<string, string>;
@@ -151,7 +151,7 @@ declare class HttpClient {
151
151
  type EventSourceConstructor = new (url: string) => EventSource;
152
152
  /** Options for configuring the realtime connection. */
153
153
  interface RealtimeOptions {
154
- /** Event types to subscribe to (e.g., ['ticket.*', 'boss.*']). Omit for all. */
154
+ /** Event types to subscribe to, by exact name (e.g., ['ticket.created', 'message.created']). Omit for all. */
155
155
  types?: string[];
156
156
  /** Auto-reconnect on disconnect (default: true). */
157
157
  autoReconnect?: boolean;
@@ -671,13 +671,18 @@ declare class ArticlesResource extends BaseResource<Article, ArticleListParams,
671
671
 
672
672
  type WebhookEventData<T extends WebhookEventType> = WebhookEventDataMap[T];
673
673
 
674
+ /**
675
+ * What a webhook subscription can list: an event type, a resource wildcard
676
+ * such as `'ticket.*'` (every ticket event), or `'*'` (every event).
677
+ */
678
+ type WebhookEventPattern = WebhookEventType | `${string}.*` | '*';
674
679
  /** A cStar webhook endpoint. */
675
680
  interface Webhook {
676
681
  id: string;
677
682
  object: 'webhook';
678
683
  name: string;
679
684
  url: string;
680
- events: WebhookEventType[];
685
+ events: WebhookEventPattern[];
681
686
  isActive: boolean;
682
687
  isRestHooks: boolean;
683
688
  includeFullObjects: boolean;
@@ -710,7 +715,7 @@ interface WebhookListParams extends PaginationParams {
710
715
  interface WebhookCreateParams {
711
716
  name: string;
712
717
  url: string;
713
- events: WebhookEventType[];
718
+ events: WebhookEventPattern[];
714
719
  isRestHooks?: boolean;
715
720
  includeFullObjects?: boolean;
716
721
  flatPayload?: boolean;
@@ -720,7 +725,7 @@ interface WebhookCreateParams {
720
725
  interface WebhookUpdateParams {
721
726
  name?: string;
722
727
  url?: string;
723
- events?: WebhookEventType[];
728
+ events?: WebhookEventPattern[];
724
729
  isActive?: boolean;
725
730
  includeFullObjects?: boolean;
726
731
  flatPayload?: boolean;
@@ -772,6 +777,13 @@ interface WebhookTriggerTestResult {
772
777
  /** Manage webhook endpoints. */
773
778
  declare class WebhooksResource extends BaseResource<Webhook, WebhookListParams, WebhookCreateParams, WebhookUpdateParams> {
774
779
  constructor(client: HttpClient);
780
+ /**
781
+ * Create a webhook endpoint. Its answer carries the signing secret, so the
782
+ * API keeps it out of the Idempotency-Key cache: an `idempotencyKey` is
783
+ * not sent, and a network error or 5xx is not retried, since the webhook
784
+ * may already exist. List webhooks before creating it again.
785
+ */
786
+ create(params: WebhookCreateParams, _options?: RequestOptions): Promise<Webhook>;
775
787
  /** Send a test delivery to a webhook endpoint. */
776
788
  test(webhookId: string, params?: {
777
789
  event?: WebhookEventType;
@@ -784,8 +796,12 @@ declare class WebhooksResource extends BaseResource<Webhook, WebhookListParams,
784
796
  restSubscribe(params: WebhookSubscribeParams, options?: RequestOptions): Promise<ApiResponse<WebhookSubscription>>;
785
797
  /** Unsubscribe from an event (REST Hooks / Zapier protocol). Returns void (204 No Content). */
786
798
  unsubscribe(subscriptionId: string): Promise<void>;
787
- /** Register a CLI listener (returns listenerId and signing secret). */
788
- listen(params: WebhookListenerParams, options?: RequestOptions): Promise<ApiResponse<WebhookListener>>;
799
+ /**
800
+ * Register a CLI listener (returns listenerId and signing secret). The API
801
+ * ignores Idempotency-Key here (the answer is a secret), so an
802
+ * `idempotencyKey` is not sent and a network error or 5xx is not retried.
803
+ */
804
+ listen(params: WebhookListenerParams, _options?: RequestOptions): Promise<ApiResponse<WebhookListener>>;
789
805
  /** Deregister a CLI listener. */
790
806
  unlisten(listenerId: string): Promise<ApiResponse<{
791
807
  deleted: true;
@@ -1075,7 +1091,14 @@ interface CommunityComment {
1075
1091
  /** Query parameters for listing community posts. */
1076
1092
  interface CommunityPostListParams {
1077
1093
  topicId?: string;
1078
- status?: string;
1094
+ /** Topic slug, as `communityTopics.list()` returns it. */
1095
+ topic?: string;
1096
+ status?: CommunityPost['status'];
1097
+ pinned?: boolean;
1098
+ /** true for posts locked to new comments. */
1099
+ locked?: boolean;
1100
+ /** Text in the title or body (any case). */
1101
+ search?: string;
1079
1102
  sort?: 'recent' | 'votes' | 'comments';
1080
1103
  page?: number;
1081
1104
  pageSize?: number;
@@ -1262,16 +1285,44 @@ declare class MembersResource {
1262
1285
  del(memberId: string): Promise<ApiResponse<DeleteResponse>>;
1263
1286
  }
1264
1287
 
1265
- /** Team settings object. */
1288
+ /** One option in a settings list (a status, priority, sentiment or category). */
1289
+ interface SettingsOption {
1290
+ key: string;
1291
+ label: string;
1292
+ color?: string;
1293
+ icon?: string;
1294
+ [key: string]: unknown;
1295
+ }
1296
+ /** Team settings: the option lists the dashboard uses. */
1266
1297
  interface TeamSettings {
1267
1298
  object: 'settings';
1268
- teamName: string;
1269
- teamSlug: string;
1270
- [key: string]: unknown;
1299
+ ticketStatuses: SettingsOption[];
1300
+ customerStatuses: SettingsOption[];
1301
+ articleStatuses: SettingsOption[];
1302
+ priorities: SettingsOption[];
1303
+ sentiments: SettingsOption[];
1304
+ articleCategories: SettingsOption[];
1305
+ ticketTags: unknown[];
1306
+ customerTags: unknown[];
1307
+ articleTags: unknown[];
1308
+ quickReplies: QuickReply[];
1309
+ updatedAt: string;
1271
1310
  }
1272
- /** Parameters for updating team settings. */
1311
+ /**
1312
+ * Parameters for updating team settings. Each list sent replaces the saved
1313
+ * one, so include every option you keep.
1314
+ */
1273
1315
  interface TeamSettingsUpdateParams {
1274
- [key: string]: unknown;
1316
+ ticketStatuses?: SettingsOption[];
1317
+ customerStatuses?: SettingsOption[];
1318
+ articleStatuses?: SettingsOption[];
1319
+ priorities?: SettingsOption[];
1320
+ sentiments?: SettingsOption[];
1321
+ articleCategories?: SettingsOption[];
1322
+ ticketTags?: unknown[];
1323
+ customerTags?: unknown[];
1324
+ articleTags?: unknown[];
1325
+ quickReplies?: QuickReply[];
1275
1326
  }
1276
1327
  /** A ticket status configuration. */
1277
1328
  interface TicketStatus {
@@ -1288,11 +1339,17 @@ interface StatusCreateParams {
1288
1339
  key: string;
1289
1340
  label: string;
1290
1341
  color?: string;
1342
+ /** A known icon name. */
1343
+ icon?: string;
1344
+ /** Whether tickets in this status pause SLA timers. */
1345
+ pausesSLA?: boolean;
1291
1346
  }
1292
1347
  /** Parameters for updating a status. */
1293
1348
  interface StatusUpdateParams {
1294
1349
  label?: string;
1295
1350
  color?: string;
1351
+ icon?: string;
1352
+ pausesSLA?: boolean;
1296
1353
  }
1297
1354
  /** A quick reply template. */
1298
1355
  interface QuickReply {
@@ -1649,6 +1706,11 @@ interface AttachmentGetParams {
1649
1706
  /** Defaults to `email-attachments` on the server. */
1650
1707
  bucket?: AttachmentBucket;
1651
1708
  }
1709
+ /** Parameters for deleting a file. Chat widget uploads (`attachments`) can't be deleted here. */
1710
+ interface AttachmentDeleteParams {
1711
+ /** Defaults to `email-attachments` on the server. */
1712
+ bucket?: Exclude<AttachmentBucket, 'attachments'>;
1713
+ }
1652
1714
  /** A signed download URL from `attachments.get()`. A bearer link until it expires. */
1653
1715
  interface AttachmentDownloadUrl {
1654
1716
  url: string;
@@ -1667,8 +1729,11 @@ declare class AttachmentsResource {
1667
1729
  * file. Pass `storagePath` and `bucket` from `list()`.
1668
1730
  */
1669
1731
  get(storagePath: string, params?: AttachmentGetParams): Promise<AttachmentDownloadUrl>;
1670
- /** Delete an attachment. */
1671
- del(attachmentId: string): Promise<ApiResponse<DeleteResponse>>;
1732
+ /**
1733
+ * Delete a stored file. Pass `storagePath` and `bucket` from `list()`, as
1734
+ * for `get()`. A path with no file in that bucket is a 404.
1735
+ */
1736
+ del(storagePath: string, params?: AttachmentDeleteParams): Promise<ApiResponse<DeleteResponse>>;
1672
1737
  }
1673
1738
 
1674
1739
  /** Record type a custom field belongs to. */
@@ -2034,8 +2099,21 @@ interface ImportCreateParams {
2034
2099
  * Records to import. Flat objects with the per-entity fields you want
2035
2100
  * to set, e.g. `[{ name: 'Jane', email: 'jane@example.com' }]` for
2036
2101
  * `resource: 'customers'`. Each record is treated as a create. Server
2037
- * also accepts the wrapped internal shape `{ data, action, existingId? }`
2038
- * if you need to drive updates from the SDK.
2102
+ * also accepts the wrapped internal shape `{ data, action, existingId?, importKey? }`
2103
+ * if you need to drive updates from the SDK. A created ticket or article
2104
+ * with an `importKey` is created once per team and mode: sending the same
2105
+ * key again is skipped and counted in `alreadyImported`. Make a key unique
2106
+ * to one record in one source system and account, for example zendesk:acme:1001
2107
+ * (a bare id like 1001 is in every account). A key that already names
2108
+ * another record fails that row instead of writing onto the record. Anyone
2109
+ * who can read a record can read its key, so put nothing private in a key.
2110
+ * A key made only from a row's content would make the same row in a later
2111
+ * file look already imported, so a key for a row with no id should also
2112
+ * name its file (a hash of the whole file). An edited file is a new file then: send
2113
+ * the records it already imported as updates (`action: 'update'` with
2114
+ * `existingId`). A record that names `action`
2115
+ * or `existingId` is read as wrapped, so its fields must be in `data`
2116
+ * (otherwise HTTP 400 naming the record).
2039
2117
  *
2040
2118
  * Ticket imports include details only, without conversation messages,
2041
2119
  * private notes or attachments. Ticket create/update records with nonempty
@@ -2052,7 +2130,12 @@ interface ImportCreateParams {
2052
2130
  * read is named in `warnings`.
2053
2131
  */
2054
2132
  records: Record<string, unknown>[];
2055
- /** How to handle duplicates. Defaults to `'overwrite'`. */
2133
+ /**
2134
+ * What a customer row does when the team already has a customer with its
2135
+ * email: `'skip'` (the default) leaves that customer alone and reports the
2136
+ * row in `warnings`, `'overwrite'` updates it, `'merge'` fills only its
2137
+ * empty fields. A row repeating an earlier row's email is skipped.
2138
+ */
2056
2139
  mergeStrategy?: 'skip' | 'overwrite' | 'merge';
2057
2140
  }
2058
2141
  /** Import result. */
@@ -2078,6 +2161,13 @@ interface ImportResult {
2078
2161
  rowIndex: number;
2079
2162
  id: string;
2080
2163
  }>;
2164
+ /** Rows whose `importKey` was already used (an earlier import): skipped, not created twice. */
2165
+ alreadyImported: number;
2166
+ /** Those rows: the 1-based row number and the prefixed id of the record they already made. */
2167
+ existingIds: Array<{
2168
+ rowIndex: number;
2169
+ id: string;
2170
+ }>;
2081
2171
  }
2082
2172
  /** Import log entry. */
2083
2173
  interface ImportLog {
@@ -2107,7 +2197,11 @@ interface ImportLogListParams extends PaginationParams {
2107
2197
  resource?: 'tickets' | 'customers' | 'articles';
2108
2198
  }
2109
2199
 
2110
- /** Export data from your team. */
2200
+ /**
2201
+ * Export data from your team. The API ignores Idempotency-Key on exports, so
2202
+ * `options.idempotencyKey` is accepted but not sent, and an export that
2203
+ * fails with a network error or 5xx is not retried.
2204
+ */
2111
2205
  declare class ExportResource {
2112
2206
  private readonly client;
2113
2207
  constructor(client: HttpClient);
@@ -2130,28 +2224,32 @@ declare class ImportResource {
2130
2224
  getLog(logId: string): Promise<ApiResponse<ImportLog>>;
2131
2225
  }
2132
2226
 
2133
- /** An audit log entry. */
2227
+ /** One API request made with the team's keys, in the key's mode. */
2134
2228
  interface AuditLogEntry {
2135
2229
  id: string;
2136
- object: 'audit_log_entry';
2137
- action: string;
2138
- resourceType: string;
2139
- resourceId: string | null;
2140
- actorId: string | null;
2141
- actorName: string | null;
2142
- actorType: string;
2143
- details: Record<string, unknown>;
2230
+ object: 'audit_entry';
2231
+ method: string;
2232
+ endpoint: string;
2233
+ statusCode: number;
2234
+ responseTimeMs: number;
2235
+ requestId: string | null;
2236
+ /** The key that made the request; null when it never resolved (a 401). */
2237
+ apiKeyId: string | null;
2144
2238
  ipAddress: string | null;
2145
- createdAt: string;
2239
+ userAgent: string | null;
2240
+ isTest: boolean;
2241
+ timestamp: string;
2146
2242
  }
2147
- /** Parameters for listing audit log entries. */
2243
+ /** Parameters for listing audit log entries. Any other filter is a 400. */
2148
2244
  interface AuditLogListParams extends PaginationParams {
2149
- action?: string;
2150
- resourceType?: string;
2151
- resourceId?: string;
2152
- actorId?: string;
2153
- startDate?: string;
2154
- endDate?: string;
2245
+ /** GET, HEAD, POST, PATCH, PUT or DELETE. */
2246
+ method?: string;
2247
+ /** A status code like `404` or a class like `4xx`. */
2248
+ status?: string;
2249
+ /** Time window back from now, like `30m`, `24h` (the default) or `7d`. */
2250
+ since?: string;
2251
+ /** Only requests made with this key. */
2252
+ apiKeyId?: string;
2155
2253
  }
2156
2254
 
2157
2255
  /** Access the audit log. */
@@ -2308,7 +2406,8 @@ interface CustomerGroupCreateParams {
2308
2406
  /** Parameters for updating a customer group. */
2309
2407
  interface CustomerGroupUpdateParams {
2310
2408
  name?: string;
2311
- description?: string;
2409
+ /** An empty string or null clears it. */
2410
+ description?: string | null;
2312
2411
  filters?: Record<string, unknown>;
2313
2412
  }
2314
2413
  /** Parameters for listing group members. */
@@ -2319,24 +2418,18 @@ interface CustomerGroupAddMembersParams {
2319
2418
  customerId?: string;
2320
2419
  customerIds?: string[];
2321
2420
  }
2322
- /** Group members list result. */
2323
- interface CustomerGroupMembersResult {
2324
- data: Array<{
2325
- id: string;
2326
- object: 'customer';
2327
- name: string | null;
2328
- email: string | null;
2329
- sentiment: string;
2330
- tags: string[];
2331
- joinedGroupAt: string;
2332
- }>;
2333
- pagination: {
2334
- total: number;
2335
- page: number;
2336
- pageSize: number;
2337
- hasMore: boolean;
2338
- };
2421
+ /** A customer in a group, as the members list returns it. */
2422
+ interface CustomerGroupMember {
2423
+ id: string;
2424
+ object: 'customer';
2425
+ name: string | null;
2426
+ email: string | null;
2427
+ sentiment: string;
2428
+ tags: string[];
2429
+ joinedGroupAt: string;
2339
2430
  }
2431
+ /** Group members list result: the standard list (`data`, `pagination`, `hasMore`). */
2432
+ type CustomerGroupMembersResult = ListResponse<CustomerGroupMember>;
2340
2433
  /** Result of adding members to a group. */
2341
2434
  interface CustomerGroupAddResult {
2342
2435
  added: number;
@@ -2447,10 +2540,11 @@ interface BossSpawnParams {
2447
2540
  }
2448
2541
  /** Parameters for dealing boss damage. */
2449
2542
  interface BossDamageParams {
2450
- /** A closed customer ticket (widget, email or API). Each ticket hits once. */
2543
+ /** A closed customer ticket (widget, email or API): its `tkt_` id or uuid. Each ticket hits once. */
2451
2544
  ticketId: string;
2452
- /** Defaults to the API key's creator. */
2545
+ /** Defaults to the API key's user. If sent, it must be that user (403 otherwise). */
2453
2546
  userId?: string;
2547
+ /** @deprecated Ignored: the battle log shows the member's own name. */
2454
2548
  userName?: string;
2455
2549
  }
2456
2550
  /** Leaderboard entry. */
@@ -2546,7 +2640,8 @@ interface PuzzleCompleteParams {
2546
2640
  puzzleId: string;
2547
2641
  timeSeconds: number;
2548
2642
  mistakes?: number;
2549
- isWon?: boolean;
2643
+ /** Whether the puzzle was solved. Required: a loss (false) pays no XP and isn't ranked. */
2644
+ isWon: boolean;
2550
2645
  }
2551
2646
  /** Puzzle completion result. */
2552
2647
  interface PuzzleCompleteResult {
@@ -2856,7 +2951,10 @@ declare class GameActivityResource {
2856
2951
  data: unknown[];
2857
2952
  cursor: string | null;
2858
2953
  }>>;
2859
- /** Get activity for a specific member. */
2954
+ /**
2955
+ * Get activity for a specific member. `memberId` is the player's user id:
2956
+ * the `memberId` game responses return, and `userId` on `members.list()`.
2957
+ */
2860
2958
  forMember(memberId: string, params?: {
2861
2959
  limit?: number;
2862
2960
  }): Promise<ApiResponse<{
@@ -2960,7 +3058,14 @@ declare class SkillsResource {
2960
3058
  userId: string;
2961
3059
  }, options?: RequestOptions): Promise<ApiResponse<SkillTree>>;
2962
3060
  }
2963
- /** Access all gamification features. */
3061
+ /**
3062
+ * Access all gamification features.
3063
+ *
3064
+ * Game state is live only: every write (boss damage and spawn, 1-Ups, high
3065
+ * fives, skills, cosmetics, puzzle completions) refuses a test key with
3066
+ * `400 parameter_invalid`, thrown as `CStarValidationError`. Reads work with
3067
+ * either key.
3068
+ */
2964
3069
  declare class GameResource {
2965
3070
  private readonly client;
2966
3071
  /** Boss battles. */
@@ -2988,7 +3093,10 @@ declare class GameResource {
2988
3093
  player(params?: {
2989
3094
  userId?: string;
2990
3095
  }): Promise<ApiResponse<Player>>;
2991
- /** Get a specific player's stats by membership ID. */
3096
+ /**
3097
+ * Get a specific player's stats. `memberId` is the player's user id: the
3098
+ * `memberId` game responses return, and `userId` on `members.list()`.
3099
+ */
2992
3100
  getPlayer(memberId: string): Promise<ApiResponse<Player>>;
2993
3101
  /**
2994
3102
  * Get the team leaderboard. Returns the unwrapped envelope from the
@@ -3127,6 +3235,12 @@ interface Subscription {
3127
3235
  pausedReason: 'trial_ended' | 'no_trial' | 'payment_failed' | 'canceled' | 'payment_required' | null;
3128
3236
  /** When the team and its data are deleted (the whole named UTC day is safe), or null. */
3129
3237
  scheduledDeletionAt: string | null;
3238
+ /**
3239
+ * When the subscription ends because the owner canceled it in the billing
3240
+ * portal (it runs until then, and won't renew); null when it renews or
3241
+ * isn't running.
3242
+ */
3243
+ subscriptionCancelAt: string | null;
3130
3244
  /** Paid seats: every member, with up to 3 spectators free (minimum 1). */
3131
3245
  seatCount: number;
3132
3246
  /** Human members on the team (AI agents are free and not counted). */
@@ -3259,6 +3373,13 @@ interface CStarClientConfig {
3259
3373
  timeout?: number;
3260
3374
  /** Enable offline queue — queues mutations when network fails, auto-flushes on reconnect. */
3261
3375
  offline?: boolean | OfflineQueueOptions;
3376
+ /**
3377
+ * Options for `cstar.realtime`: `types` scopes the stream at the server
3378
+ * (exact names such as `['ticket.created', 'message.created']`), `eventSource` passes a polyfill for runtimes
3379
+ * without a global `EventSource`, plus `autoReconnect` and `maxRetries`
3380
+ * for reconnects (separate from the HTTP `maxRetries` above).
3381
+ */
3382
+ realtime?: RealtimeOptions;
3262
3383
  }
3263
3384
  /**
3264
3385
  * The cStar admin API client. **Server-side only.**
@@ -3401,4 +3522,4 @@ declare class CStarClient {
3401
3522
  get lastMeta(): LastMeta;
3402
3523
  }
3403
3524
 
3404
- export { type Achievement, type AchievementListParams, type ActivityEvent, type ActivityListParams, type AiAction, type AiActionParams, type AiActionResult, type AnalyticsOverview, type AnalyticsParams, type ApiResponse, type Article, type ArticleCreateParams, type ArticleListParams, type ArticleUpdateParams, type Attachment, type AttachmentBucket, type AttachmentDownloadUrl, type AttachmentGetParams, type AttachmentListParams, type AuditLogEntry, type AuditLogListParams, type AutomationAction, type AutomationCondition, type AutomationConditions, type AutomationCreateParams, type AutomationExecution, type AutomationExecutionListParams, type AutomationListParams, type AutomationRule, type AutomationTestResult, type AutomationUpdateParams, type BillingPortal, type BillingPortalParams, type Boss, type BossDamageParams, type BossDamageResult, type BossDefeat, type BossDefeatListParams, type BossSpawnParams, type BulkDeleteParams, type BulkResult, type BulkUpdateParams, type BusinessHours, type BusinessHoursUpdateParams, CStarClient, type CStarClientConfig, CStarRealtime, type Category, type CategoryCreateParams, type CategoryListParams, type CategoryUpdateParams, type CommunityComment, type CommunityCommentCreateParams, type CommunityPost, type CommunityPostCreateParams, type CommunityPostListParams, type CommunityPostUpdateParams, type CommunityTopic, type ConnectionHandler, type Cosmetic, type CosmeticListParams, type CosmeticPreferences, type CsatSettings, type CsatSettingsUpdateParams, type CsatStats, type CsatSurvey, type CsatSurveyCreateParams, type CsatSurveyListParams, type CurrentSeason, type CustomField, type CustomFieldContentType, type CustomFieldCreateParams, type CustomFieldListParams, type CustomFieldType, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerGroup, type CustomerGroupAddMembersParams, type CustomerGroupAddResult, type CustomerGroupCreateParams, type CustomerGroupListParams, type CustomerGroupMemberListParams, type CustomerGroupMembersResult, type CustomerGroupRemoveResult, type CustomerGroupUpdateParams, type CustomerListParams, type CustomerUpdateParams, type DeleteResponse, type ErrorHandler, type EventHandler, type ExportCreateParams, type ExportCsvParams, type ExportFilters, type ExportJsonParams, type ExportResourceType, type ExportResult, type GameConfig, type HighFive, type HighFiveCanSend, type HighFiveCreateParams, type HighFiveListParams, type ImportCreateParams, type ImportLog, type ImportLogListParams, type ImportResult, type Invite, type InviteCreateParams, type InviteListParams, type LeaderboardEntry, type LeaderboardParams, type ListResponse, type Member, type MemberListParams, type MemberUpdateParams, type Mention, type MentionListParams, type MentionUnreadCount, type Message, type MessageCreateParams, type MessageListParams, type Metadata, type Notification, type NotificationListParams, OfflineQueue, type OfflineQueueOptions, type OneUp, type OneUpCreateParams, type OneUpListParams, type OneUpRemaining, type OneUpSendResult, type PaginationInfo, type PaginationParams, type Player, type Puzzle, type PuzzleCompleteParams, type PuzzleCompleteResult, type PuzzleLeaderboardParams, type PuzzleLeaderboardResult, type PuzzleStreak, type Quest, type QuestHistory, type QuestHistoryParams, type QuestList, type QueueItem, type QueueResult, type QuickReply, type QuickReplyCreateParams, type QuickReplyUpdateParams, type RealtimeEvent, type RealtimeOptions, type RequestOptions, type SavedView, type SearchParams, type SearchResponse, type SearchResult, type Season, type SeasonStats, type SkillAllocateParams, type SkillAllocateResult, type SkillTree, type SlaMetrics, type SlaMetricsParams, type SlaRule, type SlaRuleCreateParams, type SlaRuleUpdateParams, type StatusCreateParams, type StatusUpdateParams, Subscription$1 as Subscription, type Tag, type TagEntity, type TagListParams, type TagMergeParams, type TagMergeResult, type TagRemoveResult, type TeamSettings, type TeamSettingsUpdateParams, type Ticket, type TicketCreateParams, type TicketCustomFieldValues, type TicketCustomerSummary, type TicketListParams, type TicketPriorityKey, type TicketSeedMessage, type TicketStatus, type TicketStatusKey, type TicketUpdateParams, type TopicCustomField, type UnreadCount, type ViewCreateParams, type ViewExecuteParams, type ViewListParams, type ViewUpdateParams, type Webhook, type WebhookCreateParams, type WebhookEventData, WebhookEventType, type WebhookListParams, type WebhookListener, type WebhookListenerParams, type WebhookSubscribeParams, type WebhookSubscription, type WebhookTestResult, type WebhookTriggerTestParams, type WebhookTriggerTestResult, type WebhookUpdateParams, type WidgetEntrance, type WidgetEntranceCustom, type WidgetEntranceEffect, type WidgetEntranceKeyframe, type WidgetEntranceParticles, type WidgetSettings, type WidgetSettingsUpdateParams };
3525
+ export { type Achievement, type AchievementListParams, type ActivityEvent, type ActivityListParams, type AiAction, type AiActionParams, type AiActionResult, type AnalyticsOverview, type AnalyticsParams, type ApiResponse, type Article, type ArticleCreateParams, type ArticleListParams, type ArticleUpdateParams, type Attachment, type AttachmentBucket, type AttachmentDeleteParams, type AttachmentDownloadUrl, type AttachmentGetParams, type AttachmentListParams, type AuditLogEntry, type AuditLogListParams, type AutomationAction, type AutomationCondition, type AutomationConditions, type AutomationCreateParams, type AutomationExecution, type AutomationExecutionListParams, type AutomationListParams, type AutomationRule, type AutomationTestResult, type AutomationUpdateParams, type BillingPortal, type BillingPortalParams, type Boss, type BossDamageParams, type BossDamageResult, type BossDefeat, type BossDefeatListParams, type BossSpawnParams, type BulkDeleteParams, type BulkResult, type BulkUpdateParams, type BusinessHours, type BusinessHoursUpdateParams, CStarClient, type CStarClientConfig, CStarRealtime, type Category, type CategoryCreateParams, type CategoryListParams, type CategoryUpdateParams, type CommunityComment, type CommunityCommentCreateParams, type CommunityPost, type CommunityPostCreateParams, type CommunityPostListParams, type CommunityPostUpdateParams, type CommunityTopic, type ConnectionHandler, type Cosmetic, type CosmeticListParams, type CosmeticPreferences, type CsatSettings, type CsatSettingsUpdateParams, type CsatStats, type CsatSurvey, type CsatSurveyCreateParams, type CsatSurveyListParams, type CurrentSeason, type CustomField, type CustomFieldContentType, type CustomFieldCreateParams, type CustomFieldListParams, type CustomFieldType, type CustomFieldUpdateParams, type Customer, type CustomerCreateParams, type CustomerGroup, type CustomerGroupAddMembersParams, type CustomerGroupAddResult, type CustomerGroupCreateParams, type CustomerGroupListParams, type CustomerGroupMember, type CustomerGroupMemberListParams, type CustomerGroupMembersResult, type CustomerGroupRemoveResult, type CustomerGroupUpdateParams, type CustomerListParams, type CustomerUpdateParams, type DeleteResponse, type ErrorHandler, type EventHandler, type ExportCreateParams, type ExportCsvParams, type ExportFilters, type ExportJsonParams, type ExportResourceType, type ExportResult, type GameConfig, type HighFive, type HighFiveCanSend, type HighFiveCreateParams, type HighFiveListParams, type ImportCreateParams, type ImportLog, type ImportLogListParams, type ImportResult, type Invite, type InviteCreateParams, type InviteListParams, type LeaderboardEntry, type LeaderboardParams, type ListResponse, type Member, type MemberListParams, type MemberUpdateParams, type Mention, type MentionListParams, type MentionUnreadCount, type Message, type MessageCreateParams, type MessageListParams, type Metadata, type Notification, type NotificationListParams, OfflineQueue, type OfflineQueueOptions, type OneUp, type OneUpCreateParams, type OneUpListParams, type OneUpRemaining, type OneUpSendResult, type PaginationInfo, type PaginationParams, type Player, type Puzzle, type PuzzleCompleteParams, type PuzzleCompleteResult, type PuzzleLeaderboardParams, type PuzzleLeaderboardResult, type PuzzleStreak, type Quest, type QuestHistory, type QuestHistoryParams, type QuestList, type QueueItem, type QueueResult, type QuickReply, type QuickReplyCreateParams, type QuickReplyUpdateParams, type RealtimeEvent, type RealtimeOptions, type RequestOptions, type SavedView, type SearchParams, type SearchResponse, type SearchResult, type Season, type SeasonStats, type SettingsOption, type SkillAllocateParams, type SkillAllocateResult, type SkillTree, type SlaMetrics, type SlaMetricsParams, type SlaRule, type SlaRuleCreateParams, type SlaRuleUpdateParams, type StatusCreateParams, type StatusUpdateParams, Subscription$1 as Subscription, type Tag, type TagEntity, type TagListParams, type TagMergeParams, type TagMergeResult, type TagRemoveResult, type TeamSettings, type TeamSettingsUpdateParams, type Ticket, type TicketCreateParams, type TicketCustomFieldValues, type TicketCustomerSummary, type TicketListParams, type TicketPriorityKey, type TicketSeedMessage, type TicketStatus, type TicketStatusKey, type TicketUpdateParams, type TopicCustomField, type UnreadCount, type ViewCreateParams, type ViewExecuteParams, type ViewListParams, type ViewUpdateParams, type Webhook, type WebhookCreateParams, type WebhookEventData, type WebhookEventPattern, WebhookEventType, type WebhookListParams, type WebhookListener, type WebhookListenerParams, type WebhookSubscribeParams, type WebhookSubscription, type WebhookTestResult, type WebhookTriggerTestParams, type WebhookTriggerTestResult, type WebhookUpdateParams, type WidgetEntrance, type WidgetEntranceCustom, type WidgetEntranceEffect, type WidgetEntranceKeyframe, type WidgetEntranceParticles, type WidgetSettings, type WidgetSettingsUpdateParams };