teleleo 0.0.0-stage → 0.2.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.
Files changed (140) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/LICENSE +21 -0
  3. package/README.md +236 -2
  4. package/api.md +187 -0
  5. package/dist/client.d.ts +28 -0
  6. package/dist/client.d.ts.map +1 -0
  7. package/dist/client.js +27 -0
  8. package/dist/client.js.map +1 -0
  9. package/dist/core.d.ts +66 -0
  10. package/dist/core.d.ts.map +1 -0
  11. package/dist/core.js +195 -0
  12. package/dist/core.js.map +1 -0
  13. package/dist/errors.d.ts +92 -0
  14. package/dist/errors.d.ts.map +1 -0
  15. package/dist/errors.js +163 -0
  16. package/dist/errors.js.map +1 -0
  17. package/dist/index.d.ts +23 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +23 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/pagination.d.ts +41 -0
  22. package/dist/pagination.d.ts.map +1 -0
  23. package/dist/pagination.js +98 -0
  24. package/dist/pagination.js.map +1 -0
  25. package/dist/resource.d.ts +7 -0
  26. package/dist/resource.d.ts.map +1 -0
  27. package/dist/resource.js +8 -0
  28. package/dist/resource.js.map +1 -0
  29. package/dist/resources/call-scenarios.d.ts +77 -0
  30. package/dist/resources/call-scenarios.d.ts.map +1 -0
  31. package/dist/resources/call-scenarios.js +137 -0
  32. package/dist/resources/call-scenarios.js.map +1 -0
  33. package/dist/resources/calls.d.ts +69 -0
  34. package/dist/resources/calls.d.ts.map +1 -0
  35. package/dist/resources/calls.js +109 -0
  36. package/dist/resources/calls.js.map +1 -0
  37. package/dist/resources/contact-groups.d.ts +65 -0
  38. package/dist/resources/contact-groups.d.ts.map +1 -0
  39. package/dist/resources/contact-groups.js +99 -0
  40. package/dist/resources/contact-groups.js.map +1 -0
  41. package/dist/resources/contacts.d.ts +75 -0
  42. package/dist/resources/contacts.d.ts.map +1 -0
  43. package/dist/resources/contacts.js +132 -0
  44. package/dist/resources/contacts.js.map +1 -0
  45. package/dist/resources/dongles.d.ts +201 -0
  46. package/dist/resources/dongles.d.ts.map +1 -0
  47. package/dist/resources/dongles.js +296 -0
  48. package/dist/resources/dongles.js.map +1 -0
  49. package/dist/resources/files.d.ts +52 -0
  50. package/dist/resources/files.d.ts.map +1 -0
  51. package/dist/resources/files.js +73 -0
  52. package/dist/resources/files.js.map +1 -0
  53. package/dist/resources/follow-up-sms-settings.d.ts +65 -0
  54. package/dist/resources/follow-up-sms-settings.d.ts.map +1 -0
  55. package/dist/resources/follow-up-sms-settings.js +111 -0
  56. package/dist/resources/follow-up-sms-settings.js.map +1 -0
  57. package/dist/resources/index.d.ts +50 -0
  58. package/dist/resources/index.d.ts.map +1 -0
  59. package/dist/resources/index.js +36 -0
  60. package/dist/resources/index.js.map +1 -0
  61. package/dist/resources/mailings.d.ts +85 -0
  62. package/dist/resources/mailings.d.ts.map +1 -0
  63. package/dist/resources/mailings.js +191 -0
  64. package/dist/resources/mailings.js.map +1 -0
  65. package/dist/resources/public-vpn.d.ts +51 -0
  66. package/dist/resources/public-vpn.d.ts.map +1 -0
  67. package/dist/resources/public-vpn.js +67 -0
  68. package/dist/resources/public-vpn.js.map +1 -0
  69. package/dist/resources/redirections.d.ts +65 -0
  70. package/dist/resources/redirections.d.ts.map +1 -0
  71. package/dist/resources/redirections.js +113 -0
  72. package/dist/resources/redirections.js.map +1 -0
  73. package/dist/resources/sip-users.d.ts +30 -0
  74. package/dist/resources/sip-users.d.ts.map +1 -0
  75. package/dist/resources/sip-users.js +40 -0
  76. package/dist/resources/sip-users.js.map +1 -0
  77. package/dist/resources/sms.d.ts +116 -0
  78. package/dist/resources/sms.d.ts.map +1 -0
  79. package/dist/resources/sms.js +203 -0
  80. package/dist/resources/sms.js.map +1 -0
  81. package/dist/resources/socks-proxies.d.ts +65 -0
  82. package/dist/resources/socks-proxies.d.ts.map +1 -0
  83. package/dist/resources/socks-proxies.js +91 -0
  84. package/dist/resources/socks-proxies.js.map +1 -0
  85. package/dist/resources/ussd.d.ts +71 -0
  86. package/dist/resources/ussd.d.ts.map +1 -0
  87. package/dist/resources/ussd.js +89 -0
  88. package/dist/resources/ussd.js.map +1 -0
  89. package/dist/types/enums.d.ts +280 -0
  90. package/dist/types/enums.d.ts.map +1 -0
  91. package/dist/types/enums.js +233 -0
  92. package/dist/types/enums.js.map +1 -0
  93. package/dist/types/index.d.ts +4 -0
  94. package/dist/types/index.d.ts.map +1 -0
  95. package/dist/types/index.js +5 -0
  96. package/dist/types/index.js.map +1 -0
  97. package/dist/types/models.d.ts +686 -0
  98. package/dist/types/models.d.ts.map +1 -0
  99. package/dist/types/models.js +3 -0
  100. package/dist/types/models.js.map +1 -0
  101. package/dist/types/params.d.ts +711 -0
  102. package/dist/types/params.d.ts.map +1 -0
  103. package/dist/types/params.js +3 -0
  104. package/dist/types/params.js.map +1 -0
  105. package/dist/utils.d.ts +32 -0
  106. package/dist/utils.d.ts.map +1 -0
  107. package/dist/utils.js +118 -0
  108. package/dist/utils.js.map +1 -0
  109. package/dist/version.d.ts +2 -0
  110. package/dist/version.d.ts.map +1 -0
  111. package/dist/version.js +2 -0
  112. package/dist/version.js.map +1 -0
  113. package/package.json +63 -4
  114. package/src/client.ts +42 -0
  115. package/src/core.ts +278 -0
  116. package/src/errors.ts +170 -0
  117. package/src/index.ts +46 -0
  118. package/src/pagination.ts +110 -0
  119. package/src/resource.ts +10 -0
  120. package/src/resources/call-scenarios.ts +154 -0
  121. package/src/resources/calls.ts +117 -0
  122. package/src/resources/contact-groups.ts +115 -0
  123. package/src/resources/contacts.ts +149 -0
  124. package/src/resources/dongles.ts +346 -0
  125. package/src/resources/files.ts +79 -0
  126. package/src/resources/follow-up-sms-settings.ts +130 -0
  127. package/src/resources/index.ts +86 -0
  128. package/src/resources/mailings.ts +207 -0
  129. package/src/resources/public-vpn.ts +72 -0
  130. package/src/resources/redirections.ts +129 -0
  131. package/src/resources/sip-users.ts +44 -0
  132. package/src/resources/sms.ts +232 -0
  133. package/src/resources/socks-proxies.ts +107 -0
  134. package/src/resources/ussd.ts +97 -0
  135. package/src/types/enums.ts +300 -0
  136. package/src/types/index.ts +5 -0
  137. package/src/types/models.ts +747 -0
  138. package/src/types/params.ts +767 -0
  139. package/src/utils.ts +123 -0
  140. package/src/version.ts +1 -0
