agentphone 1.0.9 → 1.0.11
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +22 -12
- package/dist/cjs/api/resources/agentSignup/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/agentSignup/client/Client.js +1 -1
- package/dist/cjs/api/resources/agents/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/agents/client/Client.js +1 -1
- package/dist/cjs/api/resources/agents/client/requests/CreateAgentRequest.d.ts +8 -0
- package/dist/cjs/api/resources/agents/client/requests/UpdateAgentRequest.d.ts +8 -0
- package/dist/cjs/api/resources/calls/client/Client.d.ts +20 -0
- package/dist/cjs/api/resources/calls/client/Client.js +56 -0
- package/dist/cjs/api/resources/calls/client/requests/EndCallV1CallsCallIdEndPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/calls/client/requests/EndCallV1CallsCallIdEndPostRequest.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/contactCards/client/Client.d.ts +61 -0
- package/dist/cjs/api/resources/contactCards/client/Client.js +229 -0
- package/dist/cjs/api/resources/contactCards/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/contactCards/client/index.js +17 -0
- package/dist/cjs/api/resources/contactCards/client/requests/ContactCardWriteRequest.d.ts +16 -0
- package/dist/cjs/api/resources/contactCards/client/requests/ContactCardWriteRequest.js +3 -0
- package/dist/cjs/api/resources/contactCards/client/requests/DeleteContactCardV1NumbersNumberIdContactCardDeleteRequest.d.ts +9 -0
- package/dist/cjs/api/resources/contactCards/client/requests/DeleteContactCardV1NumbersNumberIdContactCardDeleteRequest.js +3 -0
- package/dist/cjs/api/resources/contactCards/client/requests/GetContactCardV1NumbersNumberIdContactCardGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/contactCards/client/requests/GetContactCardV1NumbersNumberIdContactCardGetRequest.js +3 -0
- package/dist/cjs/api/resources/contactCards/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/contactCards/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/contactCards/index.d.ts +1 -0
- package/dist/cjs/api/resources/contactCards/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/Client.d.ts +39 -0
- package/dist/cjs/api/resources/conversations/client/Client.js +114 -0
- package/dist/cjs/api/resources/conversations/client/requests/RemoveChatBackgroundV1ConversationsConversationIdBackgroundDeleteRequest.d.ts +9 -0
- package/dist/cjs/api/resources/conversations/client/requests/RemoveChatBackgroundV1ConversationsConversationIdBackgroundDeleteRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/SetBackgroundRequest.d.ts +12 -0
- package/dist/cjs/api/resources/conversations/client/requests/SetBackgroundRequest.js +3 -0
- package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/index.js +5 -1
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +64 -0
- package/dist/cjs/api/resources/integrations/client/Client.js +268 -0
- package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/index.js +17 -0
- package/dist/cjs/api/resources/integrations/client/requests/SupabaseConnectIntegrationsSupabaseConnectGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/integrations/client/requests/SupabaseConnectIntegrationsSupabaseConnectGetRequest.js +3 -0
- package/dist/cjs/api/resources/integrations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/integrations/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/index.js +17 -0
- package/dist/cjs/api/resources/messages/client/Client.d.ts +10 -11
- package/dist/cjs/api/resources/messages/client/Client.js +10 -11
- package/dist/cjs/api/resources/messages/client/requests/SendMessageRequest.d.ts +22 -0
- package/dist/cjs/api/resources/messages/client/requests/SendMessageRequest.js +19 -0
- package/dist/cjs/api/resources/messages/client/requests/SendReactionRequest.d.ts +2 -1
- package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/messages/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/numbers/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/numbers/client/Client.js +4 -4
- package/dist/cjs/api/types/AgentResponse.d.ts +7 -0
- package/dist/cjs/api/types/ContactCardResponse.d.ts +6 -0
- package/dist/cjs/api/types/ContactCardResponse.js +3 -0
- package/dist/cjs/api/types/SendMessageResponse.d.ts +2 -0
- package/dist/cjs/api/types/SetBackgroundResponse.d.ts +8 -0
- package/dist/cjs/api/types/SetBackgroundResponse.js +3 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/resources/agentSignup/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/agentSignup/client/Client.mjs +1 -1
- package/dist/esm/api/resources/agents/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/agents/client/Client.mjs +1 -1
- package/dist/esm/api/resources/agents/client/requests/CreateAgentRequest.d.mts +8 -0
- package/dist/esm/api/resources/agents/client/requests/UpdateAgentRequest.d.mts +8 -0
- package/dist/esm/api/resources/calls/client/Client.d.mts +20 -0
- package/dist/esm/api/resources/calls/client/Client.mjs +56 -0
- package/dist/esm/api/resources/calls/client/requests/EndCallV1CallsCallIdEndPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/calls/client/requests/EndCallV1CallsCallIdEndPostRequest.mjs +2 -0
- package/dist/esm/api/resources/calls/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/contactCards/client/Client.d.mts +61 -0
- package/dist/esm/api/resources/contactCards/client/Client.mjs +192 -0
- package/dist/esm/api/resources/contactCards/client/index.d.mts +1 -0
- package/dist/esm/api/resources/contactCards/client/index.mjs +1 -0
- package/dist/esm/api/resources/contactCards/client/requests/ContactCardWriteRequest.d.mts +16 -0
- package/dist/esm/api/resources/contactCards/client/requests/ContactCardWriteRequest.mjs +2 -0
- package/dist/esm/api/resources/contactCards/client/requests/DeleteContactCardV1NumbersNumberIdContactCardDeleteRequest.d.mts +9 -0
- package/dist/esm/api/resources/contactCards/client/requests/DeleteContactCardV1NumbersNumberIdContactCardDeleteRequest.mjs +2 -0
- package/dist/esm/api/resources/contactCards/client/requests/GetContactCardV1NumbersNumberIdContactCardGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/contactCards/client/requests/GetContactCardV1NumbersNumberIdContactCardGetRequest.mjs +2 -0
- package/dist/esm/api/resources/contactCards/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/contactCards/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/contactCards/index.d.mts +1 -0
- package/dist/esm/api/resources/contactCards/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/Client.d.mts +39 -0
- package/dist/esm/api/resources/conversations/client/Client.mjs +114 -0
- package/dist/esm/api/resources/conversations/client/requests/RemoveChatBackgroundV1ConversationsConversationIdBackgroundDeleteRequest.d.mts +9 -0
- package/dist/esm/api/resources/conversations/client/requests/RemoveChatBackgroundV1ConversationsConversationIdBackgroundDeleteRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/SetBackgroundRequest.d.mts +12 -0
- package/dist/esm/api/resources/conversations/client/requests/SetBackgroundRequest.mjs +2 -0
- package/dist/esm/api/resources/conversations/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/index.mjs +4 -0
- package/dist/esm/api/resources/integrations/client/Client.d.mts +64 -0
- package/dist/esm/api/resources/integrations/client/Client.mjs +231 -0
- package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/client/requests/SupabaseConnectIntegrationsSupabaseConnectGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/integrations/client/requests/SupabaseConnectIntegrationsSupabaseConnectGetRequest.mjs +2 -0
- package/dist/esm/api/resources/integrations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/index.mjs +1 -0
- package/dist/esm/api/resources/messages/client/Client.d.mts +10 -11
- package/dist/esm/api/resources/messages/client/Client.mjs +10 -11
- package/dist/esm/api/resources/messages/client/requests/SendMessageRequest.d.mts +22 -0
- package/dist/esm/api/resources/messages/client/requests/SendMessageRequest.mjs +18 -1
- package/dist/esm/api/resources/messages/client/requests/SendReactionRequest.d.mts +2 -1
- package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/messages/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/numbers/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/numbers/client/Client.mjs +4 -4
- package/dist/esm/api/types/AgentResponse.d.mts +7 -0
- package/dist/esm/api/types/ContactCardResponse.d.mts +6 -0
- package/dist/esm/api/types/ContactCardResponse.mjs +2 -0
- package/dist/esm/api/types/SendMessageResponse.d.mts +2 -0
- package/dist/esm/api/types/SetBackgroundResponse.d.mts +8 -0
- package/dist/esm/api/types/SetBackgroundResponse.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +709 -44
package/reference.md
CHANGED
|
@@ -82,7 +82,7 @@ await client.agentSignup.agentSignUp({
|
|
|
82
82
|
|
|
83
83
|
Verify the OTP and atomically provision everything.
|
|
84
84
|
|
|
85
|
-
Creates: User + Project (+ mirrored Account) + starter hosted Agent +
|
|
85
|
+
Creates: User + Project (+ mirrored Account) + starter hosted Agent + phone number
|
|
86
86
|
+ first-month charge + API key. Returns the key once — agents must save it.
|
|
87
87
|
</dd>
|
|
88
88
|
</dl>
|
|
@@ -150,7 +150,7 @@ await client.agentSignup.agentVerify({
|
|
|
150
150
|
<dl>
|
|
151
151
|
<dd>
|
|
152
152
|
|
|
153
|
-
Return available voices
|
|
153
|
+
Return available voices from the configured voice provider.
|
|
154
154
|
</dd>
|
|
155
155
|
</dl>
|
|
156
156
|
</dd>
|
|
@@ -873,10 +873,10 @@ await client.numbers.listNumbers();
|
|
|
873
873
|
Provision a new SMS-enabled phone number.
|
|
874
874
|
|
|
875
875
|
1. Check number limit (lifetime limit)
|
|
876
|
-
2. Search
|
|
876
|
+
2. Search the account's configured SMS provider for available numbers
|
|
877
877
|
3. Purchase the first available one
|
|
878
|
-
4. Configure
|
|
879
|
-
5. Store in our database
|
|
878
|
+
4. Configure messaging and voice routing
|
|
879
|
+
5. Store the number in our database
|
|
880
880
|
</dd>
|
|
881
881
|
</dl>
|
|
882
882
|
</dd>
|
|
@@ -1009,7 +1009,7 @@ await client.numbers.getMessages({
|
|
|
1009
1009
|
Release (delete) a phone number.
|
|
1010
1010
|
|
|
1011
1011
|
This will:
|
|
1012
|
-
1. Release the number from
|
|
1012
|
+
1. Release the number from its upstream provider when supported
|
|
1013
1013
|
2. Mark the number as "released" in the database
|
|
1014
1014
|
3. Keep all messages and conversation history (for audit purposes)
|
|
1015
1015
|
|
|
@@ -2175,6 +2175,7 @@ await client.contacts.updateContact({
|
|
|
2175
2175
|
List all conversations for this account.
|
|
2176
2176
|
|
|
2177
2177
|
Sorted by most recent activity (lastMessageAt desc).
|
|
2178
|
+
Sorted by most recent activity.
|
|
2178
2179
|
</dd>
|
|
2179
2180
|
</dl>
|
|
2180
2181
|
</dd>
|
|
@@ -2494,6 +2495,144 @@ await client.conversations.sendTypingIndicator({
|
|
|
2494
2495
|
</dl>
|
|
2495
2496
|
|
|
2496
2497
|
|
|
2498
|
+
</dd>
|
|
2499
|
+
</dl>
|
|
2500
|
+
</details>
|
|
2501
|
+
|
|
2502
|
+
<details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">setChatBackground</a>({ ...params }) -> AgentPhone.SetBackgroundResponse</code></summary>
|
|
2503
|
+
<dl>
|
|
2504
|
+
<dd>
|
|
2505
|
+
|
|
2506
|
+
#### 📝 Description
|
|
2507
|
+
|
|
2508
|
+
<dl>
|
|
2509
|
+
<dd>
|
|
2510
|
+
|
|
2511
|
+
<dl>
|
|
2512
|
+
<dd>
|
|
2513
|
+
|
|
2514
|
+
Set a custom wallpaper for the chat (iMessage only).
|
|
2515
|
+
|
|
2516
|
+
Customer sends `image_url`; we fetch (≤10MB, JPEG/PNG/GIF/WebP/HEIC),
|
|
2517
|
+
validate, and forward as multipart to the iMessage provider. Idempotent —
|
|
2518
|
+
re-setting replaces. Recipients on iOS < 18 fall back to the default
|
|
2519
|
+
silently.
|
|
2520
|
+
</dd>
|
|
2521
|
+
</dl>
|
|
2522
|
+
</dd>
|
|
2523
|
+
</dl>
|
|
2524
|
+
|
|
2525
|
+
#### 🔌 Usage
|
|
2526
|
+
|
|
2527
|
+
<dl>
|
|
2528
|
+
<dd>
|
|
2529
|
+
|
|
2530
|
+
<dl>
|
|
2531
|
+
<dd>
|
|
2532
|
+
|
|
2533
|
+
```typescript
|
|
2534
|
+
await client.conversations.setChatBackground({
|
|
2535
|
+
conversation_id: "conversation_id",
|
|
2536
|
+
image_url: "https://example.com/wallpaper.jpg"
|
|
2537
|
+
});
|
|
2538
|
+
|
|
2539
|
+
```
|
|
2540
|
+
</dd>
|
|
2541
|
+
</dl>
|
|
2542
|
+
</dd>
|
|
2543
|
+
</dl>
|
|
2544
|
+
|
|
2545
|
+
#### ⚙️ Parameters
|
|
2546
|
+
|
|
2547
|
+
<dl>
|
|
2548
|
+
<dd>
|
|
2549
|
+
|
|
2550
|
+
<dl>
|
|
2551
|
+
<dd>
|
|
2552
|
+
|
|
2553
|
+
**request:** `AgentPhone.SetBackgroundRequest`
|
|
2554
|
+
|
|
2555
|
+
</dd>
|
|
2556
|
+
</dl>
|
|
2557
|
+
|
|
2558
|
+
<dl>
|
|
2559
|
+
<dd>
|
|
2560
|
+
|
|
2561
|
+
**requestOptions:** `ConversationsClient.RequestOptions`
|
|
2562
|
+
|
|
2563
|
+
</dd>
|
|
2564
|
+
</dl>
|
|
2565
|
+
</dd>
|
|
2566
|
+
</dl>
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
</dd>
|
|
2570
|
+
</dl>
|
|
2571
|
+
</details>
|
|
2572
|
+
|
|
2573
|
+
<details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">removeChatBackground</a>({ ...params }) -> void</code></summary>
|
|
2574
|
+
<dl>
|
|
2575
|
+
<dd>
|
|
2576
|
+
|
|
2577
|
+
#### 📝 Description
|
|
2578
|
+
|
|
2579
|
+
<dl>
|
|
2580
|
+
<dd>
|
|
2581
|
+
|
|
2582
|
+
<dl>
|
|
2583
|
+
<dd>
|
|
2584
|
+
|
|
2585
|
+
Clear the custom wallpaper for the chat (iMessage only).
|
|
2586
|
+
|
|
2587
|
+
Idempotent: deleting a default-background chat returns 204 (no-op).
|
|
2588
|
+
</dd>
|
|
2589
|
+
</dl>
|
|
2590
|
+
</dd>
|
|
2591
|
+
</dl>
|
|
2592
|
+
|
|
2593
|
+
#### 🔌 Usage
|
|
2594
|
+
|
|
2595
|
+
<dl>
|
|
2596
|
+
<dd>
|
|
2597
|
+
|
|
2598
|
+
<dl>
|
|
2599
|
+
<dd>
|
|
2600
|
+
|
|
2601
|
+
```typescript
|
|
2602
|
+
await client.conversations.removeChatBackground({
|
|
2603
|
+
conversation_id: "conversation_id"
|
|
2604
|
+
});
|
|
2605
|
+
|
|
2606
|
+
```
|
|
2607
|
+
</dd>
|
|
2608
|
+
</dl>
|
|
2609
|
+
</dd>
|
|
2610
|
+
</dl>
|
|
2611
|
+
|
|
2612
|
+
#### ⚙️ Parameters
|
|
2613
|
+
|
|
2614
|
+
<dl>
|
|
2615
|
+
<dd>
|
|
2616
|
+
|
|
2617
|
+
<dl>
|
|
2618
|
+
<dd>
|
|
2619
|
+
|
|
2620
|
+
**request:** `AgentPhone.RemoveChatBackgroundV1ConversationsConversationIdBackgroundDeleteRequest`
|
|
2621
|
+
|
|
2622
|
+
</dd>
|
|
2623
|
+
</dl>
|
|
2624
|
+
|
|
2625
|
+
<dl>
|
|
2626
|
+
<dd>
|
|
2627
|
+
|
|
2628
|
+
**requestOptions:** `ConversationsClient.RequestOptions`
|
|
2629
|
+
|
|
2630
|
+
</dd>
|
|
2631
|
+
</dl>
|
|
2632
|
+
</dd>
|
|
2633
|
+
</dl>
|
|
2634
|
+
|
|
2635
|
+
|
|
2497
2636
|
</dd>
|
|
2498
2637
|
</dl>
|
|
2499
2638
|
</details>
|
|
@@ -2775,6 +2914,76 @@ await client.calls.getCall({
|
|
|
2775
2914
|
</dl>
|
|
2776
2915
|
|
|
2777
2916
|
|
|
2917
|
+
</dd>
|
|
2918
|
+
</dl>
|
|
2919
|
+
</details>
|
|
2920
|
+
|
|
2921
|
+
<details><summary><code>client.calls.<a href="/src/api/resources/calls/client/Client.ts">endCall</a>({ ...params }) -> unknown</code></summary>
|
|
2922
|
+
<dl>
|
|
2923
|
+
<dd>
|
|
2924
|
+
|
|
2925
|
+
#### 📝 Description
|
|
2926
|
+
|
|
2927
|
+
<dl>
|
|
2928
|
+
<dd>
|
|
2929
|
+
|
|
2930
|
+
<dl>
|
|
2931
|
+
<dd>
|
|
2932
|
+
|
|
2933
|
+
Terminate an ongoing call.
|
|
2934
|
+
|
|
2935
|
+
Works for both hosted-mode and webhook-mode calls. The call_ended
|
|
2936
|
+
webhook from the voice provider updates status/endedAt asynchronously,
|
|
2937
|
+
so this endpoint returns the current call as soon as the stop request
|
|
2938
|
+
is accepted upstream.
|
|
2939
|
+
</dd>
|
|
2940
|
+
</dl>
|
|
2941
|
+
</dd>
|
|
2942
|
+
</dl>
|
|
2943
|
+
|
|
2944
|
+
#### 🔌 Usage
|
|
2945
|
+
|
|
2946
|
+
<dl>
|
|
2947
|
+
<dd>
|
|
2948
|
+
|
|
2949
|
+
<dl>
|
|
2950
|
+
<dd>
|
|
2951
|
+
|
|
2952
|
+
```typescript
|
|
2953
|
+
await client.calls.endCall({
|
|
2954
|
+
call_id: "call_id"
|
|
2955
|
+
});
|
|
2956
|
+
|
|
2957
|
+
```
|
|
2958
|
+
</dd>
|
|
2959
|
+
</dl>
|
|
2960
|
+
</dd>
|
|
2961
|
+
</dl>
|
|
2962
|
+
|
|
2963
|
+
#### ⚙️ Parameters
|
|
2964
|
+
|
|
2965
|
+
<dl>
|
|
2966
|
+
<dd>
|
|
2967
|
+
|
|
2968
|
+
<dl>
|
|
2969
|
+
<dd>
|
|
2970
|
+
|
|
2971
|
+
**request:** `AgentPhone.EndCallV1CallsCallIdEndPostRequest`
|
|
2972
|
+
|
|
2973
|
+
</dd>
|
|
2974
|
+
</dl>
|
|
2975
|
+
|
|
2976
|
+
<dl>
|
|
2977
|
+
<dd>
|
|
2978
|
+
|
|
2979
|
+
**requestOptions:** `CallsClient.RequestOptions`
|
|
2980
|
+
|
|
2981
|
+
</dd>
|
|
2982
|
+
</dl>
|
|
2983
|
+
</dd>
|
|
2984
|
+
</dl>
|
|
2985
|
+
|
|
2986
|
+
|
|
2778
2987
|
</dd>
|
|
2779
2988
|
</dl>
|
|
2780
2989
|
</details>
|
|
@@ -3375,8 +3584,8 @@ await client.usage.getUsageByAgent({
|
|
|
3375
3584
|
</dl>
|
|
3376
3585
|
</details>
|
|
3377
3586
|
|
|
3378
|
-
##
|
|
3379
|
-
<details><summary><code>client.
|
|
3587
|
+
## Integrations
|
|
3588
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">supabaseConnect</a>({ ...params }) -> unknown</code></summary>
|
|
3380
3589
|
<dl>
|
|
3381
3590
|
<dd>
|
|
3382
3591
|
|
|
@@ -3388,25 +3597,7 @@ await client.usage.getUsageByAgent({
|
|
|
3388
3597
|
<dl>
|
|
3389
3598
|
<dd>
|
|
3390
3599
|
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
Supports single attachments via `media_url` or multiple attachments via `media_urls`. You may use one or the other, but not both.
|
|
3394
|
-
|
|
3395
|
-
### Carousel / multi-image (iMessage)
|
|
3396
|
-
|
|
3397
|
-
To send a carousel of images on iMessage, pass 2-20 URLs in `media_urls`. Requirements:
|
|
3398
|
-
- Each URL must be a **publicly accessible HTTPS link** to an image (JPEG, PNG, GIF, etc.)
|
|
3399
|
-
- Minimum 2 URLs, maximum 20
|
|
3400
|
-
- `body` must be omitted or empty (text cannot be sent alongside a carousel)
|
|
3401
|
-
- Only supported on iMessage-capable lines
|
|
3402
|
-
|
|
3403
|
-
### Single attachment
|
|
3404
|
-
|
|
3405
|
-
Pass a single URL in `media_url`. The URL must be publicly accessible. Works across all channels.
|
|
3406
|
-
|
|
3407
|
-
### Multi-attachment (iMessage)
|
|
3408
|
-
|
|
3409
|
-
Some iMessage lines support multiple attachments (images and other file types) via `media_urls`. No minimum count; `body` can be included alongside attachments.
|
|
3600
|
+
Exchange a one-time connect code and redirect to Supabase OAuth.
|
|
3410
3601
|
</dd>
|
|
3411
3602
|
</dl>
|
|
3412
3603
|
</dd>
|
|
@@ -3421,10 +3612,8 @@ Some iMessage lines support multiple attachments (images and other file types) v
|
|
|
3421
3612
|
<dd>
|
|
3422
3613
|
|
|
3423
3614
|
```typescript
|
|
3424
|
-
await client.
|
|
3425
|
-
|
|
3426
|
-
to_number: "to_number",
|
|
3427
|
-
body: "body"
|
|
3615
|
+
await client.integrations.supabaseConnect({
|
|
3616
|
+
code: "code"
|
|
3428
3617
|
});
|
|
3429
3618
|
|
|
3430
3619
|
```
|
|
@@ -3441,7 +3630,7 @@ await client.messages.sendMessage({
|
|
|
3441
3630
|
<dl>
|
|
3442
3631
|
<dd>
|
|
3443
3632
|
|
|
3444
|
-
**request:** `AgentPhone.
|
|
3633
|
+
**request:** `AgentPhone.SupabaseConnectIntegrationsSupabaseConnectGetRequest`
|
|
3445
3634
|
|
|
3446
3635
|
</dd>
|
|
3447
3636
|
</dl>
|
|
@@ -3449,7 +3638,7 @@ await client.messages.sendMessage({
|
|
|
3449
3638
|
<dl>
|
|
3450
3639
|
<dd>
|
|
3451
3640
|
|
|
3452
|
-
**requestOptions:** `
|
|
3641
|
+
**requestOptions:** `IntegrationsClient.RequestOptions`
|
|
3453
3642
|
|
|
3454
3643
|
</dd>
|
|
3455
3644
|
</dl>
|
|
@@ -3461,7 +3650,7 @@ await client.messages.sendMessage({
|
|
|
3461
3650
|
</dl>
|
|
3462
3651
|
</details>
|
|
3463
3652
|
|
|
3464
|
-
<details><summary><code>client.
|
|
3653
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">supabaseConnectCode</a>() -> unknown</code></summary>
|
|
3465
3654
|
<dl>
|
|
3466
3655
|
<dd>
|
|
3467
3656
|
|
|
@@ -3473,10 +3662,7 @@ await client.messages.sendMessage({
|
|
|
3473
3662
|
<dl>
|
|
3474
3663
|
<dd>
|
|
3475
3664
|
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
Reactions are an iMessage feature. Attempting to react to a message
|
|
3479
|
-
sent via an SMS/Twilio number will return a clear error.
|
|
3665
|
+
Create a short-lived one-time code for initiating the Supabase OAuth flow.
|
|
3480
3666
|
</dd>
|
|
3481
3667
|
</dl>
|
|
3482
3668
|
</dd>
|
|
@@ -3491,10 +3677,7 @@ sent via an SMS/Twilio number will return a clear error.
|
|
|
3491
3677
|
<dd>
|
|
3492
3678
|
|
|
3493
3679
|
```typescript
|
|
3494
|
-
await client.
|
|
3495
|
-
message_id: "message_id",
|
|
3496
|
-
reaction: "reaction"
|
|
3497
|
-
});
|
|
3680
|
+
await client.integrations.supabaseConnectCode();
|
|
3498
3681
|
|
|
3499
3682
|
```
|
|
3500
3683
|
</dd>
|
|
@@ -3510,15 +3693,497 @@ await client.messages.sendReaction({
|
|
|
3510
3693
|
<dl>
|
|
3511
3694
|
<dd>
|
|
3512
3695
|
|
|
3513
|
-
**
|
|
3696
|
+
**requestOptions:** `IntegrationsClient.RequestOptions`
|
|
3514
3697
|
|
|
3515
3698
|
</dd>
|
|
3516
3699
|
</dl>
|
|
3700
|
+
</dd>
|
|
3701
|
+
</dl>
|
|
3702
|
+
|
|
3703
|
+
|
|
3704
|
+
</dd>
|
|
3705
|
+
</dl>
|
|
3706
|
+
</details>
|
|
3517
3707
|
|
|
3708
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">supabaseStatus</a>() -> unknown</code></summary>
|
|
3518
3709
|
<dl>
|
|
3519
3710
|
<dd>
|
|
3520
3711
|
|
|
3521
|
-
|
|
3712
|
+
#### 🔌 Usage
|
|
3713
|
+
|
|
3714
|
+
<dl>
|
|
3715
|
+
<dd>
|
|
3716
|
+
|
|
3717
|
+
<dl>
|
|
3718
|
+
<dd>
|
|
3719
|
+
|
|
3720
|
+
```typescript
|
|
3721
|
+
await client.integrations.supabaseStatus();
|
|
3722
|
+
|
|
3723
|
+
```
|
|
3724
|
+
</dd>
|
|
3725
|
+
</dl>
|
|
3726
|
+
</dd>
|
|
3727
|
+
</dl>
|
|
3728
|
+
|
|
3729
|
+
#### ⚙️ Parameters
|
|
3730
|
+
|
|
3731
|
+
<dl>
|
|
3732
|
+
<dd>
|
|
3733
|
+
|
|
3734
|
+
<dl>
|
|
3735
|
+
<dd>
|
|
3736
|
+
|
|
3737
|
+
**requestOptions:** `IntegrationsClient.RequestOptions`
|
|
3738
|
+
|
|
3739
|
+
</dd>
|
|
3740
|
+
</dl>
|
|
3741
|
+
</dd>
|
|
3742
|
+
</dl>
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
</dd>
|
|
3746
|
+
</dl>
|
|
3747
|
+
</details>
|
|
3748
|
+
|
|
3749
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">supabaseToken</a>() -> unknown</code></summary>
|
|
3750
|
+
<dl>
|
|
3751
|
+
<dd>
|
|
3752
|
+
|
|
3753
|
+
#### 📝 Description
|
|
3754
|
+
|
|
3755
|
+
<dl>
|
|
3756
|
+
<dd>
|
|
3757
|
+
|
|
3758
|
+
<dl>
|
|
3759
|
+
<dd>
|
|
3760
|
+
|
|
3761
|
+
Get a valid Supabase access token, auto-refreshing if expired.
|
|
3762
|
+
</dd>
|
|
3763
|
+
</dl>
|
|
3764
|
+
</dd>
|
|
3765
|
+
</dl>
|
|
3766
|
+
|
|
3767
|
+
#### 🔌 Usage
|
|
3768
|
+
|
|
3769
|
+
<dl>
|
|
3770
|
+
<dd>
|
|
3771
|
+
|
|
3772
|
+
<dl>
|
|
3773
|
+
<dd>
|
|
3774
|
+
|
|
3775
|
+
```typescript
|
|
3776
|
+
await client.integrations.supabaseToken();
|
|
3777
|
+
|
|
3778
|
+
```
|
|
3779
|
+
</dd>
|
|
3780
|
+
</dl>
|
|
3781
|
+
</dd>
|
|
3782
|
+
</dl>
|
|
3783
|
+
|
|
3784
|
+
#### ⚙️ Parameters
|
|
3785
|
+
|
|
3786
|
+
<dl>
|
|
3787
|
+
<dd>
|
|
3788
|
+
|
|
3789
|
+
<dl>
|
|
3790
|
+
<dd>
|
|
3791
|
+
|
|
3792
|
+
**requestOptions:** `IntegrationsClient.RequestOptions`
|
|
3793
|
+
|
|
3794
|
+
</dd>
|
|
3795
|
+
</dl>
|
|
3796
|
+
</dd>
|
|
3797
|
+
</dl>
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
</dd>
|
|
3801
|
+
</dl>
|
|
3802
|
+
</details>
|
|
3803
|
+
|
|
3804
|
+
<details><summary><code>client.integrations.<a href="/src/api/resources/integrations/client/Client.ts">supabaseDisconnect</a>() -> unknown</code></summary>
|
|
3805
|
+
<dl>
|
|
3806
|
+
<dd>
|
|
3807
|
+
|
|
3808
|
+
#### 🔌 Usage
|
|
3809
|
+
|
|
3810
|
+
<dl>
|
|
3811
|
+
<dd>
|
|
3812
|
+
|
|
3813
|
+
<dl>
|
|
3814
|
+
<dd>
|
|
3815
|
+
|
|
3816
|
+
```typescript
|
|
3817
|
+
await client.integrations.supabaseDisconnect();
|
|
3818
|
+
|
|
3819
|
+
```
|
|
3820
|
+
</dd>
|
|
3821
|
+
</dl>
|
|
3822
|
+
</dd>
|
|
3823
|
+
</dl>
|
|
3824
|
+
|
|
3825
|
+
#### ⚙️ Parameters
|
|
3826
|
+
|
|
3827
|
+
<dl>
|
|
3828
|
+
<dd>
|
|
3829
|
+
|
|
3830
|
+
<dl>
|
|
3831
|
+
<dd>
|
|
3832
|
+
|
|
3833
|
+
**requestOptions:** `IntegrationsClient.RequestOptions`
|
|
3834
|
+
|
|
3835
|
+
</dd>
|
|
3836
|
+
</dl>
|
|
3837
|
+
</dd>
|
|
3838
|
+
</dl>
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
</dd>
|
|
3842
|
+
</dl>
|
|
3843
|
+
</details>
|
|
3844
|
+
|
|
3845
|
+
## Messages
|
|
3846
|
+
<details><summary><code>client.messages.<a href="/src/api/resources/messages/client/Client.ts">sendMessage</a>({ ...params }) -> AgentPhone.SendMessageResponse</code></summary>
|
|
3847
|
+
<dl>
|
|
3848
|
+
<dd>
|
|
3849
|
+
|
|
3850
|
+
#### 📝 Description
|
|
3851
|
+
|
|
3852
|
+
<dl>
|
|
3853
|
+
<dd>
|
|
3854
|
+
|
|
3855
|
+
<dl>
|
|
3856
|
+
<dd>
|
|
3857
|
+
|
|
3858
|
+
Send an outbound message (SMS or iMessage) via the provider assigned to the number.
|
|
3859
|
+
|
|
3860
|
+
Attach media by passing public HTTPS URLs in `media_urls`.
|
|
3861
|
+
|
|
3862
|
+
### Single attachment
|
|
3863
|
+
|
|
3864
|
+
Pass a single-item array in `media_urls`. The URL must be publicly accessible.
|
|
3865
|
+
|
|
3866
|
+
### Carousel / multi-image (iMessage)
|
|
3867
|
+
|
|
3868
|
+
To send a carousel of images on iMessage, pass 2-20 URLs in `media_urls`. Requirements:
|
|
3869
|
+
- Each URL must be a **publicly accessible HTTPS link** to an image (JPEG, PNG, GIF, etc.)
|
|
3870
|
+
- Minimum 2 URLs, maximum 20
|
|
3871
|
+
- `body` must be omitted or empty (text cannot be sent alongside a carousel)
|
|
3872
|
+
- Only supported on iMessage-capable lines
|
|
3873
|
+
|
|
3874
|
+
> **Deprecation notice:** The `media_url` field (singular) is deprecated and will be removed in a future version. Use `media_urls` (array) instead — even for a single attachment, pass it as `media_urls: ["https://..."]`.
|
|
3875
|
+
</dd>
|
|
3876
|
+
</dl>
|
|
3877
|
+
</dd>
|
|
3878
|
+
</dl>
|
|
3879
|
+
|
|
3880
|
+
#### 🔌 Usage
|
|
3881
|
+
|
|
3882
|
+
<dl>
|
|
3883
|
+
<dd>
|
|
3884
|
+
|
|
3885
|
+
<dl>
|
|
3886
|
+
<dd>
|
|
3887
|
+
|
|
3888
|
+
```typescript
|
|
3889
|
+
await client.messages.sendMessage({
|
|
3890
|
+
agent_id: "agent_id",
|
|
3891
|
+
to_number: "to_number",
|
|
3892
|
+
body: "body"
|
|
3893
|
+
});
|
|
3894
|
+
|
|
3895
|
+
```
|
|
3896
|
+
</dd>
|
|
3897
|
+
</dl>
|
|
3898
|
+
</dd>
|
|
3899
|
+
</dl>
|
|
3900
|
+
|
|
3901
|
+
#### ⚙️ Parameters
|
|
3902
|
+
|
|
3903
|
+
<dl>
|
|
3904
|
+
<dd>
|
|
3905
|
+
|
|
3906
|
+
<dl>
|
|
3907
|
+
<dd>
|
|
3908
|
+
|
|
3909
|
+
**request:** `AgentPhone.SendMessageRequest`
|
|
3910
|
+
|
|
3911
|
+
</dd>
|
|
3912
|
+
</dl>
|
|
3913
|
+
|
|
3914
|
+
<dl>
|
|
3915
|
+
<dd>
|
|
3916
|
+
|
|
3917
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
3918
|
+
|
|
3919
|
+
</dd>
|
|
3920
|
+
</dl>
|
|
3921
|
+
</dd>
|
|
3922
|
+
</dl>
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
</dd>
|
|
3926
|
+
</dl>
|
|
3927
|
+
</details>
|
|
3928
|
+
|
|
3929
|
+
<details><summary><code>client.messages.<a href="/src/api/resources/messages/client/Client.ts">sendReaction</a>({ ...params }) -> AgentPhone.SendReactionResponse</code></summary>
|
|
3930
|
+
<dl>
|
|
3931
|
+
<dd>
|
|
3932
|
+
|
|
3933
|
+
#### 📝 Description
|
|
3934
|
+
|
|
3935
|
+
<dl>
|
|
3936
|
+
<dd>
|
|
3937
|
+
|
|
3938
|
+
<dl>
|
|
3939
|
+
<dd>
|
|
3940
|
+
|
|
3941
|
+
Send a tapback reaction to a message (iMessage only).
|
|
3942
|
+
|
|
3943
|
+
Reactions are available only for iMessage messages. Attempting to react
|
|
3944
|
+
to an SMS message or another channel that does not support tapbacks
|
|
3945
|
+
returns a clear error.
|
|
3946
|
+
</dd>
|
|
3947
|
+
</dl>
|
|
3948
|
+
</dd>
|
|
3949
|
+
</dl>
|
|
3950
|
+
|
|
3951
|
+
#### 🔌 Usage
|
|
3952
|
+
|
|
3953
|
+
<dl>
|
|
3954
|
+
<dd>
|
|
3955
|
+
|
|
3956
|
+
<dl>
|
|
3957
|
+
<dd>
|
|
3958
|
+
|
|
3959
|
+
```typescript
|
|
3960
|
+
await client.messages.sendReaction({
|
|
3961
|
+
message_id: "message_id",
|
|
3962
|
+
reaction: "love"
|
|
3963
|
+
});
|
|
3964
|
+
|
|
3965
|
+
```
|
|
3966
|
+
</dd>
|
|
3967
|
+
</dl>
|
|
3968
|
+
</dd>
|
|
3969
|
+
</dl>
|
|
3970
|
+
|
|
3971
|
+
#### ⚙️ Parameters
|
|
3972
|
+
|
|
3973
|
+
<dl>
|
|
3974
|
+
<dd>
|
|
3975
|
+
|
|
3976
|
+
<dl>
|
|
3977
|
+
<dd>
|
|
3978
|
+
|
|
3979
|
+
**request:** `AgentPhone.SendReactionRequest`
|
|
3980
|
+
|
|
3981
|
+
</dd>
|
|
3982
|
+
</dl>
|
|
3983
|
+
|
|
3984
|
+
<dl>
|
|
3985
|
+
<dd>
|
|
3986
|
+
|
|
3987
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
3988
|
+
|
|
3989
|
+
</dd>
|
|
3990
|
+
</dl>
|
|
3991
|
+
</dd>
|
|
3992
|
+
</dl>
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
</dd>
|
|
3996
|
+
</dl>
|
|
3997
|
+
</details>
|
|
3998
|
+
|
|
3999
|
+
## ContactCards
|
|
4000
|
+
<details><summary><code>client.contactCards.<a href="/src/api/resources/contactCards/client/Client.ts">getContactCard</a>({ ...params }) -> AgentPhone.ContactCardResponse</code></summary>
|
|
4001
|
+
<dl>
|
|
4002
|
+
<dd>
|
|
4003
|
+
|
|
4004
|
+
#### 📝 Description
|
|
4005
|
+
|
|
4006
|
+
<dl>
|
|
4007
|
+
<dd>
|
|
4008
|
+
|
|
4009
|
+
<dl>
|
|
4010
|
+
<dd>
|
|
4011
|
+
|
|
4012
|
+
Fetch the iMessage contact card set on this number.
|
|
4013
|
+
</dd>
|
|
4014
|
+
</dl>
|
|
4015
|
+
</dd>
|
|
4016
|
+
</dl>
|
|
4017
|
+
|
|
4018
|
+
#### 🔌 Usage
|
|
4019
|
+
|
|
4020
|
+
<dl>
|
|
4021
|
+
<dd>
|
|
4022
|
+
|
|
4023
|
+
<dl>
|
|
4024
|
+
<dd>
|
|
4025
|
+
|
|
4026
|
+
```typescript
|
|
4027
|
+
await client.contactCards.getContactCard({
|
|
4028
|
+
number_id: "number_id"
|
|
4029
|
+
});
|
|
4030
|
+
|
|
4031
|
+
```
|
|
4032
|
+
</dd>
|
|
4033
|
+
</dl>
|
|
4034
|
+
</dd>
|
|
4035
|
+
</dl>
|
|
4036
|
+
|
|
4037
|
+
#### ⚙️ Parameters
|
|
4038
|
+
|
|
4039
|
+
<dl>
|
|
4040
|
+
<dd>
|
|
4041
|
+
|
|
4042
|
+
<dl>
|
|
4043
|
+
<dd>
|
|
4044
|
+
|
|
4045
|
+
**request:** `AgentPhone.GetContactCardV1NumbersNumberIdContactCardGetRequest`
|
|
4046
|
+
|
|
4047
|
+
</dd>
|
|
4048
|
+
</dl>
|
|
4049
|
+
|
|
4050
|
+
<dl>
|
|
4051
|
+
<dd>
|
|
4052
|
+
|
|
4053
|
+
**requestOptions:** `ContactCardsClient.RequestOptions`
|
|
4054
|
+
|
|
4055
|
+
</dd>
|
|
4056
|
+
</dl>
|
|
4057
|
+
</dd>
|
|
4058
|
+
</dl>
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
</dd>
|
|
4062
|
+
</dl>
|
|
4063
|
+
</details>
|
|
4064
|
+
|
|
4065
|
+
<details><summary><code>client.contactCards.<a href="/src/api/resources/contactCards/client/Client.ts">putContactCard</a>({ ...params }) -> AgentPhone.ContactCardResponse</code></summary>
|
|
4066
|
+
<dl>
|
|
4067
|
+
<dd>
|
|
4068
|
+
|
|
4069
|
+
#### 📝 Description
|
|
4070
|
+
|
|
4071
|
+
<dl>
|
|
4072
|
+
<dd>
|
|
4073
|
+
|
|
4074
|
+
<dl>
|
|
4075
|
+
<dd>
|
|
4076
|
+
|
|
4077
|
+
Create or replace the iMessage contact card on this number.
|
|
4078
|
+
</dd>
|
|
4079
|
+
</dl>
|
|
4080
|
+
</dd>
|
|
4081
|
+
</dl>
|
|
4082
|
+
|
|
4083
|
+
#### 🔌 Usage
|
|
4084
|
+
|
|
4085
|
+
<dl>
|
|
4086
|
+
<dd>
|
|
4087
|
+
|
|
4088
|
+
<dl>
|
|
4089
|
+
<dd>
|
|
4090
|
+
|
|
4091
|
+
```typescript
|
|
4092
|
+
await client.contactCards.putContactCard({
|
|
4093
|
+
number_id: "number_id",
|
|
4094
|
+
firstName: "firstName",
|
|
4095
|
+
lastName: "lastName",
|
|
4096
|
+
avatarUrl: "avatarUrl"
|
|
4097
|
+
});
|
|
4098
|
+
|
|
4099
|
+
```
|
|
4100
|
+
</dd>
|
|
4101
|
+
</dl>
|
|
4102
|
+
</dd>
|
|
4103
|
+
</dl>
|
|
4104
|
+
|
|
4105
|
+
#### ⚙️ Parameters
|
|
4106
|
+
|
|
4107
|
+
<dl>
|
|
4108
|
+
<dd>
|
|
4109
|
+
|
|
4110
|
+
<dl>
|
|
4111
|
+
<dd>
|
|
4112
|
+
|
|
4113
|
+
**request:** `AgentPhone.ContactCardWriteRequest`
|
|
4114
|
+
|
|
4115
|
+
</dd>
|
|
4116
|
+
</dl>
|
|
4117
|
+
|
|
4118
|
+
<dl>
|
|
4119
|
+
<dd>
|
|
4120
|
+
|
|
4121
|
+
**requestOptions:** `ContactCardsClient.RequestOptions`
|
|
4122
|
+
|
|
4123
|
+
</dd>
|
|
4124
|
+
</dl>
|
|
4125
|
+
</dd>
|
|
4126
|
+
</dl>
|
|
4127
|
+
|
|
4128
|
+
|
|
4129
|
+
</dd>
|
|
4130
|
+
</dl>
|
|
4131
|
+
</details>
|
|
4132
|
+
|
|
4133
|
+
<details><summary><code>client.contactCards.<a href="/src/api/resources/contactCards/client/Client.ts">deleteContactCard</a>({ ...params }) -> void</code></summary>
|
|
4134
|
+
<dl>
|
|
4135
|
+
<dd>
|
|
4136
|
+
|
|
4137
|
+
#### 📝 Description
|
|
4138
|
+
|
|
4139
|
+
<dl>
|
|
4140
|
+
<dd>
|
|
4141
|
+
|
|
4142
|
+
<dl>
|
|
4143
|
+
<dd>
|
|
4144
|
+
|
|
4145
|
+
Remove the iMessage contact card from this number.
|
|
4146
|
+
</dd>
|
|
4147
|
+
</dl>
|
|
4148
|
+
</dd>
|
|
4149
|
+
</dl>
|
|
4150
|
+
|
|
4151
|
+
#### 🔌 Usage
|
|
4152
|
+
|
|
4153
|
+
<dl>
|
|
4154
|
+
<dd>
|
|
4155
|
+
|
|
4156
|
+
<dl>
|
|
4157
|
+
<dd>
|
|
4158
|
+
|
|
4159
|
+
```typescript
|
|
4160
|
+
await client.contactCards.deleteContactCard({
|
|
4161
|
+
number_id: "number_id"
|
|
4162
|
+
});
|
|
4163
|
+
|
|
4164
|
+
```
|
|
4165
|
+
</dd>
|
|
4166
|
+
</dl>
|
|
4167
|
+
</dd>
|
|
4168
|
+
</dl>
|
|
4169
|
+
|
|
4170
|
+
#### ⚙️ Parameters
|
|
4171
|
+
|
|
4172
|
+
<dl>
|
|
4173
|
+
<dd>
|
|
4174
|
+
|
|
4175
|
+
<dl>
|
|
4176
|
+
<dd>
|
|
4177
|
+
|
|
4178
|
+
**request:** `AgentPhone.DeleteContactCardV1NumbersNumberIdContactCardDeleteRequest`
|
|
4179
|
+
|
|
4180
|
+
</dd>
|
|
4181
|
+
</dl>
|
|
4182
|
+
|
|
4183
|
+
<dl>
|
|
4184
|
+
<dd>
|
|
4185
|
+
|
|
4186
|
+
**requestOptions:** `ContactCardsClient.RequestOptions`
|
|
3522
4187
|
|
|
3523
4188
|
</dd>
|
|
3524
4189
|
</dl>
|