@isnap/sdk 1.1.0-next.57 → 1.1.0-next.59

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.
@@ -2905,6 +2905,47 @@ export interface paths {
2905
2905
  patch?: never;
2906
2906
  trace?: never;
2907
2907
  };
2908
+ "/admin/pool-lines/{id}/terminate": {
2909
+ parameters: {
2910
+ query?: never;
2911
+ header?: never;
2912
+ path?: never;
2913
+ cookie?: never;
2914
+ };
2915
+ get?: never;
2916
+ put?: never;
2917
+ post: {
2918
+ parameters: {
2919
+ query?: never;
2920
+ header?: never;
2921
+ path: {
2922
+ id: string;
2923
+ };
2924
+ cookie?: never;
2925
+ };
2926
+ requestBody?: {
2927
+ content: {
2928
+ "application/json": components["schemas"]["TerminatePoolLineBody"];
2929
+ };
2930
+ };
2931
+ responses: {
2932
+ /** @description Shared-purpose pool line terminated: cancelled, queued messages failed, bindings released, sessions revoked */
2933
+ 200: {
2934
+ headers: {
2935
+ [name: string]: unknown;
2936
+ };
2937
+ content: {
2938
+ "application/json": components["schemas"]["TerminatePoolLine"];
2939
+ };
2940
+ };
2941
+ };
2942
+ };
2943
+ delete?: never;
2944
+ options?: never;
2945
+ head?: never;
2946
+ patch?: never;
2947
+ trace?: never;
2948
+ };
2908
2949
  "/admin/activation-codes/{code}/status": {
2909
2950
  parameters: {
2910
2951
  query?: never;
@@ -11337,6 +11378,7 @@ export interface components {
11337
11378
  dormant_trials: number;
11338
11379
  pairing_pending_trials: number;
11339
11380
  active_bindings: number;
11381
+ backlog_paused_lines: number;
11340
11382
  };
11341
11383
  lines: components["schemas"]["PoolLineMonitorItem"][];
11342
11384
  overcommit: components["schemas"]["PoolOvercommitScope"][];
@@ -11364,6 +11406,9 @@ export interface components {
11364
11406
  daily_new_headroom: number;
11365
11407
  last_activity_at: string | null;
11366
11408
  messages_24h: number;
11409
+ suspected_dead: boolean;
11410
+ queued_backlog: number;
11411
+ backlog_admission_paused: boolean;
11367
11412
  created_at: string;
11368
11413
  };
11369
11414
  PoolOvercommitScope: {
@@ -11388,6 +11433,20 @@ export interface components {
11388
11433
  owner_user_id: string | null;
11389
11434
  updated_at: string;
11390
11435
  };
11436
+ TerminatePoolLine: {
11437
+ /** Format: uuid */
11438
+ line_id: string;
11439
+ public_id: string;
11440
+ status: string;
11441
+ reason: string;
11442
+ messages_failed: number;
11443
+ bindings_released: number;
11444
+ sessions_revoked: number;
11445
+ terminated_at: string;
11446
+ };
11447
+ TerminatePoolLineBody: {
11448
+ reason?: string;
11449
+ };
11391
11450
  ActivationCodeStatus: {
11392
11451
  consumed: boolean;
11393
11452
  consumedAt: string | null;
@@ -12465,6 +12524,11 @@ export interface components {
12465
12524
  TrialInitBody: {
12466
12525
  max_outbound_without_inbound?: number;
12467
12526
  welcome_message?: string;
12527
+ /**
12528
+ * @description Optional partner-supplied marketing footer appended to this trial's free pool-line outbounds, replacing the default iSnap footer. Omit to keep the iSnap default. Keep it short and GSM-7-safe — non-GSM characters force the SMS into UCS-2 (70 chars/segment) and cost extra segments.
12529
+ * @example Sent free via Acme
12530
+ */
12531
+ footer?: string;
12468
12532
  };
12469
12533
  TrialStatusEnvelope: {
12470
12534
  /** @enum {boolean} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isnap/sdk",
3
- "version": "1.1.0-next.57",
3
+ "version": "1.1.0-next.59",
4
4
  "description": "Official TypeScript SDK for the iSnap P2P telephony API",
5
5
  "license": "MIT",
6
6
  "type": "module",