@@ -0,0 +1,91 @@
1
+ // File generated from spec/openapi.yaml by scripts/generate.mjs. Do not edit by hand.
2
+ import { APIResource } from '../resource.js';
3
+ import { asStatus, pathParam } from '../utils.js';
4
+ /** SOCKS5 proxy through the mobile network of a modem. */
5
+ export class SocksProxiesResource extends APIResource {
6
+ /**
7
+ * List SOCKS proxies.
8
+ *
9
+ * SOCKS5 proxies of the modems of the account. Newest first by default (created_at descending, then the id descending).
10
+ *
11
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
12
+ *
13
+ * Capability the role of an organization API key needs: `network.view`.
14
+ */
15
+ list(params = {}, options) {
16
+ return this._client.getPage('/dongle-socks-proxy', {
17
+ query: { dongle_id: params.dongle_id, page: params.page, limit: params.limit },
18
+ itemKey: 'dongle_socks_proxies',
19
+ options,
20
+ });
21
+ }
22
+ /**
23
+ * Create SOCKS proxy.
24
+ *
25
+ * One proxy per modem; the login is generated by the server. The proxy routes traffic through the mobile network of the modem.
26
+ *
27
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE, PASSWORD_TOO_SHORT_EXCEPTION, ALLOWED_IPS_NOT_VALID_EXCEPTION, DONGLE_SOCKS_PROXY_ALREADY_EXISTS_EXCEPTION.
28
+ *
29
+ * Capability the role of an organization API key needs: `network.manage`.
30
+ */
31
+ create(params, options) {
32
+ return this._client
33
+ .request('POST', '/dongle-socks-proxy', {
34
+ body: { dongle_id: params.dongle_id, password: params.password, allowed_ips: params.allowed_ips },
35
+ options,
36
+ })
37
+ .then((data) => data);
38
+ }
39
+ /**
40
+ * Get SOCKS proxy.
41
+ *
42
+ * One SOCKS5 proxy of a modem of the account.
43
+ *
44
+ * @param dongleSocksProxyId - Identifier in the path
45
+ *
46
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_SOCKS_PROXY_NOT_FOUND_EXCEPTION.
47
+ *
48
+ * Capability the role of an organization API key needs: `network.view`.
49
+ */
50
+ get(dongleSocksProxyId, options) {
51
+ return this._client
52
+ .request('GET', `/dongle-socks-proxy/${pathParam(dongleSocksProxyId)}`, { options })
53
+ .then((data) => data);
54
+ }
55
+ /**
56
+ * Update SOCKS proxy.
57
+ *
58
+ * Replaces the password and the allowed client addresses of the proxy.
59
+ *
60
+ * @param dongleSocksProxyId - Identifier in the path
61
+ *
62
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_SOCKS_PROXY_NOT_FOUND_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE, PASSWORD_TOO_SHORT_EXCEPTION, ALLOWED_IPS_NOT_VALID_EXCEPTION.
63
+ *
64
+ * Capability the role of an organization API key needs: `network.manage`.
65
+ */
66
+ update(dongleSocksProxyId, params, options) {
67
+ return this._client
68
+ .request('PUT', `/dongle-socks-proxy/${pathParam(dongleSocksProxyId)}`, {
69
+ body: { password: params.password, allowed_ips: params.allowed_ips },
70
+ options,
71
+ })
72
+ .then((data) => data);
73
+ }
74
+ /**
75
+ * Delete SOCKS proxy.
76
+ *
77
+ * Deletes the proxy; its credentials stop working.
78
+ *
79
+ * @param dongleSocksProxyId - Identifier in the path
80
+ *
81
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_SOCKS_PROXY_NOT_FOUND_EXCEPTION.
82
+ *
83
+ * Capability the role of an organization API key needs: `network.manage`.
84
+ */
85
+ delete(dongleSocksProxyId, options) {
86
+ return this._client
87
+ .request('DELETE', `/dongle-socks-proxy/${pathParam(dongleSocksProxyId)}`, { options })
88
+ .then(asStatus);
89
+ }
90
+ }
91
+ //# sourceMappingURL=socks-proxies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socks-proxies.js","sourceRoot":"","sources":["../../src/resources/socks-proxies.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAItF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAO7C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,0DAA0D;AAC1D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;OAQG;IACH,IAAI,CAAC,SAAiC,EAAE,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAmB,qBAAqB,EAAE;YACnE,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE;YAC9E,OAAO,EAAE,sBAAsB;YAC/B,OAAO;SACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAgC,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,MAAM,EAAE,qBAAqB,EAAE;YACtC,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE;YACjG,OAAO;SACR,CAAC;aACD,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAwB,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CAAC,kBAA0B,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,KAAK,EAAE,uBAAuB,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;aACnF,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAwB,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,kBAA0B,EAC1B,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,KAAK,EAAE,uBAAuB,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE;YACtE,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE;YACpE,OAAO;SACR,CAAC;aACD,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAwB,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,kBAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,QAAQ,EAAE,uBAAuB,SAAS,CAAC,kBAAkB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;aACtF,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpB,CAAC;CACF"}
@@ -0,0 +1,71 @@
1
+ import type { RequestOptions } from '../core.js';
2
+ import type { PagePromise } from '../pagination.js';
3
+ import { APIResource } from '../resource.js';
4
+ import type { Ussd } from '../types/models.js';
5
+ import type { UssdListParams, UssdSendParams } from '../types/params.js';
6
+ /** USSD requests through a modem. */
7
+ export declare class UssdResource extends APIResource {
8
+ /**
9
+ * List USSD requests.
10
+ *
11
+ * USSD requests and answers of the modem. Newest first by default (created_at descending, then the id descending).
12
+ *
13
+ * @param dongleId - Identifier in the path
14
+ *
15
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION.
16
+ *
17
+ * Capability the role of an organization API key needs: `device.manage`.
18
+ */
19
+ list(dongleId: number, params?: UssdListParams, options?: RequestOptions): PagePromise<Ussd>;
20
+ /**
21
+ * Send USSD.
22
+ *
23
+ * Sends a USSD command through the modem; the answer arrives later in response of the USSD object. Works where the operator has 3G coverage; interactive (menu) USSD is not supported.
24
+ *
25
+ * @param dongleId - Identifier in the path
26
+ *
27
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_INVALID_COMMAND_FORMAT_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE, USSD_LAST_USSD_NOT_PROCESSED_EXCEPTION, DONGLE_FIRMWARE_UPDATING_EXCEPTION.
28
+ *
29
+ * Capability the role of an organization API key needs: `device.manage`.
30
+ */
31
+ send(dongleId: number, params: UssdSendParams, options?: RequestOptions): Promise<Ussd>;
32
+ /**
33
+ * Get USSD request.
34
+ *
35
+ * One USSD request of the modem with its answer.
36
+ *
37
+ * @param dongleId - Identifier in the path
38
+ * @param ussdId - Identifier in the path
39
+ *
40
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_NOT_FOUND_EXCEPTION.
41
+ *
42
+ * Capability the role of an organization API key needs: `device.manage`.
43
+ */
44
+ get(dongleId: number, ussdId: number, options?: RequestOptions): Promise<Ussd>;
45
+ /**
46
+ * Delete USSD request.
47
+ *
48
+ * Deletes one USSD request from the history of the modem.
49
+ *
50
+ * @param dongleId - Identifier in the path
51
+ * @param ussdId - Identifier in the path
52
+ *
53
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_NOT_FOUND_EXCEPTION.
54
+ *
55
+ * Capability the role of an organization API key needs: `device.manage`.
56
+ */
57
+ delete(dongleId: number, ussdId: number, options?: RequestOptions): Promise<boolean>;
58
+ /**
59
+ * Delete USSD history.
60
+ *
61
+ * Deletes the whole USSD history of the modem.
62
+ *
63
+ * @param dongleId - Identifier in the path
64
+ *
65
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION.
66
+ *
67
+ * Capability the role of an organization API key needs: `device.manage`.
68
+ */
69
+ deleteAll(dongleId: number, options?: RequestOptions): Promise<boolean>;
70
+ }
71
+ //# sourceMappingURL=ussd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ussd.d.ts","sourceRoot":"","sources":["../../src/resources/ussd.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzE,qCAAqC;AACrC,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAE,cAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,IAAI,CAAC;IAQhG;;;;;;;;;;OAUG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAMvF;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9E;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpF;;;;;;;;;;OAUG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;CAGxE"}
@@ -0,0 +1,89 @@
1
+ // File generated from spec/openapi.yaml by scripts/generate.mjs. Do not edit by hand.
2
+ import { APIResource } from '../resource.js';
3
+ import { asStatus, pathParam } from '../utils.js';
4
+ /** USSD requests through a modem. */
5
+ export class UssdResource extends APIResource {
6
+ /**
7
+ * List USSD requests.
8
+ *
9
+ * USSD requests and answers of the modem. Newest first by default (created_at descending, then the id descending).
10
+ *
11
+ * @param dongleId - Identifier in the path
12
+ *
13
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION.
14
+ *
15
+ * Capability the role of an organization API key needs: `device.manage`.
16
+ */
17
+ list(dongleId, params = {}, options) {
18
+ return this._client.getPage(`/dongle/${pathParam(dongleId)}/ussd`, {
19
+ query: { page: params.page, limit: params.limit, order_by: params.order_by, order: params.order },
20
+ itemKey: 'ussds',
21
+ options,
22
+ });
23
+ }
24
+ /**
25
+ * Send USSD.
26
+ *
27
+ * Sends a USSD command through the modem; the answer arrives later in response of the USSD object. Works where the operator has 3G coverage; interactive (menu) USSD is not supported.
28
+ *
29
+ * @param dongleId - Identifier in the path
30
+ *
31
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_INVALID_COMMAND_FORMAT_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE, USSD_LAST_USSD_NOT_PROCESSED_EXCEPTION, DONGLE_FIRMWARE_UPDATING_EXCEPTION.
32
+ *
33
+ * Capability the role of an organization API key needs: `device.manage`.
34
+ */
35
+ send(dongleId, params, options) {
36
+ return this._client
37
+ .request('POST', `/dongle/${pathParam(dongleId)}/ussd`, { body: { command: params.command }, options })
38
+ .then((data) => data);
39
+ }
40
+ /**
41
+ * Get USSD request.
42
+ *
43
+ * One USSD request of the modem with its answer.
44
+ *
45
+ * @param dongleId - Identifier in the path
46
+ * @param ussdId - Identifier in the path
47
+ *
48
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_NOT_FOUND_EXCEPTION.
49
+ *
50
+ * Capability the role of an organization API key needs: `device.manage`.
51
+ */
52
+ get(dongleId, ussdId, options) {
53
+ return this._client
54
+ .request('GET', `/dongle/${pathParam(dongleId)}/ussd/${pathParam(ussdId)}`, { options })
55
+ .then((data) => data);
56
+ }
57
+ /**
58
+ * Delete USSD request.
59
+ *
60
+ * Deletes one USSD request from the history of the modem.
61
+ *
62
+ * @param dongleId - Identifier in the path
63
+ * @param ussdId - Identifier in the path
64
+ *
65
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, USSD_NOT_FOUND_EXCEPTION.
66
+ *
67
+ * Capability the role of an organization API key needs: `device.manage`.
68
+ */
69
+ delete(dongleId, ussdId, options) {
70
+ return this._client
71
+ .request('DELETE', `/dongle/${pathParam(dongleId)}/ussd/${pathParam(ussdId)}`, { options })
72
+ .then(asStatus);
73
+ }
74
+ /**
75
+ * Delete USSD history.
76
+ *
77
+ * Deletes the whole USSD history of the modem.
78
+ *
79
+ * @param dongleId - Identifier in the path
80
+ *
81
+ * Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION.
82
+ *
83
+ * Capability the role of an organization API key needs: `device.manage`.
84
+ */
85
+ deleteAll(dongleId, options) {
86
+ return this._client.request('DELETE', `/dongle/${pathParam(dongleId)}/ussds`, { options }).then(asStatus);
87
+ }
88
+ }
89
+ //# sourceMappingURL=ussd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ussd.js","sourceRoot":"","sources":["../../src/resources/ussd.ts"],"names":[],"mappings":"AAA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AED;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,QAAgB,EAAE,MAAc,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,QAAQ,EAAE,WAAW,SAAS,CAAC,QAAQ,CAAC,SAAS,SAAS,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;aAC1F,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpB,CAAC;IAED;;;;;;;;;;OAUG;IACH,SAAS,CAAC,QAAgB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC5G,CAAC;CACF"}
@@ -0,0 +1,280 @@
1
+ /**
2
+ * 1: Pending (the dongle has not confirmed the current version yet), 2: Active (the dongle applied the current version; on firmware without apply reports, accepted it), 3: Not delivered (the current version is not on the dongle, see call_scenario_delivery_error_id), 4: Failed (the dongle could not apply it, see apply_error_code)
3
+ */
4
+ export declare const CallScenarioApplyStatus: {
5
+ /** Pending (the dongle has not confirmed the current version yet) */
6
+ readonly PENDING: 1;
7
+ /** Active (the dongle applied the current version; on firmware without apply reports, accepted it) */
8
+ readonly ACTIVE: 2;
9
+ /** Not delivered (the current version is not on the dongle, see call_scenario_delivery_error_id) */
10
+ readonly NOT_DELIVERED: 3;
11
+ /** Failed (the dongle could not apply it, see apply_error_code) */
12
+ readonly FAILED: 4;
13
+ };
14
+ /**
15
+ * 1: Pending (the dongle has not confirmed the current version yet), 2: Active (the dongle applied the current version; on firmware without apply reports, accepted it), 3: Not delivered (the current version is not on the dongle, see call_scenario_delivery_error_id), 4: Failed (the dongle could not apply it, see apply_error_code)
16
+ */
17
+ export type CallScenarioApplyStatus = (typeof CallScenarioApplyStatus)[keyof typeof CallScenarioApplyStatus];
18
+ /**
19
+ * 1: Dongle unreachable (no answer; it may still have received the push), 2: Dongle busy (still applying the previous push), 3: Dongle rejected the scenario, 4: Subscription inactive (taken off the dongle until the subscription is renewed)
20
+ */
21
+ export declare const CallScenarioDeliveryError: {
22
+ /** Dongle unreachable (no answer; it may still have received the push) */
23
+ readonly DONGLE_UNREACHABLE: 1;
24
+ /** Dongle busy (still applying the previous push) */
25
+ readonly DONGLE_BUSY: 2;
26
+ /** Dongle rejected the scenario */
27
+ readonly DONGLE_REJECTED_THE_SCENARIO: 3;
28
+ /** Subscription inactive (taken off the dongle until the subscription is renewed) */
29
+ readonly SUBSCRIPTION_INACTIVE: 4;
30
+ };
31
+ /**
32
+ * 1: Dongle unreachable (no answer; it may still have received the push), 2: Dongle busy (still applying the previous push), 3: Dongle rejected the scenario, 4: Subscription inactive (taken off the dongle until the subscription is renewed)
33
+ */
34
+ export type CallScenarioDeliveryError = (typeof CallScenarioDeliveryError)[keyof typeof CallScenarioDeliveryError];
35
+ /** 1: Dongle incoming simple */
36
+ export declare const CallScenarioType: {
37
+ /** Dongle incoming simple */
38
+ readonly DONGLE_INCOMING_SIMPLE: 1;
39
+ };
40
+ /** 1: Dongle incoming simple */
41
+ export type CallScenarioType = (typeof CallScenarioType)[keyof typeof CallScenarioType];
42
+ /** 1: Created, 2: Enqueued, 3: Sent, 4: Received (answered), 5: Not received, 6: Canceled, 7: Missed */
43
+ export declare const CallStatus: {
44
+ /** Created */
45
+ readonly CREATED: 1;
46
+ /** Enqueued */
47
+ readonly ENQUEUED: 2;
48
+ /** Sent */
49
+ readonly SENT: 3;
50
+ /** Received (answered) */
51
+ readonly RECEIVED: 4;
52
+ /** Not received */
53
+ readonly NOT_RECEIVED: 5;
54
+ /** Canceled */
55
+ readonly CANCELED: 6;
56
+ /** Missed */
57
+ readonly MISSED: 7;
58
+ };
59
+ /** 1: Created, 2: Enqueued, 3: Sent, 4: Received (answered), 5: Not received, 6: Canceled, 7: Missed */
60
+ export type CallStatus = (typeof CallStatus)[keyof typeof CallStatus];
61
+ /**
62
+ * 1: Processing (usually a couple of minutes after the call), 2: Ready, 3: Failed (the speech could not be recognised)
63
+ */
64
+ export declare const CallTranscriptStatus: {
65
+ /** Processing (usually a couple of minutes after the call) */
66
+ readonly PROCESSING: 1;
67
+ /** Ready */
68
+ readonly READY: 2;
69
+ /** Failed (the speech could not be recognised) */
70
+ readonly FAILED: 3;
71
+ };
72
+ /**
73
+ * 1: Processing (usually a couple of minutes after the call), 2: Ready, 3: Failed (the speech could not be recognised)
74
+ */
75
+ export type CallTranscriptStatus = (typeof CallTranscriptStatus)[keyof typeof CallTranscriptStatus];
76
+ /** 1: Outgoing, 2: Incoming, 3: Robotics incoming, 4: Robotics outgoing */
77
+ export declare const CallType: {
78
+ /** Outgoing */
79
+ readonly OUTGOING: 1;
80
+ /** Incoming */
81
+ readonly INCOMING: 2;
82
+ /** Robotics incoming */
83
+ readonly ROBOTICS_INCOMING: 3;
84
+ /** Robotics outgoing */
85
+ readonly ROBOTICS_OUTGOING: 4;
86
+ };
87
+ /** 1: Outgoing, 2: Incoming, 3: Robotics incoming, 4: Robotics outgoing */
88
+ export type CallType = (typeof CallType)[keyof typeof CallType];
89
+ /** 1: Phone determination error, 2: Timeout error, 3: Unexpected error, 4: Health check failed error */
90
+ export declare const DongleOnlineErrorCode: {
91
+ /** Phone determination error */
92
+ readonly PHONE_DETERMINATION_ERROR: 1;
93
+ /** Timeout error */
94
+ readonly TIMEOUT_ERROR: 2;
95
+ /** Unexpected error */
96
+ readonly UNEXPECTED_ERROR: 3;
97
+ /** Health check failed error */
98
+ readonly HEALTH_CHECK_FAILED_ERROR: 4;
99
+ };
100
+ /** 1: Phone determination error, 2: Timeout error, 3: Unexpected error, 4: Health check failed error */
101
+ export type DongleOnlineErrorCode = (typeof DongleOnlineErrorCode)[keyof typeof DongleOnlineErrorCode];
102
+ /**
103
+ * 1: Offline, 2: Online processing (connecting), 3: Error (see dongle_online_error_code_id), 4: Manual phone determination, 5: Online, 6: Updating, 7: Rebooting (set at once by POST /dongle/{dongle_id}/reboot)
104
+ */
105
+ export declare const DongleOnlineStatus: {
106
+ /** Offline */
107
+ readonly OFFLINE: 1;
108
+ /** Online processing (connecting) */
109
+ readonly ONLINE_PROCESSING: 2;
110
+ /** Error (see dongle_online_error_code_id) */
111
+ readonly ERROR: 3;
112
+ /** Manual phone determination */
113
+ readonly MANUAL_PHONE_DETERMINATION: 4;
114
+ /** Online */
115
+ readonly ONLINE: 5;
116
+ /** Updating */
117
+ readonly UPDATING: 6;
118
+ /** Rebooting (set at once by POST /dongle/{dongle_id}/reboot) */
119
+ readonly REBOOTING: 7;
120
+ };
121
+ /**
122
+ * 1: Offline, 2: Online processing (connecting), 3: Error (see dongle_online_error_code_id), 4: Manual phone determination, 5: Online, 6: Updating, 7: Rebooting (set at once by POST /dongle/{dongle_id}/reboot)
123
+ */
124
+ export type DongleOnlineStatus = (typeof DongleOnlineStatus)[keyof typeof DongleOnlineStatus];
125
+ /** 1: Bad, 2: Medium, 3: Good */
126
+ export declare const DongleSignalQuality: {
127
+ /** Bad */
128
+ readonly BAD: 1;
129
+ /** Medium */
130
+ readonly MEDIUM: 2;
131
+ /** Good */
132
+ readonly GOOD: 3;
133
+ };
134
+ /** 1: Bad, 2: Medium, 3: Good */
135
+ export type DongleSignalQuality = (typeof DongleSignalQuality)[keyof typeof DongleSignalQuality];
136
+ /** 1: Less than 1 minute, 2: 1-3 minutes, 3: 3-5 minutes, 4: More than 5 minutes */
137
+ export declare const DurationPreset: {
138
+ /** Less than 1 minute */
139
+ readonly LESS_THAN_1_MINUTE: 1;
140
+ /** 1-3 minutes */
141
+ readonly FROM_1_TO_3_MINUTES: 2;
142
+ /** 3-5 minutes */
143
+ readonly FROM_3_TO_5_MINUTES: 3;
144
+ /** More than 5 minutes */
145
+ readonly MORE_THAN_5_MINUTES: 4;
146
+ };
147
+ /** 1: Less than 1 minute, 2: 1-3 minutes, 3: 3-5 minutes, 4: More than 5 minutes */
148
+ export type DurationPreset = (typeof DurationPreset)[keyof typeof DurationPreset];
149
+ /** 1: Sms, 2: Call */
150
+ export declare const MailingEntityType: {
151
+ /** Sms */
152
+ readonly SMS: 1;
153
+ /** Call */
154
+ readonly CALL: 2;
155
+ };
156
+ /** 1: Sms, 2: Call */
157
+ export type MailingEntityType = (typeof MailingEntityType)[keyof typeof MailingEntityType];
158
+ /** 1: Draft, 2: Planned, 3: In process, 4: Ended, 5: Canceled */
159
+ export declare const MailingStatus: {
160
+ /** Draft */
161
+ readonly DRAFT: 1;
162
+ /** Planned */
163
+ readonly PLANNED: 2;
164
+ /** In process */
165
+ readonly IN_PROCESS: 3;
166
+ /** Ended */
167
+ readonly ENDED: 4;
168
+ /** Canceled */
169
+ readonly CANCELED: 5;
170
+ };
171
+ /** 1: Draft, 2: Planned, 3: In process, 4: Ended, 5: Canceled */
172
+ export type MailingStatus = (typeof MailingStatus)[keyof typeof MailingStatus];
173
+ /** 1: Simple (sent at once), 2: Delayed (sent at scheduled_at) */
174
+ export declare const MailingType: {
175
+ /** Simple (sent at once) */
176
+ readonly SIMPLE: 1;
177
+ /** Delayed (sent at scheduled_at) */
178
+ readonly DELAYED: 2;
179
+ };
180
+ /** 1: Simple (sent at once), 2: Delayed (sent at scheduled_at) */
181
+ export type MailingType = (typeof MailingType)[keyof typeof MailingType];
182
+ /** 1: Sms, 2: Call, 3: Auto reply, 4: Silent, 5: Http */
183
+ export declare const RedirectionType: {
184
+ /** Sms */
185
+ readonly SMS: 1;
186
+ /** Call */
187
+ readonly CALL: 2;
188
+ /** Auto reply */
189
+ readonly AUTO_REPLY: 3;
190
+ /** Silent */
191
+ readonly SILENT: 4;
192
+ /** Http */
193
+ readonly HTTP: 5;
194
+ };
195
+ /** 1: Sms, 2: Call, 3: Auto reply, 4: Silent, 5: Http */
196
+ export type RedirectionType = (typeof RedirectionType)[keyof typeof RedirectionType];
197
+ /** 1: Local, 2: International, 3: Short (short code or alphanumeric sender) */
198
+ export declare const SmsSourceType: {
199
+ /** Local */
200
+ readonly LOCAL: 1;
201
+ /** International */
202
+ readonly INTERNATIONAL: 2;
203
+ /** Short (short code or alphanumeric sender) */
204
+ readonly SHORT: 3;
205
+ };
206
+ /** 1: Local, 2: International, 3: Short (short code or alphanumeric sender) */
207
+ export type SmsSourceType = (typeof SmsSourceType)[keyof typeof SmsSourceType];
208
+ /**
209
+ * 1: Sended - an outgoing SMS the modem took for the mobile network (about a second after creation); delivery to the handset is not confirmed yet; 2: Received - an incoming SMS arrived in full, or, for an outgoing SMS, the delivery report confirmed delivery to the handset (network_status_code 0); 3: Not received - an outgoing SMS was not delivered: the delivery report gave an error code (network_status_code), or no report came within about 5 minutes of status 1 (a later report still updates the status); 4: Created - not handed to the modem yet (a scheduled SMS waits for scheduled_at); 5: Enqueued - in the send queue; 6: Canceled - an outgoing SMS that was never sent: a scheduled SMS the user canceled in the web app, or the send failed (no active subscription, SMS sending is off for the modem, the account is blocked, the modem was unreachable or could not send it); 7: Incoming incomplete - not every part of a multipart SMS arrived
210
+ */
211
+ export declare const SmsStatus: {
212
+ /**
213
+ * Sended - an outgoing SMS the modem took for the mobile network (about a second after creation); delivery to the handset is not confirmed yet
214
+ */
215
+ readonly SENT: 1;
216
+ /**
217
+ * Received - an incoming SMS arrived in full, or, for an outgoing SMS, the delivery report confirmed delivery to the handset (network_status_code 0)
218
+ */
219
+ readonly RECEIVED: 2;
220
+ /**
221
+ * Not received - an outgoing SMS was not delivered: the delivery report gave an error code (network_status_code), or no report came within about 5 minutes of status 1 (a later report still updates the status)
222
+ */
223
+ readonly NOT_RECEIVED: 3;
224
+ /** Created - not handed to the modem yet (a scheduled SMS waits for scheduled_at) */
225
+ readonly CREATED: 4;
226
+ /** Enqueued - in the send queue */
227
+ readonly ENQUEUED: 5;
228
+ /**
229
+ * Canceled - an outgoing SMS that was never sent: a scheduled SMS the user canceled in the web app, or the send failed (no active subscription, SMS sending is off for the modem, the account is blocked, the modem was unreachable or could not send it)
230
+ */
231
+ readonly CANCELED: 6;
232
+ /** Incoming incomplete - not every part of a multipart SMS arrived */
233
+ readonly INCOMING_INCOMPLETE: 7;
234
+ };
235
+ /**
236
+ * 1: Sended - an outgoing SMS the modem took for the mobile network (about a second after creation); delivery to the handset is not confirmed yet; 2: Received - an incoming SMS arrived in full, or, for an outgoing SMS, the delivery report confirmed delivery to the handset (network_status_code 0); 3: Not received - an outgoing SMS was not delivered: the delivery report gave an error code (network_status_code), or no report came within about 5 minutes of status 1 (a later report still updates the status); 4: Created - not handed to the modem yet (a scheduled SMS waits for scheduled_at); 5: Enqueued - in the send queue; 6: Canceled - an outgoing SMS that was never sent: a scheduled SMS the user canceled in the web app, or the send failed (no active subscription, SMS sending is off for the modem, the account is blocked, the modem was unreachable or could not send it); 7: Incoming incomplete - not every part of a multipart SMS arrived
237
+ */
238
+ export type SmsStatus = (typeof SmsStatus)[keyof typeof SmsStatus];
239
+ /** 1: Outgoing, 2: Incoming, 3: Auto reply, 4: Reply, 5: Delayed (scheduled), 6: Mailing, 7: Silent */
240
+ export declare const SmsType: {
241
+ /** Outgoing */
242
+ readonly OUTGOING: 1;
243
+ /** Incoming */
244
+ readonly INCOMING: 2;
245
+ /** Auto reply */
246
+ readonly AUTO_REPLY: 3;
247
+ /** Reply */
248
+ readonly REPLY: 4;
249
+ /** Delayed (scheduled) */
250
+ readonly DELAYED: 5;
251
+ /** Mailing */
252
+ readonly MAILING: 6;
253
+ /** Silent */
254
+ readonly SILENT: 7;
255
+ };
256
+ /** 1: Outgoing, 2: Incoming, 3: Auto reply, 4: Reply, 5: Delayed (scheduled), 6: Mailing, 7: Silent */
257
+ export type SmsType = (typeof SmsType)[keyof typeof SmsType];
258
+ /** 1: Created, 2: Sending, 3: Success, 4: Error */
259
+ export declare const UssdStatus: {
260
+ /** Created */
261
+ readonly CREATED: 1;
262
+ /** Sending */
263
+ readonly SENDING: 2;
264
+ /** Success */
265
+ readonly SUCCESS: 3;
266
+ /** Error */
267
+ readonly ERROR: 4;
268
+ };
269
+ /** 1: Created, 2: Sending, 3: Success, 4: Error */
270
+ export type UssdStatus = (typeof UssdStatus)[keyof typeof UssdStatus];
271
+ /** 1: Incoming, 2: Outgoing */
272
+ export declare const UssdType: {
273
+ /** Incoming */
274
+ readonly INCOMING: 1;
275
+ /** Outgoing */
276
+ readonly OUTGOING: 2;
277
+ };
278
+ /** 1: Incoming, 2: Outgoing */
279
+ export type UssdType = (typeof UssdType)[keyof typeof UssdType];
280
+ //# sourceMappingURL=enums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../src/types/enums.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,uBAAuB;IAClC,qEAAqE;;IAErE,sGAAsG;;IAEtG,oGAAoG;;IAEpG,mEAAmE;;CAE3D,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAE7G;;GAEG;AACH,eAAO,MAAM,yBAAyB;IACpC,0EAA0E;;IAE1E,qDAAqD;;IAErD,mCAAmC;;IAEnC,qFAAqF;;CAE7E,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAE7E,gCAAgC;AAChC,eAAO,MAAM,gBAAgB;IAC3B,6BAA6B;;CAErB,CAAC;AACX,gCAAgC;AAChC,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAExF,wGAAwG;AACxG,eAAO,MAAM,UAAU;IACrB,cAAc;;IAEd,eAAe;;IAEf,WAAW;;IAEX,0BAA0B;;IAE1B,mBAAmB;;IAEnB,eAAe;;IAEf,aAAa;;CAEL,CAAC;AACX,wGAAwG;AACxG,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,C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