@mobilerun/sdk 5.6.0 → 6.0.1

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.
Files changed (379) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +0 -9
  3. package/client.d.mts +8 -26
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +8 -26
  6. package/client.d.ts.map +1 -1
  7. package/client.js +0 -18
  8. package/client.js.map +1 -1
  9. package/client.mjs +0 -18
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/apps.d.mts +30 -20
  13. package/resources/apps.d.mts.map +1 -1
  14. package/resources/apps.d.ts +30 -20
  15. package/resources/apps.d.ts.map +1 -1
  16. package/resources/apps.js +20 -10
  17. package/resources/apps.js.map +1 -1
  18. package/resources/apps.mjs +20 -10
  19. package/resources/apps.mjs.map +1 -1
  20. package/resources/assistant/conversations.d.mts +19 -0
  21. package/resources/assistant/conversations.d.mts.map +1 -1
  22. package/resources/assistant/conversations.d.ts +19 -0
  23. package/resources/assistant/conversations.d.ts.map +1 -1
  24. package/resources/connect/proxies.d.mts +8 -6
  25. package/resources/connect/proxies.d.mts.map +1 -1
  26. package/resources/connect/proxies.d.ts +8 -6
  27. package/resources/connect/proxies.d.ts.map +1 -1
  28. package/resources/connect/proxies.js +6 -4
  29. package/resources/connect/proxies.js.map +1 -1
  30. package/resources/connect/proxies.mjs +6 -4
  31. package/resources/connect/proxies.mjs.map +1 -1
  32. package/resources/connect/users.d.mts +4 -4
  33. package/resources/connect/users.d.ts +4 -4
  34. package/resources/connect/users.js +2 -2
  35. package/resources/connect/users.mjs +2 -2
  36. package/resources/devices/actions.d.mts +25 -5
  37. package/resources/devices/actions.d.mts.map +1 -1
  38. package/resources/devices/actions.d.ts +25 -5
  39. package/resources/devices/actions.d.ts.map +1 -1
  40. package/resources/devices/actions.js +5 -3
  41. package/resources/devices/actions.js.map +1 -1
  42. package/resources/devices/actions.mjs +5 -3
  43. package/resources/devices/actions.mjs.map +1 -1
  44. package/resources/devices/apps.d.mts +25 -10
  45. package/resources/devices/apps.d.mts.map +1 -1
  46. package/resources/devices/apps.d.ts +25 -10
  47. package/resources/devices/apps.d.ts.map +1 -1
  48. package/resources/devices/apps.js +12 -10
  49. package/resources/devices/apps.js.map +1 -1
  50. package/resources/devices/apps.mjs +12 -10
  51. package/resources/devices/apps.mjs.map +1 -1
  52. package/resources/devices/devices.d.mts +60 -22
  53. package/resources/devices/devices.d.mts.map +1 -1
  54. package/resources/devices/devices.d.ts +60 -22
  55. package/resources/devices/devices.d.ts.map +1 -1
  56. package/resources/devices/devices.js +25 -16
  57. package/resources/devices/devices.js.map +1 -1
  58. package/resources/devices/devices.mjs +25 -16
  59. package/resources/devices/devices.mjs.map +1 -1
  60. package/resources/devices/index.d.mts +3 -3
  61. package/resources/devices/index.d.mts.map +1 -1
  62. package/resources/devices/index.d.ts +3 -3
  63. package/resources/devices/index.d.ts.map +1 -1
  64. package/resources/devices/index.js +3 -3
  65. package/resources/devices/index.js.map +1 -1
  66. package/resources/devices/index.mjs +1 -1
  67. package/resources/devices/index.mjs.map +1 -1
  68. package/resources/devices/keyboard.d.mts +8 -2
  69. package/resources/devices/keyboard.d.mts.map +1 -1
  70. package/resources/devices/keyboard.d.ts +8 -2
  71. package/resources/devices/keyboard.d.ts.map +1 -1
  72. package/resources/devices/recordings.d.mts +28 -7
  73. package/resources/devices/recordings.d.mts.map +1 -1
  74. package/resources/devices/recordings.d.ts +28 -7
  75. package/resources/devices/recordings.d.ts.map +1 -1
  76. package/resources/devices/recordings.js +9 -0
  77. package/resources/devices/recordings.js.map +1 -1
  78. package/resources/devices/recordings.mjs +9 -0
  79. package/resources/devices/recordings.mjs.map +1 -1
  80. package/resources/devices/screenshots.d.mts +72 -0
  81. package/resources/devices/screenshots.d.mts.map +1 -0
  82. package/resources/devices/screenshots.d.ts +72 -0
  83. package/resources/devices/screenshots.d.ts.map +1 -0
  84. package/resources/devices/screenshots.js +57 -0
  85. package/resources/devices/screenshots.js.map +1 -0
  86. package/resources/devices/screenshots.mjs +53 -0
  87. package/resources/devices/screenshots.mjs.map +1 -0
  88. package/resources/devices/state.d.mts +11 -2
  89. package/resources/devices/state.d.mts.map +1 -1
  90. package/resources/devices/state.d.ts +11 -2
  91. package/resources/devices/state.d.ts.map +1 -1
  92. package/resources/devices/state.js +5 -2
  93. package/resources/devices/state.js.map +1 -1
  94. package/resources/devices/state.mjs +5 -2
  95. package/resources/devices/state.mjs.map +1 -1
  96. package/resources/files.d.mts +3 -3
  97. package/resources/files.d.ts +3 -3
  98. package/resources/files.js +3 -3
  99. package/resources/files.mjs +3 -3
  100. package/resources/index.d.mts +4 -9
  101. package/resources/index.d.mts.map +1 -1
  102. package/resources/index.d.ts +4 -9
  103. package/resources/index.d.ts.map +1 -1
  104. package/resources/index.js +1 -11
  105. package/resources/index.js.map +1 -1
  106. package/resources/index.mjs +0 -5
  107. package/resources/index.mjs.map +1 -1
  108. package/resources/mailboxes/connections.d.mts +4 -10
  109. package/resources/mailboxes/connections.d.mts.map +1 -1
  110. package/resources/mailboxes/connections.d.ts +4 -10
  111. package/resources/mailboxes/connections.d.ts.map +1 -1
  112. package/resources/mailboxes/connections.js +3 -4
  113. package/resources/mailboxes/connections.js.map +1 -1
  114. package/resources/mailboxes/connections.mjs +3 -4
  115. package/resources/mailboxes/connections.mjs.map +1 -1
  116. package/resources/mailboxes/mailboxes.d.mts +5 -4
  117. package/resources/mailboxes/mailboxes.d.mts.map +1 -1
  118. package/resources/mailboxes/mailboxes.d.ts +5 -4
  119. package/resources/mailboxes/mailboxes.d.ts.map +1 -1
  120. package/resources/mailboxes/mailboxes.js +5 -4
  121. package/resources/mailboxes/mailboxes.js.map +1 -1
  122. package/resources/mailboxes/mailboxes.mjs +5 -4
  123. package/resources/mailboxes/mailboxes.mjs.map +1 -1
  124. package/resources/messages/messages.d.mts +12 -0
  125. package/resources/messages/messages.d.mts.map +1 -1
  126. package/resources/messages/messages.d.ts +12 -0
  127. package/resources/messages/messages.d.ts.map +1 -1
  128. package/resources/messages/messages.js.map +1 -1
  129. package/resources/messages/messages.mjs.map +1 -1
  130. package/resources/models.d.mts +12 -23
  131. package/resources/models.d.mts.map +1 -1
  132. package/resources/models.d.ts +12 -23
  133. package/resources/models.d.ts.map +1 -1
  134. package/resources/models.js +3 -4
  135. package/resources/models.js.map +1 -1
  136. package/resources/models.mjs +3 -4
  137. package/resources/models.mjs.map +1 -1
  138. package/resources/numbers/index.d.mts +1 -1
  139. package/resources/numbers/index.d.mts.map +1 -1
  140. package/resources/numbers/index.d.ts +1 -1
  141. package/resources/numbers/index.d.ts.map +1 -1
  142. package/resources/numbers/index.js.map +1 -1
  143. package/resources/numbers/index.mjs.map +1 -1
  144. package/resources/numbers/messages.d.mts +23 -14
  145. package/resources/numbers/messages.d.mts.map +1 -1
  146. package/resources/numbers/messages.d.ts +23 -14
  147. package/resources/numbers/messages.d.ts.map +1 -1
  148. package/resources/numbers/messages.js +9 -7
  149. package/resources/numbers/messages.js.map +1 -1
  150. package/resources/numbers/messages.mjs +9 -7
  151. package/resources/numbers/messages.mjs.map +1 -1
  152. package/resources/numbers/numbers.d.mts +136 -32
  153. package/resources/numbers/numbers.d.mts.map +1 -1
  154. package/resources/numbers/numbers.d.ts +136 -32
  155. package/resources/numbers/numbers.d.ts.map +1 -1
  156. package/resources/numbers/numbers.js +1 -12
  157. package/resources/numbers/numbers.js.map +1 -1
  158. package/resources/numbers/numbers.mjs +1 -12
  159. package/resources/numbers/numbers.mjs.map +1 -1
  160. package/resources/proxies.d.mts +1 -87
  161. package/resources/proxies.d.mts.map +1 -1
  162. package/resources/proxies.d.ts +1 -87
  163. package/resources/proxies.d.ts.map +1 -1
  164. package/resources/proxies.js +0 -6
  165. package/resources/proxies.js.map +1 -1
  166. package/resources/proxies.mjs +0 -6
  167. package/resources/proxies.mjs.map +1 -1
  168. package/resources/tasks/tasks.d.mts +42 -138
  169. package/resources/tasks/tasks.d.mts.map +1 -1
  170. package/resources/tasks/tasks.d.ts +42 -138
  171. package/resources/tasks/tasks.d.ts.map +1 -1
  172. package/resources/tasks/tasks.js.map +1 -1
  173. package/resources/tasks/tasks.mjs.map +1 -1
  174. package/resources/webhooks/index.d.mts +1 -1
  175. package/resources/webhooks/index.d.mts.map +1 -1
  176. package/resources/webhooks/index.d.ts +1 -1
  177. package/resources/webhooks/index.d.ts.map +1 -1
  178. package/resources/webhooks/index.js.map +1 -1
  179. package/resources/webhooks/index.mjs.map +1 -1
  180. package/resources/webhooks/webhooks.d.mts +7 -43
  181. package/resources/webhooks/webhooks.d.mts.map +1 -1
  182. package/resources/webhooks/webhooks.d.ts +7 -43
  183. package/resources/webhooks/webhooks.d.ts.map +1 -1
  184. package/resources/webhooks/webhooks.js +6 -9
  185. package/resources/webhooks/webhooks.js.map +1 -1
  186. package/resources/webhooks/webhooks.mjs +6 -9
  187. package/resources/webhooks/webhooks.mjs.map +1 -1
  188. package/resources/workflows/events.d.mts +6 -2
  189. package/resources/workflows/events.d.mts.map +1 -1
  190. package/resources/workflows/events.d.ts +6 -2
  191. package/resources/workflows/events.d.ts.map +1 -1
  192. package/resources/workflows/executions/executions.d.mts +37 -31
  193. package/resources/workflows/executions/executions.d.mts.map +1 -1
  194. package/resources/workflows/executions/executions.d.ts +37 -31
  195. package/resources/workflows/executions/executions.d.ts.map +1 -1
  196. package/resources/workflows/executions/executions.js +2 -2
  197. package/resources/workflows/executions/executions.js.map +1 -1
  198. package/resources/workflows/executions/executions.mjs +2 -2
  199. package/resources/workflows/executions/executions.mjs.map +1 -1
  200. package/resources/workflows/flows/flows.d.mts +90 -34
  201. package/resources/workflows/flows/flows.d.mts.map +1 -1
  202. package/resources/workflows/flows/flows.d.ts +90 -34
  203. package/resources/workflows/flows/flows.d.ts.map +1 -1
  204. package/resources/workflows/flows/flows.js +15 -14
  205. package/resources/workflows/flows/flows.js.map +1 -1
  206. package/resources/workflows/flows/flows.mjs +15 -14
  207. package/resources/workflows/flows/flows.mjs.map +1 -1
  208. package/resources/workflows/flows/index.d.mts +1 -1
  209. package/resources/workflows/flows/index.d.mts.map +1 -1
  210. package/resources/workflows/flows/index.d.ts +1 -1
  211. package/resources/workflows/flows/index.d.ts.map +1 -1
  212. package/resources/workflows/flows/index.js.map +1 -1
  213. package/resources/workflows/flows/index.mjs.map +1 -1
  214. package/resources/workflows/index.d.mts +1 -1
  215. package/resources/workflows/index.d.mts.map +1 -1
  216. package/resources/workflows/index.d.ts +1 -1
  217. package/resources/workflows/index.d.ts.map +1 -1
  218. package/resources/workflows/index.js.map +1 -1
  219. package/resources/workflows/index.mjs.map +1 -1
  220. package/resources/workflows/triggers.d.mts +10 -13
  221. package/resources/workflows/triggers.d.mts.map +1 -1
  222. package/resources/workflows/triggers.d.ts +10 -13
  223. package/resources/workflows/triggers.d.ts.map +1 -1
  224. package/resources/workflows/triggers.js +6 -8
  225. package/resources/workflows/triggers.js.map +1 -1
  226. package/resources/workflows/triggers.mjs +6 -8
  227. package/resources/workflows/triggers.mjs.map +1 -1
  228. package/resources/workflows/workflows.d.mts +2 -2
  229. package/resources/workflows/workflows.d.mts.map +1 -1
  230. package/resources/workflows/workflows.d.ts +2 -2
  231. package/resources/workflows/workflows.d.ts.map +1 -1
  232. package/resources/workflows/workflows.js.map +1 -1
  233. package/resources/workflows/workflows.mjs.map +1 -1
  234. package/src/client.ts +2 -106
  235. package/src/resources/apps.ts +30 -20
  236. package/src/resources/assistant/conversations.ts +26 -0
  237. package/src/resources/connect/proxies.ts +8 -6
  238. package/src/resources/connect/users.ts +4 -4
  239. package/src/resources/devices/actions.ts +28 -5
  240. package/src/resources/devices/apps.ts +30 -10
  241. package/src/resources/devices/devices.ts +92 -37
  242. package/src/resources/devices/index.ts +12 -9
  243. package/src/resources/devices/keyboard.ts +9 -2
  244. package/src/resources/devices/recordings.ts +44 -6
  245. package/src/resources/devices/screenshots.ts +140 -0
  246. package/src/resources/devices/state.ts +12 -2
  247. package/src/resources/files.ts +3 -3
  248. package/src/resources/index.ts +1 -44
  249. package/src/resources/mailboxes/connections.ts +4 -11
  250. package/src/resources/mailboxes/mailboxes.ts +5 -4
  251. package/src/resources/messages/messages.ts +16 -0
  252. package/src/resources/models.ts +16 -23
  253. package/src/resources/numbers/index.ts +0 -1
  254. package/src/resources/numbers/messages.ts +27 -15
  255. package/src/resources/numbers/numbers.ts +155 -40
  256. package/src/resources/proxies.ts +0 -110
  257. package/src/resources/tasks/tasks.ts +46 -138
  258. package/src/resources/webhooks/index.ts +0 -1
  259. package/src/resources/webhooks/webhooks.ts +6 -60
  260. package/src/resources/workflows/events.ts +7 -2
  261. package/src/resources/workflows/executions/executions.ts +39 -31
  262. package/src/resources/workflows/flows/flows.ts +104 -34
  263. package/src/resources/workflows/flows/index.ts +1 -0
  264. package/src/resources/workflows/index.ts +1 -0
  265. package/src/resources/workflows/triggers.ts +10 -13
  266. package/src/resources/workflows/workflows.ts +2 -0
  267. package/src/version.ts +1 -1
  268. package/version.d.mts +1 -1
  269. package/version.d.ts +1 -1
  270. package/version.js +1 -1
  271. package/version.mjs +1 -1
  272. package/resources/app-events/app-events.d.mts +0 -81
  273. package/resources/app-events/app-events.d.mts.map +0 -1
  274. package/resources/app-events/app-events.d.ts +0 -81
  275. package/resources/app-events/app-events.d.ts.map +0 -1
  276. package/resources/app-events/app-events.js +0 -33
  277. package/resources/app-events/app-events.js.map +0 -1
  278. package/resources/app-events/app-events.mjs +0 -28
  279. package/resources/app-events/app-events.mjs.map +0 -1
  280. package/resources/app-events/catalog.d.mts +0 -64
  281. package/resources/app-events/catalog.d.mts.map +0 -1
  282. package/resources/app-events/catalog.d.ts +0 -64
  283. package/resources/app-events/catalog.d.ts.map +0 -1
  284. package/resources/app-events/catalog.js +0 -25
  285. package/resources/app-events/catalog.js.map +0 -1
  286. package/resources/app-events/catalog.mjs +0 -21
  287. package/resources/app-events/catalog.mjs.map +0 -1
  288. package/resources/app-events/index.d.mts +0 -3
  289. package/resources/app-events/index.d.mts.map +0 -1
  290. package/resources/app-events/index.d.ts +0 -3
  291. package/resources/app-events/index.d.ts.map +0 -1
  292. package/resources/app-events/index.js +0 -9
  293. package/resources/app-events/index.js.map +0 -1
  294. package/resources/app-events/index.mjs +0 -4
  295. package/resources/app-events/index.mjs.map +0 -1
  296. package/resources/app-events.d.mts +0 -2
  297. package/resources/app-events.d.mts.map +0 -1
  298. package/resources/app-events.d.ts +0 -2
  299. package/resources/app-events.d.ts.map +0 -1
  300. package/resources/app-events.js +0 -6
  301. package/resources/app-events.js.map +0 -1
  302. package/resources/app-events.mjs +0 -3
  303. package/resources/app-events.mjs.map +0 -1
  304. package/resources/carriers.d.mts +0 -331
  305. package/resources/carriers.d.mts.map +0 -1
  306. package/resources/carriers.d.ts +0 -331
  307. package/resources/carriers.d.ts.map +0 -1
  308. package/resources/carriers.js +0 -46
  309. package/resources/carriers.js.map +0 -1
  310. package/resources/carriers.mjs +0 -42
  311. package/resources/carriers.mjs.map +0 -1
  312. package/resources/devices/media-sessions.d.mts +0 -96
  313. package/resources/devices/media-sessions.d.mts.map +0 -1
  314. package/resources/devices/media-sessions.d.ts +0 -96
  315. package/resources/devices/media-sessions.d.ts.map +0 -1
  316. package/resources/devices/media-sessions.js +0 -50
  317. package/resources/devices/media-sessions.js.map +0 -1
  318. package/resources/devices/media-sessions.mjs +0 -46
  319. package/resources/devices/media-sessions.mjs.map +0 -1
  320. package/resources/notifications.d.mts +0 -112
  321. package/resources/notifications.d.mts.map +0 -1
  322. package/resources/notifications.d.ts +0 -112
  323. package/resources/notifications.d.ts.map +0 -1
  324. package/resources/notifications.js +0 -72
  325. package/resources/notifications.js.map +0 -1
  326. package/resources/notifications.mjs +0 -68
  327. package/resources/notifications.mjs.map +0 -1
  328. package/resources/profiles.d.mts +0 -147
  329. package/resources/profiles.d.mts.map +0 -1
  330. package/resources/profiles.d.ts +0 -147
  331. package/resources/profiles.d.ts.map +0 -1
  332. package/resources/profiles.js +0 -40
  333. package/resources/profiles.js.map +0 -1
  334. package/resources/profiles.mjs +0 -36
  335. package/resources/profiles.mjs.map +0 -1
  336. package/resources/store/apps.d.mts +0 -140
  337. package/resources/store/apps.d.mts.map +0 -1
  338. package/resources/store/apps.d.ts +0 -140
  339. package/resources/store/apps.d.ts.map +0 -1
  340. package/resources/store/apps.js +0 -31
  341. package/resources/store/apps.js.map +0 -1
  342. package/resources/store/apps.mjs +0 -27
  343. package/resources/store/apps.mjs.map +0 -1
  344. package/resources/store/index.d.mts +0 -3
  345. package/resources/store/index.d.mts.map +0 -1
  346. package/resources/store/index.d.ts +0 -3
  347. package/resources/store/index.d.ts.map +0 -1
  348. package/resources/store/index.js +0 -9
  349. package/resources/store/index.js.map +0 -1
  350. package/resources/store/index.mjs +0 -4
  351. package/resources/store/index.mjs.map +0 -1
  352. package/resources/store/store.d.mts +0 -20
  353. package/resources/store/store.d.mts.map +0 -1
  354. package/resources/store/store.d.ts +0 -20
  355. package/resources/store/store.d.ts.map +0 -1
  356. package/resources/store/store.js +0 -23
  357. package/resources/store/store.js.map +0 -1
  358. package/resources/store/store.mjs +0 -18
  359. package/resources/store/store.mjs.map +0 -1
  360. package/resources/store.d.mts +0 -2
  361. package/resources/store.d.mts.map +0 -1
  362. package/resources/store.d.ts +0 -2
  363. package/resources/store.d.ts.map +0 -1
  364. package/resources/store.js +0 -6
  365. package/resources/store.js.map +0 -1
  366. package/resources/store.mjs +0 -3
  367. package/resources/store.mjs.map +0 -1
  368. package/src/resources/app-events/app-events.ts +0 -133
  369. package/src/resources/app-events/catalog.ts +0 -100
  370. package/src/resources/app-events/index.ts +0 -9
  371. package/src/resources/app-events.ts +0 -3
  372. package/src/resources/carriers.ts +0 -508
  373. package/src/resources/devices/media-sessions.ts +0 -168
  374. package/src/resources/notifications.ts +0 -155
  375. package/src/resources/profiles.ts +0 -232
  376. package/src/resources/store/apps.ts +0 -993
  377. package/src/resources/store/index.ts +0 -10
  378. package/src/resources/store/store.ts +0 -36
  379. package/src/resources/store.ts +0 -3
