teleleo 0.2.0 → 0.3.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 +27 -0
- package/README.md +71 -11
- package/api.md +16 -2
- package/dist/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -2
- package/dist/client.js.map +1 -1
- package/dist/core.d.ts +9 -2
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js +19 -6
- package/dist/core.js.map +1 -1
- package/dist/errors.d.ts +14 -4
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +14 -4
- package/dist/errors.js.map +1 -1
- package/dist/resources/call-scenarios.d.ts +3 -3
- package/dist/resources/call-scenarios.js +3 -3
- package/dist/resources/calls.d.ts +5 -5
- package/dist/resources/calls.js +5 -5
- package/dist/resources/contact-groups.d.ts +5 -5
- package/dist/resources/contact-groups.js +5 -5
- package/dist/resources/contacts.d.ts +6 -6
- package/dist/resources/contacts.js +6 -6
- package/dist/resources/dongles.d.ts +43 -15
- package/dist/resources/dongles.d.ts.map +1 -1
- package/dist/resources/dongles.js +56 -14
- package/dist/resources/dongles.js.map +1 -1
- package/dist/resources/files.d.ts +4 -4
- package/dist/resources/files.js +4 -4
- package/dist/resources/follow-up-sms-settings.d.ts +2 -2
- package/dist/resources/follow-up-sms-settings.js +2 -2
- package/dist/resources/index.d.ts +6 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +3 -1
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/mailings.d.ts +7 -7
- package/dist/resources/mailings.js +7 -7
- package/dist/resources/plans.d.ts +20 -0
- package/dist/resources/plans.d.ts.map +1 -0
- package/dist/resources/plans.js +22 -0
- package/dist/resources/plans.js.map +1 -0
- package/dist/resources/public-vpn.d.ts +3 -1
- package/dist/resources/public-vpn.d.ts.map +1 -1
- package/dist/resources/public-vpn.js +3 -1
- package/dist/resources/public-vpn.js.map +1 -1
- package/dist/resources/redirections.d.ts +3 -3
- package/dist/resources/redirections.js +3 -3
- package/dist/resources/sip-users.d.ts +2 -2
- package/dist/resources/sip-users.js +2 -2
- package/dist/resources/sms.d.ts +6 -6
- package/dist/resources/sms.js +6 -6
- package/dist/resources/socks-proxies.d.ts +3 -3
- package/dist/resources/socks-proxies.js +3 -3
- package/dist/resources/ussd.d.ts +4 -4
- package/dist/resources/ussd.js +4 -4
- package/dist/types/enums.d.ts +5 -3
- package/dist/types/enums.d.ts.map +1 -1
- package/dist/types/enums.js +4 -2
- package/dist/types/enums.js.map +1 -1
- package/dist/types/models.d.ts +92 -10
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/params.d.ts +32 -5
- package/dist/types/params.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/client.ts +5 -2
- package/src/core.ts +41 -10
- package/src/errors.ts +14 -4
- package/src/resources/call-scenarios.ts +3 -3
- package/src/resources/calls.ts +5 -5
- package/src/resources/contact-groups.ts +5 -5
- package/src/resources/contacts.ts +6 -6
- package/src/resources/dongles.ts +68 -14
- package/src/resources/files.ts +4 -4
- package/src/resources/follow-up-sms-settings.ts +2 -2
- package/src/resources/index.ts +7 -0
- package/src/resources/mailings.ts +7 -7
- package/src/resources/plans.ts +25 -0
- package/src/resources/public-vpn.ts +3 -1
- package/src/resources/redirections.ts +3 -3
- package/src/resources/sip-users.ts +2 -2
- package/src/resources/sms.ts +6 -6
- package/src/resources/socks-proxies.ts +3 -3
- package/src/resources/ussd.ts +4 -4
- package/src/types/enums.ts +5 -3
- package/src/types/models.ts +95 -10
- package/src/types/params.ts +35 -5
- package/src/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dongles.js","sourceRoot":"","sources":["../../src/resources/dongles.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAItF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"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APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @param fileId -
|
|
13
13
|
*
|
|
14
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_NOT_FOUND_EXCEPTION.
|
|
14
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
15
15
|
*
|
|
16
16
|
* Capability the role of an organization API key needs: `device.view`.
|
|
17
17
|
*/
|
|
@@ -23,7 +23,7 @@ export declare class FilesResource extends APIResource {
|
|
|
23
23
|
*
|
|
24
24
|
* @param fileId - tmp_file_id as returned by POST /file/upload-tmp or POST /file/generate-speech: `<2 hex>/<32 hex>/<file name>`. Put it into the path as is: the slashes are path separators and must not be percent-encoded (most SDK generators encode `/` in a path parameter by default; turn it off for this one). Percent-encode only characters of the file name that are not allowed in a path segment.
|
|
25
25
|
*
|
|
26
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, TMP_FILE_NOT_FOUND.
|
|
26
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, TMP_FILE_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
27
27
|
*
|
|
28
28
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
29
29
|
*/
|
|
@@ -33,7 +33,7 @@ export declare class FilesResource extends APIResource {
|
|
|
33
33
|
*
|
|
34
34
|
* Uploads an audio file as a temporary file, converted to the modem format; pass the returned tmp_file_id to a call scenario or a call mailing.
|
|
35
35
|
*
|
|
36
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_ERROR_IDENTIFIER_EMPTY_FIELDS, FILE_ERROR_FILE_NOT_VALID_BASE_64, FILE_ERROR_FILE_WRONG_TYPE, FILE_ERROR_FILE_NOT_VALID_SIZE, FILE_ERROR_CONVERT_TO_DONGLE_AUDIO, FILE_ERROR_DONGLE_AUDIO_TOO_LARGE, FILE_ERROR_IDENTIFIER_UNKNOWN_SCENARIO.
|
|
36
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_ERROR_IDENTIFIER_EMPTY_FIELDS, FILE_ERROR_FILE_NOT_VALID_BASE_64, FILE_ERROR_FILE_WRONG_TYPE, FILE_ERROR_FILE_NOT_VALID_SIZE, FILE_ERROR_CONVERT_TO_DONGLE_AUDIO, FILE_ERROR_DONGLE_AUDIO_TOO_LARGE, FILE_ERROR_IDENTIFIER_UNKNOWN_SCENARIO, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
37
37
|
*
|
|
38
38
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
39
39
|
*/
|
|
@@ -43,7 +43,7 @@ export declare class FilesResource extends APIResource {
|
|
|
43
43
|
*
|
|
44
44
|
* Synthesises the text into a temporary audio file for a call scenario or a call mailing; pass the returned tmp_file_id as the audio of those. Limited to 5 calls per day per account, per organization for an organization API key: the 6th answers 429 RATE_LIMIT_EXCEEDED.
|
|
45
45
|
*
|
|
46
|
-
* Error codes (`errorMessage`): RATE_LIMIT_EXCEEDED, FILE_GENERATE_SPEECH_IDENTIFIER_EMPTY_FIELDS, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_VOICE, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_LANGUAGE, FILE_GENERATE_SPEECH_IDENTIFIER_LONG_TEXT.
|
|
46
|
+
* Error codes (`errorMessage`): RATE_LIMIT_EXCEEDED, FILE_GENERATE_SPEECH_IDENTIFIER_EMPTY_FIELDS, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_VOICE, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_LANGUAGE, FILE_GENERATE_SPEECH_IDENTIFIER_LONG_TEXT, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
47
47
|
*
|
|
48
48
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
49
49
|
*/
|
package/dist/resources/files.js
CHANGED
|
@@ -10,7 +10,7 @@ export class FilesResource extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* @param fileId -
|
|
12
12
|
*
|
|
13
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_NOT_FOUND_EXCEPTION.
|
|
13
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
14
14
|
*
|
|
15
15
|
* Capability the role of an organization API key needs: `device.view`.
|
|
16
16
|
*/
|
|
@@ -24,7 +24,7 @@ export class FilesResource extends APIResource {
|
|
|
24
24
|
*
|
|
25
25
|
* @param fileId - tmp_file_id as returned by POST /file/upload-tmp or POST /file/generate-speech: `<2 hex>/<32 hex>/<file name>`. Put it into the path as is: the slashes are path separators and must not be percent-encoded (most SDK generators encode `/` in a path parameter by default; turn it off for this one). Percent-encode only characters of the file name that are not allowed in a path segment.
|
|
26
26
|
*
|
|
27
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, TMP_FILE_NOT_FOUND.
|
|
27
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, TMP_FILE_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
28
28
|
*
|
|
29
29
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
30
30
|
*/
|
|
@@ -36,7 +36,7 @@ export class FilesResource extends APIResource {
|
|
|
36
36
|
*
|
|
37
37
|
* Uploads an audio file as a temporary file, converted to the modem format; pass the returned tmp_file_id to a call scenario or a call mailing.
|
|
38
38
|
*
|
|
39
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_ERROR_IDENTIFIER_EMPTY_FIELDS, FILE_ERROR_FILE_NOT_VALID_BASE_64, FILE_ERROR_FILE_WRONG_TYPE, FILE_ERROR_FILE_NOT_VALID_SIZE, FILE_ERROR_CONVERT_TO_DONGLE_AUDIO, FILE_ERROR_DONGLE_AUDIO_TOO_LARGE, FILE_ERROR_IDENTIFIER_UNKNOWN_SCENARIO.
|
|
39
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FILE_ERROR_IDENTIFIER_EMPTY_FIELDS, FILE_ERROR_FILE_NOT_VALID_BASE_64, FILE_ERROR_FILE_WRONG_TYPE, FILE_ERROR_FILE_NOT_VALID_SIZE, FILE_ERROR_CONVERT_TO_DONGLE_AUDIO, FILE_ERROR_DONGLE_AUDIO_TOO_LARGE, FILE_ERROR_IDENTIFIER_UNKNOWN_SCENARIO, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
40
40
|
*
|
|
41
41
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
42
42
|
*/
|
|
@@ -57,7 +57,7 @@ export class FilesResource extends APIResource {
|
|
|
57
57
|
*
|
|
58
58
|
* Synthesises the text into a temporary audio file for a call scenario or a call mailing; pass the returned tmp_file_id as the audio of those. Limited to 5 calls per day per account, per organization for an organization API key: the 6th answers 429 RATE_LIMIT_EXCEEDED.
|
|
59
59
|
*
|
|
60
|
-
* Error codes (`errorMessage`): RATE_LIMIT_EXCEEDED, FILE_GENERATE_SPEECH_IDENTIFIER_EMPTY_FIELDS, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_VOICE, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_LANGUAGE, FILE_GENERATE_SPEECH_IDENTIFIER_LONG_TEXT.
|
|
60
|
+
* Error codes (`errorMessage`): RATE_LIMIT_EXCEEDED, FILE_GENERATE_SPEECH_IDENTIFIER_EMPTY_FIELDS, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_VOICE, FILE_GENERATE_SPEECH_IDENTIFIER_NOT_ALLOWED_LANGUAGE, FILE_GENERATE_SPEECH_IDENTIFIER_LONG_TEXT, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
61
61
|
*
|
|
62
62
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
63
63
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class FollowUpSmsSettingsResource extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* Follow-up SMS settings of the account: the SMS a modem sends to a caller after a call. Newest first by default (the id descending).
|
|
12
12
|
*
|
|
13
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
|
|
13
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
14
14
|
*
|
|
15
15
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
16
16
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class FollowUpSmsSettingsResource extends APIResource {
|
|
|
32
32
|
*
|
|
33
33
|
* @param followUpSmsSettingId - Follow Up Sms Setting ID
|
|
34
34
|
*
|
|
35
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FOLLOW_UP_SMS_SETTING_NOT_FOUND_EXCEPTION.
|
|
35
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FOLLOW_UP_SMS_SETTING_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
36
36
|
*
|
|
37
37
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
38
38
|
*/
|
|
@@ -8,7 +8,7 @@ export class FollowUpSmsSettingsResource extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* Follow-up SMS settings of the account: the SMS a modem sends to a caller after a call. Newest first by default (the id descending).
|
|
10
10
|
*
|
|
11
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
|
|
11
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
12
12
|
*
|
|
13
13
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
14
14
|
*/
|
|
@@ -56,7 +56,7 @@ export class FollowUpSmsSettingsResource extends APIResource {
|
|
|
56
56
|
*
|
|
57
57
|
* @param followUpSmsSettingId - Follow Up Sms Setting ID
|
|
58
58
|
*
|
|
59
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FOLLOW_UP_SMS_SETTING_NOT_FOUND_EXCEPTION.
|
|
59
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, FOLLOW_UP_SMS_SETTING_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
60
60
|
*
|
|
61
61
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
62
62
|
*/
|
|
@@ -13,7 +13,8 @@ import { PublicVpnResource } from './public-vpn.js';
|
|
|
13
13
|
import { SocksProxiesResource } from './socks-proxies.js';
|
|
14
14
|
import { SipUsersResource } from './sip-users.js';
|
|
15
15
|
import { FilesResource } from './files.js';
|
|
16
|
-
|
|
16
|
+
import { PlansResource } from './plans.js';
|
|
17
|
+
export { DonglesResource, SmsResource, CallsResource, UssdResource, ContactsResource, ContactGroupsResource, MailingsResource, RedirectionsResource, CallScenariosResource, FollowUpSmsSettingsResource, PublicVpnResource, SocksProxiesResource, SipUsersResource, FilesResource, PlansResource, };
|
|
17
18
|
/** Resource groups of the client. */
|
|
18
19
|
export interface Resources {
|
|
19
20
|
/** Modems of the account and their commands: reboot, Wi-Fi, Wi-Fi extender, number, network info. */
|
|
@@ -44,6 +45,10 @@ export interface Resources {
|
|
|
44
45
|
readonly sipUsers: SipUsersResource;
|
|
45
46
|
/** Downloads, temporary audio uploads and text-to-speech. */
|
|
46
47
|
readonly files: FilesResource;
|
|
48
|
+
/**
|
|
49
|
+
* Prices of Teleleo: the subscriptions of the cabinet and the products of the store. Public, without a key.
|
|
50
|
+
*/
|
|
51
|
+
readonly plans: PlansResource;
|
|
47
52
|
}
|
|
48
53
|
/** @internal */
|
|
49
54
|
export declare function createResources(client: BaseClient): Resources;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,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AQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,mCAAmC;IACnC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,6EAA6E;IAC7E,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC;IAC9C,mCAAmC;IACnC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,+EAA+E;IAC/E,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC5C,8CAA8C;IAC9C,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC;IAC9C,kDAAkD;IAClD,QAAQ,CAAC,mBAAmB,EAAE,2BAA2B,CAAC;IAC1D,kCAAkC;IAClC,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;IACtC,0DAA0D;IAC1D,QAAQ,CAAC,YAAY,EAAE,oBAAoB,CAAC;IAC5C,kCAAkC;IAClC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,6DAA6D;IAC7D,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;CAC/B;AAED,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAkB7D"}
|
package/dist/resources/index.js
CHANGED
|
@@ -13,7 +13,8 @@ import { PublicVpnResource } from './public-vpn.js';
|
|
|
13
13
|
import { SocksProxiesResource } from './socks-proxies.js';
|
|
14
14
|
import { SipUsersResource } from './sip-users.js';
|
|
15
15
|
import { FilesResource } from './files.js';
|
|
16
|
-
|
|
16
|
+
import { PlansResource } from './plans.js';
|
|
17
|
+
export { DonglesResource, SmsResource, CallsResource, UssdResource, ContactsResource, ContactGroupsResource, MailingsResource, RedirectionsResource, CallScenariosResource, FollowUpSmsSettingsResource, PublicVpnResource, SocksProxiesResource, SipUsersResource, FilesResource, PlansResource, };
|
|
17
18
|
/** @internal */
|
|
18
19
|
export function createResources(client) {
|
|
19
20
|
return {
|
|
@@ -31,6 +32,7 @@ export function createResources(client) {
|
|
|
31
32
|
socksProxies: new SocksProxiesResource(client),
|
|
32
33
|
sipUsers: new SipUsersResource(client),
|
|
33
34
|
files: new FilesResource(client),
|
|
35
|
+
plans: new PlansResource(client),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAGtF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,EACL,eAAe,EACf,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,2BAA2B,EAC3B,iBAAiB,EACjB,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CAAC;QACpC,GAAG,EAAE,IAAI,WAAW,CAAC,MAAM,CAAC;QAC5B,KAAK,EAAE,IAAI,aAAa,CAAC,MAAM,CAAC;QAChC,IAAI,EAAE,IAAI,YAAY,CAAC,MAAM,CAAC;QAC9B,QAAQ,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACtC,aAAa,EAAE,IAAI,qBAAqB,CAAC,MAAM,CAAC;QAChD,QAAQ,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACtC,YAAY,EAAE,IAAI,oBAAoB,CAAC,MAAM,CAAC;QAC9C,aAAa,EAAE,IAAI,qBAAqB,CAAC,MAAM,CAAC;QAChD,mBAAmB,EAAE,IAAI,2BAA2B,CAAC,MAAM,CAAC;QAC5D,SAAS,EAAE,IAAI,iBAAiB,CAAC,MAAM,CAAC;QACxC,YAAY,EAAE,IAAI,oBAAoB,CAAC,MAAM,CAAC;QAC9C,QAAQ,EAAE,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACtC,KAAK,EAAE,IAAI,aAAa,CAAC,MAAM,CAAC;QAChC,KAAK,EAAE,IAAI,aAAa,CAAC,MAAM,CAAC;KACjC,CAAC;AACJ,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* Mailings (bulk SMS or call campaigns) of the account. Newest first by default (created_at descending, then the id descending).
|
|
12
12
|
*
|
|
13
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION.
|
|
13
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
14
14
|
*
|
|
15
15
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
16
16
|
*/
|
|
@@ -20,7 +20,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
20
20
|
*
|
|
21
21
|
* Creates an SMS or call mailing. Use POST /mailing/sms or POST /mailing/call instead.
|
|
22
22
|
*
|
|
23
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
23
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
24
24
|
*
|
|
25
25
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
26
26
|
*/
|
|
@@ -30,7 +30,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
30
30
|
*
|
|
31
31
|
* Creates an SMS mailing to the listed phones, contacts and contact groups, sent now or at scheduled_at.
|
|
32
32
|
*
|
|
33
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
33
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
34
34
|
*
|
|
35
35
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
36
36
|
*/
|
|
@@ -40,7 +40,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
40
40
|
*
|
|
41
41
|
* Creates a call mailing that plays an audio file (tmp_file_id) to the listed phones, contacts and contact groups.
|
|
42
42
|
*
|
|
43
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
43
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
44
44
|
*
|
|
45
45
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
46
46
|
*/
|
|
@@ -52,7 +52,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
52
52
|
*
|
|
53
53
|
* @param mailingId - Identifier in the path
|
|
54
54
|
*
|
|
55
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND.
|
|
55
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
56
56
|
*
|
|
57
57
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
58
58
|
*/
|
|
@@ -64,7 +64,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
64
64
|
*
|
|
65
65
|
* @param mailingId - Identifier in the path
|
|
66
66
|
*
|
|
67
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_UPDATE, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CANCEL, MAILING_MANAGEMENT_INVALID_STATUS_FOR_SOFT_DELETE,
|
|
67
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_UPDATE, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CANCEL, MAILING_MANAGEMENT_INVALID_STATUS_FOR_SOFT_DELETE, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
68
68
|
*
|
|
69
69
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
70
70
|
*/
|
|
@@ -76,7 +76,7 @@ export declare class MailingsResource extends APIResource {
|
|
|
76
76
|
*
|
|
77
77
|
* @param mailingId - Identifier in the path
|
|
78
78
|
*
|
|
79
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, MAILING_MANAGEMENT_INVALID_STATUS_FOR_HARD_DELETE, DONGLE_NOT_FOUND_EXCEPTION,
|
|
79
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, MAILING_MANAGEMENT_INVALID_STATUS_FOR_HARD_DELETE, DONGLE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
80
80
|
*
|
|
81
81
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
82
82
|
*/
|
|
@@ -8,7 +8,7 @@ export class MailingsResource extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* Mailings (bulk SMS or call campaigns) of the account. Newest first by default (created_at descending, then the id descending).
|
|
10
10
|
*
|
|
11
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION.
|
|
11
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
12
12
|
*
|
|
13
13
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
14
14
|
*/
|
|
@@ -46,7 +46,7 @@ export class MailingsResource extends APIResource {
|
|
|
46
46
|
*
|
|
47
47
|
* Creates an SMS or call mailing. Use POST /mailing/sms or POST /mailing/call instead.
|
|
48
48
|
*
|
|
49
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
49
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
50
50
|
*
|
|
51
51
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
52
52
|
*/
|
|
@@ -76,7 +76,7 @@ export class MailingsResource extends APIResource {
|
|
|
76
76
|
*
|
|
77
77
|
* Creates an SMS mailing to the listed phones, contacts and contact groups, sent now or at scheduled_at.
|
|
78
78
|
*
|
|
79
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
79
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
80
80
|
*
|
|
81
81
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
82
82
|
*/
|
|
@@ -103,7 +103,7 @@ export class MailingsResource extends APIResource {
|
|
|
103
103
|
*
|
|
104
104
|
* Creates a call mailing that plays an audio file (tmp_file_id) to the listed phones, contacts and contact groups.
|
|
105
105
|
*
|
|
106
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT,
|
|
106
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CREATE, MAILING_MANAGEMENT_INVALID_SCHEDULED_AT, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
107
107
|
*
|
|
108
108
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
109
109
|
*/
|
|
@@ -134,7 +134,7 @@ export class MailingsResource extends APIResource {
|
|
|
134
134
|
*
|
|
135
135
|
* @param mailingId - Identifier in the path
|
|
136
136
|
*
|
|
137
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND.
|
|
137
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
138
138
|
*
|
|
139
139
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
140
140
|
*/
|
|
@@ -150,7 +150,7 @@ export class MailingsResource extends APIResource {
|
|
|
150
150
|
*
|
|
151
151
|
* @param mailingId - Identifier in the path
|
|
152
152
|
*
|
|
153
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_UPDATE, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CANCEL, MAILING_MANAGEMENT_INVALID_STATUS_FOR_SOFT_DELETE,
|
|
153
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, PARSING_DATE_TIME_EXCEPTION, MAILING_MANAGEMENT_INVALID_STATUS_FOR_UPDATE, MAILING_MANAGEMENT_INVALID_STATUS_FOR_CANCEL, MAILING_MANAGEMENT_INVALID_STATUS_FOR_SOFT_DELETE, MAILING_MANAGEMENT_INVALID_PHONE, MAILING_MANAGEMENT_NO_RECIPIENTS, MAILING_MANAGEMENT_CONTACT_NOT_FOUND, MAILING_MANAGEMENT_CONTACT_GROUP_NOT_FOUND, MAILING_MANAGEMENT_DONGLE_SMS_LIMIT_EXCEEDED, TMP_FILE_NOT_FOUND, DONGLE_FIRMWARE_UPDATING_EXCEPTION, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
154
154
|
*
|
|
155
155
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
156
156
|
*/
|
|
@@ -180,7 +180,7 @@ export class MailingsResource extends APIResource {
|
|
|
180
180
|
*
|
|
181
181
|
* @param mailingId - Identifier in the path
|
|
182
182
|
*
|
|
183
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, MAILING_MANAGEMENT_INVALID_STATUS_FOR_HARD_DELETE, DONGLE_NOT_FOUND_EXCEPTION,
|
|
183
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, MAILING_NOT_FOUND, MAILING_MANAGEMENT_INVALID_STATUS_FOR_HARD_DELETE, DONGLE_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
184
184
|
*
|
|
185
185
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
186
186
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RequestOptions } from '../core.js';
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
import type { PlanCatalog } from '../types/models.js';
|
|
4
|
+
import type { PlansGetCatalogParams } from '../types/params.js';
|
|
5
|
+
/**
|
|
6
|
+
* Prices of Teleleo: the subscriptions of the cabinet and the products of the store. Public, without a key.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PlansResource extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* List plans and prices.
|
|
11
|
+
*
|
|
12
|
+
* The prices of Teleleo and what each plan or product includes, in one currency: the subscriptions of the cabinet (monthly and yearly, paid per modem) and the products of the store (the modem alone and the modem with months of subscription). Public, the one operation without a key: no auth-key is needed, but a key sent with it must be valid, or the answer is 401. A subscription costs what the cabinet charges for it; a product costs what the store asks in that currency, with the store page in url. The answer is cached for 5 minutes, so a new price shows within 5 minutes. When the prices cannot be read, the last good answer is served for up to 24 hours (updated_at tells how old it is); with none, 503 PLAN_CATALOG_UNAVAILABLE.
|
|
13
|
+
*
|
|
14
|
+
* Error codes (`errorMessage`): PLAN_CURRENCY_NOT_SUPPORTED, PLAN_CATALOG_UNAVAILABLE.
|
|
15
|
+
*
|
|
16
|
+
* Needs no API key: a client made with `apiKey: null` can call it. A key the client has is sent, and it must be valid.
|
|
17
|
+
*/
|
|
18
|
+
getCatalog(params?: PlansGetCatalogParams, options?: RequestOptions): Promise<PlanCatalog>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=plans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../../src/resources/plans.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;OAQG;IACH,UAAU,CAAC,MAAM,GAAE,qBAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;CAK/F"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from spec/openapi.yaml by scripts/generate.mjs. Do not edit by hand.
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
/**
|
|
4
|
+
* Prices of Teleleo: the subscriptions of the cabinet and the products of the store. Public, without a key.
|
|
5
|
+
*/
|
|
6
|
+
export class PlansResource extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List plans and prices.
|
|
9
|
+
*
|
|
10
|
+
* The prices of Teleleo and what each plan or product includes, in one currency: the subscriptions of the cabinet (monthly and yearly, paid per modem) and the products of the store (the modem alone and the modem with months of subscription). Public, the one operation without a key: no auth-key is needed, but a key sent with it must be valid, or the answer is 401. A subscription costs what the cabinet charges for it; a product costs what the store asks in that currency, with the store page in url. The answer is cached for 5 minutes, so a new price shows within 5 minutes. When the prices cannot be read, the last good answer is served for up to 24 hours (updated_at tells how old it is); with none, 503 PLAN_CATALOG_UNAVAILABLE.
|
|
11
|
+
*
|
|
12
|
+
* Error codes (`errorMessage`): PLAN_CURRENCY_NOT_SUPPORTED, PLAN_CATALOG_UNAVAILABLE.
|
|
13
|
+
*
|
|
14
|
+
* Needs no API key: a client made with `apiKey: null` can call it. A key the client has is sent, and it must be valid.
|
|
15
|
+
*/
|
|
16
|
+
getCatalog(params = {}, options) {
|
|
17
|
+
return this._client
|
|
18
|
+
.request('GET', '/plan', { query: { currency: params.currency }, keyOptional: true, options })
|
|
19
|
+
.then((data) => data);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=plans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plans.js","sourceRoot":"","sources":["../../src/resources/plans.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAGtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;OAQG;IACH,UAAU,CAAC,SAAgC,EAAE,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;aAC7F,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAmB,CAAC,CAAC;IACzC,CAAC;CACF"}
|
|
@@ -22,7 +22,7 @@ export declare class PublicVpnResource extends APIResource {
|
|
|
22
22
|
*
|
|
23
23
|
* @param dongleId - ID of the dongle
|
|
24
24
|
*
|
|
25
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, DONGLE_PUBLIC_VPN_ALREADY_DISABLED_EXCEPTION.
|
|
25
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, DONGLE_PUBLIC_VPN_ALREADY_DISABLED_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
26
26
|
*
|
|
27
27
|
* Capability the role of an organization API key needs: `network.manage`.
|
|
28
28
|
*/
|
|
@@ -44,6 +44,8 @@ export declare class PublicVpnResource extends APIResource {
|
|
|
44
44
|
*
|
|
45
45
|
* Live VPN sessions of the modems of the account, as the VPN gateway reports them. Not paginated.
|
|
46
46
|
*
|
|
47
|
+
* Error codes (`errorMessage`): BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
48
|
+
*
|
|
47
49
|
* Capability the role of an organization API key needs: `network.view`.
|
|
48
50
|
*/
|
|
49
51
|
listSessions(options?: RequestOptions): Promise<Array<PublicVpnSession>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-vpn.d.ts","sourceRoot":"","sources":["../../src/resources/public-vpn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,kCAAkC;AAClC,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpE;;;;;;;;;;OAUG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAMrE;;;;;;;;;;OAUG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAM7E
|
|
1
|
+
{"version":3,"file":"public-vpn.d.ts","sourceRoot":"","sources":["../../src/resources/public-vpn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,kCAAkC;AAClC,qBAAa,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAMpE;;;;;;;;;;OAUG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAMrE;;;;;;;;;;OAUG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAM7E;;;;;;;;OAQG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;CAKzE"}
|
|
@@ -26,7 +26,7 @@ export class PublicVpnResource extends APIResource {
|
|
|
26
26
|
*
|
|
27
27
|
* @param dongleId - ID of the dongle
|
|
28
28
|
*
|
|
29
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, DONGLE_PUBLIC_VPN_ALREADY_DISABLED_EXCEPTION.
|
|
29
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, DONGLE_NOT_FOUND_EXCEPTION, DONGLE_PUBLIC_VPN_ALREADY_DISABLED_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
30
30
|
*
|
|
31
31
|
* Capability the role of an organization API key needs: `network.manage`.
|
|
32
32
|
*/
|
|
@@ -56,6 +56,8 @@ export class PublicVpnResource extends APIResource {
|
|
|
56
56
|
*
|
|
57
57
|
* Live VPN sessions of the modems of the account, as the VPN gateway reports them. Not paginated.
|
|
58
58
|
*
|
|
59
|
+
* Error codes (`errorMessage`): BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
60
|
+
*
|
|
59
61
|
* Capability the role of an organization API key needs: `network.view`.
|
|
60
62
|
*/
|
|
61
63
|
listSessions(options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-vpn.js","sourceRoot":"","sources":["../../src/resources/public-vpn.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAGtF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC3D,kCAAkC;AAClC,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;OAUG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,MAAM,EAAE,WAAW,SAAS,CAAC,QAAQ,CAAC,oBAAoB,EAAE,EAAE,OAAO,EAAE,CAAC;aAChF,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpB,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,QAAgB,EAAE,OAAwB;QAChD,OAAO,IAAI,CA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IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,MAAM,EAAE,WAAW,SAAS,CAAC,QAAQ,CAAC,8BAA8B,EAAE,EAAE,OAAO,EAAE,CAAC;aAC1F,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpB,CAAC;IAED;;;;;;;;OAQG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO;aAChB,OAAO,CAAC,KAAK,EAAE,kCAAkC,EAAE,EAAE,OAAO,EAAE,CAAC;aAC/D,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,CAA4B,CAAC,CAAC;IAClF,CAAC;CACF"}
|
|
@@ -10,7 +10,7 @@ export declare class RedirectionsResource extends APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* Redirection rules of the account: forwarding of incoming SMS and calls, auto replies and HTTP callbacks. Newest first by default (created_at descending, then the id descending).
|
|
12
12
|
*
|
|
13
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION.
|
|
13
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
14
14
|
*
|
|
15
15
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
16
16
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class RedirectionsResource extends APIResource {
|
|
|
32
32
|
*
|
|
33
33
|
* @param redirectionId - Identifier in the path
|
|
34
34
|
*
|
|
35
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION.
|
|
35
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
36
36
|
*
|
|
37
37
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
38
38
|
*/
|
|
@@ -56,7 +56,7 @@ export declare class RedirectionsResource extends APIResource {
|
|
|
56
56
|
*
|
|
57
57
|
* @param redirectionId - Identifier in the path
|
|
58
58
|
*
|
|
59
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION.
|
|
59
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
60
60
|
*
|
|
61
61
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
62
62
|
*/
|
|
@@ -8,7 +8,7 @@ export class RedirectionsResource extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* Redirection rules of the account: forwarding of incoming SMS and calls, auto replies and HTTP callbacks. Newest first by default (created_at descending, then the id descending).
|
|
10
10
|
*
|
|
11
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION.
|
|
11
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
12
12
|
*
|
|
13
13
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
14
14
|
*/
|
|
@@ -60,7 +60,7 @@ export class RedirectionsResource extends APIResource {
|
|
|
60
60
|
*
|
|
61
61
|
* @param redirectionId - Identifier in the path
|
|
62
62
|
*
|
|
63
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION.
|
|
63
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
64
64
|
*
|
|
65
65
|
* Capability the role of an organization API key needs: `automation.view`.
|
|
66
66
|
*/
|
|
@@ -100,7 +100,7 @@ export class RedirectionsResource extends APIResource {
|
|
|
100
100
|
*
|
|
101
101
|
* @param redirectionId - Identifier in the path
|
|
102
102
|
*
|
|
103
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION.
|
|
103
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, REDIRECTION_NOT_FOUND_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
104
104
|
*
|
|
105
105
|
* Capability the role of an organization API key needs: `automation.manage`.
|
|
106
106
|
*/
|
|
@@ -9,7 +9,7 @@ export declare class SipUsersResource extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* SIP accounts of the modems of the account, one per modem (dongle_id is always set; the softphone login of the cabinet and the mobile app is not listed). Modems deleted from the account are not listed. pbx_sip_connections lists the SIP servers to register at (TLS and UDP/TCP).
|
|
11
11
|
*
|
|
12
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
|
|
12
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
13
13
|
*
|
|
14
14
|
* Capability the role of an organization API key needs: `call.make`.
|
|
15
15
|
*/
|
|
@@ -21,7 +21,7 @@ export declare class SipUsersResource extends APIResource {
|
|
|
21
21
|
*
|
|
22
22
|
* @param sipUserId - Identifier in the path
|
|
23
23
|
*
|
|
24
|
-
* Error codes (`errorMessage`): PBX_SIP_ERROR_IDENTIFIER_CANT_FIND_PBX_USER.
|
|
24
|
+
* Error codes (`errorMessage`): PBX_SIP_ERROR_IDENTIFIER_CANT_FIND_PBX_USER, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
25
25
|
*
|
|
26
26
|
* Capability the role of an organization API key needs: `call.make`.
|
|
27
27
|
*/
|
|
@@ -8,7 +8,7 @@ export class SipUsersResource extends APIResource {
|
|
|
8
8
|
*
|
|
9
9
|
* SIP accounts of the modems of the account, one per modem (dongle_id is always set; the softphone login of the cabinet and the mobile app is not listed). Modems deleted from the account are not listed. pbx_sip_connections lists the SIP servers to register at (TLS and UDP/TCP).
|
|
10
10
|
*
|
|
11
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
|
|
11
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
12
12
|
*
|
|
13
13
|
* Capability the role of an organization API key needs: `call.make`.
|
|
14
14
|
*/
|
|
@@ -27,7 +27,7 @@ export class SipUsersResource extends APIResource {
|
|
|
27
27
|
*
|
|
28
28
|
* @param sipUserId - Identifier in the path
|
|
29
29
|
*
|
|
30
|
-
* Error codes (`errorMessage`): PBX_SIP_ERROR_IDENTIFIER_CANT_FIND_PBX_USER.
|
|
30
|
+
* Error codes (`errorMessage`): PBX_SIP_ERROR_IDENTIFIER_CANT_FIND_PBX_USER, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
31
31
|
*
|
|
32
32
|
* Capability the role of an organization API key needs: `call.make`.
|
|
33
33
|
*/
|
package/dist/resources/sms.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class SmsResource extends APIResource {
|
|
|
46
46
|
*
|
|
47
47
|
* Conversation view: the last SMS per phone number of the modem, newest first.
|
|
48
48
|
*
|
|
49
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION.
|
|
49
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
50
50
|
*
|
|
51
51
|
* Capability the role of an organization API key needs: `sms.view`.
|
|
52
52
|
*/
|
|
@@ -56,7 +56,7 @@ export declare class SmsResource extends APIResource {
|
|
|
56
56
|
*
|
|
57
57
|
* SMS of all modems of the account, incoming and outgoing. Newest first by default (created_at descending, then the id descending).
|
|
58
58
|
*
|
|
59
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE.
|
|
59
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
60
60
|
*
|
|
61
61
|
* Capability the role of an organization API key needs: `sms.view`.
|
|
62
62
|
*/
|
|
@@ -68,7 +68,7 @@ export declare class SmsResource extends APIResource {
|
|
|
68
68
|
*
|
|
69
69
|
* @param dongleId - Identifier in the path
|
|
70
70
|
*
|
|
71
|
-
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE.
|
|
71
|
+
* Error codes (`errorMessage`): REQUEST_VALIDATION_EXCEPTION, PARSING_DATE_TIME_EXCEPTION, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
72
72
|
*
|
|
73
73
|
* Capability the role of an organization API key needs: `sms.view`.
|
|
74
74
|
*/
|
|
@@ -81,7 +81,7 @@ export declare class SmsResource extends APIResource {
|
|
|
81
81
|
* @param dongleId - Identifier in the path
|
|
82
82
|
* @param smsId - Identifier in the path
|
|
83
83
|
*
|
|
84
|
-
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND.
|
|
84
|
+
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
85
85
|
*
|
|
86
86
|
* Capability the role of an organization API key needs: `sms.view`.
|
|
87
87
|
*/
|
|
@@ -94,7 +94,7 @@ export declare class SmsResource extends APIResource {
|
|
|
94
94
|
* @param dongleId - Identifier in the path
|
|
95
95
|
* @param smsId - Identifier in the path
|
|
96
96
|
*
|
|
97
|
-
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND, DONGLE_ERROR_DONGLE_NOT_FOUND, CONTACT_ERROR_IDENTIFIER_CONTACT_NOT_FOUND, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE, SMS_ERROR_IDENTIFIER_LONG_MESSAGE, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, SMS_ERROR_IDENTIFIER_INVALID_SCHEDULED_AT, PARSING_DATE_TIME_EXCEPTION.
|
|
97
|
+
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND, DONGLE_ERROR_DONGLE_NOT_FOUND, CONTACT_ERROR_IDENTIFIER_CONTACT_NOT_FOUND, SMS_ERROR_IDENTIFIER_INVALID_SMS_TYPE, SMS_ERROR_IDENTIFIER_LONG_MESSAGE, SMS_ERROR_IDENTIFIER_EMPTY_MESSAGE, SMS_ERROR_IDENTIFIER_INVALID_SCHEDULED_AT, PARSING_DATE_TIME_EXCEPTION, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
98
98
|
*
|
|
99
99
|
* Capability the role of an organization API key needs: `sms.send`.
|
|
100
100
|
*/
|
|
@@ -107,7 +107,7 @@ export declare class SmsResource extends APIResource {
|
|
|
107
107
|
* @param dongleId - Identifier in the path
|
|
108
108
|
* @param smsId - Identifier in the path
|
|
109
109
|
*
|
|
110
|
-
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND.
|
|
110
|
+
* Error codes (`errorMessage`): SMS_ERROR_ERROR_SMS_NOT_FOUND, BILLING_ERROR_IDENTIFIER_DONGLE_SUBSCRIPTION_NOT_ACTIVE.
|
|
111
111
|
*
|
|
112
112
|
* Capability the role of an organization API key needs: `sms.send`.
|
|
113
113
|
*/
|