@mobilerun/sdk 2.1.0 → 3.0.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.
- package/CHANGELOG.md +253 -0
- package/README.md +44 -0
- package/client.d.mts +32 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +32 -3
- package/client.d.ts.map +1 -1
- package/client.js +29 -7
- package/client.js.map +1 -1
- package/client.mjs +29 -7
- package/client.mjs.map +1 -1
- package/internal/tslib.js +6 -6
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +7 -1
- package/resources/agents.d.mts +29 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +29 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +18 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +14 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/apps.d.mts +10 -12
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +10 -12
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/carriers.d.mts +233 -0
- package/resources/carriers.d.mts.map +1 -0
- package/resources/carriers.d.ts +233 -0
- package/resources/carriers.d.ts.map +1 -0
- package/resources/carriers.js +46 -0
- package/resources/carriers.js.map +1 -0
- package/resources/carriers.mjs +42 -0
- package/resources/carriers.mjs.map +1 -0
- package/resources/credentials/credentials.d.mts +4 -13
- package/resources/credentials/credentials.d.mts.map +1 -1
- package/resources/credentials/credentials.d.ts +4 -13
- package/resources/credentials/credentials.d.ts.map +1 -1
- package/resources/credentials/credentials.js.map +1 -1
- package/resources/credentials/credentials.mjs.map +1 -1
- package/resources/devices/actions.d.mts +37 -1
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +37 -1
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +36 -0
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +36 -0
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +4 -0
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +4 -0
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/devices.d.mts +40 -38
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +40 -38
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +22 -2
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +23 -3
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/files.d.mts +108 -0
- package/resources/devices/files.d.mts.map +1 -0
- package/resources/devices/files.d.ts +108 -0
- package/resources/devices/files.d.ts.map +1 -0
- package/resources/devices/files.js +87 -0
- package/resources/devices/files.js.map +1 -0
- package/resources/devices/files.mjs +83 -0
- package/resources/devices/files.mjs.map +1 -0
- package/resources/devices/index.d.mts +7 -2
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +7 -2
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +11 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +6 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +10 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +10 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/location.d.mts +42 -0
- package/resources/devices/location.d.mts.map +1 -0
- package/resources/devices/location.d.ts +42 -0
- package/resources/devices/location.d.ts.map +1 -0
- package/resources/devices/location.js +47 -0
- package/resources/devices/location.js.map +1 -0
- package/resources/devices/location.mjs +43 -0
- package/resources/devices/location.mjs.map +1 -0
- package/resources/devices/packages.d.mts +4 -0
- package/resources/devices/packages.d.mts.map +1 -1
- package/resources/devices/packages.d.ts +4 -0
- package/resources/devices/packages.d.ts.map +1 -1
- package/resources/devices/profile.d.mts +23 -0
- package/resources/devices/profile.d.mts.map +1 -0
- package/resources/devices/profile.d.ts +23 -0
- package/resources/devices/profile.d.ts.map +1 -0
- package/resources/devices/profile.js +30 -0
- package/resources/devices/profile.js.map +1 -0
- package/resources/devices/profile.mjs +26 -0
- package/resources/devices/profile.mjs.map +1 -0
- package/resources/devices/proxy.d.mts +61 -0
- package/resources/devices/proxy.d.mts.map +1 -0
- package/resources/devices/proxy.d.ts +61 -0
- package/resources/devices/proxy.d.ts.map +1 -0
- package/resources/devices/proxy.js +48 -0
- package/resources/devices/proxy.js.map +1 -0
- package/resources/devices/proxy.mjs +44 -0
- package/resources/devices/proxy.mjs.map +1 -0
- package/resources/devices/state.d.mts +8 -19
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +8 -19
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +0 -17
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +0 -17
- package/resources/devices/state.mjs.map +1 -1
- package/resources/devices/tasks.d.mts +2 -9
- package/resources/devices/tasks.d.mts.map +1 -1
- package/resources/devices/tasks.d.ts +2 -9
- package/resources/devices/tasks.d.ts.map +1 -1
- package/resources/devices/tasks.js.map +1 -1
- package/resources/devices/tasks.mjs.map +1 -1
- package/resources/devices/time.d.mts +59 -0
- package/resources/devices/time.d.mts.map +1 -0
- package/resources/devices/time.d.ts +59 -0
- package/resources/devices/time.d.ts.map +1 -0
- package/resources/devices/time.js +83 -0
- package/resources/devices/time.js.map +1 -0
- package/resources/devices/time.mjs +79 -0
- package/resources/devices/time.mjs.map +1 -0
- package/resources/hooks.d.mts +5 -30
- package/resources/hooks.d.mts.map +1 -1
- package/resources/hooks.d.ts +5 -30
- package/resources/hooks.d.ts.map +1 -1
- package/resources/hooks.js +3 -0
- package/resources/hooks.js.map +1 -1
- package/resources/hooks.mjs +3 -0
- package/resources/hooks.mjs.map +1 -1
- package/resources/index.d.mts +6 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/profiles.d.mts +84 -0
- package/resources/profiles.d.mts.map +1 -0
- package/resources/profiles.d.ts +84 -0
- package/resources/profiles.d.ts.map +1 -0
- package/resources/profiles.js +40 -0
- package/resources/profiles.js.map +1 -0
- package/resources/profiles.mjs +36 -0
- package/resources/profiles.mjs.map +1 -0
- package/resources/proxies.d.mts +72 -0
- package/resources/proxies.d.mts.map +1 -0
- package/resources/proxies.d.ts +72 -0
- package/resources/proxies.d.ts.map +1 -0
- package/resources/proxies.js +40 -0
- package/resources/proxies.js.map +1 -0
- package/resources/proxies.mjs +36 -0
- package/resources/proxies.mjs.map +1 -0
- package/resources/shared.d.mts +95 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +95 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/tasks/index.d.mts +1 -1
- package/resources/tasks/index.d.mts.map +1 -1
- package/resources/tasks/index.d.ts +1 -1
- package/resources/tasks/index.d.ts.map +1 -1
- package/resources/tasks/index.js.map +1 -1
- package/resources/tasks/index.mjs.map +1 -1
- package/resources/tasks/screenshots.d.mts +3 -0
- package/resources/tasks/screenshots.d.mts.map +1 -1
- package/resources/tasks/screenshots.d.ts +3 -0
- package/resources/tasks/screenshots.d.ts.map +1 -1
- package/resources/tasks/screenshots.js +3 -0
- package/resources/tasks/screenshots.js.map +1 -1
- package/resources/tasks/screenshots.mjs +3 -0
- package/resources/tasks/screenshots.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +105 -106
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +105 -106
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js +11 -5
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs +11 -5
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/tasks/ui-states.d.mts +3 -0
- package/resources/tasks/ui-states.d.mts.map +1 -1
- package/resources/tasks/ui-states.d.ts +3 -0
- package/resources/tasks/ui-states.d.ts.map +1 -1
- package/resources/tasks/ui-states.js +3 -0
- package/resources/tasks/ui-states.js.map +1 -1
- package/resources/tasks/ui-states.mjs +3 -0
- package/resources/tasks/ui-states.mjs.map +1 -1
- package/src/client.ts +113 -10
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/agents.ts +43 -0
- package/src/resources/apps.ts +11 -19
- package/src/resources/carriers.ts +327 -0
- package/src/resources/credentials/credentials.ts +4 -19
- package/src/resources/devices/actions.ts +84 -0
- package/src/resources/devices/apps.ts +5 -0
- package/src/resources/devices/devices.ts +107 -61
- package/src/resources/devices/files.ts +221 -0
- package/src/resources/devices/index.ts +37 -3
- package/src/resources/devices/keyboard.ts +12 -2
- package/src/resources/devices/location.ts +91 -0
- package/src/resources/devices/packages.ts +5 -0
- package/src/resources/devices/profile.ts +45 -0
- package/src/resources/devices/proxy.ts +115 -0
- package/src/resources/devices/state.ts +10 -44
- package/src/resources/devices/tasks.ts +2 -15
- package/src/resources/devices/time.ts +147 -0
- package/src/resources/hooks.ts +5 -36
- package/src/resources/index.ts +37 -0
- package/src/resources/profiles.ts +133 -0
- package/src/resources/proxies.ts +130 -0
- package/src/resources/shared.ts +149 -0
- package/src/resources/tasks/index.ts +5 -0
- package/src/resources/tasks/screenshots.ts +3 -0
- package/src/resources/tasks/tasks.ts +134 -130
- package/src/resources/tasks/ui-states.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/apps.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as Shared from "./shared.mjs";
|
|
2
3
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
5
|
export declare class Apps extends APIResource {
|
|
@@ -10,7 +11,7 @@ export declare class Apps extends APIResource {
|
|
|
10
11
|
export interface AppListResponse {
|
|
11
12
|
count: AppListResponse.Count;
|
|
12
13
|
items: Array<AppListResponse.Item>;
|
|
13
|
-
pagination:
|
|
14
|
+
pagination: Shared.Pagination;
|
|
14
15
|
}
|
|
15
16
|
export declare namespace AppListResponse {
|
|
16
17
|
interface Count {
|
|
@@ -23,12 +24,14 @@ export declare namespace AppListResponse {
|
|
|
23
24
|
interface Item {
|
|
24
25
|
id: string;
|
|
25
26
|
categoryName: string | null;
|
|
26
|
-
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AP' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'CI' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'AN' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'CS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX'
|
|
27
|
+
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AP' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'CI' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'AN' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'CS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX';
|
|
27
28
|
createdAt: string | null;
|
|
28
29
|
description: string | null;
|
|
29
30
|
developerName: string | null;
|
|
30
31
|
displayName: string;
|
|
31
|
-
|
|
32
|
+
expectedFiles: string | number | boolean | {
|
|
33
|
+
[key: string]: unknown;
|
|
34
|
+
} | Array<unknown> | null;
|
|
32
35
|
iconURL: string;
|
|
33
36
|
packageName: string;
|
|
34
37
|
privacyPolicyUrl: string | null;
|
|
@@ -37,20 +40,15 @@ export declare namespace AppListResponse {
|
|
|
37
40
|
ratingScore: string | null;
|
|
38
41
|
sizeBytes: number | null;
|
|
39
42
|
source: 'uploaded' | 'store';
|
|
43
|
+
status: 'queued' | 'available' | 'failed';
|
|
44
|
+
stealthTier: 'tier1' | 'tier2' | 'tier3' | null;
|
|
40
45
|
targetSdk: number | null;
|
|
46
|
+
type: 'android' | 'ios';
|
|
41
47
|
updatedAt: string | null;
|
|
42
48
|
userId: string | null;
|
|
43
|
-
versionCode: number
|
|
49
|
+
versionCode: number;
|
|
44
50
|
versionName: string;
|
|
45
51
|
}
|
|
46
|
-
interface Pagination {
|
|
47
|
-
hasNext: boolean;
|
|
48
|
-
hasPrev: boolean;
|
|
49
|
-
page: number;
|
|
50
|
-
pages: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
total: number;
|
|
53
|
-
}
|
|
54
52
|
}
|
|
55
53
|
export interface AppListParams {
|
|
56
54
|
order?: 'asc' | 'desc';
|
package/resources/apps.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.mts","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAG1G;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC;IAE7B,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAEnC,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"apps.d.mts","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,E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AI,CAAC;IAC5B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;CACzF"}
|
package/resources/apps.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as Shared from "./shared.js";
|
|
2
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
5
|
export declare class Apps extends APIResource {
|
|
@@ -10,7 +11,7 @@ export declare class Apps extends APIResource {
|
|
|
10
11
|
export interface AppListResponse {
|
|
11
12
|
count: AppListResponse.Count;
|
|
12
13
|
items: Array<AppListResponse.Item>;
|
|
13
|
-
pagination:
|
|
14
|
+
pagination: Shared.Pagination;
|
|
14
15
|
}
|
|
15
16
|
export declare namespace AppListResponse {
|
|
16
17
|
interface Count {
|
|
@@ -23,12 +24,14 @@ export declare namespace AppListResponse {
|
|
|
23
24
|
interface Item {
|
|
24
25
|
id: string;
|
|
25
26
|
categoryName: string | null;
|
|
26
|
-
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AP' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'CI' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'AN' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'CS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX'
|
|
27
|
+
country: 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AP' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'CI' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'AN' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'CS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'AX';
|
|
27
28
|
createdAt: string | null;
|
|
28
29
|
description: string | null;
|
|
29
30
|
developerName: string | null;
|
|
30
31
|
displayName: string;
|
|
31
|
-
|
|
32
|
+
expectedFiles: string | number | boolean | {
|
|
33
|
+
[key: string]: unknown;
|
|
34
|
+
} | Array<unknown> | null;
|
|
32
35
|
iconURL: string;
|
|
33
36
|
packageName: string;
|
|
34
37
|
privacyPolicyUrl: string | null;
|
|
@@ -37,20 +40,15 @@ export declare namespace AppListResponse {
|
|
|
37
40
|
ratingScore: string | null;
|
|
38
41
|
sizeBytes: number | null;
|
|
39
42
|
source: 'uploaded' | 'store';
|
|
43
|
+
status: 'queued' | 'available' | 'failed';
|
|
44
|
+
stealthTier: 'tier1' | 'tier2' | 'tier3' | null;
|
|
40
45
|
targetSdk: number | null;
|
|
46
|
+
type: 'android' | 'ios';
|
|
41
47
|
updatedAt: string | null;
|
|
42
48
|
userId: string | null;
|
|
43
|
-
versionCode: number
|
|
49
|
+
versionCode: number;
|
|
44
50
|
versionName: string;
|
|
45
51
|
}
|
|
46
|
-
interface Pagination {
|
|
47
|
-
hasNext: boolean;
|
|
48
|
-
hasPrev: boolean;
|
|
49
|
-
page: number;
|
|
50
|
-
pages: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
total: number;
|
|
53
|
-
}
|
|
54
52
|
}
|
|
55
53
|
export interface AppListParams {
|
|
56
54
|
order?: 'asc' | 'desc';
|
package/resources/apps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAG1G;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC;IAE7B,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAEnC,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAG1G;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,eA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C;CACzF"}
|
package/resources/apps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,IAAI,CAAC,QAA0C,EAAE,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,oBAOC"}
|
package/resources/apps.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.mjs","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"apps.mjs","sourceRoot":"","sources":["../src/resources/apps.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,QAA0C,EAAE,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as Shared from "./shared.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class Carriers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a new carrier
|
|
8
|
+
*/
|
|
9
|
+
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
10
|
+
/**
|
|
11
|
+
* Get carrier by ID
|
|
12
|
+
*/
|
|
13
|
+
retrieve(carrierID: number, options?: RequestOptions): APIPromise<Carrier>;
|
|
14
|
+
/**
|
|
15
|
+
* Update a carrier
|
|
16
|
+
*/
|
|
17
|
+
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
18
|
+
/**
|
|
19
|
+
* List carriers with pagination
|
|
20
|
+
*/
|
|
21
|
+
list(query?: CarrierListParams | null | undefined, options?: RequestOptions): APIPromise<CarrierListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Delete a carrier
|
|
24
|
+
*/
|
|
25
|
+
delete(carrierID: number, options?: RequestOptions): APIPromise<CarrierDeleteResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Get carrier by MCC and MNC
|
|
28
|
+
*/
|
|
29
|
+
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
30
|
+
}
|
|
31
|
+
export interface Carrier {
|
|
32
|
+
id: number;
|
|
33
|
+
company: string;
|
|
34
|
+
country: string;
|
|
35
|
+
country_code: string;
|
|
36
|
+
country_iso: string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
detail_url: string;
|
|
39
|
+
gsm_bands: string;
|
|
40
|
+
lte_bands: string;
|
|
41
|
+
mcc: string;
|
|
42
|
+
mnc: string;
|
|
43
|
+
mobile_prefix: string;
|
|
44
|
+
nsn_size: string;
|
|
45
|
+
number_format: string;
|
|
46
|
+
operator: string;
|
|
47
|
+
protocols: string;
|
|
48
|
+
umts_bands: string;
|
|
49
|
+
website: string;
|
|
50
|
+
/**
|
|
51
|
+
* A URL to the JSON Schema for this object.
|
|
52
|
+
*/
|
|
53
|
+
$schema?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CarrierListResponse {
|
|
56
|
+
items: Array<Carrier> | null;
|
|
57
|
+
pagination: Shared.Meta;
|
|
58
|
+
/**
|
|
59
|
+
* A URL to the JSON Schema for this object.
|
|
60
|
+
*/
|
|
61
|
+
$schema?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface CarrierDeleteResponse {
|
|
64
|
+
message: string;
|
|
65
|
+
/**
|
|
66
|
+
* A URL to the JSON Schema for this object.
|
|
67
|
+
*/
|
|
68
|
+
$schema?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface CarrierCreateParams {
|
|
71
|
+
/**
|
|
72
|
+
* Country name
|
|
73
|
+
*/
|
|
74
|
+
country: string;
|
|
75
|
+
/**
|
|
76
|
+
* Mobile Country Code
|
|
77
|
+
*/
|
|
78
|
+
mcc: string;
|
|
79
|
+
/**
|
|
80
|
+
* Mobile Network Code
|
|
81
|
+
*/
|
|
82
|
+
mnc: string;
|
|
83
|
+
/**
|
|
84
|
+
* Operator name
|
|
85
|
+
*/
|
|
86
|
+
operator: string;
|
|
87
|
+
/**
|
|
88
|
+
* Company name
|
|
89
|
+
*/
|
|
90
|
+
company?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Country dialing code (e.g., +1)
|
|
93
|
+
*/
|
|
94
|
+
country_code?: string;
|
|
95
|
+
/**
|
|
96
|
+
* ISO country code
|
|
97
|
+
*/
|
|
98
|
+
country_iso?: string;
|
|
99
|
+
/**
|
|
100
|
+
* URL to carrier details page
|
|
101
|
+
*/
|
|
102
|
+
detail_url?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Supported GSM bands
|
|
105
|
+
*/
|
|
106
|
+
gsm_bands?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Supported LTE bands
|
|
109
|
+
*/
|
|
110
|
+
lte_bands?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Mobile number prefix
|
|
113
|
+
*/
|
|
114
|
+
mobile_prefix?: string;
|
|
115
|
+
/**
|
|
116
|
+
* National Significant Number size
|
|
117
|
+
*/
|
|
118
|
+
nsn_size?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Phone number format
|
|
121
|
+
*/
|
|
122
|
+
number_format?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Supported protocols (comma-separated)
|
|
125
|
+
*/
|
|
126
|
+
protocols?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Supported UMTS bands
|
|
129
|
+
*/
|
|
130
|
+
umts_bands?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Company website
|
|
133
|
+
*/
|
|
134
|
+
website?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface CarrierUpdateParams {
|
|
137
|
+
/**
|
|
138
|
+
* Company name
|
|
139
|
+
*/
|
|
140
|
+
company?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Country name
|
|
143
|
+
*/
|
|
144
|
+
country?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Country dialing code
|
|
147
|
+
*/
|
|
148
|
+
country_code?: string;
|
|
149
|
+
/**
|
|
150
|
+
* ISO country code
|
|
151
|
+
*/
|
|
152
|
+
country_iso?: string;
|
|
153
|
+
/**
|
|
154
|
+
* URL to carrier details
|
|
155
|
+
*/
|
|
156
|
+
detail_url?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Supported GSM bands
|
|
159
|
+
*/
|
|
160
|
+
gsm_bands?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Supported LTE bands
|
|
163
|
+
*/
|
|
164
|
+
lte_bands?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Mobile number prefix
|
|
167
|
+
*/
|
|
168
|
+
mobile_prefix?: string;
|
|
169
|
+
/**
|
|
170
|
+
* NSN size
|
|
171
|
+
*/
|
|
172
|
+
nsn_size?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Phone number format
|
|
175
|
+
*/
|
|
176
|
+
number_format?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Operator name
|
|
179
|
+
*/
|
|
180
|
+
operator?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Supported protocols
|
|
183
|
+
*/
|
|
184
|
+
protocols?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Supported UMTS bands
|
|
187
|
+
*/
|
|
188
|
+
umts_bands?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Company website
|
|
191
|
+
*/
|
|
192
|
+
website?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface CarrierListParams {
|
|
195
|
+
/**
|
|
196
|
+
* Filter by country name
|
|
197
|
+
*/
|
|
198
|
+
country?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Filter by country ISO code
|
|
201
|
+
*/
|
|
202
|
+
countryISO?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Field to order by
|
|
205
|
+
*/
|
|
206
|
+
orderBy?: 'id' | 'mcc' | 'mnc' | 'operator' | 'country' | 'country_iso';
|
|
207
|
+
/**
|
|
208
|
+
* Order direction
|
|
209
|
+
*/
|
|
210
|
+
orderDir?: 'asc' | 'desc';
|
|
211
|
+
/**
|
|
212
|
+
* Page number
|
|
213
|
+
*/
|
|
214
|
+
page?: number;
|
|
215
|
+
/**
|
|
216
|
+
* Items per page
|
|
217
|
+
*/
|
|
218
|
+
pageSize?: number;
|
|
219
|
+
}
|
|
220
|
+
export interface CarrierLookupParams {
|
|
221
|
+
/**
|
|
222
|
+
* Mobile Country Code
|
|
223
|
+
*/
|
|
224
|
+
mcc: string;
|
|
225
|
+
/**
|
|
226
|
+
* Mobile Network Code
|
|
227
|
+
*/
|
|
228
|
+
mnc: string;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace Carriers {
|
|
231
|
+
export { type Carrier as Carrier, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
|
|
232
|
+
}
|
|
233
|
+
//# sourceMappingURL=carriers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carriers.d.mts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QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as Shared from "./shared.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class Carriers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a new carrier
|
|
8
|
+
*/
|
|
9
|
+
create(body: CarrierCreateParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
10
|
+
/**
|
|
11
|
+
* Get carrier by ID
|
|
12
|
+
*/
|
|
13
|
+
retrieve(carrierID: number, options?: RequestOptions): APIPromise<Carrier>;
|
|
14
|
+
/**
|
|
15
|
+
* Update a carrier
|
|
16
|
+
*/
|
|
17
|
+
update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
18
|
+
/**
|
|
19
|
+
* List carriers with pagination
|
|
20
|
+
*/
|
|
21
|
+
list(query?: CarrierListParams | null | undefined, options?: RequestOptions): APIPromise<CarrierListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Delete a carrier
|
|
24
|
+
*/
|
|
25
|
+
delete(carrierID: number, options?: RequestOptions): APIPromise<CarrierDeleteResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Get carrier by MCC and MNC
|
|
28
|
+
*/
|
|
29
|
+
lookup(query: CarrierLookupParams, options?: RequestOptions): APIPromise<Carrier>;
|
|
30
|
+
}
|
|
31
|
+
export interface Carrier {
|
|
32
|
+
id: number;
|
|
33
|
+
company: string;
|
|
34
|
+
country: string;
|
|
35
|
+
country_code: string;
|
|
36
|
+
country_iso: string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
detail_url: string;
|
|
39
|
+
gsm_bands: string;
|
|
40
|
+
lte_bands: string;
|
|
41
|
+
mcc: string;
|
|
42
|
+
mnc: string;
|
|
43
|
+
mobile_prefix: string;
|
|
44
|
+
nsn_size: string;
|
|
45
|
+
number_format: string;
|
|
46
|
+
operator: string;
|
|
47
|
+
protocols: string;
|
|
48
|
+
umts_bands: string;
|
|
49
|
+
website: string;
|
|
50
|
+
/**
|
|
51
|
+
* A URL to the JSON Schema for this object.
|
|
52
|
+
*/
|
|
53
|
+
$schema?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CarrierListResponse {
|
|
56
|
+
items: Array<Carrier> | null;
|
|
57
|
+
pagination: Shared.Meta;
|
|
58
|
+
/**
|
|
59
|
+
* A URL to the JSON Schema for this object.
|
|
60
|
+
*/
|
|
61
|
+
$schema?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface CarrierDeleteResponse {
|
|
64
|
+
message: string;
|
|
65
|
+
/**
|
|
66
|
+
* A URL to the JSON Schema for this object.
|
|
67
|
+
*/
|
|
68
|
+
$schema?: string;
|
|
69
|
+
}
|
|
70
|
+
export interface CarrierCreateParams {
|
|
71
|
+
/**
|
|
72
|
+
* Country name
|
|
73
|
+
*/
|
|
74
|
+
country: string;
|
|
75
|
+
/**
|
|
76
|
+
* Mobile Country Code
|
|
77
|
+
*/
|
|
78
|
+
mcc: string;
|
|
79
|
+
/**
|
|
80
|
+
* Mobile Network Code
|
|
81
|
+
*/
|
|
82
|
+
mnc: string;
|
|
83
|
+
/**
|
|
84
|
+
* Operator name
|
|
85
|
+
*/
|
|
86
|
+
operator: string;
|
|
87
|
+
/**
|
|
88
|
+
* Company name
|
|
89
|
+
*/
|
|
90
|
+
company?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Country dialing code (e.g., +1)
|
|
93
|
+
*/
|
|
94
|
+
country_code?: string;
|
|
95
|
+
/**
|
|
96
|
+
* ISO country code
|
|
97
|
+
*/
|
|
98
|
+
country_iso?: string;
|
|
99
|
+
/**
|
|
100
|
+
* URL to carrier details page
|
|
101
|
+
*/
|
|
102
|
+
detail_url?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Supported GSM bands
|
|
105
|
+
*/
|
|
106
|
+
gsm_bands?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Supported LTE bands
|
|
109
|
+
*/
|
|
110
|
+
lte_bands?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Mobile number prefix
|
|
113
|
+
*/
|
|
114
|
+
mobile_prefix?: string;
|
|
115
|
+
/**
|
|
116
|
+
* National Significant Number size
|
|
117
|
+
*/
|
|
118
|
+
nsn_size?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Phone number format
|
|
121
|
+
*/
|
|
122
|
+
number_format?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Supported protocols (comma-separated)
|
|
125
|
+
*/
|
|
126
|
+
protocols?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Supported UMTS bands
|
|
129
|
+
*/
|
|
130
|
+
umts_bands?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Company website
|
|
133
|
+
*/
|
|
134
|
+
website?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface CarrierUpdateParams {
|
|
137
|
+
/**
|
|
138
|
+
* Company name
|
|
139
|
+
*/
|
|
140
|
+
company?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Country name
|
|
143
|
+
*/
|
|
144
|
+
country?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Country dialing code
|
|
147
|
+
*/
|
|
148
|
+
country_code?: string;
|
|
149
|
+
/**
|
|
150
|
+
* ISO country code
|
|
151
|
+
*/
|
|
152
|
+
country_iso?: string;
|
|
153
|
+
/**
|
|
154
|
+
* URL to carrier details
|
|
155
|
+
*/
|
|
156
|
+
detail_url?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Supported GSM bands
|
|
159
|
+
*/
|
|
160
|
+
gsm_bands?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Supported LTE bands
|
|
163
|
+
*/
|
|
164
|
+
lte_bands?: string;
|
|
165
|
+
/**
|
|
166
|
+
* Mobile number prefix
|
|
167
|
+
*/
|
|
168
|
+
mobile_prefix?: string;
|
|
169
|
+
/**
|
|
170
|
+
* NSN size
|
|
171
|
+
*/
|
|
172
|
+
nsn_size?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Phone number format
|
|
175
|
+
*/
|
|
176
|
+
number_format?: string;
|
|
177
|
+
/**
|
|
178
|
+
* Operator name
|
|
179
|
+
*/
|
|
180
|
+
operator?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Supported protocols
|
|
183
|
+
*/
|
|
184
|
+
protocols?: string;
|
|
185
|
+
/**
|
|
186
|
+
* Supported UMTS bands
|
|
187
|
+
*/
|
|
188
|
+
umts_bands?: string;
|
|
189
|
+
/**
|
|
190
|
+
* Company website
|
|
191
|
+
*/
|
|
192
|
+
website?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface CarrierListParams {
|
|
195
|
+
/**
|
|
196
|
+
* Filter by country name
|
|
197
|
+
*/
|
|
198
|
+
country?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Filter by country ISO code
|
|
201
|
+
*/
|
|
202
|
+
countryISO?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Field to order by
|
|
205
|
+
*/
|
|
206
|
+
orderBy?: 'id' | 'mcc' | 'mnc' | 'operator' | 'country' | 'country_iso';
|
|
207
|
+
/**
|
|
208
|
+
* Order direction
|
|
209
|
+
*/
|
|
210
|
+
orderDir?: 'asc' | 'desc';
|
|
211
|
+
/**
|
|
212
|
+
* Page number
|
|
213
|
+
*/
|
|
214
|
+
page?: number;
|
|
215
|
+
/**
|
|
216
|
+
* Items per page
|
|
217
|
+
*/
|
|
218
|
+
pageSize?: number;
|
|
219
|
+
}
|
|
220
|
+
export interface CarrierLookupParams {
|
|
221
|
+
/**
|
|
222
|
+
* Mobile Country Code
|
|
223
|
+
*/
|
|
224
|
+
mcc: string;
|
|
225
|
+
/**
|
|
226
|
+
* Mobile Network Code
|
|
227
|
+
*/
|
|
228
|
+
mnc: string;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace Carriers {
|
|
231
|
+
export { type Carrier as Carrier, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
|
|
232
|
+
}
|
|
233
|
+
//# sourceMappingURL=carriers.d.ts.map
|