@sippulse/niva-sdk 0.2.0 → 0.3.0

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.
@@ -1195,7 +1195,7 @@ export interface ArchiveListDeletedOutput {
1195
1195
  *
1196
1196
  * Lists archived (soft-deleted) items in a paginated envelope, newest deletion first. Without `entity_type` it lists every type the organization can see; with it, only that type (403 MODULE_DISABLED when the type's module is off).
1197
1197
  */
1198
- export type ArchiveListDeletedErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1198
+ export type ArchiveListDeletedErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "ATTENDANT_LIMIT_REACHED" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1199
1199
  /**
1200
1200
  * archive.purge input.
1201
1201
  *
@@ -1224,11 +1224,11 @@ export interface ArchivePurgeOutput {
1224
1224
  *
1225
1225
  * Permanently purges an archived item; this is irreversible. Requires the `archive:purge` permission. Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item does not exist and 409 ARCHIVE_ITEM_IN_USE when the item is still referenced by calls or other records.
1226
1226
  */
1227
- export type ArchivePurgeErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1227
+ export type ArchivePurgeErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "ATTENDANT_LIMIT_REACHED" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1228
1228
  /**
1229
1229
  * archive.restore input.
1230
1230
  *
1231
- * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1231
+ * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring an attendant is refused with 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license no longer allows another one. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1232
1232
  */
1233
1233
  export interface ArchiveRestoreInput {
1234
1234
  /**
@@ -1243,7 +1243,7 @@ export interface ArchiveRestoreInput {
1243
1243
  /**
1244
1244
  * archive.restore output.
1245
1245
  *
1246
- * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1246
+ * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring an attendant is refused with 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license no longer allows another one. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1247
1247
  */
1248
1248
  export interface ArchiveRestoreOutput {
1249
1249
  deleted_at: string | null;
@@ -1253,9 +1253,9 @@ export interface ArchiveRestoreOutput {
1253
1253
  /**
1254
1254
  * archive.restore error codes.
1255
1255
  *
1256
- * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1256
+ * Restores a soft-deleted item back to active use. Requires the target entity's own delete permission (e.g. `visual_plan:delete`) and, for API-key callers, the `archive:write` scope — a read-only key is rejected with 403 INSUFFICIENT_SCOPE. Restoring an attendant is refused with 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license no longer allows another one. Restoring a role also requires being able to grant every permission it carries (403 PERMISSION_CEILING_EXCEEDED otherwise) and room under the custom-role limit (409 MAX_CUSTOM_ROLES_REACHED). Returns 404 ARCHIVE_ITEM_NOT_FOUND when the item is absent and 409 ARCHIVE_RESTORE_CONFLICT when the item would collide with a live one (the message names the field) or a restored channel's connector is unavailable.
1257
1257
  */
1258
- export type ArchiveRestoreErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1258
+ export type ArchiveRestoreErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "ATTENDANT_LIMIT_REACHED" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1259
1259
  /**
1260
1260
  * archive.summary input.
1261
1261
  *
@@ -1276,11 +1276,11 @@ export type ArchiveSummaryOutput = {
1276
1276
  *
1277
1277
  * Returns per-entity-type counts of archived (soft-deleted) items for the organization.
1278
1278
  */
1279
- export type ArchiveSummaryErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1279
+ export type ArchiveSummaryErrorCode = "ARCHIVE_ITEM_IN_USE" | "ARCHIVE_ITEM_NOT_FOUND" | "ARCHIVE_RESTORE_CONFLICT" | "ATTENDANT_LIMIT_REACHED" | "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MAX_CUSTOM_ROLES_REACHED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "UNAUTHORIZED";
1280
1280
  /**
1281
1281
  * attendants.create input.
1282
1282
  *
1283
- * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1283
+ * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license refuses more attendants - only a license whose grant carries a rule above the attendant limit does, otherwise attendants never refuse - and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1284
1284
  */
1285
1285
  export interface AttendantsCreateInput {
1286
1286
  auto_answer?: boolean;
@@ -1324,7 +1324,7 @@ export interface AttendantsCreateInput {
1324
1324
  /**
1325
1325
  * attendants.create output.
1326
1326
  *
1327
- * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1327
+ * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license refuses more attendants - only a license whose grant carries a rule above the attendant limit does, otherwise attendants never refuse - and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1328
1328
  */
1329
1329
  export interface AttendantsCreateOutput {
1330
1330
  auto_answer: boolean;
@@ -1391,9 +1391,9 @@ export interface AttendantsCreateOutput {
1391
1391
  /**
1392
1392
  * attendants.create error codes.
1393
1393
  *
1394
- * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1394
+ * Makes an organization member an attendant: send `user_id` of an existing member, or `new_member` (`email`, `name`, `password`) to create the person too - user, membership with the built-in attendant role and attendant are written in one step, all or nothing, and `new_member` also needs the user:invite scope. `endpoint` is `webrtc` (the browser softphone, default) or `sip_extension` (an external softphone, which needs `extension` and receives a managed SIP credential in `sip_credential`, readable only in this response). Missing PUBLIC_BASE_URL or the encryption key makes a `sip_extension` creation fail (409 DESK_PUBLIC_URL_MISSING, 500 AI_ENCRYPTION_KEY_MISSING) instead of creating an attendant nobody could register. Returns 404 MEMBER_NOT_FOUND when the user is not a member, 409 ATTENDANT_ALREADY_EXISTS when they already are an attendant, 409 EXTENSION_IN_USE when another attendant holds the extension, 409 ATTENDANT_LIMIT_REACHED (with `limit` and `current`) when the license refuses more attendants - only a license whose grant carries a rule above the attendant limit does, otherwise attendants never refuse - and for `new_member` 409 ALREADY_MEMBER, 403 PERMISSION_CEILING_EXCEEDED (the caller must hold what the attendant role holds) and 403 SSO_REQUIRED on a company-login domain. Requires the attendant:create scope.
1395
1395
  */
1396
- export type AttendantsCreateErrorCode = "AI_ENCRYPTION_KEY_MISSING" | "ALREADY_MEMBER" | "ATTENDANT_ALREADY_EXISTS" | "ATTENDANT_NOT_FOUND" | "DESK_PUBLIC_URL_MISSING" | "EXTENSION_IN_USE" | "EXTENSION_REQUIRED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_NOT_FOUND" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "ROLE_NOT_FOUND" | "ROLE_SCOPE_MISMATCH" | "SSO_REQUIRED" | "UNAUTHORIZED";
1396
+ export type AttendantsCreateErrorCode = "AI_ENCRYPTION_KEY_MISSING" | "ALREADY_MEMBER" | "ATTENDANT_ALREADY_EXISTS" | "ATTENDANT_LIMIT_REACHED" | "ATTENDANT_NOT_FOUND" | "DESK_PUBLIC_URL_MISSING" | "EXTENSION_IN_USE" | "EXTENSION_REQUIRED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_NOT_FOUND" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PERMISSION_CEILING_EXCEEDED" | "ROLE_NOT_FOUND" | "ROLE_SCOPE_MISMATCH" | "SSO_REQUIRED" | "UNAUTHORIZED";
1397
1397
  /**
1398
1398
  * attendants.delete input.
1399
1399
  *
@@ -4962,7 +4962,7 @@ export type CallsHangupCallErrorCode = "ACTIVE_CALL_NOT_FOUND" | "ESL_CONNECTION
4962
4962
  */
4963
4963
  export interface CallsOriginateInput {
4964
4964
  /**
4965
- * Beta: optional recognitions after answer. machine_type enables AMD implicitly, and only the classifier module adds the type; requires ENABLE_ORIGINATE_ANSWER_RECOGNITION=true on the server.
4965
+ * Beta: optional recognitions after answer. machine_type enables AMD implicitly. Both require the classifier module (403 MODULE_DISABLED without it).
4966
4966
  */
4967
4967
  answer_recognition?: {
4968
4968
  /**
@@ -5059,7 +5059,7 @@ export interface CallsOriginateOutput {
5059
5059
  *
5060
5060
  * Places an outbound call that executes a published visual plan and returns its synchronous outcome. A 200 response does not mean the call was answered: read status. When the destination (or the carrier dialect) decides the outcome - any SIP 4xx or 6xx except 401, 403, 407 and 488 - the call answers 200 with status failed plus hangup_cause and sip_code. When the failure is ours - any SIP 5xx, the four codes above, or a failure without a SIP code - it answers 502 ORIGINATE_FAILED; with FreeSWITCH unreachable, 503. The legacy POST /originate/calls shape is deprecated, frozen, and keeps the old allowlist classification. Requires the call:originate scope.
5061
5061
  */
5062
- export type CallsOriginateErrorCode = "ESL_CONNECTION_ERROR" | "FEATURE_DISABLED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "ORIGINATE_CAPACITY_EXCEEDED" | "ORIGINATE_DESTINATION_NOT_ROUTABLE" | "ORIGINATE_FAILED" | "ORIGINATE_PLAN_NOT_PUBLISHED" | "PLAN_NOT_FOUND" | "UNAUTHORIZED";
5062
+ export type CallsOriginateErrorCode = "ESL_CONNECTION_ERROR" | "FEATURE_DISABLED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "ORIGINATE_CAPACITY_EXCEEDED" | "ORIGINATE_DESTINATION_NOT_ROUTABLE" | "ORIGINATE_FAILED" | "ORIGINATE_PLAN_NOT_PUBLISHED" | "PLAN_NOT_FOUND" | "UNAUTHORIZED";
5063
5063
  /**
5064
5064
  * capabilities.get input.
5065
5065
  *
@@ -6037,6 +6037,7 @@ export interface ConversationsListOutput {
6037
6037
  number: string | null;
6038
6038
  } | null;
6039
6039
  channel: "voice" | "chat";
6040
+ channel_type: "sip" | "telegram" | "webchat" | "sms" | "rcs" | "whatsapp" | null;
6040
6041
  contact_id: ContactId | null;
6041
6042
  created_at: string;
6042
6043
  disposition: {
@@ -6176,7 +6177,7 @@ export interface DashboardCapacityStatusOutput {
6176
6177
  */
6177
6178
  active: number;
6178
6179
  /**
6179
- * Licensed attendants; -1 = unlimited. Going over warns, it never refuses.
6180
+ * Licensed attendants; -1 = unlimited. Going over warns, unless the license carries a rule above the limit (see `GET /license/usage`).
6180
6181
  */
6181
6182
  limit: number;
6182
6183
  } | null;
@@ -6254,7 +6255,7 @@ export interface DashboardWatchDashboardMetricsEvent {
6254
6255
  */
6255
6256
  active: number;
6256
6257
  /**
6257
- * Licensed attendants; -1 = unlimited. Going over warns, it never refuses.
6258
+ * Licensed attendants; -1 = unlimited. Going over warns, unless the license carries a rule above the limit (see `GET /license/usage`).
6258
6259
  */
6259
6260
  limit: number;
6260
6261
  } | null;
@@ -7719,7 +7720,7 @@ export type DialerCampaignsControlErrorCode = "DIALER_CAMPAIGN_INVALID_TRANSITIO
7719
7720
  /**
7720
7721
  * dialerCampaigns.create input.
7721
7722
  *
7722
- * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope.
7723
+ * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED.
7723
7724
  */
7724
7725
  export interface DialerCampaignsCreateInput {
7725
7726
  amd_action_announcement?: "retry" | "no_retry" | "block" | null;
@@ -7861,7 +7862,7 @@ export interface DialerCampaignsCreateInput {
7861
7862
  /**
7862
7863
  * dialerCampaigns.create output.
7863
7864
  *
7864
- * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope.
7865
+ * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED.
7865
7866
  */
7866
7867
  export interface DialerCampaignsCreateOutput {
7867
7868
  amd_action_announcement: "retry" | "no_retry" | "block" | null;
@@ -8053,7 +8054,7 @@ export interface DialerCampaignsCreateOutput {
8053
8054
  /**
8054
8055
  * dialerCampaigns.create error codes.
8055
8056
  *
8056
- * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope.
8057
+ * Creates a campaign in draft status bound to an existing visual plan. The plan need not be published at creation time (only at start); an unknown plan_id returns 404 PLAN_NOT_FOUND. Requires the dialer_campaign:create scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED.
8057
8058
  */
8058
8059
  export type DialerCampaignsCreateErrorCode = "DIALER_CAMPAIGN_INVALID_TRANSITION" | "DIALER_CAMPAIGN_NOT_FOUND" | "DIALER_CAMPAIGN_NO_CONTACTS" | "DIALER_CAMPAIGN_PLAN_NOT_PUBLISHED" | "DIALER_MODULE_DISABLED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "PLAN_NOT_FOUND" | "UNAUTHORIZED";
8059
8060
  /**
@@ -8748,7 +8749,7 @@ export type DialerCampaignsSummaryErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMIS
8748
8749
  /**
8749
8750
  * dialerCampaigns.update input.
8750
8751
  *
8751
- * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope.
8752
+ * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED. Without the module both are left as stored, so they come back with it.
8752
8753
  */
8753
8754
  export interface DialerCampaignsUpdateInput {
8754
8755
  /**
@@ -8890,7 +8891,7 @@ export interface DialerCampaignsUpdateInput {
8890
8891
  /**
8891
8892
  * dialerCampaigns.update output.
8892
8893
  *
8893
- * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope.
8894
+ * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED. Without the module both are left as stored, so they come back with it.
8894
8895
  */
8895
8896
  export interface DialerCampaignsUpdateOutput {
8896
8897
  amd_action_announcement: "retry" | "no_retry" | "block" | null;
@@ -9082,7 +9083,7 @@ export interface DialerCampaignsUpdateOutput {
9082
9083
  /**
9083
9084
  * dialerCampaigns.update error codes.
9084
9085
  *
9085
- * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope.
9086
+ * Partially updates a campaign's configuration. Only an archived campaign is immutable and returns 409 DIALER_CAMPAIGN_INVALID_TRANSITION - a finished one is editable, since it can be reopened and nothing it stores takes effect until somebody starts it. Clearing auto_start_at on a scheduled campaign reverts it to draft. An unknown id returns 404. Requires the dialer_campaign:update scope. Answering-machine detection (amd_enabled) and the call-screening reply (screening_reply_enabled) belong to the classifier module: without it they read false in every response and turning one on returns 403 MODULE_DISABLED. Without the module both are left as stored, so they come back with it.
9086
9087
  */
9087
9088
  export type DialerCampaignsUpdateErrorCode = "DIALER_CAMPAIGN_INVALID_TRANSITION" | "DIALER_CAMPAIGN_NOT_FOUND" | "DIALER_CAMPAIGN_NO_CONTACTS" | "DIALER_CAMPAIGN_PLAN_NOT_PUBLISHED" | "DIALER_MODULE_DISABLED" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "UNAUTHORIZED";
9088
9089
  /**
@@ -11237,6 +11238,91 @@ export interface LicenseModulesOutput {
11237
11238
  * Returns enabled modules and service availability without exposing deployment license details.
11238
11239
  */
11239
11240
  export type LicenseModulesErrorCode = "FORBIDDEN" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
11241
+ /**
11242
+ * license.offlineRenewalRequest input.
11243
+ *
11244
+ * Builds the signed file an installation with no internet sends to support to renew its license, carrying the usage hours the Suite has not accepted yet (the oldest 1000; `hours_left` says how many did not fit). The Suite's error code is in `data.suite_code` when the request cannot be built, e.g. LICENSE_NOT_ACTIVATED before the installation was activated.
11245
+ */
11246
+ export type LicenseOfflineRenewalRequestInput = void;
11247
+ /**
11248
+ * license.offlineRenewalRequest output.
11249
+ *
11250
+ * Builds the signed file an installation with no internet sends to support to renew its license, carrying the usage hours the Suite has not accepted yet (the oldest 1000; `hours_left` says how many did not fit). The Suite's error code is in `data.suite_code` when the request cannot be built, e.g. LICENSE_NOT_ACTIVATED before the installation was activated.
11251
+ */
11252
+ export interface LicenseOfflineRenewalRequestOutput {
11253
+ /**
11254
+ * The name to download the file as: `renovacao-<serial>.req`.
11255
+ */
11256
+ file_name: string;
11257
+ /**
11258
+ * Pending usage hours that did not fit in this request.
11259
+ * minimum: 0
11260
+ * maximum: 9007199254740991
11261
+ */
11262
+ hours_left: number;
11263
+ /**
11264
+ * How many usage hours the request carries.
11265
+ * minimum: 0
11266
+ * maximum: 9007199254740991
11267
+ */
11268
+ measurements: number;
11269
+ /**
11270
+ * The signed request, the content of the file.
11271
+ */
11272
+ request: string;
11273
+ }
11274
+ /**
11275
+ * license.offlineRenewalRequest error codes.
11276
+ *
11277
+ * Builds the signed file an installation with no internet sends to support to renew its license, carrying the usage hours the Suite has not accepted yet (the oldest 1000; `hours_left` says how many did not fit). The Suite's error code is in `data.suite_code` when the request cannot be built, e.g. LICENSE_NOT_ACTIVATED before the installation was activated.
11278
+ */
11279
+ export type LicenseOfflineRenewalRequestErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "LICENSE_SUITE_BAD_REQUEST" | "LICENSE_SUITE_CONFLICT" | "LICENSE_SUITE_FORBIDDEN" | "LICENSE_SUITE_RATE_LIMITED" | "LICENSE_SUITE_UNAVAILABLE" | "LICENSE_SUITE_UNREACHABLE" | "LICENSE_V3_NOT_CONFIGURED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
11280
+ /**
11281
+ * license.offlineRenewalResponse input.
11282
+ *
11283
+ * Adopts the answer file the Suite issued for a request made here: renews the license and confirms as delivered the usage hours the request carried. A license that already lasts longer is kept as it is. 422 LICENSE_OFFLINE_RESPONSE_INVALID when the file is not an answer, 409 LICENSE_OFFLINE_REQUEST_UNKNOWN when it answers a request this installation did not make (or one older than 40 days), and the library's code in `data.suite_code` when it does not verify.
11284
+ */
11285
+ export interface LicenseOfflineRenewalResponseInput {
11286
+ /**
11287
+ * The content of the answer file the Suite issued (`resposta-<serial>.lic`).
11288
+ * minLength: 1
11289
+ * maxLength: 65536
11290
+ */
11291
+ response: string;
11292
+ }
11293
+ /**
11294
+ * license.offlineRenewalResponse output.
11295
+ *
11296
+ * Adopts the answer file the Suite issued for a request made here: renews the license and confirms as delivered the usage hours the request carried. A license that already lasts longer is kept as it is. 422 LICENSE_OFFLINE_RESPONSE_INVALID when the file is not an answer, 409 LICENSE_OFFLINE_REQUEST_UNKNOWN when it answers a request this installation did not make (or one older than 40 days), and the library's code in `data.suite_code` when it does not verify.
11297
+ */
11298
+ export interface LicenseOfflineRenewalResponseOutput {
11299
+ environment: "live" | "internal" | "test" | null;
11300
+ expiration_strategy: string | null;
11301
+ grant_expires_at: string | null;
11302
+ /**
11303
+ * Usage hours this answer confirmed as delivered to the Suite.
11304
+ * minimum: 0
11305
+ * maximum: 9007199254740991
11306
+ */
11307
+ hours_delivered: number;
11308
+ installation_id: string | null;
11309
+ last_error: {
11310
+ at: string;
11311
+ code: string;
11312
+ http_status: number | null;
11313
+ } | null;
11314
+ last_heartbeat_at: string | null;
11315
+ license_expires_at: string | null;
11316
+ phase: "awaiting_activation" | "active" | "renewal_failing" | "reactivation_required" | "transferred" | "grant_expired";
11317
+ serial: string | null;
11318
+ services: string[];
11319
+ }
11320
+ /**
11321
+ * license.offlineRenewalResponse error codes.
11322
+ *
11323
+ * Adopts the answer file the Suite issued for a request made here: renews the license and confirms as delivered the usage hours the request carried. A license that already lasts longer is kept as it is. 422 LICENSE_OFFLINE_RESPONSE_INVALID when the file is not an answer, 409 LICENSE_OFFLINE_REQUEST_UNKNOWN when it answers a request this installation did not make (or one older than 40 days), and the library's code in `data.suite_code` when it does not verify.
11324
+ */
11325
+ export type LicenseOfflineRenewalResponseErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "LICENSE_OFFLINE_REQUEST_UNKNOWN" | "LICENSE_OFFLINE_RESPONSE_INVALID" | "LICENSE_SUITE_BAD_REQUEST" | "LICENSE_SUITE_CONFLICT" | "LICENSE_SUITE_FORBIDDEN" | "LICENSE_SUITE_RATE_LIMITED" | "LICENSE_SUITE_UNAVAILABLE" | "LICENSE_SUITE_UNREACHABLE" | "LICENSE_V3_NOT_CONFIGURED" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
11240
11326
  /**
11241
11327
  * license.orgUsage input.
11242
11328
  *
@@ -11334,9 +11420,27 @@ export interface LicenseStatusOutput {
11334
11420
  */
11335
11421
  active: number;
11336
11422
  /**
11337
- * Licensed attendants; -1 = unlimited. Going over warns, it never refuses.
11423
+ * Licensed attendants; -1 = unlimited. Without a rule in `overage`, going over warns and never refuses.
11338
11424
  */
11339
11425
  limit: number;
11426
+ overage: {
11427
+ /**
11428
+ * minimum: -9007199254740991
11429
+ * maximum: 9007199254740991
11430
+ */
11431
+ cap: number | null;
11432
+ /**
11433
+ * minimum: -9007199254740991
11434
+ * maximum: 9007199254740991
11435
+ */
11436
+ refuses_at: number | null;
11437
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11438
+ /**
11439
+ * minimum: -9007199254740991
11440
+ * maximum: 9007199254740991
11441
+ */
11442
+ tolerance_percent: number | null;
11443
+ };
11340
11444
  };
11341
11445
  days_until_expiry: number | null;
11342
11446
  expires_at: string | null;
@@ -11358,9 +11462,27 @@ export interface LicenseStatusOutput {
11358
11462
  */
11359
11463
  active: number;
11360
11464
  /**
11361
- * Licensed organizations; -1 = unlimited. Past it, creating one is refused.
11465
+ * Licensed organizations; -1 = unlimited. Without a rule in `overage`, creating one past it is refused.
11362
11466
  */
11363
11467
  limit: number;
11468
+ overage: {
11469
+ /**
11470
+ * minimum: -9007199254740991
11471
+ * maximum: 9007199254740991
11472
+ */
11473
+ cap: number | null;
11474
+ /**
11475
+ * minimum: -9007199254740991
11476
+ * maximum: 9007199254740991
11477
+ */
11478
+ refuses_at: number | null;
11479
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11480
+ /**
11481
+ * minimum: -9007199254740991
11482
+ * maximum: 9007199254740991
11483
+ */
11484
+ tolerance_percent: number | null;
11485
+ };
11364
11486
  };
11365
11487
  serial: string;
11366
11488
  source: "yaml" | "suite" | "suite-v3" | "cache";
@@ -11435,6 +11557,24 @@ export interface LicenseUsageOutput {
11435
11557
  * Licensed limit; -1 = unlimited.
11436
11558
  */
11437
11559
  limit: number;
11560
+ overage: {
11561
+ /**
11562
+ * minimum: -9007199254740991
11563
+ * maximum: 9007199254740991
11564
+ */
11565
+ cap: number | null;
11566
+ /**
11567
+ * minimum: -9007199254740991
11568
+ * maximum: 9007199254740991
11569
+ */
11570
+ refuses_at: number | null;
11571
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11572
+ /**
11573
+ * minimum: -9007199254740991
11574
+ * maximum: 9007199254740991
11575
+ */
11576
+ tolerance_percent: number | null;
11577
+ };
11438
11578
  peak_month: number | null;
11439
11579
  };
11440
11580
  /**
@@ -11449,6 +11589,24 @@ export interface LicenseUsageOutput {
11449
11589
  * Licensed limit; -1 = unlimited.
11450
11590
  */
11451
11591
  limit: number;
11592
+ overage: {
11593
+ /**
11594
+ * minimum: -9007199254740991
11595
+ * maximum: 9007199254740991
11596
+ */
11597
+ cap: number | null;
11598
+ /**
11599
+ * minimum: -9007199254740991
11600
+ * maximum: 9007199254740991
11601
+ */
11602
+ refuses_at: number | null;
11603
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11604
+ /**
11605
+ * minimum: -9007199254740991
11606
+ * maximum: 9007199254740991
11607
+ */
11608
+ tolerance_percent: number | null;
11609
+ };
11452
11610
  peak_month: number | null;
11453
11611
  };
11454
11612
  /**
@@ -11467,6 +11625,24 @@ export interface LicenseUsageOutput {
11467
11625
  * Licensed limit; -1 = unlimited.
11468
11626
  */
11469
11627
  limit: number;
11628
+ overage: {
11629
+ /**
11630
+ * minimum: -9007199254740991
11631
+ * maximum: 9007199254740991
11632
+ */
11633
+ cap: number | null;
11634
+ /**
11635
+ * minimum: -9007199254740991
11636
+ * maximum: 9007199254740991
11637
+ */
11638
+ refuses_at: number | null;
11639
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11640
+ /**
11641
+ * minimum: -9007199254740991
11642
+ * maximum: 9007199254740991
11643
+ */
11644
+ tolerance_percent: number | null;
11645
+ };
11470
11646
  peak_month: number | null;
11471
11647
  };
11472
11648
  plan: {
@@ -11485,6 +11661,24 @@ export interface LicenseUsageOutput {
11485
11661
  * Licensed limit; -1 = unlimited.
11486
11662
  */
11487
11663
  limit: number;
11664
+ overage: {
11665
+ /**
11666
+ * minimum: -9007199254740991
11667
+ * maximum: 9007199254740991
11668
+ */
11669
+ cap: number | null;
11670
+ /**
11671
+ * minimum: -9007199254740991
11672
+ * maximum: 9007199254740991
11673
+ */
11674
+ refuses_at: number | null;
11675
+ rule: "none" | "tolerate" | "tolerate_charge" | null;
11676
+ /**
11677
+ * minimum: -9007199254740991
11678
+ * maximum: 9007199254740991
11679
+ */
11680
+ tolerance_percent: number | null;
11681
+ };
11488
11682
  peak_month: number | null;
11489
11683
  };
11490
11684
  }
@@ -11833,13 +12027,13 @@ export type OauthGrantsUsageErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS"
11833
12027
  /**
11834
12028
  * orgSettings.getDialer input.
11835
12029
  *
11836
- * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet.
12030
+ * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet. Without the classifier module dialer_amd_enabled reads false.
11837
12031
  */
11838
12032
  export type OrgSettingsGetDialerInput = void;
11839
12033
  /**
11840
12034
  * orgSettings.getDialer output.
11841
12035
  *
11842
- * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet.
12036
+ * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet. Without the classifier module dialer_amd_enabled reads false.
11843
12037
  */
11844
12038
  export type OrgSettingsGetDialerOutput = {
11845
12039
  /**
@@ -11875,13 +12069,13 @@ export type OrgSettingsGetDialerOutput = {
11875
12069
  /**
11876
12070
  * orgSettings.getDialer error codes.
11877
12071
  *
11878
- * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet.
12072
+ * Returns the organization's dialer operational settings — reserved inbound channels, default trunk, default country, the daily attempt cap per number and the answering-machine detection defaults. Returns null when no settings row exists yet. Without the classifier module dialer_amd_enabled reads false.
11879
12073
  */
11880
12074
  export type OrgSettingsGetDialerErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
11881
12075
  /**
11882
12076
  * orgSettings.upsertDialer input.
11883
12077
  *
11884
- * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log.
12078
+ * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log. dialer_amd_enabled belongs to the classifier module: without it, it reads false, true returns 403 MODULE_DISABLED and false leaves the stored default as it is.
11885
12079
  */
11886
12080
  export interface OrgSettingsUpsertDialerInput {
11887
12081
  /**
@@ -11919,7 +12113,7 @@ export interface OrgSettingsUpsertDialerInput {
11919
12113
  /**
11920
12114
  * orgSettings.upsertDialer output.
11921
12115
  *
11922
- * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log.
12116
+ * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log. dialer_amd_enabled belongs to the classifier module: without it, it reads false, true returns 403 MODULE_DISABLED and false leaves the stored default as it is.
11923
12117
  */
11924
12118
  export interface OrgSettingsUpsertDialerOutput {
11925
12119
  /**
@@ -11955,9 +12149,9 @@ export interface OrgSettingsUpsertDialerOutput {
11955
12149
  /**
11956
12150
  * orgSettings.upsertDialer error codes.
11957
12151
  *
11958
- * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log.
12152
+ * Creates or updates the organization's dialer operational settings and returns the persisted values. The change is broadcast to running engines and recorded in the audit log. dialer_amd_enabled belongs to the classifier module: without it, it reads false, true returns 403 MODULE_DISABLED and false leaves the stored default as it is.
11959
12153
  */
11960
- export type OrgSettingsUpsertDialerErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
12154
+ export type OrgSettingsUpsertDialerErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "UNAUTHORIZED";
11961
12155
  /**
11962
12156
  * queues.addMembers input.
11963
12157
  *
@@ -12657,6 +12851,51 @@ export interface QueuesListMembersOutput {
12657
12851
  * Returns one page of the queue's members with their priority and current state. `search` matches the attendant's name or e-mail; `sort_by` is `priority` (higher is offered first, the default) or `name`. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
12658
12852
  */
12659
12853
  export type QueuesListMembersErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "QUEUE_NOT_FOUND" | "UNAUTHORIZED";
12854
+ /**
12855
+ * queues.listen input.
12856
+ *
12857
+ * Mints an ephemeral, listen-only SIP credential (valid for about 60 seconds, enough for the INVITE) so the supervisor's browser can hear a call being served from a queue, without the customer or the attendant hearing the supervisor. Connect a recvonly SIP over WebSocket leg to `ws_url`, authenticate with `username` and `password` and INVITE `destination`; `queue_name` is the queue the call is being served from. The conversation must be a voice call from a queue, answered and in service by an attendant: 404 CONVERSATION_NOT_FOUND when it does not exist or belongs to another organization, 409 CONVERSATION_NOT_LISTENABLE when it is a chat, waiting, being offered, in wrap-up, over, or came in without a queue, and 409 DESK_PUBLIC_URL_MISSING when the installation has no public URL. The credential is only as good as the right it was minted with: the directory re-checks it at the INVITE, and answers nothing once the supervisor lost queue_monitor:control or their membership, the API key or grant that minted it was revoked or lost the scope, the queues module went off, or the conversation stopped being listenable. A listen already established is not cut by that: it ends with the call. Audited as `queue.call_listened`. Requires the queue_monitor:control scope.
12858
+ */
12859
+ export interface QueuesListenInput {
12860
+ /**
12861
+ * TypeID of the voice conversation to listen to (conv_...).
12862
+ */
12863
+ conversation_id: ConversationId;
12864
+ }
12865
+ /**
12866
+ * queues.listen output.
12867
+ *
12868
+ * Mints an ephemeral, listen-only SIP credential (valid for about 60 seconds, enough for the INVITE) so the supervisor's browser can hear a call being served from a queue, without the customer or the attendant hearing the supervisor. Connect a recvonly SIP over WebSocket leg to `ws_url`, authenticate with `username` and `password` and INVITE `destination`; `queue_name` is the queue the call is being served from. The conversation must be a voice call from a queue, answered and in service by an attendant: 404 CONVERSATION_NOT_FOUND when it does not exist or belongs to another organization, 409 CONVERSATION_NOT_LISTENABLE when it is a chat, waiting, being offered, in wrap-up, over, or came in without a queue, and 409 DESK_PUBLIC_URL_MISSING when the installation has no public URL. The credential is only as good as the right it was minted with: the directory re-checks it at the INVITE, and answers nothing once the supervisor lost queue_monitor:control or their membership, the API key or grant that minted it was revoked or lost the scope, the queues module went off, or the conversation stopped being listenable. A listen already established is not cut by that: it ends with the call. Audited as `queue.call_listened`. Requires the queue_monitor:control scope.
12869
+ */
12870
+ export interface QueuesListenOutput {
12871
+ /**
12872
+ * SIP URI the browser INVITEs with these credentials, e.g. sip:listen@agents.niva.local.
12873
+ */
12874
+ destination: string;
12875
+ domain: string;
12876
+ expires_at: string;
12877
+ ice_servers: {
12878
+ credential?: string;
12879
+ urls: string | string[];
12880
+ username?: string;
12881
+ }[];
12882
+ password: string;
12883
+ /**
12884
+ * Name of the queue the listened call is being served from.
12885
+ */
12886
+ queue_name: string;
12887
+ /**
12888
+ * Ephemeral SIP user (`listen_...`). Register is not needed: authenticate the INVITE.
12889
+ */
12890
+ username: string;
12891
+ ws_url: string;
12892
+ }
12893
+ /**
12894
+ * queues.listen error codes.
12895
+ *
12896
+ * Mints an ephemeral, listen-only SIP credential (valid for about 60 seconds, enough for the INVITE) so the supervisor's browser can hear a call being served from a queue, without the customer or the attendant hearing the supervisor. Connect a recvonly SIP over WebSocket leg to `ws_url`, authenticate with `username` and `password` and INVITE `destination`; `queue_name` is the queue the call is being served from. The conversation must be a voice call from a queue, answered and in service by an attendant: 404 CONVERSATION_NOT_FOUND when it does not exist or belongs to another organization, 409 CONVERSATION_NOT_LISTENABLE when it is a chat, waiting, being offered, in wrap-up, over, or came in without a queue, and 409 DESK_PUBLIC_URL_MISSING when the installation has no public URL. The credential is only as good as the right it was minted with: the directory re-checks it at the INVITE, and answers nothing once the supervisor lost queue_monitor:control or their membership, the API key or grant that minted it was revoked or lost the scope, the queues module went off, or the conversation stopped being listenable. A listen already established is not cut by that: it ends with the call. Audited as `queue.call_listened`. Requires the queue_monitor:control scope.
12897
+ */
12898
+ export type QueuesListenErrorCode = "CONVERSATION_NOT_FOUND" | "CONVERSATION_NOT_LISTENABLE" | "DESK_PUBLIC_URL_MISSING" | "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "UNAUTHORIZED";
12660
12899
  /**
12661
12900
  * queues.removeMember input.
12662
12901
  *
@@ -12883,18 +13122,20 @@ export type QueuesReplaceMembersErrorCode = "ATTENDANT_NOT_FOUND" | "FORBIDDEN"
12883
13122
  /**
12884
13123
  * queues.stats input.
12885
13124
  *
12886
- * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
13125
+ * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. With `date_from` and/or `date_to` it also returns `period`, the same numbers over that window: a `YYYY-MM-DD` bound is that calendar day in the organization's timezone (`date_to` included), an ISO timestamp an exact instant; the start defaults to the local midnight and the end to now. Give both bounds in the same form, both days or both instants: a day against an instant is a validation error (422), so no timezone is guessed. A `date_to` before `date_from` is a validation error (422) too, and a window over 93 days is 422 WINDOW_TOO_LONG. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
12887
13126
  */
12888
13127
  export interface QueuesStatsInput {
12889
13128
  /**
12890
13129
  * TypeID of the queue (que_...).
12891
13130
  */
12892
13131
  queue_id: QueueId;
13132
+ date_from?: string;
13133
+ date_to?: string;
12893
13134
  }
12894
13135
  /**
12895
13136
  * queues.stats output.
12896
13137
  *
12897
- * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
13138
+ * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. With `date_from` and/or `date_to` it also returns `period`, the same numbers over that window: a `YYYY-MM-DD` bound is that calendar day in the organization's timezone (`date_to` included), an ISO timestamp an exact instant; the start defaults to the local midnight and the end to now. Give both bounds in the same form, both days or both instants: a day against an instant is a validation error (422), so no timezone is guessed. A `date_to` before `date_from` is a validation error (422) too, and a window over 93 days is 422 WINDOW_TOO_LONG. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
12898
13139
  */
12899
13140
  export interface QueuesStatsOutput {
12900
13141
  day: {
@@ -12982,13 +13223,63 @@ export interface QueuesStatsOutput {
12982
13223
  */
12983
13224
  waiting: number;
12984
13225
  };
13226
+ /**
13227
+ * The same numbers as `day` over the `date_from`/`date_to` window. Present only when a bound was sent.
13228
+ */
13229
+ period?: {
13230
+ abandon_pct: number | null;
13231
+ /**
13232
+ * minimum: -9007199254740991
13233
+ * maximum: 9007199254740991
13234
+ */
13235
+ abandoned: number;
13236
+ /**
13237
+ * minimum: -9007199254740991
13238
+ * maximum: 9007199254740991
13239
+ */
13240
+ answered: number;
13241
+ /**
13242
+ * Answered within `sla_threshold_s`.
13243
+ * minimum: -9007199254740991
13244
+ * maximum: 9007199254740991
13245
+ */
13246
+ answered_in_sla: number;
13247
+ /**
13248
+ * minimum: -9007199254740991
13249
+ * maximum: 9007199254740991
13250
+ */
13251
+ avg_talk_s: number | null;
13252
+ /**
13253
+ * minimum: -9007199254740991
13254
+ * maximum: 9007199254740991
13255
+ */
13256
+ avg_wait_s: number | null;
13257
+ /**
13258
+ * Callers that entered the queue since the day started.
13259
+ * minimum: -9007199254740991
13260
+ * maximum: 9007199254740991
13261
+ */
13262
+ offered: number;
13263
+ /**
13264
+ * Abandons below `short_abandon_s`; counted in neither percentage.
13265
+ * minimum: -9007199254740991
13266
+ * maximum: 9007199254740991
13267
+ */
13268
+ short_abandoned: number;
13269
+ sla_pct: number | null;
13270
+ /**
13271
+ * minimum: -9007199254740991
13272
+ * maximum: 9007199254740991
13273
+ */
13274
+ timeout: number;
13275
+ };
12985
13276
  }
12986
13277
  /**
12987
13278
  * queues.stats error codes.
12988
13279
  *
12989
- * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
13280
+ * Returns the queue's `live` state (waiting, offered, in service, members logged in and available) and its `day` numbers since the organization's local midnight: offered, answered, abandoned, SLA and abandon percentages, average wait and talk. With `date_from` and/or `date_to` it also returns `period`, the same numbers over that window: a `YYYY-MM-DD` bound is that calendar day in the organization's timezone (`date_to` included), an ISO timestamp an exact instant; the start defaults to the local midnight and the end to now. Give both bounds in the same form, both days or both instants: a day against an instant is a validation error (422), so no timezone is guessed. A `date_to` before `date_from` is a validation error (422) too, and a window over 93 days is 422 WINDOW_TOO_LONG. Returns 404 QUEUE_NOT_FOUND. Requires the queue:read scope.
12990
13281
  */
12991
- export type QueuesStatsErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "QUEUE_NOT_FOUND" | "UNAUTHORIZED";
13282
+ export type QueuesStatsErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "MODULE_DISABLED" | "QUEUE_NOT_FOUND" | "UNAUTHORIZED" | "WINDOW_TOO_LONG";
12992
13283
  /**
12993
13284
  * queues.update input.
12994
13285
  *
@@ -18798,11 +19089,11 @@ export type WebhooksEventsListOutput = {
18798
19089
  */
18799
19090
  export type WebhooksEventsListErrorCode = "FORBIDDEN" | "INSUFFICIENT_PERMISSIONS" | "INSUFFICIENT_SCOPE" | "MEMBER_SUSPENDED" | "MFA_SETUP_REQUIRED" | "UNAUTHORIZED";
18800
19091
  /** Every distinct declared error code, referenced by index from OPERATIONS. */
18801
- export declare const ERROR_CODES: readonly ["ACCOUNT_TARGET_FORBIDDEN", "ACTIVE_CALL_NOT_FOUND", "AI_ENCRYPTION_KEY_MISSING", "AI_INVALID_API_KEY", "AI_NOT_CONFIGURED", "AI_UNREACHABLE", "ALREADY_MEMBER", "API_KEY_EXPIRED", "API_KEY_NOT_FOUND", "ARCHIVE_ITEM_IN_USE", "ARCHIVE_ITEM_NOT_FOUND", "ARCHIVE_RESTORE_CONFLICT", "ATTENDANT_ALREADY_EXISTS", "ATTENDANT_BUSY", "ATTENDANT_NOT_FOUND", "ATTENDANT_NOT_SIP_EXTENSION", "AUDIO_FILE_CONTENT_MISSING", "AUDIO_FILE_INVALID_FORMAT", "AUDIO_FILE_IN_USE", "AUDIO_FILE_NOT_FOUND", "AUDIO_FILE_NOT_TTS", "AUDIO_FILE_TOO_LARGE", "AUDIO_URL_BLOCKED", "AUDIO_URL_DECODE_FAILED", "AUDIO_URL_HTTP_ERROR", "AUDIO_URL_INVALID", "AUDIO_URL_TIMEOUT", "AUDIO_URL_TOO_LARGE", "AUDIO_URL_UNREACHABLE", "AUDIO_URL_UNSUPPORTED_FORMAT", "AUDIT_CURSOR_INVALID", "BUG_REPORTING_DISABLED", "BUG_REPORT_DELIVERY_FAILED", "CALL_HAS_NO_TRANSCRIPTION_WINDOW", "CALL_NOT_FOUND", "CALL_RECORD_CURSOR_INVALID", "CANNOT_MANAGE_OWN_ACCOUNT", "CANNOT_REMOVE_SELF", "CANNOT_SUSPEND_SELF", "CHANNEL_ALREADY_ASSIGNED", "CHANNEL_CONNECTOR_NOT_ALLOWED", "CHANNEL_CONNECTOR_REQUIRED", "CHANNEL_CONNECTOR_UNAVAILABLE", "CHANNEL_INVALID_CREDENTIALS", "CHANNEL_NOT_FOUND", "CHANNEL_VOICE_NOT_SUPPORTED", "CHANNEL_WEBCHAT_IDENTITY_SECRET_REQUIRED", "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR", "CHAT_MEDIA_NOT_FOUND", "CHAT_MEDIA_TOO_LARGE", "CHAT_MEDIA_UNSUPPORTED", "CHAT_SESSION_NOT_FOUND", "CONTACT_NOT_FOUND", "CONVERSATION_CURSOR_INVALID", "CONVERSATION_NOT_FOUND", "DECISIONS_UNAVAILABLE", "DESK_PUBLIC_URL_MISSING", "DESTINATION_NOT_FOUND", "DIALER_CAMPAIGN_INVALID_TRANSITION", "DIALER_CAMPAIGN_NOT_FOUND", "DIALER_CAMPAIGN_NO_CONTACTS", "DIALER_CAMPAIGN_PLAN_NOT_PUBLISHED", "DIALER_CONTACT_DUPLICATE", "DIALER_CONTACT_NOT_EDITABLE", "DIALER_CONTACT_NOT_REQUEUEABLE", "DIALER_DNC_DUPLICATE", "DIALER_IMPORT_INVALID", "DIALER_IMPORT_JOB_NOT_FOUND", "DIALER_MODULE_DISABLED", "DIALER_PLAN_IN_USE", "DISPOSITION_DUPLICATE", "DISPOSITION_NOT_FOUND", "DRAFT_STALE", "DUPLICATE_CHANNEL", "DUPLICATE_EMAIL", "DUPLICATE_SIGNAL_SLUG", "ESL_CONNECTION_ERROR", "EXPORT_JOB_EXPIRED", "EXPORT_JOB_LIMIT_REACHED", "EXPORT_JOB_NOT_CANCELLABLE", "EXPORT_JOB_NOT_FOUND", "EXPORT_JOB_NOT_OWNER", "EXPORT_JOB_NOT_READY", "EXTENSION_IN_USE", "EXTENSION_REQUIRED", "FEATURE_DISABLED", "FORBIDDEN", "HANGUP_FAILED", "HOLIDAY_CALENDAR_ENTRY_NOT_FOUND", "HOLIDAY_CALENDAR_IN_USE", "HOLIDAY_CALENDAR_NOT_FOUND", "INSIGHT_PERIOD_TOO_LONG", "INSUFFICIENT_PERMISSIONS", "INSUFFICIENT_SCOPE", "INVALID_CATALOG_CODE", "INVALID_EXPORT_COLUMNS", "INVALID_HOLIDAY_WINDOW", "INVALID_SCHEDULE_INPUT", "LAST_ADMINISTRATOR", "LENGTH_REQUIRED", "LICENSE_SUITE_BAD_REQUEST", "LICENSE_SUITE_CONFLICT", "LICENSE_SUITE_FORBIDDEN", "LICENSE_SUITE_RATE_LIMITED", "LICENSE_SUITE_UNAVAILABLE", "LICENSE_SUITE_UNREACHABLE", "LICENSE_V3_NOT_CONFIGURED", "MAX_CUSTOM_ROLES_REACHED", "MEMBER_NOT_FOUND", "MEMBER_SUSPENDED", "MFA_SETUP_REQUIRED", "MODULE_DISABLED", "NEW_USER_REQUIRES_PASSWORD", "NODE_NOT_IN_TRACE", "NODE_RANGE_INVALID", "OAUTH_GRANT_FORBIDDEN", "OAUTH_GRANT_NOT_FOUND", "ORIGINATE_CAPACITY_EXCEEDED", "ORIGINATE_DESTINATION_NOT_ROUTABLE", "ORIGINATE_FAILED", "ORIGINATE_PLAN_NOT_PUBLISHED", "PAUSE_REASON_DUPLICATE", "PAUSE_REASON_NOT_FOUND", "PAUSE_REASON_REQUIRED", "PERMISSION_CEILING_EXCEEDED", "PLAN_NOT_FOUND", "PLAN_NOT_PUBLISHED", "PLAN_VALIDATION_FAILED", "QUEUE_IN_USE", "QUEUE_NAME_TAKEN", "QUEUE_NOT_FOUND", "RANGE_HAS_NO_AUDIO", "RANGE_NOT_APPLICABLE", "RANGE_NOT_SATISFIABLE", "RECORDING_CONTENT_MISSING", "RECORDING_NOT_FOUND", "ROLE_NOT_FOUND", "ROLE_SCOPE_MISMATCH", "SAVED_REPLY_NOT_FOUND", "SAVED_REPLY_SHORTCUT_TAKEN", "SCHEDULE_EXCEPTION_NOT_FOUND", "SCHEDULE_NOT_FOUND", "SELF_ROTATION_FORBIDDEN", "SIGNAL_ALERT_OPTION_REMOVED", "SIGNAL_ARCHIVED", "SIGNAL_DEFINITION_INVALID", "SIGNAL_KIND_IMMUTABLE", "SIGNAL_NOT_FOUND", "SIGNAL_TEST_NO_TRANSCRIPTION", "SIGNAL_TEST_SOURCE_INVALID", "SIGNAL_VERSION_CONFLICT", "SSO_REQUIRED", "TRANSCRIPTION_CAPACITY_EXCEEDED", "TRANSCRIPTION_NOT_FOUND", "TTS_VOICE_UNAVAILABLE", "UNAUTHORIZED", "WEBCHAT_ORIGIN_DENIED", "WEBCHAT_SESSION_INVALID", "WEBHOOK_DELIVERY_AGGREGATE_NOT_FOUND", "WEBHOOK_DELIVERY_CURSOR_INVALID", "WEBHOOK_DELIVERY_NOT_RETRYABLE", "WEBHOOK_DELIVERY_RETENTION_EXPIRED", "WEBHOOK_ENDPOINT_NOT_FOUND", "WINDOW_TOO_LONG", "WRAP_UP_PENDING"];
19092
+ export declare const ERROR_CODES: readonly ["ACCOUNT_TARGET_FORBIDDEN", "ACTIVE_CALL_NOT_FOUND", "AI_ENCRYPTION_KEY_MISSING", "AI_INVALID_API_KEY", "AI_NOT_CONFIGURED", "AI_UNREACHABLE", "ALREADY_MEMBER", "API_KEY_EXPIRED", "API_KEY_NOT_FOUND", "ARCHIVE_ITEM_IN_USE", "ARCHIVE_ITEM_NOT_FOUND", "ARCHIVE_RESTORE_CONFLICT", "ATTENDANT_ALREADY_EXISTS", "ATTENDANT_BUSY", "ATTENDANT_LIMIT_REACHED", "ATTENDANT_NOT_FOUND", "ATTENDANT_NOT_SIP_EXTENSION", "AUDIO_FILE_CONTENT_MISSING", "AUDIO_FILE_INVALID_FORMAT", "AUDIO_FILE_IN_USE", "AUDIO_FILE_NOT_FOUND", "AUDIO_FILE_NOT_TTS", "AUDIO_FILE_TOO_LARGE", "AUDIO_URL_BLOCKED", "AUDIO_URL_DECODE_FAILED", "AUDIO_URL_HTTP_ERROR", "AUDIO_URL_INVALID", "AUDIO_URL_TIMEOUT", "AUDIO_URL_TOO_LARGE", "AUDIO_URL_UNREACHABLE", "AUDIO_URL_UNSUPPORTED_FORMAT", "AUDIT_CURSOR_INVALID", "BUG_REPORTING_DISABLED", "BUG_REPORT_DELIVERY_FAILED", "CALL_HAS_NO_TRANSCRIPTION_WINDOW", "CALL_NOT_FOUND", "CALL_RECORD_CURSOR_INVALID", "CANNOT_MANAGE_OWN_ACCOUNT", "CANNOT_REMOVE_SELF", "CANNOT_SUSPEND_SELF", "CHANNEL_ALREADY_ASSIGNED", "CHANNEL_CONNECTOR_NOT_ALLOWED", "CHANNEL_CONNECTOR_REQUIRED", "CHANNEL_CONNECTOR_UNAVAILABLE", "CHANNEL_INVALID_CREDENTIALS", "CHANNEL_NOT_FOUND", "CHANNEL_VOICE_NOT_SUPPORTED", "CHANNEL_WEBCHAT_IDENTITY_SECRET_REQUIRED", "CHANNEL_WHATSAPP_NUMBER_NOT_IN_CONNECTOR", "CHAT_MEDIA_NOT_FOUND", "CHAT_MEDIA_TOO_LARGE", "CHAT_MEDIA_UNSUPPORTED", "CHAT_SESSION_NOT_FOUND", "CONTACT_NOT_FOUND", "CONVERSATION_CURSOR_INVALID", "CONVERSATION_NOT_FOUND", "CONVERSATION_NOT_LISTENABLE", "DECISIONS_UNAVAILABLE", "DESK_PUBLIC_URL_MISSING", "DESTINATION_NOT_FOUND", "DIALER_CAMPAIGN_INVALID_TRANSITION", "DIALER_CAMPAIGN_NOT_FOUND", "DIALER_CAMPAIGN_NO_CONTACTS", "DIALER_CAMPAIGN_PLAN_NOT_PUBLISHED", "DIALER_CONTACT_DUPLICATE", "DIALER_CONTACT_NOT_EDITABLE", "DIALER_CONTACT_NOT_REQUEUEABLE", "DIALER_DNC_DUPLICATE", "DIALER_IMPORT_INVALID", "DIALER_IMPORT_JOB_NOT_FOUND", "DIALER_MODULE_DISABLED", "DIALER_PLAN_IN_USE", "DISPOSITION_DUPLICATE", "DISPOSITION_NOT_FOUND", "DRAFT_STALE", "DUPLICATE_CHANNEL", "DUPLICATE_EMAIL", "DUPLICATE_SIGNAL_SLUG", "ESL_CONNECTION_ERROR", "EXPORT_JOB_EXPIRED", "EXPORT_JOB_LIMIT_REACHED", "EXPORT_JOB_NOT_CANCELLABLE", "EXPORT_JOB_NOT_FOUND", "EXPORT_JOB_NOT_OWNER", "EXPORT_JOB_NOT_READY", "EXTENSION_IN_USE", "EXTENSION_REQUIRED", "FEATURE_DISABLED", "FORBIDDEN", "HANGUP_FAILED", "HOLIDAY_CALENDAR_ENTRY_NOT_FOUND", "HOLIDAY_CALENDAR_IN_USE", "HOLIDAY_CALENDAR_NOT_FOUND", "INSIGHT_PERIOD_TOO_LONG", "INSUFFICIENT_PERMISSIONS", "INSUFFICIENT_SCOPE", "INVALID_CATALOG_CODE", "INVALID_EXPORT_COLUMNS", "INVALID_HOLIDAY_WINDOW", "INVALID_SCHEDULE_INPUT", "LAST_ADMINISTRATOR", "LENGTH_REQUIRED", "LICENSE_OFFLINE_REQUEST_UNKNOWN", "LICENSE_OFFLINE_RESPONSE_INVALID", "LICENSE_SUITE_BAD_REQUEST", "LICENSE_SUITE_CONFLICT", "LICENSE_SUITE_FORBIDDEN", "LICENSE_SUITE_RATE_LIMITED", "LICENSE_SUITE_UNAVAILABLE", "LICENSE_SUITE_UNREACHABLE", "LICENSE_V3_NOT_CONFIGURED", "MAX_CUSTOM_ROLES_REACHED", "MEMBER_NOT_FOUND", "MEMBER_SUSPENDED", "MFA_SETUP_REQUIRED", "MODULE_DISABLED", "NEW_USER_REQUIRES_PASSWORD", "NODE_NOT_IN_TRACE", "NODE_RANGE_INVALID", "OAUTH_GRANT_FORBIDDEN", "OAUTH_GRANT_NOT_FOUND", "ORIGINATE_CAPACITY_EXCEEDED", "ORIGINATE_DESTINATION_NOT_ROUTABLE", "ORIGINATE_FAILED", "ORIGINATE_PLAN_NOT_PUBLISHED", "PAUSE_REASON_DUPLICATE", "PAUSE_REASON_NOT_FOUND", "PAUSE_REASON_REQUIRED", "PERMISSION_CEILING_EXCEEDED", "PLAN_NOT_FOUND", "PLAN_NOT_PUBLISHED", "PLAN_VALIDATION_FAILED", "QUEUE_IN_USE", "QUEUE_NAME_TAKEN", "QUEUE_NOT_FOUND", "RANGE_HAS_NO_AUDIO", "RANGE_NOT_APPLICABLE", "RANGE_NOT_SATISFIABLE", "RECORDING_CONTENT_MISSING", "RECORDING_NOT_FOUND", "ROLE_NOT_FOUND", "ROLE_SCOPE_MISMATCH", "SAVED_REPLY_NOT_FOUND", "SAVED_REPLY_SHORTCUT_TAKEN", "SCHEDULE_EXCEPTION_NOT_FOUND", "SCHEDULE_NOT_FOUND", "SELF_ROTATION_FORBIDDEN", "SIGNAL_ALERT_OPTION_REMOVED", "SIGNAL_ARCHIVED", "SIGNAL_DEFINITION_INVALID", "SIGNAL_KIND_IMMUTABLE", "SIGNAL_NOT_FOUND", "SIGNAL_TEST_NO_TRANSCRIPTION", "SIGNAL_TEST_SOURCE_INVALID", "SIGNAL_VERSION_CONFLICT", "SSO_REQUIRED", "TRANSCRIPTION_CAPACITY_EXCEEDED", "TRANSCRIPTION_NOT_FOUND", "TTS_VOICE_UNAVAILABLE", "UNAUTHORIZED", "WEBCHAT_ORIGIN_DENIED", "WEBCHAT_SESSION_INVALID", "WEBHOOK_DELIVERY_AGGREGATE_NOT_FOUND", "WEBHOOK_DELIVERY_CURSOR_INVALID", "WEBHOOK_DELIVERY_NOT_RETRYABLE", "WEBHOOK_DELIVERY_RETENTION_EXPIRED", "WEBHOOK_ENDPOINT_NOT_FOUND", "WINDOW_TOO_LONG", "WRAP_UP_PENDING"];
18802
19093
  /** Declared codes shared by every operation (indexes into ERROR_CODES). */
18803
19094
  export declare const COMMON_ERROR_CODES: readonly [];
18804
19095
  /** Distinct per-operation code sets beyond COMMON_ERROR_CODES, as indexes into ERROR_CODES. */
18805
- export declare const ERROR_CODE_SETS: readonly [readonly [48, 156, 157], readonly [51, 156, 157], readonly [86, 109, 110, 155], readonly [49, 50, 99, 156, 157], readonly [31, 32, 86, 109, 110, 155], readonly [86, 92, 93, 109, 110, 155], readonly [34, 86, 92, 93, 109, 110, 155], readonly [35, 86, 92, 93, 109, 110, 155], readonly [57, 86, 92, 93, 109, 110, 155], readonly [8, 86, 92, 93, 109, 110, 155], readonly [80, 86, 92, 93, 109, 110, 155], readonly [86, 90, 92, 93, 109, 110, 155], readonly [86, 92, 93, 109, 110, 111, 155], readonly [86, 92, 93, 109, 110, 140, 155], readonly [86, 92, 93, 109, 110, 141, 155], readonly [86, 92, 93, 109, 110, 155, 158], readonly [86, 92, 93, 109, 110, 155, 159], readonly [86, 92, 93, 94, 109, 110, 155], readonly [86, 92, 93, 95, 109, 110, 155], readonly [86, 92, 93, 96, 109, 110, 155], readonly [14, 86, 92, 93, 109, 110, 111, 155], readonly [16, 19, 86, 92, 93, 109, 110, 155], readonly [17, 21, 86, 92, 93, 109, 110, 155], readonly [30, 86, 92, 93, 109, 110, 111, 155], readonly [34, 48, 86, 92, 93, 109, 110, 155], readonly [52, 86, 92, 93, 109, 110, 111, 155], readonly [53, 86, 92, 93, 109, 110, 111, 155], readonly [54, 86, 92, 93, 109, 110, 111, 155], readonly [78, 86, 92, 93, 109, 110, 111, 155], readonly [78, 86, 92, 93, 95, 109, 110, 155], readonly [80, 86, 92, 93, 109, 110, 111, 155], readonly [86, 88, 90, 92, 93, 109, 110, 155], readonly [86, 89, 90, 92, 93, 109, 110, 155], readonly [86, 90, 92, 93, 96, 109, 110, 155], readonly [86, 91, 92, 93, 109, 110, 111, 155], readonly [86, 92, 93, 108, 109, 110, 124, 155], readonly [86, 92, 93, 109, 110, 111, 130, 155], readonly [86, 92, 93, 109, 110, 111, 155, 162], readonly [86, 92, 93, 109, 110, 111, 155, 163], readonly [86, 92, 93, 109, 110, 115, 116, 155], readonly [86, 92, 93, 109, 110, 155, 160, 161], readonly [86, 92, 93, 97, 109, 110, 141, 155], readonly [1, 76, 86, 87, 92, 93, 109, 110, 155], readonly [13, 14, 86, 92, 93, 109, 110, 111, 155], readonly [14, 86, 92, 93, 109, 110, 111, 130, 155], readonly [3, 4, 5, 86, 92, 93, 109, 110, 155], readonly [48, 54, 86, 92, 93, 109, 110, 111, 155], readonly [52, 64, 86, 92, 93, 109, 110, 111, 155], readonly [65, 66, 86, 92, 93, 109, 110, 111, 155], readonly [7, 8, 86, 92, 93, 109, 110, 142, 155], readonly [77, 80, 82, 86, 92, 93, 109, 110, 155], readonly [79, 80, 81, 86, 92, 93, 109, 110, 155], readonly [85, 86, 92, 93, 109, 110, 111, 153, 155], readonly [86, 88, 90, 92, 93, 96, 109, 110, 155], readonly [86, 90, 92, 93, 94, 97, 109, 110, 155], readonly [86, 92, 93, 109, 110, 111, 121, 122, 155], readonly [86, 92, 93, 109, 110, 111, 125, 126, 155], readonly [86, 92, 93, 109, 110, 111, 125, 147, 155], readonly [86, 92, 93, 109, 110, 111, 128, 130, 155], readonly [86, 92, 93, 109, 110, 111, 138, 139, 155], readonly [86, 92, 93, 97, 109, 110, 140, 141, 155], readonly [0, 36, 86, 92, 93, 108, 109, 110, 124, 155], readonly [19, 86, 92, 93, 109, 110, 111, 129, 130, 155], readonly [3, 4, 5, 86, 92, 93, 109, 110, 111, 155], readonly [3, 4, 5, 86, 92, 93, 109, 110, 154, 155], readonly [34, 86, 92, 93, 109, 110, 133, 134, 135, 155], readonly [37, 86, 92, 93, 98, 108, 109, 110, 124, 155], readonly [38, 86, 92, 93, 98, 108, 109, 110, 124, 155], readonly [52, 59, 66, 86, 92, 93, 109, 110, 111, 155], readonly [59, 66, 67, 86, 92, 93, 109, 110, 111, 155], readonly [69, 86, 92, 93, 109, 110, 111, 125, 147, 155], readonly [70, 71, 86, 92, 93, 109, 110, 111, 130, 155], readonly [77, 80, 82, 86, 92, 93, 109, 110, 111, 155], readonly [79, 80, 81, 86, 92, 93, 109, 110, 111, 155], readonly [86, 90, 92, 93, 94, 97, 109, 110, 141, 155], readonly [14, 86, 92, 93, 109, 110, 111, 122, 123, 155, 164], readonly [2, 14, 15, 56, 86, 92, 93, 109, 110, 111, 155], readonly [52, 62, 63, 66, 86, 92, 93, 109, 110, 111, 155], readonly [72, 86, 92, 93, 109, 110, 111, 125, 127, 147, 155], readonly [58, 59, 60, 61, 68, 86, 92, 93, 109, 110, 111, 155], readonly [2, 12, 14, 56, 83, 84, 86, 92, 93, 109, 110, 111, 155], readonly [3, 4, 5, 18, 19, 20, 86, 92, 93, 109, 110, 154, 155], readonly [36, 37, 86, 92, 93, 98, 108, 109, 110, 124, 136, 137, 155], readonly [58, 59, 60, 61, 68, 86, 92, 93, 109, 110, 111, 125, 155], readonly [6, 74, 86, 92, 93, 109, 110, 112, 124, 136, 137, 151, 155], readonly [76, 85, 86, 92, 93, 109, 110, 117, 118, 119, 120, 125, 155], readonly [86, 92, 93, 100, 101, 102, 103, 104, 105, 106, 109, 110, 155], readonly [9, 10, 11, 47, 86, 92, 93, 107, 109, 110, 111, 124, 155], readonly [22, 23, 24, 25, 26, 27, 28, 29, 86, 92, 93, 109, 110, 155], readonly [4, 33, 86, 92, 93, 109, 110, 111, 113, 114, 131, 132, 135, 152, 155], readonly [2, 39, 40, 41, 42, 43, 44, 45, 46, 47, 73, 86, 92, 93, 109, 110, 111, 155], readonly [2, 6, 12, 14, 56, 83, 84, 86, 92, 93, 108, 109, 110, 111, 124, 136, 137, 151, 155], readonly [34, 55, 75, 86, 92, 93, 109, 110, 111, 125, 143, 144, 145, 146, 147, 148, 149, 150, 155]];
19096
+ export declare const ERROR_CODE_SETS: readonly [readonly [49, 160, 161], readonly [52, 160, 161], readonly [88, 113, 114, 159], readonly [50, 51, 101, 160, 161], readonly [32, 33, 88, 113, 114, 159], readonly [88, 94, 95, 113, 114, 159], readonly [35, 88, 94, 95, 113, 114, 159], readonly [36, 88, 94, 95, 113, 114, 159], readonly [59, 88, 94, 95, 113, 114, 159], readonly [8, 88, 94, 95, 113, 114, 159], readonly [82, 88, 94, 95, 113, 114, 159], readonly [88, 92, 94, 95, 113, 114, 159], readonly [88, 94, 95, 113, 114, 115, 159], readonly [88, 94, 95, 113, 114, 144, 159], readonly [88, 94, 95, 113, 114, 145, 159], readonly [88, 94, 95, 113, 114, 159, 162], readonly [88, 94, 95, 113, 114, 159, 163], readonly [88, 94, 95, 96, 113, 114, 159], readonly [88, 94, 95, 97, 113, 114, 159], readonly [88, 94, 95, 98, 113, 114, 159], readonly [15, 88, 94, 95, 113, 114, 115, 159], readonly [17, 20, 88, 94, 95, 113, 114, 159], readonly [18, 22, 88, 94, 95, 113, 114, 159], readonly [31, 88, 94, 95, 113, 114, 115, 159], readonly [35, 49, 88, 94, 95, 113, 114, 159], readonly [53, 88, 94, 95, 113, 114, 115, 159], readonly [54, 88, 94, 95, 113, 114, 115, 159], readonly [55, 88, 94, 95, 113, 114, 115, 159], readonly [80, 88, 94, 95, 113, 114, 115, 159], readonly [80, 88, 94, 95, 97, 113, 114, 159], readonly [82, 88, 94, 95, 113, 114, 115, 159], readonly [88, 90, 92, 94, 95, 113, 114, 159], readonly [88, 91, 92, 94, 95, 113, 114, 159], readonly [88, 92, 94, 95, 98, 113, 114, 159], readonly [88, 93, 94, 95, 113, 114, 115, 159], readonly [88, 94, 95, 112, 113, 114, 128, 159], readonly [88, 94, 95, 113, 114, 115, 134, 159], readonly [88, 94, 95, 113, 114, 115, 159, 166], readonly [88, 94, 95, 113, 114, 115, 159, 167], readonly [88, 94, 95, 113, 114, 119, 120, 159], readonly [88, 94, 95, 113, 114, 159, 164, 165], readonly [88, 94, 95, 99, 113, 114, 145, 159], readonly [1, 78, 88, 89, 94, 95, 113, 114, 159], readonly [13, 15, 88, 94, 95, 113, 114, 115, 159], readonly [15, 88, 94, 95, 113, 114, 115, 134, 159], readonly [3, 4, 5, 88, 94, 95, 113, 114, 159], readonly [49, 55, 88, 94, 95, 113, 114, 115, 159], readonly [53, 66, 88, 94, 95, 113, 114, 115, 159], readonly [67, 68, 88, 94, 95, 113, 114, 115, 159], readonly [7, 8, 88, 94, 95, 113, 114, 146, 159], readonly [79, 82, 84, 88, 94, 95, 113, 114, 159], readonly [81, 82, 83, 88, 94, 95, 113, 114, 159], readonly [87, 88, 94, 95, 113, 114, 115, 157, 159], readonly [88, 90, 92, 94, 95, 98, 113, 114, 159], readonly [88, 92, 94, 95, 96, 99, 113, 114, 159], readonly [88, 94, 95, 113, 114, 115, 125, 126, 159], readonly [88, 94, 95, 113, 114, 115, 129, 130, 159], readonly [88, 94, 95, 113, 114, 115, 129, 151, 159], readonly [88, 94, 95, 113, 114, 115, 132, 134, 159], readonly [88, 94, 95, 113, 114, 115, 134, 159, 167], readonly [88, 94, 95, 113, 114, 115, 142, 143, 159], readonly [88, 94, 95, 99, 113, 114, 144, 145, 159], readonly [0, 37, 88, 94, 95, 112, 113, 114, 128, 159], readonly [20, 88, 94, 95, 113, 114, 115, 133, 134, 159], readonly [3, 4, 5, 88, 94, 95, 113, 114, 115, 159], readonly [3, 4, 5, 88, 94, 95, 113, 114, 158, 159], readonly [35, 88, 94, 95, 113, 114, 137, 138, 139, 159], readonly [38, 88, 94, 95, 100, 112, 113, 114, 128, 159], readonly [39, 88, 94, 95, 100, 112, 113, 114, 128, 159], readonly [53, 61, 68, 88, 94, 95, 113, 114, 115, 159], readonly [55, 56, 58, 88, 94, 95, 113, 114, 115, 159], readonly [61, 68, 69, 88, 94, 95, 113, 114, 115, 159], readonly [71, 88, 94, 95, 113, 114, 115, 129, 151, 159], readonly [72, 73, 88, 94, 95, 113, 114, 115, 134, 159], readonly [79, 82, 84, 88, 94, 95, 113, 114, 115, 159], readonly [81, 82, 83, 88, 94, 95, 113, 114, 115, 159], readonly [88, 92, 94, 95, 96, 99, 113, 114, 145, 159], readonly [15, 88, 94, 95, 113, 114, 115, 126, 127, 159, 168], readonly [2, 15, 16, 58, 88, 94, 95, 113, 114, 115, 159], readonly [53, 64, 65, 68, 88, 94, 95, 113, 114, 115, 159], readonly [74, 88, 94, 95, 113, 114, 115, 129, 131, 151, 159], readonly [60, 61, 62, 63, 70, 88, 94, 95, 113, 114, 115, 159], readonly [2, 12, 15, 58, 85, 86, 88, 94, 95, 113, 114, 115, 159], readonly [3, 4, 5, 19, 20, 21, 88, 94, 95, 113, 114, 158, 159], readonly [37, 38, 88, 94, 95, 100, 112, 113, 114, 128, 140, 141, 159], readonly [6, 76, 88, 94, 95, 113, 114, 116, 128, 140, 141, 155, 159], readonly [60, 61, 62, 63, 70, 88, 94, 95, 113, 114, 115, 129, 159], readonly [88, 94, 95, 104, 105, 106, 107, 108, 109, 110, 113, 114, 159], readonly [23, 24, 25, 26, 27, 28, 29, 30, 88, 94, 95, 113, 114, 159], readonly [78, 87, 88, 94, 95, 113, 114, 115, 121, 122, 123, 124, 129, 159], readonly [9, 10, 11, 14, 48, 88, 94, 95, 111, 113, 114, 115, 128, 159], readonly [4, 34, 88, 94, 95, 113, 114, 115, 117, 118, 135, 136, 139, 156, 159], readonly [88, 94, 95, 102, 103, 104, 105, 106, 107, 108, 109, 110, 113, 114, 159], readonly [2, 40, 41, 42, 43, 44, 45, 46, 47, 48, 75, 88, 94, 95, 113, 114, 115, 159], readonly [35, 57, 77, 88, 94, 95, 113, 114, 115, 129, 147, 148, 149, 150, 151, 152, 153, 154, 159], readonly [2, 6, 12, 14, 15, 58, 85, 86, 88, 94, 95, 112, 113, 114, 115, 128, 140, 141, 155, 159]];
18806
19097
  /** Data-only operation table: transport metadata, no types. */
18807
19098
  export declare const OPERATIONS: {
18808
19099
  readonly "ai.getBudget": {
@@ -18857,7 +19148,7 @@ export declare const OPERATIONS: {
18857
19148
  readonly queryParams: readonly [];
18858
19149
  readonly bodyKind: "none";
18859
19150
  readonly responseKind: "json";
18860
- readonly codes: 63;
19151
+ readonly codes: 64;
18861
19152
  };
18862
19153
  readonly "ai.listStructuredAnalyses": {
18863
19154
  readonly method: "GET";
@@ -18911,7 +19202,7 @@ export declare const OPERATIONS: {
18911
19202
  readonly queryParams: readonly [];
18912
19203
  readonly bodyKind: "json";
18913
19204
  readonly responseKind: "json";
18914
- readonly codes: 89;
19205
+ readonly codes: 91;
18915
19206
  };
18916
19207
  readonly "apiKeys.create": {
18917
19208
  readonly method: "POST";
@@ -18992,7 +19283,7 @@ export declare const OPERATIONS: {
18992
19283
  readonly queryParams: readonly ["search", "page", "limit", "sort_by", "sort_order", "entity_type"];
18993
19284
  readonly bodyKind: "none";
18994
19285
  readonly responseKind: "json";
18995
- readonly codes: 87;
19286
+ readonly codes: 90;
18996
19287
  };
18997
19288
  readonly "archive.purge": {
18998
19289
  readonly method: "DELETE";
@@ -19001,7 +19292,7 @@ export declare const OPERATIONS: {
19001
19292
  readonly queryParams: readonly [];
19002
19293
  readonly bodyKind: "none";
19003
19294
  readonly responseKind: "json";
19004
- readonly codes: 87;
19295
+ readonly codes: 90;
19005
19296
  };
19006
19297
  readonly "archive.restore": {
19007
19298
  readonly method: "POST";
@@ -19010,7 +19301,7 @@ export declare const OPERATIONS: {
19010
19301
  readonly queryParams: readonly [];
19011
19302
  readonly bodyKind: "none";
19012
19303
  readonly responseKind: "json";
19013
- readonly codes: 87;
19304
+ readonly codes: 90;
19014
19305
  };
19015
19306
  readonly "archive.summary": {
19016
19307
  readonly method: "GET";
@@ -19019,7 +19310,7 @@ export declare const OPERATIONS: {
19019
19310
  readonly queryParams: readonly [];
19020
19311
  readonly bodyKind: "none";
19021
19312
  readonly responseKind: "json";
19022
- readonly codes: 87;
19313
+ readonly codes: 90;
19023
19314
  };
19024
19315
  readonly "attendants.create": {
19025
19316
  readonly method: "POST";
@@ -19028,7 +19319,7 @@ export declare const OPERATIONS: {
19028
19319
  readonly queryParams: readonly [];
19029
19320
  readonly bodyKind: "json";
19030
19321
  readonly responseKind: "json";
19031
- readonly codes: 91;
19322
+ readonly codes: 95;
19032
19323
  };
19033
19324
  readonly "attendants.delete": {
19034
19325
  readonly method: "DELETE";
@@ -19064,7 +19355,7 @@ export declare const OPERATIONS: {
19064
19355
  readonly queryParams: readonly [];
19065
19356
  readonly bodyKind: "none";
19066
19357
  readonly responseKind: "json";
19067
- readonly codes: 76;
19358
+ readonly codes: 78;
19068
19359
  };
19069
19360
  readonly "attendants.setStatus": {
19070
19361
  readonly method: "POST";
@@ -19073,7 +19364,7 @@ export declare const OPERATIONS: {
19073
19364
  readonly queryParams: readonly [];
19074
19365
  readonly bodyKind: "json";
19075
19366
  readonly responseKind: "json";
19076
- readonly codes: 75;
19367
+ readonly codes: 77;
19077
19368
  };
19078
19369
  readonly "attendants.statusLog": {
19079
19370
  readonly method: "GET";
@@ -19091,7 +19382,7 @@ export declare const OPERATIONS: {
19091
19382
  readonly queryParams: readonly [];
19092
19383
  readonly bodyKind: "json";
19093
19384
  readonly responseKind: "json";
19094
- readonly codes: 80;
19385
+ readonly codes: 82;
19095
19386
  };
19096
19387
  readonly "audioFiles.content": {
19097
19388
  readonly method: "GET";
@@ -19109,7 +19400,7 @@ export declare const OPERATIONS: {
19109
19400
  readonly queryParams: readonly [];
19110
19401
  readonly bodyKind: "none";
19111
19402
  readonly responseKind: "json";
19112
- readonly codes: 81;
19403
+ readonly codes: 83;
19113
19404
  };
19114
19405
  readonly "audioFiles.generateTts": {
19115
19406
  readonly method: "POST";
@@ -19118,7 +19409,7 @@ export declare const OPERATIONS: {
19118
19409
  readonly queryParams: readonly [];
19119
19410
  readonly bodyKind: "json";
19120
19411
  readonly responseKind: "json";
19121
- readonly codes: 81;
19412
+ readonly codes: 83;
19122
19413
  };
19123
19414
  readonly "audioFiles.getById": {
19124
19415
  readonly method: "GET";
@@ -19127,7 +19418,7 @@ export declare const OPERATIONS: {
19127
19418
  readonly queryParams: readonly [];
19128
19419
  readonly bodyKind: "none";
19129
19420
  readonly responseKind: "json";
19130
- readonly codes: 81;
19421
+ readonly codes: 83;
19131
19422
  };
19132
19423
  readonly "audioFiles.list": {
19133
19424
  readonly method: "GET";
@@ -19154,7 +19445,7 @@ export declare const OPERATIONS: {
19154
19445
  readonly queryParams: readonly [];
19155
19446
  readonly bodyKind: "json";
19156
19447
  readonly responseKind: "json";
19157
- readonly codes: 81;
19448
+ readonly codes: 83;
19158
19449
  };
19159
19450
  readonly "audioFiles.update": {
19160
19451
  readonly method: "PATCH";
@@ -19163,7 +19454,7 @@ export declare const OPERATIONS: {
19163
19454
  readonly queryParams: readonly [];
19164
19455
  readonly bodyKind: "json";
19165
19456
  readonly responseKind: "json";
19166
- readonly codes: 81;
19457
+ readonly codes: 83;
19167
19458
  };
19168
19459
  readonly "audioFiles.upload": {
19169
19460
  readonly method: "POST";
@@ -19199,7 +19490,7 @@ export declare const OPERATIONS: {
19199
19490
  readonly queryParams: readonly [];
19200
19491
  readonly bodyKind: "none";
19201
19492
  readonly responseKind: "json";
19202
- readonly codes: 73;
19493
+ readonly codes: 75;
19203
19494
  };
19204
19495
  readonly "audit.exportJobCreate": {
19205
19496
  readonly method: "POST";
@@ -19217,7 +19508,7 @@ export declare const OPERATIONS: {
19217
19508
  readonly queryParams: readonly [];
19218
19509
  readonly bodyKind: "none";
19219
19510
  readonly responseKind: "binary";
19220
- readonly codes: 72;
19511
+ readonly codes: 74;
19221
19512
  };
19222
19513
  readonly "audit.exportJobGet": {
19223
19514
  readonly method: "GET";
@@ -19397,7 +19688,7 @@ export declare const OPERATIONS: {
19397
19688
  readonly queryParams: readonly [];
19398
19689
  readonly bodyKind: "none";
19399
19690
  readonly responseKind: "binary";
19400
- readonly codes: 65;
19691
+ readonly codes: 66;
19401
19692
  };
19402
19693
  readonly "callRecords.retryRecording": {
19403
19694
  readonly method: "POST";
@@ -19424,7 +19715,7 @@ export declare const OPERATIONS: {
19424
19715
  readonly queryParams: readonly [];
19425
19716
  readonly bodyKind: "json";
19426
19717
  readonly responseKind: "json";
19427
- readonly codes: 85;
19718
+ readonly codes: 89;
19428
19719
  };
19429
19720
  readonly "capabilities.get": {
19430
19721
  readonly method: "GET";
@@ -19442,7 +19733,7 @@ export declare const OPERATIONS: {
19442
19733
  readonly queryParams: readonly [];
19443
19734
  readonly bodyKind: "json";
19444
19735
  readonly responseKind: "json";
19445
- readonly codes: 90;
19736
+ readonly codes: 93;
19446
19737
  };
19447
19738
  readonly "channels.delete": {
19448
19739
  readonly method: "DELETE";
@@ -19451,7 +19742,7 @@ export declare const OPERATIONS: {
19451
19742
  readonly queryParams: readonly [];
19452
19743
  readonly bodyKind: "none";
19453
19744
  readonly responseKind: "json";
19454
- readonly codes: 90;
19745
+ readonly codes: 93;
19455
19746
  };
19456
19747
  readonly "channels.getById": {
19457
19748
  readonly method: "GET";
@@ -19460,7 +19751,7 @@ export declare const OPERATIONS: {
19460
19751
  readonly queryParams: readonly [];
19461
19752
  readonly bodyKind: "none";
19462
19753
  readonly responseKind: "json";
19463
- readonly codes: 90;
19754
+ readonly codes: 93;
19464
19755
  };
19465
19756
  readonly "channels.list": {
19466
19757
  readonly method: "GET";
@@ -19469,7 +19760,7 @@ export declare const OPERATIONS: {
19469
19760
  readonly queryParams: readonly ["search", "page", "limit", "sort_by", "sort_order", "channel_type", "is_active", "alert"];
19470
19761
  readonly bodyKind: "none";
19471
19762
  readonly responseKind: "json";
19472
- readonly codes: 90;
19763
+ readonly codes: 93;
19473
19764
  };
19474
19765
  readonly "channels.rotateWebchatKey": {
19475
19766
  readonly method: "POST";
@@ -19478,7 +19769,7 @@ export declare const OPERATIONS: {
19478
19769
  readonly queryParams: readonly [];
19479
19770
  readonly bodyKind: "none";
19480
19771
  readonly responseKind: "json";
19481
- readonly codes: 90;
19772
+ readonly codes: 93;
19482
19773
  };
19483
19774
  readonly "channels.rotateWebchatSecret": {
19484
19775
  readonly method: "POST";
@@ -19487,7 +19778,7 @@ export declare const OPERATIONS: {
19487
19778
  readonly queryParams: readonly [];
19488
19779
  readonly bodyKind: "none";
19489
19780
  readonly responseKind: "json";
19490
- readonly codes: 90;
19781
+ readonly codes: 93;
19491
19782
  };
19492
19783
  readonly "channels.testConnection": {
19493
19784
  readonly method: "POST";
@@ -19496,7 +19787,7 @@ export declare const OPERATIONS: {
19496
19787
  readonly queryParams: readonly [];
19497
19788
  readonly bodyKind: "json";
19498
19789
  readonly responseKind: "json";
19499
- readonly codes: 90;
19790
+ readonly codes: 93;
19500
19791
  };
19501
19792
  readonly "channels.toggle": {
19502
19793
  readonly method: "POST";
@@ -19505,7 +19796,7 @@ export declare const OPERATIONS: {
19505
19796
  readonly queryParams: readonly [];
19506
19797
  readonly bodyKind: "json";
19507
19798
  readonly responseKind: "json";
19508
- readonly codes: 90;
19799
+ readonly codes: 93;
19509
19800
  };
19510
19801
  readonly "channels.update": {
19511
19802
  readonly method: "PATCH";
@@ -19514,7 +19805,7 @@ export declare const OPERATIONS: {
19514
19805
  readonly queryParams: readonly [];
19515
19806
  readonly bodyKind: "json";
19516
19807
  readonly responseKind: "json";
19517
- readonly codes: 90;
19808
+ readonly codes: 93;
19518
19809
  };
19519
19810
  readonly "chat.createMedia": {
19520
19811
  readonly method: "POST";
@@ -19676,7 +19967,7 @@ export declare const OPERATIONS: {
19676
19967
  readonly queryParams: readonly [];
19677
19968
  readonly bodyKind: "json";
19678
19969
  readonly responseKind: "json";
19679
- readonly codes: 71;
19970
+ readonly codes: 73;
19680
19971
  };
19681
19972
  readonly "deskSettings.createPauseReason": {
19682
19973
  readonly method: "POST";
@@ -19694,7 +19985,7 @@ export declare const OPERATIONS: {
19694
19985
  readonly queryParams: readonly [];
19695
19986
  readonly bodyKind: "none";
19696
19987
  readonly responseKind: "json";
19697
- readonly codes: 71;
19988
+ readonly codes: 73;
19698
19989
  };
19699
19990
  readonly "deskSettings.deletePauseReason": {
19700
19991
  readonly method: "DELETE";
@@ -19739,7 +20030,7 @@ export declare const OPERATIONS: {
19739
20030
  readonly queryParams: readonly [];
19740
20031
  readonly bodyKind: "json";
19741
20032
  readonly responseKind: "json";
19742
- readonly codes: 71;
20033
+ readonly codes: 73;
19743
20034
  };
19744
20035
  readonly "deskSettings.reorderPauseReasons": {
19745
20036
  readonly method: "POST";
@@ -19766,7 +20057,7 @@ export declare const OPERATIONS: {
19766
20057
  readonly queryParams: readonly [];
19767
20058
  readonly bodyKind: "json";
19768
20059
  readonly responseKind: "json";
19769
- readonly codes: 71;
20060
+ readonly codes: 73;
19770
20061
  };
19771
20062
  readonly "deskSettings.updatePauseReason": {
19772
20063
  readonly method: "PATCH";
@@ -19838,7 +20129,7 @@ export declare const OPERATIONS: {
19838
20129
  readonly queryParams: readonly [];
19839
20130
  readonly bodyKind: "json";
19840
20131
  readonly responseKind: "json";
19841
- readonly codes: 79;
20132
+ readonly codes: 81;
19842
20133
  };
19843
20134
  readonly "dialerCampaigns.create": {
19844
20135
  readonly method: "POST";
@@ -19847,7 +20138,7 @@ export declare const OPERATIONS: {
19847
20138
  readonly queryParams: readonly [];
19848
20139
  readonly bodyKind: "json";
19849
20140
  readonly responseKind: "json";
19850
- readonly codes: 83;
20141
+ readonly codes: 86;
19851
20142
  };
19852
20143
  readonly "dialerCampaigns.delete": {
19853
20144
  readonly method: "DELETE";
@@ -19856,7 +20147,7 @@ export declare const OPERATIONS: {
19856
20147
  readonly queryParams: readonly [];
19857
20148
  readonly bodyKind: "none";
19858
20149
  readonly responseKind: "json";
19859
- readonly codes: 79;
20150
+ readonly codes: 81;
19860
20151
  };
19861
20152
  readonly "dialerCampaigns.get": {
19862
20153
  readonly method: "GET";
@@ -19865,7 +20156,7 @@ export declare const OPERATIONS: {
19865
20156
  readonly queryParams: readonly [];
19866
20157
  readonly bodyKind: "none";
19867
20158
  readonly responseKind: "json";
19868
- readonly codes: 79;
20159
+ readonly codes: 81;
19869
20160
  };
19870
20161
  readonly "dialerCampaigns.list": {
19871
20162
  readonly method: "GET";
@@ -19883,7 +20174,7 @@ export declare const OPERATIONS: {
19883
20174
  readonly queryParams: readonly [];
19884
20175
  readonly bodyKind: "none";
19885
20176
  readonly responseKind: "sse";
19886
- readonly codes: 79;
20177
+ readonly codes: 81;
19887
20178
  };
19888
20179
  readonly "dialerCampaigns.orgLiveStats": {
19889
20180
  readonly method: "GET";
@@ -19901,7 +20192,7 @@ export declare const OPERATIONS: {
19901
20192
  readonly queryParams: readonly [];
19902
20193
  readonly bodyKind: "none";
19903
20194
  readonly responseKind: "json";
19904
- readonly codes: 79;
20195
+ readonly codes: 81;
19905
20196
  };
19906
20197
  readonly "dialerCampaigns.summary": {
19907
20198
  readonly method: "GET";
@@ -19919,7 +20210,7 @@ export declare const OPERATIONS: {
19919
20210
  readonly queryParams: readonly [];
19920
20211
  readonly bodyKind: "json";
19921
20212
  readonly responseKind: "json";
19922
- readonly codes: 79;
20213
+ readonly codes: 81;
19923
20214
  };
19924
20215
  readonly "dialerContacts.add": {
19925
20216
  readonly method: "POST";
@@ -19928,7 +20219,7 @@ export declare const OPERATIONS: {
19928
20219
  readonly queryParams: readonly [];
19929
20220
  readonly bodyKind: "json";
19930
20221
  readonly responseKind: "json";
19931
- readonly codes: 68;
20222
+ readonly codes: 69;
19932
20223
  };
19933
20224
  readonly "dialerContacts.bulkCancel": {
19934
20225
  readonly method: "POST";
@@ -19955,7 +20246,7 @@ export declare const OPERATIONS: {
19955
20246
  readonly queryParams: readonly [];
19956
20247
  readonly bodyKind: "none";
19957
20248
  readonly responseKind: "json";
19958
- readonly codes: 68;
20249
+ readonly codes: 69;
19959
20250
  };
19960
20251
  readonly "dialerContacts.exportCsv": {
19961
20252
  readonly method: "GET";
@@ -20018,7 +20309,7 @@ export declare const OPERATIONS: {
20018
20309
  readonly queryParams: readonly [];
20019
20310
  readonly bodyKind: "json";
20020
20311
  readonly responseKind: "json";
20021
- readonly codes: 77;
20312
+ readonly codes: 79;
20022
20313
  };
20023
20314
  readonly "dialerDnc.add": {
20024
20315
  readonly method: "POST";
@@ -20072,7 +20363,7 @@ export declare const OPERATIONS: {
20072
20363
  readonly queryParams: readonly [];
20073
20364
  readonly bodyKind: "json";
20074
20365
  readonly responseKind: "json";
20075
- readonly codes: 69;
20366
+ readonly codes: 71;
20076
20367
  };
20077
20368
  readonly "dialerImports.get": {
20078
20369
  readonly method: "GET";
@@ -20081,7 +20372,7 @@ export declare const OPERATIONS: {
20081
20372
  readonly queryParams: readonly [];
20082
20373
  readonly bodyKind: "none";
20083
20374
  readonly responseKind: "json";
20084
- readonly codes: 69;
20375
+ readonly codes: 71;
20085
20376
  };
20086
20377
  readonly "dialerImports.invalidRows": {
20087
20378
  readonly method: "GET";
@@ -20090,7 +20381,7 @@ export declare const OPERATIONS: {
20090
20381
  readonly queryParams: readonly [];
20091
20382
  readonly bodyKind: "none";
20092
20383
  readonly responseKind: "json";
20093
- readonly codes: 69;
20384
+ readonly codes: 71;
20094
20385
  };
20095
20386
  readonly "dialerImports.progress": {
20096
20387
  readonly method: "GET";
@@ -20099,7 +20390,7 @@ export declare const OPERATIONS: {
20099
20390
  readonly queryParams: readonly [];
20100
20391
  readonly bodyKind: "none";
20101
20392
  readonly responseKind: "sse";
20102
- readonly codes: 69;
20393
+ readonly codes: 71;
20103
20394
  };
20104
20395
  readonly "holidayCalendars.create": {
20105
20396
  readonly method: "POST";
@@ -20252,7 +20543,7 @@ export declare const OPERATIONS: {
20252
20543
  readonly queryParams: readonly [];
20253
20544
  readonly bodyKind: "json";
20254
20545
  readonly responseKind: "json";
20255
- readonly codes: 86;
20546
+ readonly codes: 87;
20256
20547
  };
20257
20548
  readonly "license.activation": {
20258
20549
  readonly method: "GET";
@@ -20272,6 +20563,24 @@ export declare const OPERATIONS: {
20272
20563
  readonly responseKind: "json";
20273
20564
  readonly codes: 2;
20274
20565
  };
20566
+ readonly "license.offlineRenewalRequest": {
20567
+ readonly method: "POST";
20568
+ readonly path: "/license/offline/renewal-request";
20569
+ readonly pathParams: readonly [];
20570
+ readonly queryParams: readonly [];
20571
+ readonly bodyKind: "none";
20572
+ readonly responseKind: "json";
20573
+ readonly codes: 87;
20574
+ };
20575
+ readonly "license.offlineRenewalResponse": {
20576
+ readonly method: "POST";
20577
+ readonly path: "/license/offline/renewal-response";
20578
+ readonly pathParams: readonly [];
20579
+ readonly queryParams: readonly [];
20580
+ readonly bodyKind: "json";
20581
+ readonly responseKind: "json";
20582
+ readonly codes: 92;
20583
+ };
20275
20584
  readonly "license.orgUsage": {
20276
20585
  readonly method: "GET";
20277
20586
  readonly path: "/license/org-usage";
@@ -20288,7 +20597,7 @@ export declare const OPERATIONS: {
20288
20597
  readonly queryParams: readonly [];
20289
20598
  readonly bodyKind: "none";
20290
20599
  readonly responseKind: "json";
20291
- readonly codes: 86;
20600
+ readonly codes: 87;
20292
20601
  };
20293
20602
  readonly "license.status": {
20294
20603
  readonly method: "GET";
@@ -20378,7 +20687,7 @@ export declare const OPERATIONS: {
20378
20687
  readonly queryParams: readonly [];
20379
20688
  readonly bodyKind: "json";
20380
20689
  readonly responseKind: "json";
20381
- readonly codes: 5;
20690
+ readonly codes: 12;
20382
20691
  };
20383
20692
  readonly "queues.addMembers": {
20384
20693
  readonly method: "POST";
@@ -20396,7 +20705,7 @@ export declare const OPERATIONS: {
20396
20705
  readonly queryParams: readonly [];
20397
20706
  readonly bodyKind: "json";
20398
20707
  readonly responseKind: "json";
20399
- readonly codes: 62;
20708
+ readonly codes: 63;
20400
20709
  };
20401
20710
  readonly "queues.delete": {
20402
20711
  readonly method: "DELETE";
@@ -20434,6 +20743,15 @@ export declare const OPERATIONS: {
20434
20743
  readonly responseKind: "json";
20435
20744
  readonly codes: 36;
20436
20745
  };
20746
+ readonly "queues.listen": {
20747
+ readonly method: "POST";
20748
+ readonly path: "/queues/listen";
20749
+ readonly pathParams: readonly [];
20750
+ readonly queryParams: readonly [];
20751
+ readonly bodyKind: "json";
20752
+ readonly responseKind: "json";
20753
+ readonly codes: 70;
20754
+ };
20437
20755
  readonly "queues.removeMember": {
20438
20756
  readonly method: "DELETE";
20439
20757
  readonly path: "/queues/{queue_id}/members/{attendant_id}";
@@ -20456,10 +20774,10 @@ export declare const OPERATIONS: {
20456
20774
  readonly method: "GET";
20457
20775
  readonly path: "/queues/{queue_id}/stats";
20458
20776
  readonly pathParams: readonly ["queue_id"];
20459
- readonly queryParams: readonly [];
20777
+ readonly queryParams: readonly ["date_from", "date_to"];
20460
20778
  readonly bodyKind: "none";
20461
20779
  readonly responseKind: "json";
20462
- readonly codes: 36;
20780
+ readonly codes: 59;
20463
20781
  };
20464
20782
  readonly "queues.update": {
20465
20783
  readonly method: "PATCH";
@@ -20468,7 +20786,7 @@ export declare const OPERATIONS: {
20468
20786
  readonly queryParams: readonly [];
20469
20787
  readonly bodyKind: "json";
20470
20788
  readonly responseKind: "json";
20471
- readonly codes: 62;
20789
+ readonly codes: 63;
20472
20790
  };
20473
20791
  readonly "queues.updateMember": {
20474
20792
  readonly method: "PATCH";
@@ -20486,7 +20804,7 @@ export declare const OPERATIONS: {
20486
20804
  readonly queryParams: readonly [];
20487
20805
  readonly bodyKind: "json";
20488
20806
  readonly responseKind: "json";
20489
- readonly codes: 59;
20807
+ readonly codes: 60;
20490
20808
  };
20491
20809
  readonly "savedReplies.delete": {
20492
20810
  readonly method: "DELETE";
@@ -20495,7 +20813,7 @@ export declare const OPERATIONS: {
20495
20813
  readonly queryParams: readonly [];
20496
20814
  readonly bodyKind: "none";
20497
20815
  readonly responseKind: "json";
20498
- readonly codes: 59;
20816
+ readonly codes: 60;
20499
20817
  };
20500
20818
  readonly "savedReplies.get": {
20501
20819
  readonly method: "GET";
@@ -20504,7 +20822,7 @@ export declare const OPERATIONS: {
20504
20822
  readonly queryParams: readonly [];
20505
20823
  readonly bodyKind: "none";
20506
20824
  readonly responseKind: "json";
20507
- readonly codes: 59;
20825
+ readonly codes: 60;
20508
20826
  };
20509
20827
  readonly "savedReplies.list": {
20510
20828
  readonly method: "GET";
@@ -20522,7 +20840,7 @@ export declare const OPERATIONS: {
20522
20840
  readonly queryParams: readonly [];
20523
20841
  readonly bodyKind: "json";
20524
20842
  readonly responseKind: "json";
20525
- readonly codes: 59;
20843
+ readonly codes: 60;
20526
20844
  };
20527
20845
  readonly "scheduleExceptions.create": {
20528
20846
  readonly method: "POST";
@@ -20567,7 +20885,7 @@ export declare const OPERATIONS: {
20567
20885
  readonly queryParams: readonly [];
20568
20886
  readonly bodyKind: "json";
20569
20887
  readonly responseKind: "json";
20570
- readonly codes: 60;
20888
+ readonly codes: 61;
20571
20889
  };
20572
20890
  readonly "schedules.calendar": {
20573
20891
  readonly method: "GET";
@@ -20675,7 +20993,7 @@ export declare const OPERATIONS: {
20675
20993
  readonly queryParams: readonly [];
20676
20994
  readonly bodyKind: "json";
20677
20995
  readonly responseKind: "json";
20678
- readonly codes: 74;
20996
+ readonly codes: 76;
20679
20997
  };
20680
20998
  readonly "schedules.usage": {
20681
20999
  readonly method: "GET";
@@ -20711,7 +21029,7 @@ export declare const OPERATIONS: {
20711
21029
  readonly queryParams: readonly ["locale"];
20712
21030
  readonly bodyKind: "none";
20713
21031
  readonly responseKind: "json";
20714
- readonly codes: 92;
21032
+ readonly codes: 94;
20715
21033
  };
20716
21034
  readonly "signals.create": {
20717
21035
  readonly method: "POST";
@@ -20720,7 +21038,7 @@ export declare const OPERATIONS: {
20720
21038
  readonly queryParams: readonly [];
20721
21039
  readonly bodyKind: "json";
20722
21040
  readonly responseKind: "json";
20723
- readonly codes: 92;
21041
+ readonly codes: 94;
20724
21042
  };
20725
21043
  readonly "signals.delete": {
20726
21044
  readonly method: "DELETE";
@@ -20729,7 +21047,7 @@ export declare const OPERATIONS: {
20729
21047
  readonly queryParams: readonly [];
20730
21048
  readonly bodyKind: "none";
20731
21049
  readonly responseKind: "json";
20732
- readonly codes: 92;
21050
+ readonly codes: 94;
20733
21051
  };
20734
21052
  readonly "signals.get": {
20735
21053
  readonly method: "GET";
@@ -20738,7 +21056,7 @@ export declare const OPERATIONS: {
20738
21056
  readonly queryParams: readonly [];
20739
21057
  readonly bodyKind: "none";
20740
21058
  readonly responseKind: "json";
20741
- readonly codes: 92;
21059
+ readonly codes: 94;
20742
21060
  };
20743
21061
  readonly "signals.list": {
20744
21062
  readonly method: "GET";
@@ -20774,7 +21092,7 @@ export declare const OPERATIONS: {
20774
21092
  readonly queryParams: readonly [];
20775
21093
  readonly bodyKind: "json";
20776
21094
  readonly responseKind: "json";
20777
- readonly codes: 92;
21095
+ readonly codes: 94;
20778
21096
  };
20779
21097
  readonly "signals.update": {
20780
21098
  readonly method: "PATCH";
@@ -20783,7 +21101,7 @@ export declare const OPERATIONS: {
20783
21101
  readonly queryParams: readonly [];
20784
21102
  readonly bodyKind: "json";
20785
21103
  readonly responseKind: "json";
20786
- readonly codes: 92;
21104
+ readonly codes: 94;
20787
21105
  };
20788
21106
  readonly "signals.upsertBySlug": {
20789
21107
  readonly method: "PUT";
@@ -20792,7 +21110,7 @@ export declare const OPERATIONS: {
20792
21110
  readonly queryParams: readonly [];
20793
21111
  readonly bodyKind: "json";
20794
21112
  readonly responseKind: "json";
20795
- readonly codes: 92;
21113
+ readonly codes: 94;
20796
21114
  };
20797
21115
  readonly "tts.listModels": {
20798
21116
  readonly method: "GET";
@@ -20819,7 +21137,7 @@ export declare const OPERATIONS: {
20819
21137
  readonly queryParams: readonly [];
20820
21138
  readonly bodyKind: "json";
20821
21139
  readonly responseKind: "binary";
20822
- readonly codes: 64;
21140
+ readonly codes: 65;
20823
21141
  };
20824
21142
  readonly "users.activateMember": {
20825
21143
  readonly method: "POST";
@@ -20837,7 +21155,7 @@ export declare const OPERATIONS: {
20837
21155
  readonly queryParams: readonly [];
20838
21156
  readonly bodyKind: "json";
20839
21157
  readonly responseKind: "json";
20840
- readonly codes: 84;
21158
+ readonly codes: 85;
20841
21159
  };
20842
21160
  readonly "users.listMembers": {
20843
21161
  readonly method: "GET";
@@ -20864,7 +21182,7 @@ export declare const OPERATIONS: {
20864
21182
  readonly queryParams: readonly [];
20865
21183
  readonly bodyKind: "none";
20866
21184
  readonly responseKind: "json";
20867
- readonly codes: 66;
21185
+ readonly codes: 67;
20868
21186
  };
20869
21187
  readonly "users.resetSecondFactor": {
20870
21188
  readonly method: "POST";
@@ -20873,7 +21191,7 @@ export declare const OPERATIONS: {
20873
21191
  readonly queryParams: readonly [];
20874
21192
  readonly bodyKind: "none";
20875
21193
  readonly responseKind: "json";
20876
- readonly codes: 61;
21194
+ readonly codes: 62;
20877
21195
  };
20878
21196
  readonly "users.revokeMemberSessions": {
20879
21197
  readonly method: "POST";
@@ -20882,7 +21200,7 @@ export declare const OPERATIONS: {
20882
21200
  readonly queryParams: readonly [];
20883
21201
  readonly bodyKind: "none";
20884
21202
  readonly responseKind: "json";
20885
- readonly codes: 61;
21203
+ readonly codes: 62;
20886
21204
  };
20887
21205
  readonly "users.suspendMember": {
20888
21206
  readonly method: "POST";
@@ -20891,7 +21209,7 @@ export declare const OPERATIONS: {
20891
21209
  readonly queryParams: readonly [];
20892
21210
  readonly bodyKind: "none";
20893
21211
  readonly responseKind: "json";
20894
- readonly codes: 67;
21212
+ readonly codes: 68;
20895
21213
  };
20896
21214
  readonly "users.unlockMember": {
20897
21215
  readonly method: "POST";
@@ -20900,7 +21218,7 @@ export declare const OPERATIONS: {
20900
21218
  readonly queryParams: readonly [];
20901
21219
  readonly bodyKind: "none";
20902
21220
  readonly responseKind: "json";
20903
- readonly codes: 61;
21221
+ readonly codes: 62;
20904
21222
  };
20905
21223
  readonly "users.updateMyDeskAlerts": {
20906
21224
  readonly method: "PUT";
@@ -20936,7 +21254,7 @@ export declare const OPERATIONS: {
20936
21254
  readonly queryParams: readonly [];
20937
21255
  readonly bodyKind: "json";
20938
21256
  readonly responseKind: "json";
20939
- readonly codes: 82;
21257
+ readonly codes: 84;
20940
21258
  };
20941
21259
  readonly "visualPlans.clone": {
20942
21260
  readonly method: "POST";
@@ -20963,7 +21281,7 @@ export declare const OPERATIONS: {
20963
21281
  readonly queryParams: readonly [];
20964
21282
  readonly bodyKind: "none";
20965
21283
  readonly responseKind: "json";
20966
- readonly codes: 70;
21284
+ readonly codes: 72;
20967
21285
  };
20968
21286
  readonly "visualPlans.getById": {
20969
21287
  readonly method: "GET";
@@ -21008,7 +21326,7 @@ export declare const OPERATIONS: {
21008
21326
  readonly queryParams: readonly [];
21009
21327
  readonly bodyKind: "json";
21010
21328
  readonly responseKind: "json";
21011
- readonly codes: 78;
21329
+ readonly codes: 80;
21012
21330
  };
21013
21331
  readonly "visualPlans.update": {
21014
21332
  readonly method: "PATCH";
@@ -21329,6 +21647,8 @@ export type NivaErrorCodes = {
21329
21647
  "license.activate": LicenseActivateErrorCode;
21330
21648
  "license.activation": LicenseActivationErrorCode;
21331
21649
  "license.modules": LicenseModulesErrorCode;
21650
+ "license.offlineRenewalRequest": LicenseOfflineRenewalRequestErrorCode;
21651
+ "license.offlineRenewalResponse": LicenseOfflineRenewalResponseErrorCode;
21332
21652
  "license.orgUsage": LicenseOrgUsageErrorCode;
21333
21653
  "license.refresh": LicenseRefreshErrorCode;
21334
21654
  "license.status": LicenseStatusErrorCode;
@@ -21347,6 +21667,7 @@ export type NivaErrorCodes = {
21347
21667
  "queues.getById": QueuesGetByIdErrorCode;
21348
21668
  "queues.list": QueuesListErrorCode;
21349
21669
  "queues.listMembers": QueuesListMembersErrorCode;
21670
+ "queues.listen": QueuesListenErrorCode;
21350
21671
  "queues.removeMember": QueuesRemoveMemberErrorCode;
21351
21672
  "queues.replaceMembers": QueuesReplaceMembersErrorCode;
21352
21673
  "queues.stats": QueuesStatsErrorCode;
@@ -22246,6 +22567,16 @@ export interface OperationTypes {
22246
22567
  output: LicenseModulesOutput;
22247
22568
  kind: "json";
22248
22569
  };
22570
+ "license.offlineRenewalRequest": {
22571
+ input: LicenseOfflineRenewalRequestInput;
22572
+ output: LicenseOfflineRenewalRequestOutput;
22573
+ kind: "json";
22574
+ };
22575
+ "license.offlineRenewalResponse": {
22576
+ input: LicenseOfflineRenewalResponseInput;
22577
+ output: LicenseOfflineRenewalResponseOutput;
22578
+ kind: "json";
22579
+ };
22249
22580
  "license.orgUsage": {
22250
22581
  input: LicenseOrgUsageInput;
22251
22582
  output: LicenseOrgUsageOutput;
@@ -22336,6 +22667,11 @@ export interface OperationTypes {
22336
22667
  output: QueuesListMembersOutput;
22337
22668
  kind: "json";
22338
22669
  };
22670
+ "queues.listen": {
22671
+ input: QueuesListenInput;
22672
+ output: QueuesListenOutput;
22673
+ kind: "json";
22674
+ };
22339
22675
  "queues.removeMember": {
22340
22676
  input: QueuesRemoveMemberInput;
22341
22677
  output: QueuesRemoveMemberOutput;