@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.
- package/CHANGELOG.md +33 -0
- package/README.md +0 -9
- package/client.d.mts +8 -26
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -26
- package/client.d.ts.map +1 -1
- package/client.js +0 -18
- package/client.js.map +1 -1
- package/client.mjs +0 -18
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +30 -20
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +30 -20
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +20 -10
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +20 -10
- package/resources/apps.mjs.map +1 -1
- package/resources/assistant/conversations.d.mts +19 -0
- package/resources/assistant/conversations.d.mts.map +1 -1
- package/resources/assistant/conversations.d.ts +19 -0
- package/resources/assistant/conversations.d.ts.map +1 -1
- package/resources/connect/proxies.d.mts +8 -6
- package/resources/connect/proxies.d.mts.map +1 -1
- package/resources/connect/proxies.d.ts +8 -6
- package/resources/connect/proxies.d.ts.map +1 -1
- package/resources/connect/proxies.js +6 -4
- package/resources/connect/proxies.js.map +1 -1
- package/resources/connect/proxies.mjs +6 -4
- package/resources/connect/proxies.mjs.map +1 -1
- package/resources/connect/users.d.mts +4 -4
- package/resources/connect/users.d.ts +4 -4
- package/resources/connect/users.js +2 -2
- package/resources/connect/users.mjs +2 -2
- package/resources/devices/actions.d.mts +25 -5
- package/resources/devices/actions.d.mts.map +1 -1
- package/resources/devices/actions.d.ts +25 -5
- package/resources/devices/actions.d.ts.map +1 -1
- package/resources/devices/actions.js +5 -3
- package/resources/devices/actions.js.map +1 -1
- package/resources/devices/actions.mjs +5 -3
- package/resources/devices/actions.mjs.map +1 -1
- package/resources/devices/apps.d.mts +25 -10
- package/resources/devices/apps.d.mts.map +1 -1
- package/resources/devices/apps.d.ts +25 -10
- package/resources/devices/apps.d.ts.map +1 -1
- package/resources/devices/apps.js +12 -10
- package/resources/devices/apps.js.map +1 -1
- package/resources/devices/apps.mjs +12 -10
- package/resources/devices/apps.mjs.map +1 -1
- package/resources/devices/devices.d.mts +60 -22
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +60 -22
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +25 -16
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +25 -16
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +3 -3
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +3 -3
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -3
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -1
- package/resources/devices/index.mjs.map +1 -1
- package/resources/devices/keyboard.d.mts +8 -2
- package/resources/devices/keyboard.d.mts.map +1 -1
- package/resources/devices/keyboard.d.ts +8 -2
- package/resources/devices/keyboard.d.ts.map +1 -1
- package/resources/devices/recordings.d.mts +28 -7
- package/resources/devices/recordings.d.mts.map +1 -1
- package/resources/devices/recordings.d.ts +28 -7
- package/resources/devices/recordings.d.ts.map +1 -1
- package/resources/devices/recordings.js +9 -0
- package/resources/devices/recordings.js.map +1 -1
- package/resources/devices/recordings.mjs +9 -0
- package/resources/devices/recordings.mjs.map +1 -1
- package/resources/devices/screenshots.d.mts +72 -0
- package/resources/devices/screenshots.d.mts.map +1 -0
- package/resources/devices/screenshots.d.ts +72 -0
- package/resources/devices/screenshots.d.ts.map +1 -0
- package/resources/devices/screenshots.js +57 -0
- package/resources/devices/screenshots.js.map +1 -0
- package/resources/devices/screenshots.mjs +53 -0
- package/resources/devices/screenshots.mjs.map +1 -0
- package/resources/devices/state.d.mts +11 -2
- package/resources/devices/state.d.mts.map +1 -1
- package/resources/devices/state.d.ts +11 -2
- package/resources/devices/state.d.ts.map +1 -1
- package/resources/devices/state.js +5 -2
- package/resources/devices/state.js.map +1 -1
- package/resources/devices/state.mjs +5 -2
- package/resources/devices/state.mjs.map +1 -1
- package/resources/files.d.mts +3 -3
- package/resources/files.d.ts +3 -3
- package/resources/files.js +3 -3
- package/resources/files.mjs +3 -3
- package/resources/index.d.mts +4 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -11
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -5
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/connections.d.mts +4 -10
- package/resources/mailboxes/connections.d.mts.map +1 -1
- package/resources/mailboxes/connections.d.ts +4 -10
- package/resources/mailboxes/connections.d.ts.map +1 -1
- package/resources/mailboxes/connections.js +3 -4
- package/resources/mailboxes/connections.js.map +1 -1
- package/resources/mailboxes/connections.mjs +3 -4
- package/resources/mailboxes/connections.mjs.map +1 -1
- package/resources/mailboxes/mailboxes.d.mts +5 -4
- package/resources/mailboxes/mailboxes.d.mts.map +1 -1
- package/resources/mailboxes/mailboxes.d.ts +5 -4
- package/resources/mailboxes/mailboxes.d.ts.map +1 -1
- package/resources/mailboxes/mailboxes.js +5 -4
- package/resources/mailboxes/mailboxes.js.map +1 -1
- package/resources/mailboxes/mailboxes.mjs +5 -4
- package/resources/mailboxes/mailboxes.mjs.map +1 -1
- package/resources/messages/messages.d.mts +12 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +12 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +12 -23
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +12 -23
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +3 -4
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -4
- package/resources/models.mjs.map +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +23 -14
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +23 -14
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js +9 -7
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs +9 -7
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +136 -32
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +136 -32
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +1 -12
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +1 -12
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/proxies.d.mts +1 -87
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +1 -87
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +0 -6
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +0 -6
- package/resources/proxies.mjs.map +1 -1
- package/resources/tasks/tasks.d.mts +42 -138
- package/resources/tasks/tasks.d.mts.map +1 -1
- package/resources/tasks/tasks.d.ts +42 -138
- package/resources/tasks/tasks.d.ts.map +1 -1
- package/resources/tasks/tasks.js.map +1 -1
- package/resources/tasks/tasks.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +7 -43
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +7 -43
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +6 -9
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +6 -9
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/resources/workflows/events.d.mts +6 -2
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +6 -2
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions/executions.d.mts +37 -31
- package/resources/workflows/executions/executions.d.mts.map +1 -1
- package/resources/workflows/executions/executions.d.ts +37 -31
- package/resources/workflows/executions/executions.d.ts.map +1 -1
- package/resources/workflows/executions/executions.js +2 -2
- package/resources/workflows/executions/executions.js.map +1 -1
- package/resources/workflows/executions/executions.mjs +2 -2
- package/resources/workflows/executions/executions.mjs.map +1 -1
- package/resources/workflows/flows/flows.d.mts +90 -34
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +90 -34
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js +15 -14
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs +15 -14
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/resources/workflows/flows/index.d.mts +1 -1
- package/resources/workflows/flows/index.d.mts.map +1 -1
- package/resources/workflows/flows/index.d.ts +1 -1
- package/resources/workflows/flows/index.d.ts.map +1 -1
- package/resources/workflows/flows/index.js.map +1 -1
- package/resources/workflows/flows/index.mjs.map +1 -1
- package/resources/workflows/index.d.mts +1 -1
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +1 -1
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/triggers.d.mts +10 -13
- package/resources/workflows/triggers.d.mts.map +1 -1
- package/resources/workflows/triggers.d.ts +10 -13
- package/resources/workflows/triggers.d.ts.map +1 -1
- package/resources/workflows/triggers.js +6 -8
- package/resources/workflows/triggers.js.map +1 -1
- package/resources/workflows/triggers.mjs +6 -8
- package/resources/workflows/triggers.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +2 -2
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +2 -2
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +2 -106
- package/src/resources/apps.ts +30 -20
- package/src/resources/assistant/conversations.ts +26 -0
- package/src/resources/connect/proxies.ts +8 -6
- package/src/resources/connect/users.ts +4 -4
- package/src/resources/devices/actions.ts +28 -5
- package/src/resources/devices/apps.ts +30 -10
- package/src/resources/devices/devices.ts +92 -37
- package/src/resources/devices/index.ts +12 -9
- package/src/resources/devices/keyboard.ts +9 -2
- package/src/resources/devices/recordings.ts +44 -6
- package/src/resources/devices/screenshots.ts +140 -0
- package/src/resources/devices/state.ts +12 -2
- package/src/resources/files.ts +3 -3
- package/src/resources/index.ts +1 -44
- package/src/resources/mailboxes/connections.ts +4 -11
- package/src/resources/mailboxes/mailboxes.ts +5 -4
- package/src/resources/messages/messages.ts +16 -0
- package/src/resources/models.ts +16 -23
- package/src/resources/numbers/index.ts +0 -1
- package/src/resources/numbers/messages.ts +27 -15
- package/src/resources/numbers/numbers.ts +155 -40
- package/src/resources/proxies.ts +0 -110
- package/src/resources/tasks/tasks.ts +46 -138
- package/src/resources/webhooks/index.ts +0 -1
- package/src/resources/webhooks/webhooks.ts +6 -60
- package/src/resources/workflows/events.ts +7 -2
- package/src/resources/workflows/executions/executions.ts +39 -31
- package/src/resources/workflows/flows/flows.ts +104 -34
- package/src/resources/workflows/flows/index.ts +1 -0
- package/src/resources/workflows/index.ts +1 -0
- package/src/resources/workflows/triggers.ts +10 -13
- package/src/resources/workflows/workflows.ts +2 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/app-events/app-events.d.mts +0 -81
- package/resources/app-events/app-events.d.mts.map +0 -1
- package/resources/app-events/app-events.d.ts +0 -81
- package/resources/app-events/app-events.d.ts.map +0 -1
- package/resources/app-events/app-events.js +0 -33
- package/resources/app-events/app-events.js.map +0 -1
- package/resources/app-events/app-events.mjs +0 -28
- package/resources/app-events/app-events.mjs.map +0 -1
- package/resources/app-events/catalog.d.mts +0 -64
- package/resources/app-events/catalog.d.mts.map +0 -1
- package/resources/app-events/catalog.d.ts +0 -64
- package/resources/app-events/catalog.d.ts.map +0 -1
- package/resources/app-events/catalog.js +0 -25
- package/resources/app-events/catalog.js.map +0 -1
- package/resources/app-events/catalog.mjs +0 -21
- package/resources/app-events/catalog.mjs.map +0 -1
- package/resources/app-events/index.d.mts +0 -3
- package/resources/app-events/index.d.mts.map +0 -1
- package/resources/app-events/index.d.ts +0 -3
- package/resources/app-events/index.d.ts.map +0 -1
- package/resources/app-events/index.js +0 -9
- package/resources/app-events/index.js.map +0 -1
- package/resources/app-events/index.mjs +0 -4
- package/resources/app-events/index.mjs.map +0 -1
- package/resources/app-events.d.mts +0 -2
- package/resources/app-events.d.mts.map +0 -1
- package/resources/app-events.d.ts +0 -2
- package/resources/app-events.d.ts.map +0 -1
- package/resources/app-events.js +0 -6
- package/resources/app-events.js.map +0 -1
- package/resources/app-events.mjs +0 -3
- package/resources/app-events.mjs.map +0 -1
- package/resources/carriers.d.mts +0 -331
- package/resources/carriers.d.mts.map +0 -1
- package/resources/carriers.d.ts +0 -331
- package/resources/carriers.d.ts.map +0 -1
- package/resources/carriers.js +0 -46
- package/resources/carriers.js.map +0 -1
- package/resources/carriers.mjs +0 -42
- package/resources/carriers.mjs.map +0 -1
- package/resources/devices/media-sessions.d.mts +0 -96
- package/resources/devices/media-sessions.d.mts.map +0 -1
- package/resources/devices/media-sessions.d.ts +0 -96
- package/resources/devices/media-sessions.d.ts.map +0 -1
- package/resources/devices/media-sessions.js +0 -50
- package/resources/devices/media-sessions.js.map +0 -1
- package/resources/devices/media-sessions.mjs +0 -46
- package/resources/devices/media-sessions.mjs.map +0 -1
- package/resources/notifications.d.mts +0 -112
- package/resources/notifications.d.mts.map +0 -1
- package/resources/notifications.d.ts +0 -112
- package/resources/notifications.d.ts.map +0 -1
- package/resources/notifications.js +0 -72
- package/resources/notifications.js.map +0 -1
- package/resources/notifications.mjs +0 -68
- package/resources/notifications.mjs.map +0 -1
- package/resources/profiles.d.mts +0 -147
- package/resources/profiles.d.mts.map +0 -1
- package/resources/profiles.d.ts +0 -147
- package/resources/profiles.d.ts.map +0 -1
- package/resources/profiles.js +0 -40
- package/resources/profiles.js.map +0 -1
- package/resources/profiles.mjs +0 -36
- package/resources/profiles.mjs.map +0 -1
- package/resources/store/apps.d.mts +0 -140
- package/resources/store/apps.d.mts.map +0 -1
- package/resources/store/apps.d.ts +0 -140
- package/resources/store/apps.d.ts.map +0 -1
- package/resources/store/apps.js +0 -31
- package/resources/store/apps.js.map +0 -1
- package/resources/store/apps.mjs +0 -27
- package/resources/store/apps.mjs.map +0 -1
- package/resources/store/index.d.mts +0 -3
- package/resources/store/index.d.mts.map +0 -1
- package/resources/store/index.d.ts +0 -3
- package/resources/store/index.d.ts.map +0 -1
- package/resources/store/index.js +0 -9
- package/resources/store/index.js.map +0 -1
- package/resources/store/index.mjs +0 -4
- package/resources/store/index.mjs.map +0 -1
- package/resources/store/store.d.mts +0 -20
- package/resources/store/store.d.mts.map +0 -1
- package/resources/store/store.d.ts +0 -20
- package/resources/store/store.d.ts.map +0 -1
- package/resources/store/store.js +0 -23
- package/resources/store/store.js.map +0 -1
- package/resources/store/store.mjs +0 -18
- package/resources/store/store.mjs.map +0 -1
- package/resources/store.d.mts +0 -2
- package/resources/store.d.mts.map +0 -1
- package/resources/store.d.ts +0 -2
- package/resources/store.d.ts.map +0 -1
- package/resources/store.js +0 -6
- package/resources/store.js.map +0 -1
- package/resources/store.mjs +0 -3
- package/resources/store.mjs.map +0 -1
- package/src/resources/app-events/app-events.ts +0 -133
- package/src/resources/app-events/catalog.ts +0 -100
- package/src/resources/app-events/index.ts +0 -9
- package/src/resources/app-events.ts +0 -3
- package/src/resources/carriers.ts +0 -508
- package/src/resources/devices/media-sessions.ts +0 -168
- package/src/resources/notifications.ts +0 -155
- package/src/resources/profiles.ts +0 -232
- package/src/resources/store/apps.ts +0 -993
- package/src/resources/store/index.ts +0 -10
- package/src/resources/store/store.ts +0 -36
- package/src/resources/store.ts +0 -3
|
@@ -17,13 +17,15 @@ export declare class Messages extends APIResource {
|
|
|
17
17
|
*/
|
|
18
18
|
list(id: string, query?: MessageListParams | null | undefined, options?: RequestOptions): APIPromise<MessageListResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Queues an SMS from one of the caller's numbers that can send.
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
20
|
+
* Queues an SMS from one of the caller's numbers that can send. Replaying an
|
|
21
|
+
* Idempotency-Key with the same payload returns the original message, reusing it
|
|
22
|
+
* with a different payload returns 422. 409 capability_unavailable: this number
|
|
23
|
+
* cannot send right now. 422 invalid_recipient / unsupported_destination /
|
|
24
|
+
* body_too_long: the recipient or text does not fit the number. 429
|
|
25
|
+
* daily_limit_reached: the rolling 24 h limit for the account is used up; 429
|
|
26
|
+
* rate_limited: too many sends by the owner in a short window; 429
|
|
27
|
+
* number_rate_limited: too many outbound sends from this number in the configured
|
|
28
|
+
* window (all sends from this number count, including those made on your behalf).
|
|
27
29
|
* 403 send_disabled: self-service SMS send is switched off.
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
@@ -44,6 +46,7 @@ export declare namespace MessageListResponse {
|
|
|
44
46
|
interface Item {
|
|
45
47
|
id: string;
|
|
46
48
|
body: string | null;
|
|
49
|
+
classification: Item.Classification | null;
|
|
47
50
|
createdAt: string;
|
|
48
51
|
deliveryStatus: string | null;
|
|
49
52
|
detectedSender: string | null;
|
|
@@ -54,6 +57,11 @@ export declare namespace MessageListResponse {
|
|
|
54
57
|
peerNumber: string | null;
|
|
55
58
|
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
56
59
|
}
|
|
60
|
+
namespace Item {
|
|
61
|
+
interface Classification {
|
|
62
|
+
spam: boolean;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
57
65
|
}
|
|
58
66
|
export interface MessageSendResponse {
|
|
59
67
|
data: MessageSendResponse.Data;
|
|
@@ -62,6 +70,7 @@ export declare namespace MessageSendResponse {
|
|
|
62
70
|
interface Data {
|
|
63
71
|
id: string;
|
|
64
72
|
body: string | null;
|
|
73
|
+
classification: Data.Classification | null;
|
|
65
74
|
createdAt: string;
|
|
66
75
|
deliveryStatus: string | null;
|
|
67
76
|
detectedSender: string | null;
|
|
@@ -72,6 +81,11 @@ export declare namespace MessageSendResponse {
|
|
|
72
81
|
peerNumber: string | null;
|
|
73
82
|
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
74
83
|
}
|
|
84
|
+
namespace Data {
|
|
85
|
+
interface Classification {
|
|
86
|
+
spam: boolean;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
75
89
|
}
|
|
76
90
|
export interface MessageListParams {
|
|
77
91
|
direction?: 'all' | 'inbound' | 'outbound';
|
|
@@ -81,8 +95,8 @@ export interface MessageListParams {
|
|
|
81
95
|
}
|
|
82
96
|
export interface MessageSendParams {
|
|
83
97
|
/**
|
|
84
|
-
* SMS body text, up to 1600 characters (rejected with 400
|
|
85
|
-
*
|
|
98
|
+
* SMS body text, up to 1600 characters (longer bodies are rejected with 400). A
|
|
99
|
+
* number's own limit may be lower and is answered 422 body_too_long.
|
|
86
100
|
*/
|
|
87
101
|
body: string;
|
|
88
102
|
/**
|
|
@@ -91,11 +105,6 @@ export interface MessageSendParams {
|
|
|
91
105
|
* with 422 invalid_recipient.
|
|
92
106
|
*/
|
|
93
107
|
to: string;
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Deprecated: use the Idempotency-Key header instead. Optional
|
|
96
|
-
* idempotency key. Replaying the same key and payload returns the original send.
|
|
97
|
-
*/
|
|
98
|
-
clientRequestId?: string;
|
|
99
108
|
/**
|
|
100
109
|
* Request a delivery report. Defaults to false.
|
|
101
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC
|
|
1
|
+
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE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B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAE9B,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC;QAElC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB,UAAU,EAAE,MAAM,CAAC;QAEnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QAEvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAE1B,MAAM,EACF,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,GACN,kBAAkB,GAClB,WAAW,GACX,QAAQ,CAAC;KACd;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;IAE3C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -17,13 +17,15 @@ export declare class Messages extends APIResource {
|
|
|
17
17
|
*/
|
|
18
18
|
list(id: string, query?: MessageListParams | null | undefined, options?: RequestOptions): APIPromise<MessageListResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Queues an SMS from one of the caller's numbers that can send.
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
20
|
+
* Queues an SMS from one of the caller's numbers that can send. Replaying an
|
|
21
|
+
* Idempotency-Key with the same payload returns the original message, reusing it
|
|
22
|
+
* with a different payload returns 422. 409 capability_unavailable: this number
|
|
23
|
+
* cannot send right now. 422 invalid_recipient / unsupported_destination /
|
|
24
|
+
* body_too_long: the recipient or text does not fit the number. 429
|
|
25
|
+
* daily_limit_reached: the rolling 24 h limit for the account is used up; 429
|
|
26
|
+
* rate_limited: too many sends by the owner in a short window; 429
|
|
27
|
+
* number_rate_limited: too many outbound sends from this number in the configured
|
|
28
|
+
* window (all sends from this number count, including those made on your behalf).
|
|
27
29
|
* 403 send_disabled: self-service SMS send is switched off.
|
|
28
30
|
*
|
|
29
31
|
* @example
|
|
@@ -44,6 +46,7 @@ export declare namespace MessageListResponse {
|
|
|
44
46
|
interface Item {
|
|
45
47
|
id: string;
|
|
46
48
|
body: string | null;
|
|
49
|
+
classification: Item.Classification | null;
|
|
47
50
|
createdAt: string;
|
|
48
51
|
deliveryStatus: string | null;
|
|
49
52
|
detectedSender: string | null;
|
|
@@ -54,6 +57,11 @@ export declare namespace MessageListResponse {
|
|
|
54
57
|
peerNumber: string | null;
|
|
55
58
|
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
56
59
|
}
|
|
60
|
+
namespace Item {
|
|
61
|
+
interface Classification {
|
|
62
|
+
spam: boolean;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
57
65
|
}
|
|
58
66
|
export interface MessageSendResponse {
|
|
59
67
|
data: MessageSendResponse.Data;
|
|
@@ -62,6 +70,7 @@ export declare namespace MessageSendResponse {
|
|
|
62
70
|
interface Data {
|
|
63
71
|
id: string;
|
|
64
72
|
body: string | null;
|
|
73
|
+
classification: Data.Classification | null;
|
|
65
74
|
createdAt: string;
|
|
66
75
|
deliveryStatus: string | null;
|
|
67
76
|
detectedSender: string | null;
|
|
@@ -72,6 +81,11 @@ export declare namespace MessageSendResponse {
|
|
|
72
81
|
peerNumber: string | null;
|
|
73
82
|
status: 'received' | 'queued' | 'claimed' | 'sending' | 'sent' | 'sent_unconfirmed' | 'delivered' | 'failed';
|
|
74
83
|
}
|
|
84
|
+
namespace Data {
|
|
85
|
+
interface Classification {
|
|
86
|
+
spam: boolean;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
75
89
|
}
|
|
76
90
|
export interface MessageListParams {
|
|
77
91
|
direction?: 'all' | 'inbound' | 'outbound';
|
|
@@ -81,8 +95,8 @@ export interface MessageListParams {
|
|
|
81
95
|
}
|
|
82
96
|
export interface MessageSendParams {
|
|
83
97
|
/**
|
|
84
|
-
* SMS body text, up to 1600 characters (rejected with 400
|
|
85
|
-
*
|
|
98
|
+
* SMS body text, up to 1600 characters (longer bodies are rejected with 400). A
|
|
99
|
+
* number's own limit may be lower and is answered 422 body_too_long.
|
|
86
100
|
*/
|
|
87
101
|
body: string;
|
|
88
102
|
/**
|
|
@@ -91,11 +105,6 @@ export interface MessageSendParams {
|
|
|
91
105
|
* with 422 invalid_recipient.
|
|
92
106
|
*/
|
|
93
107
|
to: string;
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Deprecated: use the Idempotency-Key header instead. Optional
|
|
96
|
-
* idempotency key. Replaying the same key and payload returns the original send.
|
|
97
|
-
*/
|
|
98
|
-
clientRequestId?: string;
|
|
99
108
|
/**
|
|
100
109
|
* Request a delivery report. Defaults to false.
|
|
101
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AA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AAC,EAAE,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC;IAE3C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -21,13 +21,15 @@ class Messages extends resource_1.APIResource {
|
|
|
21
21
|
return this._client.get((0, path_1.path) `/numbers/phones/${id}/messages`, { query, ...options });
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Queues an SMS from one of the caller's numbers that can send.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
24
|
+
* Queues an SMS from one of the caller's numbers that can send. Replaying an
|
|
25
|
+
* Idempotency-Key with the same payload returns the original message, reusing it
|
|
26
|
+
* with a different payload returns 422. 409 capability_unavailable: this number
|
|
27
|
+
* cannot send right now. 422 invalid_recipient / unsupported_destination /
|
|
28
|
+
* body_too_long: the recipient or text does not fit the number. 429
|
|
29
|
+
* daily_limit_reached: the rolling 24 h limit for the account is used up; 429
|
|
30
|
+
* rate_limited: too many sends by the owner in a short window; 429
|
|
31
|
+
* number_rate_limited: too many outbound sends from this number in the configured
|
|
32
|
+
* window (all sends from this number count, including those made on your behalf).
|
|
31
33
|
* 403 send_disabled: self-service SMS send is switched off.
|
|
32
34
|
*
|
|
33
35
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAU,EACV,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAU,EACV,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF;AA5CD,4BA4CC"}
|
|
@@ -18,13 +18,15 @@ export class Messages extends APIResource {
|
|
|
18
18
|
return this._client.get(path `/numbers/phones/${id}/messages`, { query, ...options });
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Queues an SMS from one of the caller's numbers that can send.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
21
|
+
* Queues an SMS from one of the caller's numbers that can send. Replaying an
|
|
22
|
+
* Idempotency-Key with the same payload returns the original message, reusing it
|
|
23
|
+
* with a different payload returns 422. 409 capability_unavailable: this number
|
|
24
|
+
* cannot send right now. 422 invalid_recipient / unsupported_destination /
|
|
25
|
+
* body_too_long: the recipient or text does not fit the number. 429
|
|
26
|
+
* daily_limit_reached: the rolling 24 h limit for the account is used up; 429
|
|
27
|
+
* rate_limited: too many sends by the owner in a short window; 429
|
|
28
|
+
* number_rate_limited: too many outbound sends from this number in the configured
|
|
29
|
+
* window (all sends from this number count, including those made on your behalf).
|
|
28
30
|
* 403 send_disabled: self-service SMS send is switched off.
|
|
29
31
|
*
|
|
30
32
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAU,EACV,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"messages.mjs","sourceRoot":"","sources":["../../src/resources/numbers/messages.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,EAAU,EACV,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,IAAI,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,mBAAmB,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;CACF"}
|
|
@@ -8,7 +8,7 @@ export declare class Numbers extends APIResource {
|
|
|
8
8
|
messages: MessagesAPI.Messages;
|
|
9
9
|
/**
|
|
10
10
|
* Starts a phone-number purchase. Poll the returned phone number for status
|
|
11
|
-
* updates.
|
|
11
|
+
* updates.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
@@ -82,15 +82,6 @@ export declare class Numbers extends APIResource {
|
|
|
82
82
|
* ```
|
|
83
83
|
*/
|
|
84
84
|
countries(options?: RequestOptions): APIPromise<NumberCountriesResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* Lists the optional purposes currently available for a Mobilerun Phone.
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```ts
|
|
90
|
-
* const response = await client.numbers.purposes();
|
|
91
|
-
* ```
|
|
92
|
-
*/
|
|
93
|
-
purposes(options?: RequestOptions): APIPromise<NumberPurposesResponse>;
|
|
94
85
|
}
|
|
95
86
|
export interface NumberCreateResponse {
|
|
96
87
|
data: NumberCreateResponse.Data;
|
|
@@ -121,12 +112,26 @@ export declare namespace NumberRetrieveResponse {
|
|
|
121
112
|
* @deprecated Deprecated: use `actions.send`
|
|
122
113
|
*/
|
|
123
114
|
canSend: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
117
|
+
*/
|
|
124
118
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
125
119
|
checkoutUrl: string | null;
|
|
126
120
|
countryCode: string | null;
|
|
127
121
|
createdAt: string | null;
|
|
128
122
|
currentPeriodEnd: string | null;
|
|
123
|
+
/**
|
|
124
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
125
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
126
|
+
* requested country.
|
|
127
|
+
*/
|
|
128
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
129
129
|
label: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
132
|
+
* can do right now.
|
|
133
|
+
*/
|
|
134
|
+
lineCapabilities: Data.LineCapabilities;
|
|
130
135
|
phoneNumber: string | null;
|
|
131
136
|
purpose: string | null;
|
|
132
137
|
state: 'awaiting_payment' | 'provisioning' | 'active' | 'cancel_scheduled' | 'expired' | 'failed';
|
|
@@ -149,6 +154,25 @@ export declare namespace NumberRetrieveResponse {
|
|
|
149
154
|
*/
|
|
150
155
|
send: boolean;
|
|
151
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
159
|
+
* can do right now.
|
|
160
|
+
*/
|
|
161
|
+
interface LineCapabilities {
|
|
162
|
+
sms: LineCapabilities.SMS;
|
|
163
|
+
}
|
|
164
|
+
namespace LineCapabilities {
|
|
165
|
+
interface SMS {
|
|
166
|
+
/**
|
|
167
|
+
* This line can receive on this channel.
|
|
168
|
+
*/
|
|
169
|
+
inbound: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* This line can send on this channel.
|
|
172
|
+
*/
|
|
173
|
+
outbound: boolean;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
152
176
|
}
|
|
153
177
|
}
|
|
154
178
|
export interface NumberUpdateResponse {
|
|
@@ -170,12 +194,26 @@ export declare namespace NumberUpdateResponse {
|
|
|
170
194
|
* @deprecated Deprecated: use `actions.send`
|
|
171
195
|
*/
|
|
172
196
|
canSend: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
199
|
+
*/
|
|
173
200
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
174
201
|
checkoutUrl: string | null;
|
|
175
202
|
countryCode: string | null;
|
|
176
203
|
createdAt: string | null;
|
|
177
204
|
currentPeriodEnd: string | null;
|
|
205
|
+
/**
|
|
206
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
207
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
208
|
+
* requested country.
|
|
209
|
+
*/
|
|
210
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
178
211
|
label: string | null;
|
|
212
|
+
/**
|
|
213
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
214
|
+
* can do right now.
|
|
215
|
+
*/
|
|
216
|
+
lineCapabilities: Data.LineCapabilities;
|
|
179
217
|
phoneNumber: string | null;
|
|
180
218
|
purpose: string | null;
|
|
181
219
|
state: 'awaiting_payment' | 'provisioning' | 'active' | 'cancel_scheduled' | 'expired' | 'failed';
|
|
@@ -198,6 +236,25 @@ export declare namespace NumberUpdateResponse {
|
|
|
198
236
|
*/
|
|
199
237
|
send: boolean;
|
|
200
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
241
|
+
* can do right now.
|
|
242
|
+
*/
|
|
243
|
+
interface LineCapabilities {
|
|
244
|
+
sms: LineCapabilities.SMS;
|
|
245
|
+
}
|
|
246
|
+
namespace LineCapabilities {
|
|
247
|
+
interface SMS {
|
|
248
|
+
/**
|
|
249
|
+
* This line can receive on this channel.
|
|
250
|
+
*/
|
|
251
|
+
inbound: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* This line can send on this channel.
|
|
254
|
+
*/
|
|
255
|
+
outbound: boolean;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
201
258
|
}
|
|
202
259
|
}
|
|
203
260
|
export interface NumberListResponse {
|
|
@@ -220,12 +277,26 @@ export declare namespace NumberListResponse {
|
|
|
220
277
|
* @deprecated Deprecated: use `actions.send`
|
|
221
278
|
*/
|
|
222
279
|
canSend: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
282
|
+
*/
|
|
223
283
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
224
284
|
checkoutUrl: string | null;
|
|
225
285
|
countryCode: string | null;
|
|
226
286
|
createdAt: string | null;
|
|
227
287
|
currentPeriodEnd: string | null;
|
|
288
|
+
/**
|
|
289
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
290
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
291
|
+
* requested country.
|
|
292
|
+
*/
|
|
293
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
228
294
|
label: string | null;
|
|
295
|
+
/**
|
|
296
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
297
|
+
* can do right now.
|
|
298
|
+
*/
|
|
299
|
+
lineCapabilities: Item.LineCapabilities;
|
|
229
300
|
phoneNumber: string | null;
|
|
230
301
|
purpose: string | null;
|
|
231
302
|
state: 'awaiting_payment' | 'provisioning' | 'active' | 'cancel_scheduled' | 'expired' | 'failed';
|
|
@@ -248,6 +319,25 @@ export declare namespace NumberListResponse {
|
|
|
248
319
|
*/
|
|
249
320
|
send: boolean;
|
|
250
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
324
|
+
* can do right now.
|
|
325
|
+
*/
|
|
326
|
+
interface LineCapabilities {
|
|
327
|
+
sms: LineCapabilities.SMS;
|
|
328
|
+
}
|
|
329
|
+
namespace LineCapabilities {
|
|
330
|
+
interface SMS {
|
|
331
|
+
/**
|
|
332
|
+
* This line can receive on this channel.
|
|
333
|
+
*/
|
|
334
|
+
inbound: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* This line can send on this channel.
|
|
337
|
+
*/
|
|
338
|
+
outbound: boolean;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
251
341
|
}
|
|
252
342
|
}
|
|
253
343
|
export interface NumberDeleteResponse {
|
|
@@ -269,12 +359,26 @@ export declare namespace NumberDeleteResponse {
|
|
|
269
359
|
* @deprecated Deprecated: use `actions.send`
|
|
270
360
|
*/
|
|
271
361
|
canSend: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* @deprecated Deprecated: use `lineCapabilities`
|
|
364
|
+
*/
|
|
272
365
|
capabilities: Array<'sms' | 'voice'> | null;
|
|
273
366
|
checkoutUrl: string | null;
|
|
274
367
|
countryCode: string | null;
|
|
275
368
|
createdAt: string | null;
|
|
276
369
|
currentPeriodEnd: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Why setup failed. Null unless state is failed, and null when the failure has no
|
|
372
|
+
* classified reason. out_of_stock: no number is currently available for the
|
|
373
|
+
* requested country.
|
|
374
|
+
*/
|
|
375
|
+
failureReason: 'out_of_stock' | 'unknown' | null;
|
|
277
376
|
label: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
379
|
+
* can do right now.
|
|
380
|
+
*/
|
|
381
|
+
lineCapabilities: Data.LineCapabilities;
|
|
278
382
|
phoneNumber: string | null;
|
|
279
383
|
purpose: string | null;
|
|
280
384
|
state: 'awaiting_payment' | 'provisioning' | 'active' | 'cancel_scheduled' | 'expired' | 'failed';
|
|
@@ -297,6 +401,25 @@ export declare namespace NumberDeleteResponse {
|
|
|
297
401
|
*/
|
|
298
402
|
send: boolean;
|
|
299
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* What this line supports in principle, per channel. Use `actions` for what you
|
|
406
|
+
* can do right now.
|
|
407
|
+
*/
|
|
408
|
+
interface LineCapabilities {
|
|
409
|
+
sms: LineCapabilities.SMS;
|
|
410
|
+
}
|
|
411
|
+
namespace LineCapabilities {
|
|
412
|
+
interface SMS {
|
|
413
|
+
/**
|
|
414
|
+
* This line can receive on this channel.
|
|
415
|
+
*/
|
|
416
|
+
inbound: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* This line can send on this channel.
|
|
419
|
+
*/
|
|
420
|
+
outbound: boolean;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
300
423
|
}
|
|
301
424
|
}
|
|
302
425
|
export interface NumberCapacityResponse {
|
|
@@ -330,20 +453,6 @@ export declare namespace NumberCountriesResponse {
|
|
|
330
453
|
}
|
|
331
454
|
}
|
|
332
455
|
}
|
|
333
|
-
export interface NumberPurposesResponse {
|
|
334
|
-
data: NumberPurposesResponse.Data;
|
|
335
|
-
}
|
|
336
|
-
export declare namespace NumberPurposesResponse {
|
|
337
|
-
interface Data {
|
|
338
|
-
items: Array<Data.Item>;
|
|
339
|
-
}
|
|
340
|
-
namespace Data {
|
|
341
|
-
interface Item {
|
|
342
|
-
label: string;
|
|
343
|
-
slug: string;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
456
|
export interface NumberCreateParams {
|
|
348
457
|
/**
|
|
349
458
|
* Use included capacity when available, require included capacity without paid
|
|
@@ -352,25 +461,20 @@ export interface NumberCreateParams {
|
|
|
352
461
|
billingPreference?: 'included' | 'included_only' | 'rent';
|
|
353
462
|
/**
|
|
354
463
|
* Optional ISO 3166-1 alpha-2 country code from GET /numbers/phones/countries.
|
|
355
|
-
* Cannot be combined with `purpose`.
|
|
356
464
|
*/
|
|
357
465
|
country?: string;
|
|
358
466
|
/**
|
|
359
467
|
* User-defined display label — NFC-normalized, up to 100 GRAPHEMES (not UTF-16
|
|
360
468
|
* code units; an emoji/flag may span several). Display-only, never used for
|
|
361
|
-
* routing.
|
|
469
|
+
* routing.
|
|
362
470
|
*/
|
|
363
471
|
label?: string | null;
|
|
364
|
-
/**
|
|
365
|
-
* Optional purpose from GET /numbers/phones/purposes.
|
|
366
|
-
*/
|
|
367
|
-
purpose?: string;
|
|
368
472
|
}
|
|
369
473
|
export interface NumberUpdateParams {
|
|
370
474
|
/**
|
|
371
475
|
* User-defined display label — NFC-normalized, up to 100 GRAPHEMES (not UTF-16
|
|
372
476
|
* code units; an emoji/flag may span several). Display-only, never used for
|
|
373
|
-
* routing.
|
|
477
|
+
* routing.
|
|
374
478
|
*/
|
|
375
479
|
label?: string | null;
|
|
376
480
|
}
|
|
@@ -385,7 +489,7 @@ export interface NumberCapacityParams {
|
|
|
385
489
|
country: string;
|
|
386
490
|
}
|
|
387
491
|
export declare namespace Numbers {
|
|
388
|
-
export { type NumberCreateResponse as NumberCreateResponse, type NumberRetrieveResponse as NumberRetrieveResponse, type NumberUpdateResponse as NumberUpdateResponse, type NumberListResponse as NumberListResponse, type NumberDeleteResponse as NumberDeleteResponse, type NumberCapacityResponse as NumberCapacityResponse, type NumberCountriesResponse as NumberCountriesResponse, type
|
|
492
|
+
export { type NumberCreateResponse as NumberCreateResponse, type NumberRetrieveResponse as NumberRetrieveResponse, type NumberUpdateResponse as NumberUpdateResponse, type NumberListResponse as NumberListResponse, type NumberDeleteResponse as NumberDeleteResponse, type NumberCapacityResponse as NumberCapacityResponse, type NumberCountriesResponse as NumberCountriesResponse, type NumberCreateParams as NumberCreateParams, type NumberUpdateParams as NumberUpdateParams, type NumberListParams as NumberListParams, type NumberCapacityParams as NumberCapacityParams, };
|
|
389
493
|
export { Messages as Messages, type MessageListResponse as MessageListResponse, type MessageSendResponse as MessageSendResponse, type MessageListParams as MessageListParams, type MessageSendParams as MessageSendParams, };
|
|
390
494
|
}
|
|
391
495
|
//# sourceMappingURL=numbers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numbers.d.mts","sourceRoot":"","sources":["../../src/resources/numbers/numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,M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