@isnap/sdk 1.1.0-next.65 → 1.1.0-next.67

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.
@@ -2638,7 +2638,30 @@ export interface paths {
2638
2638
  };
2639
2639
  };
2640
2640
  put?: never;
2641
- post?: never;
2641
+ post: {
2642
+ parameters: {
2643
+ query?: never;
2644
+ header?: never;
2645
+ path?: never;
2646
+ cookie?: never;
2647
+ };
2648
+ requestBody?: {
2649
+ content: {
2650
+ "application/json": components["schemas"]["CreateMarketplaceLineBody"];
2651
+ };
2652
+ };
2653
+ responses: {
2654
+ /** @description Marketplace line created (platform-owned, status=available) */
2655
+ 201: {
2656
+ headers: {
2657
+ [name: string]: unknown;
2658
+ };
2659
+ content: {
2660
+ "application/json": components["schemas"]["CreatedMarketplaceLine"];
2661
+ };
2662
+ };
2663
+ };
2664
+ };
2642
2665
  delete?: never;
2643
2666
  options?: never;
2644
2667
  head?: never;
@@ -9846,7 +9869,7 @@ export interface paths {
9846
9869
  put?: never;
9847
9870
  /**
9848
9871
  * Revoke a trial session
9849
- * @description Terminate a trial owned by the caller, freeing its pool-line slot (the same handle can immediately start a fresh trial) and invalidating its trial API key. Idempotent — revoking an already-revoked trial returns `already_revoked: true` with a 200. A trial the caller does not own returns 404 (no existence leak).
9872
+ * @description Terminate a trial owned by the caller, freeing its pool-line slot (the same handle can immediately start a fresh trial) and invalidating its trial API key. Idempotent — revoking an already-revoked trial returns `already_revoked: true` with a 200. A trial the caller does not own returns 404 (no existence leak). Per-partner rebind policy (WHA-1642) applies ONLY to `reason: rebind` (`partner`/`admin` always pass): a partner with rebind disabled gets 403 `rebind_not_allowed`, and one over its daily rebind cap gets 429 `rebind_cap_reached` carrying `retry_at`.
9850
9873
  */
9851
9874
  post: {
9852
9875
  parameters: {
@@ -9891,6 +9914,15 @@ export interface paths {
9891
9914
  "application/json": components["schemas"]["ErrorEnvelope"];
9892
9915
  };
9893
9916
  };
9917
+ /** @description Forbidden — caller authenticated but not allowed */
9918
+ 403: {
9919
+ headers: {
9920
+ [name: string]: unknown;
9921
+ };
9922
+ content: {
9923
+ "application/json": components["schemas"]["ErrorEnvelope"];
9924
+ };
9925
+ };
9894
9926
  /** @description Not found */
9895
9927
  404: {
9896
9928
  headers: {
@@ -10156,6 +10188,8 @@ export interface paths {
10156
10188
  /** @enum {string} */
10157
10189
  send_attachment?: "active" | "degraded" | "disabled";
10158
10190
  };
10191
+ /** @enum {string} */
10192
+ private_api_status?: "active" | "not_injected" | "failed";
10159
10193
  };
10160
10194
  };
10161
10195
  };
@@ -10874,6 +10908,7 @@ export interface components {
10874
10908
  code: string;
10875
10909
  message: string;
10876
10910
  retry_after: number | null;
10911
+ retry_at: string | null;
10877
10912
  issues: {
10878
10913
  path: (string | number)[];
10879
10914
  message: string;
@@ -11365,6 +11400,43 @@ export interface components {
11365
11400
  fulfillmentId?: string | null;
11366
11401
  }[];
11367
11402
  };
11403
+ CreatedMarketplaceLine: {
11404
+ /** Format: uuid */
11405
+ id: string;
11406
+ /** Format: uuid */
11407
+ deviceId: string | null;
11408
+ /** Format: uuid */
11409
+ esimId?: string | null;
11410
+ /** Format: uuid */
11411
+ appleAccountId?: string | null;
11412
+ /** Format: uuid */
11413
+ userId: string | null;
11414
+ phoneNumber: string;
11415
+ areaCode: string | null;
11416
+ billingTier: string;
11417
+ capabilities: string[];
11418
+ status: string;
11419
+ monthlyPrice: number;
11420
+ activatedAt: string | null;
11421
+ expiresAt: string | null;
11422
+ createdAt: string;
11423
+ updatedAt: string;
11424
+ deviceHealth?: unknown;
11425
+ deviceLastHeartbeatAt: string | null;
11426
+ userEmail: string | null;
11427
+ userName: string | null;
11428
+ fulfillmentStatus?: string | null;
11429
+ /** Format: uuid */
11430
+ fulfillmentId?: string | null;
11431
+ };
11432
+ CreateMarketplaceLineBody: {
11433
+ phone_number: string;
11434
+ area_code?: string;
11435
+ country_code?: string;
11436
+ /** @enum {string} */
11437
+ billing_tier: "rental_iphone" | "byod_imessage";
11438
+ monthly_price_cents: number;
11439
+ };
11368
11440
  FlaggedLinesList: {
11369
11441
  lines: components["schemas"]["FlaggedLineItem"][];
11370
11442
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isnap/sdk",
3
- "version": "1.1.0-next.65",
3
+ "version": "1.1.0-next.67",
4
4
  "description": "Official TypeScript SDK for the iSnap P2P telephony API",
5
5
  "license": "MIT",
6
6
  "type": "module",