@@ -1,331 +0,0 @@
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<CarrierCreateResponse>;
10
- /**
11
- * Get carrier by ID
12
- */
13
- retrieve(carrierID: number, options?: RequestOptions): APIPromise<CarrierRetrieveResponse>;
14
- /**
15
- * Update a carrier
16
- */
17
- update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<CarrierUpdateResponse>;
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<CarrierLookupResponse>;
30
- }
31
- export interface CarrierCreateResponse {
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 CarrierRetrieveResponse {
56
- id: number;
57
- company: string;
58
- country: string;
59
- country_code: string;
60
- country_iso: string;
61
- created_at: string;
62
- detail_url: string;
63
- gsm_bands: string;
64
- lte_bands: string;
65
- mcc: string;
66
- mnc: string;
67
- mobile_prefix: string;
68
- nsn_size: string;
69
- number_format: string;
70
- operator: string;
71
- protocols: string;
72
- umts_bands: string;
73
- website: string;
74
- /**
75
- * A URL to the JSON Schema for this object.
76
- */
77
- $schema?: string;
78
- }
79
- export interface CarrierUpdateResponse {
80
- id: number;
81
- company: string;
82
- country: string;
83
- country_code: string;
84
- country_iso: string;
85
- created_at: string;
86
- detail_url: string;
87
- gsm_bands: string;
88
- lte_bands: string;
89
- mcc: string;
90
- mnc: string;
91
- mobile_prefix: string;
92
- nsn_size: string;
93
- number_format: string;
94
- operator: string;
95
- protocols: string;
96
- umts_bands: string;
97
- website: string;
98
- /**
99
- * A URL to the JSON Schema for this object.
100
- */
101
- $schema?: string;
102
- }
103
- export interface CarrierListResponse {
104
- items: Array<CarrierListResponse.Item> | null;
105
- pagination: Shared.Meta;
106
- /**
107
- * A URL to the JSON Schema for this object.
108
- */
109
- $schema?: string;
110
- }
111
- export declare namespace CarrierListResponse {
112
- interface Item {
113
- id: number;
114
- company: string;
115
- country: string;
116
- country_code: string;
117
- country_iso: string;
118
- created_at: string;
119
- detail_url: string;
120
- gsm_bands: string;
121
- lte_bands: string;
122
- mcc: string;
123
- mnc: string;
124
- mobile_prefix: string;
125
- nsn_size: string;
126
- number_format: string;
127
- operator: string;
128
- protocols: string;
129
- umts_bands: string;
130
- website: string;
131
- /**
132
- * A URL to the JSON Schema for this object.
133
- */
134
- $schema?: string;
135
- }
136
- }
137
- export interface CarrierDeleteResponse {
138
- message: string;
139
- /**
140
- * A URL to the JSON Schema for this object.
141
- */
142
- $schema?: string;
143
- }
144
- export interface CarrierLookupResponse {
145
- id: number;
146
- company: string;
147
- country: string;
148
- country_code: string;
149
- country_iso: string;
150
- created_at: string;
151
- detail_url: string;
152
- gsm_bands: string;
153
- lte_bands: string;
154
- mcc: string;
155
- mnc: string;
156
- mobile_prefix: string;
157
- nsn_size: string;
158
- number_format: string;
159
- operator: string;
160
- protocols: string;
161
- umts_bands: string;
162
- website: string;
163
- /**
164
- * A URL to the JSON Schema for this object.
165
- */
166
- $schema?: string;
167
- }
168
- export interface CarrierCreateParams {
169
- /**
170
- * Country name
171
- */
172
- country: string;
173
- /**
174
- * Mobile Country Code
175
- */
176
- mcc: string;
177
- /**
178
- * Mobile Network Code
179
- */
180
- mnc: string;
181
- /**
182
- * Operator name
183
- */
184
- operator: string;
185
- /**
186
- * Company name
187
- */
188
- company?: string;
189
- /**
190
- * Country dialing code (e.g., +1)
191
- */
192
- country_code?: string;
193
- /**
194
- * ISO country code
195
- */
196
- country_iso?: string;
197
- /**
198
- * URL to carrier details page
199
- */
200
- detail_url?: string;
201
- /**
202
- * Supported GSM bands
203
- */
204
- gsm_bands?: string;
205
- /**
206
- * Supported LTE bands
207
- */
208
- lte_bands?: string;
209
- /**
210
- * Mobile number prefix
211
- */
212
- mobile_prefix?: string;
213
- /**
214
- * National Significant Number size
215
- */
216
- nsn_size?: string;
217
- /**
218
- * Phone number format
219
- */
220
- number_format?: string;
221
- /**
222
- * Supported protocols (comma-separated)
223
- */
224
- protocols?: string;
225
- /**
226
- * Supported UMTS bands
227
- */
228
- umts_bands?: string;
229
- /**
230
- * Company website
231
- */
232
- website?: string;
233
- }
234
- export interface CarrierUpdateParams {
235
- /**
236
- * Company name
237
- */
238
- company?: string;
239
- /**
240
- * Country name
241
- */
242
- country?: string;
243
- /**
244
- * Country dialing code
245
- */
246
- country_code?: string;
247
- /**
248
- * ISO country code
249
- */
250
- country_iso?: string;
251
- /**
252
- * URL to carrier details
253
- */
254
- detail_url?: string;
255
- /**
256
- * Supported GSM bands
257
- */
258
- gsm_bands?: string;
259
- /**
260
- * Supported LTE bands
261
- */
262
- lte_bands?: string;
263
- /**
264
- * Mobile number prefix
265
- */
266
- mobile_prefix?: string;
267
- /**
268
- * NSN size
269
- */
270
- nsn_size?: string;
271
- /**
272
- * Phone number format
273
- */
274
- number_format?: string;
275
- /**
276
- * Operator name
277
- */
278
- operator?: string;
279
- /**
280
- * Supported protocols
281
- */
282
- protocols?: string;
283
- /**
284
- * Supported UMTS bands
285
- */
286
- umts_bands?: string;
287
- /**
288
- * Company website
289
- */
290
- website?: string;
291
- }
292
- export interface CarrierListParams {
293
- /**
294
- * Filter by country name
295
- */
296
- country?: string;
297
- /**
298
- * Filter by country ISO code
299
- */
300
- countryISO?: string;
301
- /**
302
- * Field to order by
303
- */
304
- orderBy?: 'id' | 'mcc' | 'mnc' | 'operator' | 'country' | 'country_iso';
305
- /**
306
- * Order direction
307
- */
308
- orderDir?: 'asc' | 'desc';
309
- /**
310
- * Page number
311
- */
312
- page?: number;
313
- /**
314
- * Items per page
315
- */
316
- pageSize?: number;
317
- }
318
- export interface CarrierLookupParams {
319
- /**
320
- * Mobile Country Code
321
- */
322
- mcc: string;
323
- /**
324
- * Mobile Network Code
325
- */
326
- mnc: string;
327
- }
328
- export declare namespace Carriers {
329
- export { type CarrierCreateResponse as CarrierCreateResponse, type CarrierRetrieveResponse as CarrierRetrieveResponse, type CarrierUpdateResponse as CarrierUpdateResponse, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierLookupResponse as CarrierLookupResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
330
- }
331
- //# sourceMappingURL=carriers.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"carriers.d.mts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,MAAM,qBAAiB;AACnC,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB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EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,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"}
@@ -1,331 +0,0 @@
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<CarrierCreateResponse>;
10
- /**
11
- * Get carrier by ID
12
- */
13
- retrieve(carrierID: number, options?: RequestOptions): APIPromise<CarrierRetrieveResponse>;
14
- /**
15
- * Update a carrier
16
- */
17
- update(carrierID: number, body: CarrierUpdateParams, options?: RequestOptions): APIPromise<CarrierUpdateResponse>;
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<CarrierLookupResponse>;
30
- }
31
- export interface CarrierCreateResponse {
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 CarrierRetrieveResponse {
56
- id: number;
57
- company: string;
58
- country: string;
59
- country_code: string;
60
- country_iso: string;
61
- created_at: string;
62
- detail_url: string;
63
- gsm_bands: string;
64
- lte_bands: string;
65
- mcc: string;
66
- mnc: string;
67
- mobile_prefix: string;
68
- nsn_size: string;
69
- number_format: string;
70
- operator: string;
71
- protocols: string;
72
- umts_bands: string;
73
- website: string;
74
- /**
75
- * A URL to the JSON Schema for this object.
76
- */
77
- $schema?: string;
78
- }
79
- export interface CarrierUpdateResponse {
80
- id: number;
81
- company: string;
82
- country: string;
83
- country_code: string;
84
- country_iso: string;
85
- created_at: string;
86
- detail_url: string;
87
- gsm_bands: string;
88
- lte_bands: string;
89
- mcc: string;
90
- mnc: string;
91
- mobile_prefix: string;
92
- nsn_size: string;
93
- number_format: string;
94
- operator: string;
95
- protocols: string;
96
- umts_bands: string;
97
- website: string;
98
- /**
99
- * A URL to the JSON Schema for this object.
100
- */
101
- $schema?: string;
102
- }
103
- export interface CarrierListResponse {
104
- items: Array<CarrierListResponse.Item> | null;
105
- pagination: Shared.Meta;
106
- /**
107
- * A URL to the JSON Schema for this object.
108
- */
109
- $schema?: string;
110
- }
111
- export declare namespace CarrierListResponse {
112
- interface Item {
113
- id: number;
114
- company: string;
115
- country: string;
116
- country_code: string;
117
- country_iso: string;
118
- created_at: string;
119
- detail_url: string;
120
- gsm_bands: string;
121
- lte_bands: string;
122
- mcc: string;
123
- mnc: string;
124
- mobile_prefix: string;
125
- nsn_size: string;
126
- number_format: string;
127
- operator: string;
128
- protocols: string;
129
- umts_bands: string;
130
- website: string;
131
- /**
132
- * A URL to the JSON Schema for this object.
133
- */
134
- $schema?: string;
135
- }
136
- }
137
- export interface CarrierDeleteResponse {
138
- message: string;
139
- /**
140
- * A URL to the JSON Schema for this object.
141
- */
142
- $schema?: string;
143
- }
144
- export interface CarrierLookupResponse {
145
- id: number;
146
- company: string;
147
- country: string;
148
- country_code: string;
149
- country_iso: string;
150
- created_at: string;
151
- detail_url: string;
152
- gsm_bands: string;
153
- lte_bands: string;
154
- mcc: string;
155
- mnc: string;
156
- mobile_prefix: string;
157
- nsn_size: string;
158
- number_format: string;
159
- operator: string;
160
- protocols: string;
161
- umts_bands: string;
162
- website: string;
163
- /**
164
- * A URL to the JSON Schema for this object.
165
- */
166
- $schema?: string;
167
- }
168
- export interface CarrierCreateParams {
169
- /**
170
- * Country name
171
- */
172
- country: string;
173
- /**
174
- * Mobile Country Code
175
- */
176
- mcc: string;
177
- /**
178
- * Mobile Network Code
179
- */
180
- mnc: string;
181
- /**
182
- * Operator name
183
- */
184
- operator: string;
185
- /**
186
- * Company name
187
- */
188
- company?: string;
189
- /**
190
- * Country dialing code (e.g., +1)
191
- */
192
- country_code?: string;
193
- /**
194
- * ISO country code
195
- */
196
- country_iso?: string;
197
- /**
198
- * URL to carrier details page
199
- */
200
- detail_url?: string;
201
- /**
202
- * Supported GSM bands
203
- */
204
- gsm_bands?: string;
205
- /**
206
- * Supported LTE bands
207
- */
208
- lte_bands?: string;
209
- /**
210
- * Mobile number prefix
211
- */
212
- mobile_prefix?: string;
213
- /**
214
- * National Significant Number size
215
- */
216
- nsn_size?: string;
217
- /**
218
- * Phone number format
219
- */
220
- number_format?: string;
221
- /**
222
- * Supported protocols (comma-separated)
223
- */
224
- protocols?: string;
225
- /**
226
- * Supported UMTS bands
227
- */
228
- umts_bands?: string;
229
- /**
230
- * Company website
231
- */
232
- website?: string;
233
- }
234
- export interface CarrierUpdateParams {
235
- /**
236
- * Company name
237
- */
238
- company?: string;
239
- /**
240
- * Country name
241
- */
242
- country?: string;
243
- /**
244
- * Country dialing code
245
- */
246
- country_code?: string;
247
- /**
248
- * ISO country code
249
- */
250
- country_iso?: string;
251
- /**
252
- * URL to carrier details
253
- */
254
- detail_url?: string;
255
- /**
256
- * Supported GSM bands
257
- */
258
- gsm_bands?: string;
259
- /**
260
- * Supported LTE bands
261
- */
262
- lte_bands?: string;
263
- /**
264
- * Mobile number prefix
265
- */
266
- mobile_prefix?: string;
267
- /**
268
- * NSN size
269
- */
270
- nsn_size?: string;
271
- /**
272
- * Phone number format
273
- */
274
- number_format?: string;
275
- /**
276
- * Operator name
277
- */
278
- operator?: string;
279
- /**
280
- * Supported protocols
281
- */
282
- protocols?: string;
283
- /**
284
- * Supported UMTS bands
285
- */
286
- umts_bands?: string;
287
- /**
288
- * Company website
289
- */
290
- website?: string;
291
- }
292
- export interface CarrierListParams {
293
- /**
294
- * Filter by country name
295
- */
296
- country?: string;
297
- /**
298
- * Filter by country ISO code
299
- */
300
- countryISO?: string;
301
- /**
302
- * Field to order by
303
- */
304
- orderBy?: 'id' | 'mcc' | 'mnc' | 'operator' | 'country' | 'country_iso';
305
- /**
306
- * Order direction
307
- */
308
- orderDir?: 'asc' | 'desc';
309
- /**
310
- * Page number
311
- */
312
- page?: number;
313
- /**
314
- * Items per page
315
- */
316
- pageSize?: number;
317
- }
318
- export interface CarrierLookupParams {
319
- /**
320
- * Mobile Country Code
321
- */
322
- mcc: string;
323
- /**
324
- * Mobile Network Code
325
- */
326
- mnc: string;
327
- }
328
- export declare namespace Carriers {
329
- export { type CarrierCreateResponse as CarrierCreateResponse, type CarrierRetrieveResponse as CarrierRetrieveResponse, type CarrierUpdateResponse as CarrierUpdateResponse, type CarrierListResponse as CarrierListResponse, type CarrierDeleteResponse as CarrierDeleteResponse, type CarrierLookupResponse as CarrierLookupResponse, type CarrierCreateParams as CarrierCreateParams, type CarrierUpdateParams as CarrierUpdateParams, type CarrierListParams as CarrierListParams, type CarrierLookupParams as CarrierLookupParams, };
330
- }
331
- //# sourceMappingURL=carriers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"carriers.d.ts","sourceRoot":"","sources":["../src/resources/carriers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,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