@isnap/sdk 1.1.0-next.66 → 1.1.0-next.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/openapi.d.ts +88 -2
- package/package.json +1 -1
|
@@ -2638,7 +2638,30 @@ export interface paths {
|
|
|
2638
2638
|
};
|
|
2639
2639
|
};
|
|
2640
2640
|
put?: never;
|
|
2641
|
-
post
|
|
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,22 @@ 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";
|
|
10193
|
+
/** @enum {string} */
|
|
10194
|
+
private_api_worker_status?: "running" | "degraded" | "crashed";
|
|
10195
|
+
diagnostics?: {
|
|
10196
|
+
/** @enum {string} */
|
|
10197
|
+
sip?: "enabled" | "disabled" | "unknown";
|
|
10198
|
+
/** @enum {string} */
|
|
10199
|
+
amfi?: "enabled" | "disabled" | "unknown";
|
|
10200
|
+
checks?: {
|
|
10201
|
+
[key: string]: "pass" | "fail" | "warn" | "unknown";
|
|
10202
|
+
};
|
|
10203
|
+
};
|
|
10204
|
+
machine_model?: string;
|
|
10205
|
+
os_build?: string;
|
|
10206
|
+
hostname?: string;
|
|
10159
10207
|
};
|
|
10160
10208
|
};
|
|
10161
10209
|
};
|
|
@@ -10874,6 +10922,7 @@ export interface components {
|
|
|
10874
10922
|
code: string;
|
|
10875
10923
|
message: string;
|
|
10876
10924
|
retry_after: number | null;
|
|
10925
|
+
retry_at: string | null;
|
|
10877
10926
|
issues: {
|
|
10878
10927
|
path: (string | number)[];
|
|
10879
10928
|
message: string;
|
|
@@ -11365,6 +11414,43 @@ export interface components {
|
|
|
11365
11414
|
fulfillmentId?: string | null;
|
|
11366
11415
|
}[];
|
|
11367
11416
|
};
|
|
11417
|
+
CreatedMarketplaceLine: {
|
|
11418
|
+
/** Format: uuid */
|
|
11419
|
+
id: string;
|
|
11420
|
+
/** Format: uuid */
|
|
11421
|
+
deviceId: string | null;
|
|
11422
|
+
/** Format: uuid */
|
|
11423
|
+
esimId?: string | null;
|
|
11424
|
+
/** Format: uuid */
|
|
11425
|
+
appleAccountId?: string | null;
|
|
11426
|
+
/** Format: uuid */
|
|
11427
|
+
userId: string | null;
|
|
11428
|
+
phoneNumber: string;
|
|
11429
|
+
areaCode: string | null;
|
|
11430
|
+
billingTier: string;
|
|
11431
|
+
capabilities: string[];
|
|
11432
|
+
status: string;
|
|
11433
|
+
monthlyPrice: number;
|
|
11434
|
+
activatedAt: string | null;
|
|
11435
|
+
expiresAt: string | null;
|
|
11436
|
+
createdAt: string;
|
|
11437
|
+
updatedAt: string;
|
|
11438
|
+
deviceHealth?: unknown;
|
|
11439
|
+
deviceLastHeartbeatAt: string | null;
|
|
11440
|
+
userEmail: string | null;
|
|
11441
|
+
userName: string | null;
|
|
11442
|
+
fulfillmentStatus?: string | null;
|
|
11443
|
+
/** Format: uuid */
|
|
11444
|
+
fulfillmentId?: string | null;
|
|
11445
|
+
};
|
|
11446
|
+
CreateMarketplaceLineBody: {
|
|
11447
|
+
phone_number: string;
|
|
11448
|
+
area_code?: string;
|
|
11449
|
+
country_code?: string;
|
|
11450
|
+
/** @enum {string} */
|
|
11451
|
+
billing_tier: "rental_iphone" | "byod_imessage";
|
|
11452
|
+
monthly_price_cents: number;
|
|
11453
|
+
};
|
|
11368
11454
|
FlaggedLinesList: {
|
|
11369
11455
|
lines: components["schemas"]["FlaggedLineItem"][];
|
|
11370
11456
|
total: number;
|