@linqapp/sdk 0.80.0 → 0.82.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 +14 -0
- package/client.d.mts +77 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +77 -2
- package/client.d.ts.map +1 -1
- package/client.js +75 -0
- package/client.js.map +1 -1
- package/client.mjs +75 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/available-number.d.mts +13 -0
- package/resources/available-number.d.mts.map +1 -1
- package/resources/available-number.d.ts +13 -0
- package/resources/available-number.d.ts.map +1 -1
- package/resources/available-number.js +13 -0
- package/resources/available-number.js.map +1 -1
- package/resources/available-number.mjs +13 -0
- package/resources/available-number.mjs.map +1 -1
- package/resources/call-voice.d.mts +82 -0
- package/resources/call-voice.d.mts.map +1 -0
- package/resources/call-voice.d.ts +82 -0
- package/resources/call-voice.d.ts.map +1 -0
- package/resources/call-voice.js +35 -0
- package/resources/call-voice.js.map +1 -0
- package/resources/call-voice.mjs +31 -0
- package/resources/call-voice.mjs.map +1 -0
- package/resources/chats/chats.d.mts +16 -3
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +16 -3
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/messages.d.mts +10 -3
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts +10 -3
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/polls.d.mts +1 -1
- package/resources/chats/polls.d.ts +1 -1
- package/resources/contact-card.d.mts +8 -0
- package/resources/contact-card.d.mts.map +1 -1
- package/resources/contact-card.d.ts +8 -0
- package/resources/contact-card.d.ts.map +1 -1
- package/resources/contact-card.js +8 -0
- package/resources/contact-card.js.map +1 -1
- package/resources/contact-card.mjs +8 -0
- package/resources/contact-card.mjs.map +1 -1
- package/resources/index.d.mts +3 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +36 -18
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +36 -18
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +11 -5
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +11 -5
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/phone-numbers.d.mts +20 -0
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts +20 -0
- package/resources/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers.js +13 -0
- package/resources/phone-numbers.js.map +1 -1
- package/resources/phone-numbers.mjs +13 -0
- package/resources/phone-numbers.mjs.map +1 -1
- package/resources/phonenumbers.d.mts +13 -0
- package/resources/phonenumbers.d.mts.map +1 -1
- package/resources/phonenumbers.d.ts +13 -0
- package/resources/phonenumbers.d.ts.map +1 -1
- package/resources/phonenumbers.js +13 -0
- package/resources/phonenumbers.js.map +1 -1
- package/resources/phonenumbers.mjs +13 -0
- package/resources/phonenumbers.mjs.map +1 -1
- package/resources/shared.d.mts +17 -13
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +17 -13
- package/resources/shared.d.ts.map +1 -1
- package/resources/sip-profiles.d.mts +224 -0
- package/resources/sip-profiles.d.mts.map +1 -0
- package/resources/sip-profiles.d.ts +224 -0
- package/resources/sip-profiles.d.ts.map +1 -0
- package/resources/sip-profiles.js +168 -0
- package/resources/sip-profiles.js.map +1 -0
- package/resources/sip-profiles.mjs +164 -0
- package/resources/sip-profiles.mjs.map +1 -0
- package/resources/webhook-events.d.mts +1 -1
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +1 -1
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhooks.d.mts +534 -52
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +534 -52
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +121 -0
- package/src/resources/available-number.ts +13 -0
- package/src/resources/call-voice.ts +110 -0
- package/src/resources/chats/chats.ts +18 -3
- package/src/resources/chats/messages.ts +11 -3
- package/src/resources/chats/polls.ts +1 -1
- package/src/resources/contact-card.ts +8 -0
- package/src/resources/index.ts +23 -0
- package/src/resources/messages/messages.ts +37 -18
- package/src/resources/phone-numbers.ts +21 -0
- package/src/resources/phonenumbers.ts +13 -0
- package/src/resources/shared.ts +17 -13
- package/src/resources/sip-profiles.ts +282 -0
- package/src/resources/webhook-events.ts +1 -7
- package/src/resources/webhooks.ts +1273 -285
- 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
|
@@ -26,6 +26,10 @@ export declare class ContactCard extends APIResource {
|
|
|
26
26
|
* existing card is never overwritten by accident. Use `PATCH /v3/contact_card` to
|
|
27
27
|
* change it.
|
|
28
28
|
*
|
|
29
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
30
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
31
|
+
* help.
|
|
32
|
+
*
|
|
29
33
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
30
34
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
31
35
|
* wait.
|
|
@@ -66,6 +70,10 @@ export declare class ContactCard extends APIResource {
|
|
|
66
70
|
* The update did not reach the line, so the card is left not active — wait before
|
|
67
71
|
* retrying, because repeated attempts extend the rate limit.
|
|
68
72
|
*
|
|
73
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
74
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
75
|
+
* help.
|
|
76
|
+
*
|
|
69
77
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
70
78
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
71
79
|
* wait.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-card.d.ts","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"contact-card.d.ts","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;;;;;;;GAQG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;IAI3F;;;;;;;;OAQG;IACH,QAAQ,CACN,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAI1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;CAI9F;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,YAAY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Card extends resource_1.APIResource {
|
|
|
28
28
|
* existing card is never overwritten by accident. Use `PATCH /v3/contact_card` to
|
|
29
29
|
* change it.
|
|
30
30
|
*
|
|
31
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
32
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
33
|
+
* help.
|
|
34
|
+
*
|
|
31
35
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
32
36
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
33
37
|
* wait.
|
|
@@ -72,6 +76,10 @@ class ContactCard extends resource_1.APIResource {
|
|
|
72
76
|
* The update did not reach the line, so the card is left not active — wait before
|
|
73
77
|
* retrying, because repeated attempts extend the rate limit.
|
|
74
78
|
*
|
|
79
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
80
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
81
|
+
* help.
|
|
82
|
+
*
|
|
75
83
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
76
84
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
77
85
|
* wait.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-card.js","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"contact-card.js","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CACN,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,MAAM,CAAC,MAA+B,EAAE,OAAwB;QAC9D,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AA5FD,kCA4FC"}
|
|
@@ -25,6 +25,10 @@ export class ContactCard extends APIResource {
|
|
|
25
25
|
* existing card is never overwritten by accident. Use `PATCH /v3/contact_card` to
|
|
26
26
|
* change it.
|
|
27
27
|
*
|
|
28
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
29
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
30
|
+
* help.
|
|
31
|
+
*
|
|
28
32
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
29
33
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
30
34
|
* wait.
|
|
@@ -69,6 +73,10 @@ export class ContactCard extends APIResource {
|
|
|
69
73
|
* The update did not reach the line, so the card is left not active — wait before
|
|
70
74
|
* retrying, because repeated attempts extend the rate limit.
|
|
71
75
|
*
|
|
76
|
+
* Contact cards are an iMessage-only feature. On a non-iMessage (SMS/RCS) line the
|
|
77
|
+
* response is `403` (`2011`) — the card is not supported there and no retry will
|
|
78
|
+
* help.
|
|
79
|
+
*
|
|
72
80
|
* Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
|
|
73
81
|
* every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
|
|
74
82
|
* wait.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-card.mjs","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;;;;;;;GAQG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"contact-card.mjs","sourceRoot":"","sources":["../src/resources/contact-card.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;;;;;;;GAQG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;OAQG;IACH,QAAQ,CACN,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,MAAM,CAAC,MAA+B,EAAE,OAAwB;QAC9D,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./shared.mjs";
|
|
|
2
2
|
export { Attachments, type SupportedContentType, type AttachmentCreateResponse, type AttachmentRetrieveResponse, type AttachmentCreateParams, } from "./attachments.mjs";
|
|
3
3
|
export { AvailableNumber, type AvailableNumberRetrieveResponse, type AvailableNumberRetrieveParams, } from "./available-number.mjs";
|
|
4
4
|
export { BlockedHandles, type BlockedHandleEntry, type BlockedHandleListResponse, type BlockedHandleBlockResponse, type BlockedHandleBlockParams, type BlockedHandleUnblockParams, } from "./blocked-handles.mjs";
|
|
5
|
+
export { CallVoice, type CallVoiceRecord, type CallVoiceListResponse, type CallVoiceListParams, } from "./call-voice.mjs";
|
|
5
6
|
export { Capability, type HandleCheck, type HandleCheckResponse, type CapabilityCheckIMessageParams, type CapabilityCheckRCSParams, } from "./capability.mjs";
|
|
6
7
|
export { Chats, type Chat, type InlineSticker, type LinkPart, type MediaPart, type MessageContent, type TextPart, type ChatCreateResponse, type ChatUpdateResponse, type ChatLeaveChatResponse, type ChatSendVoicememoResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListChatsParams, type ChatSendVoicememoParams, type ChatsListChatsPagination, } from "./chats/chats.mjs";
|
|
7
8
|
export { ContactCard, type SetContactCard, type ContactCardRetrieveResponse, type ContactCardCreateParams, type ContactCardRetrieveParams, type ContactCardUpdateParams, } from "./contact-card.mjs";
|
|
@@ -15,7 +16,8 @@ export { PaymentRequests, type PaymentRequest, type PaymentRequestListResponse,
|
|
|
15
16
|
export { Payments, type Payment, type PaymentCredentialsResponse, type PaymentCreateParams, } from "./payments.mjs";
|
|
16
17
|
export { PhoneNumbers, type ReputationActionItem, type ReputationAudit, type ReputationAuditStarted, type ReputationDriver, type ReputationDriverKey, type ReputationEvidence, type ReputationOptOutChat, type ReputationReport, type ReputationUnhealthyChat, type PhoneNumberUpdateResponse, type PhoneNumberListResponse, type PhoneNumberUpdateParams, type PhoneNumberGetReputationAuditParams, } from "./phone-numbers.mjs";
|
|
17
18
|
export { Phonenumbers, type PhonenumberListResponse } from "./phonenumbers.mjs";
|
|
19
|
+
export { SipProfiles, type SipProfile, type SipProfileListResponse, type SipProfileAssignResponse, type SipProfileCreateParams, type SipProfileUpdateParams, type SipProfileAssignParams, } from "./sip-profiles.mjs";
|
|
18
20
|
export { WebhookEvents, type WebhookEventType, type WebhookEventListResponse } from "./webhook-events.mjs";
|
|
19
21
|
export { WebhookSubscriptions, type WebhookSubscription, type WebhookSubscriptionCreateResponse, type WebhookSubscriptionListResponse, type WebhookSubscriptionCreateParams, type WebhookSubscriptionUpdateParams, } from "./webhook-subscriptions.mjs";
|
|
20
|
-
export { Webhooks, type MessageEventV2, type MessagePayload, type ReactionEventBase, type SchemasMediaPartResponse, type SchemasMessageEffect, type SchemasTextPartResponse, type MessageSentWebhookEvent, type MessageReceivedWebhookEvent, type MessageReadWebhookEvent, type MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent, type MessageEditedWebhookEvent, type ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent, type PollSentWebhookEvent, type PollDeliveredWebhookEvent, type PollReadWebhookEvent, type PollUpdatedWebhookEvent, type PollFailedWebhookEvent, type PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent, type ContactCardReceivedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent, type PhoneNumberAssignedWebhookEvent, type PhoneNumberReleasedWebhookEvent, type ConnectionCreatedWebhookEvent, type ConnectionRevokedWebhookEvent, type LocationSharingStartedWebhookEvent, type LocationSharingStoppedWebhookEvent, type PaymentAuthorizedWebhookEvent, type PaymentCanceledWebhookEvent, type PaymentDeclinedWebhookEvent, type PaymentExpiredWebhookEvent, type PaymentSucceededWebhookEvent, type ZeroDayRetentionUpdatedWebhookEvent, type PhoneNumberForwardingUpdatedWebhookEvent, type EnvironmentLineMovedWebhookEvent, type ContactCardCreatedWebhookEvent, type ContactCardUpdatedWebhookEvent, type ContactCardDeletedWebhookEvent, type APITokenCreatedWebhookEvent, type APITokenRenamedWebhookEvent, type APITokenExpiryScheduledWebhookEvent, type APITokenExpiredWebhookEvent, type APITokenActivatedWebhookEvent, type APITokenDeletedWebhookEvent, type EnvironmentCreatedWebhookEvent, type EnvironmentRenamedWebhookEvent, type EnvironmentDeletedWebhookEvent, type WebhookSubscriptionCreatedWebhookEvent, type WebhookSubscriptionDeletedWebhookEvent, type WebhookSubscriptionTargetURLChangedWebhookEvent, type WebhookSubscriptionEnabledWebhookEvent, type WebhookSubscriptionDisabledWebhookEvent, type WebhookSubscriptionEventsUpdatedWebhookEvent, type WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent, type WebhookSubscriptionRoutingHeadersSetWebhookEvent, type WebhookSubscriptionRoutingHeadersClearedWebhookEvent, type TeamMemberAddedWebhookEvent, type TeamMemberSignedInWebhookEvent, type TeamMemberSignedOutWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.mjs";
|
|
22
|
+
export { Webhooks, type MessageEventV2, type MessagePayload, type ReactionEventBase, type SchemasMediaPartResponse, type SchemasMessageEffect, type SchemasTextPartResponse, type MessageSentWebhookEvent, type MessageReceivedWebhookEvent, type MessageReadWebhookEvent, type MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent, type MessageEditedWebhookEvent, type ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent, type PollSentWebhookEvent, type PollDeliveredWebhookEvent, type PollReadWebhookEvent, type PollUpdatedWebhookEvent, type PollFailedWebhookEvent, type PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent, type ContactCardReceivedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent, type PhoneNumberAssignedWebhookEvent, type PhoneNumberReleasedWebhookEvent, type PhoneNumberLineTypeUpdatedWebhookEvent, type ConnectionCreatedWebhookEvent, type ConnectionRevokedWebhookEvent, type LocationSharingStartedWebhookEvent, type LocationSharingStoppedWebhookEvent, type PaymentAuthorizedWebhookEvent, type PaymentCanceledWebhookEvent, type PaymentDeclinedWebhookEvent, type PaymentExpiredWebhookEvent, type PaymentSucceededWebhookEvent, type ZeroDayRetentionUpdatedWebhookEvent, type PhoneNumberForwardingUpdatedWebhookEvent, type EnvironmentLineMovedWebhookEvent, type ContactCardCreatedWebhookEvent, type ContactCardUpdatedWebhookEvent, type ContactCardDeletedWebhookEvent, type APITokenCreatedWebhookEvent, type APITokenRenamedWebhookEvent, type APITokenExpiryScheduledWebhookEvent, type APITokenExpiredWebhookEvent, type APITokenActivatedWebhookEvent, type APITokenDeletedWebhookEvent, type EnvironmentCreatedWebhookEvent, type EnvironmentRenamedWebhookEvent, type EnvironmentDeletedWebhookEvent, type WebhookSubscriptionCreatedWebhookEvent, type WebhookSubscriptionDeletedWebhookEvent, type WebhookSubscriptionTargetURLChangedWebhookEvent, type WebhookSubscriptionEnabledWebhookEvent, type WebhookSubscriptionDisabledWebhookEvent, type WebhookSubscriptionEventsUpdatedWebhookEvent, type WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent, type WebhookSubscriptionRoutingHeadersSetWebhookEvent, type WebhookSubscriptionRoutingHeadersClearedWebhookEvent, type TeamMemberAddedWebhookEvent, type TeamMemberSignedInWebhookEvent, type TeamMemberSignedOutWebhookEvent, type CallVoiceInitiatedWebhookEvent, type CallVoiceRingingWebhookEvent, type CallVoiceAnsweredWebhookEvent, type CallVoiceEndedWebhookEvent, type CallVoiceFailedWebhookEvent, type CallVoiceDeclinedWebhookEvent, type CallVoiceNoAnswerWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.mjs";
|
|
21
23
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,0BAAsB;AACvB,OAAO,EACL,eAAe,EACf,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,+BAA2B;AAC5B,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,GAChC,8BAA0B;AAC3B,OAAO,EACL,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,yBAAqB;AACtB,OAAO,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB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,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,EAC3C,KAAK,+CAA+C,EACpD,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,EACjD,KAAK,kDAAkD,EACvD,KAAK,gDAAgD,EACrD,KAAK,oDAAoD,EACzD,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,GACxB,uBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,0BAAsB;AACvB,OAAO,EACL,eAAe,EACf,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,+BAA2B;AAC5B,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,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AA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,EAC3C,KAAK,+CAA+C,EACpD,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,EACjD,KAAK,kDAAkD,EACvD,KAAK,gDAAgD,EACrD,KAAK,oDAAoD,EACzD,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,GACxB,uBAAmB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./shared.js";
|
|
|
2
2
|
export { Attachments, type SupportedContentType, type AttachmentCreateResponse, type AttachmentRetrieveResponse, type AttachmentCreateParams, } from "./attachments.js";
|
|
3
3
|
export { AvailableNumber, type AvailableNumberRetrieveResponse, type AvailableNumberRetrieveParams, } from "./available-number.js";
|
|
4
4
|
export { BlockedHandles, type BlockedHandleEntry, type BlockedHandleListResponse, type BlockedHandleBlockResponse, type BlockedHandleBlockParams, type BlockedHandleUnblockParams, } from "./blocked-handles.js";
|
|
5
|
+
export { CallVoice, type CallVoiceRecord, type CallVoiceListResponse, type CallVoiceListParams, } from "./call-voice.js";
|
|
5
6
|
export { Capability, type HandleCheck, type HandleCheckResponse, type CapabilityCheckIMessageParams, type CapabilityCheckRCSParams, } from "./capability.js";
|
|
6
7
|
export { Chats, type Chat, type InlineSticker, type LinkPart, type MediaPart, type MessageContent, type TextPart, type ChatCreateResponse, type ChatUpdateResponse, type ChatLeaveChatResponse, type ChatSendVoicememoResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListChatsParams, type ChatSendVoicememoParams, type ChatsListChatsPagination, } from "./chats/chats.js";
|
|
7
8
|
export { ContactCard, type SetContactCard, type ContactCardRetrieveResponse, type ContactCardCreateParams, type ContactCardRetrieveParams, type ContactCardUpdateParams, } from "./contact-card.js";
|
|
@@ -15,7 +16,8 @@ export { PaymentRequests, type PaymentRequest, type PaymentRequestListResponse,
|
|
|
15
16
|
export { Payments, type Payment, type PaymentCredentialsResponse, type PaymentCreateParams, } from "./payments.js";
|
|
16
17
|
export { PhoneNumbers, type ReputationActionItem, type ReputationAudit, type ReputationAuditStarted, type ReputationDriver, type ReputationDriverKey, type ReputationEvidence, type ReputationOptOutChat, type ReputationReport, type ReputationUnhealthyChat, type PhoneNumberUpdateResponse, type PhoneNumberListResponse, type PhoneNumberUpdateParams, type PhoneNumberGetReputationAuditParams, } from "./phone-numbers.js";
|
|
17
18
|
export { Phonenumbers, type PhonenumberListResponse } from "./phonenumbers.js";
|
|
19
|
+
export { SipProfiles, type SipProfile, type SipProfileListResponse, type SipProfileAssignResponse, type SipProfileCreateParams, type SipProfileUpdateParams, type SipProfileAssignParams, } from "./sip-profiles.js";
|
|
18
20
|
export { WebhookEvents, type WebhookEventType, type WebhookEventListResponse } from "./webhook-events.js";
|
|
19
21
|
export { WebhookSubscriptions, type WebhookSubscription, type WebhookSubscriptionCreateResponse, type WebhookSubscriptionListResponse, type WebhookSubscriptionCreateParams, type WebhookSubscriptionUpdateParams, } from "./webhook-subscriptions.js";
|
|
20
|
-
export { Webhooks, type MessageEventV2, type MessagePayload, type ReactionEventBase, type SchemasMediaPartResponse, type SchemasMessageEffect, type SchemasTextPartResponse, type MessageSentWebhookEvent, type MessageReceivedWebhookEvent, type MessageReadWebhookEvent, type MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent, type MessageEditedWebhookEvent, type ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent, type PollSentWebhookEvent, type PollDeliveredWebhookEvent, type PollReadWebhookEvent, type PollUpdatedWebhookEvent, type PollFailedWebhookEvent, type PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent, type ContactCardReceivedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent, type PhoneNumberAssignedWebhookEvent, type PhoneNumberReleasedWebhookEvent, type ConnectionCreatedWebhookEvent, type ConnectionRevokedWebhookEvent, type LocationSharingStartedWebhookEvent, type LocationSharingStoppedWebhookEvent, type PaymentAuthorizedWebhookEvent, type PaymentCanceledWebhookEvent, type PaymentDeclinedWebhookEvent, type PaymentExpiredWebhookEvent, type PaymentSucceededWebhookEvent, type ZeroDayRetentionUpdatedWebhookEvent, type PhoneNumberForwardingUpdatedWebhookEvent, type EnvironmentLineMovedWebhookEvent, type ContactCardCreatedWebhookEvent, type ContactCardUpdatedWebhookEvent, type ContactCardDeletedWebhookEvent, type APITokenCreatedWebhookEvent, type APITokenRenamedWebhookEvent, type APITokenExpiryScheduledWebhookEvent, type APITokenExpiredWebhookEvent, type APITokenActivatedWebhookEvent, type APITokenDeletedWebhookEvent, type EnvironmentCreatedWebhookEvent, type EnvironmentRenamedWebhookEvent, type EnvironmentDeletedWebhookEvent, type WebhookSubscriptionCreatedWebhookEvent, type WebhookSubscriptionDeletedWebhookEvent, type WebhookSubscriptionTargetURLChangedWebhookEvent, type WebhookSubscriptionEnabledWebhookEvent, type WebhookSubscriptionDisabledWebhookEvent, type WebhookSubscriptionEventsUpdatedWebhookEvent, type WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent, type WebhookSubscriptionRoutingHeadersSetWebhookEvent, type WebhookSubscriptionRoutingHeadersClearedWebhookEvent, type TeamMemberAddedWebhookEvent, type TeamMemberSignedInWebhookEvent, type TeamMemberSignedOutWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.js";
|
|
22
|
+
export { Webhooks, type MessageEventV2, type MessagePayload, type ReactionEventBase, type SchemasMediaPartResponse, type SchemasMessageEffect, type SchemasTextPartResponse, type MessageSentWebhookEvent, type MessageReceivedWebhookEvent, type MessageReadWebhookEvent, type MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent, type MessageEditedWebhookEvent, type ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent, type PollSentWebhookEvent, type PollDeliveredWebhookEvent, type PollReadWebhookEvent, type PollUpdatedWebhookEvent, type PollFailedWebhookEvent, type PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent, type ContactCardReceivedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent, type PhoneNumberAssignedWebhookEvent, type PhoneNumberReleasedWebhookEvent, type PhoneNumberLineTypeUpdatedWebhookEvent, type ConnectionCreatedWebhookEvent, type ConnectionRevokedWebhookEvent, type LocationSharingStartedWebhookEvent, type LocationSharingStoppedWebhookEvent, type PaymentAuthorizedWebhookEvent, type PaymentCanceledWebhookEvent, type PaymentDeclinedWebhookEvent, type PaymentExpiredWebhookEvent, type PaymentSucceededWebhookEvent, type ZeroDayRetentionUpdatedWebhookEvent, type PhoneNumberForwardingUpdatedWebhookEvent, type EnvironmentLineMovedWebhookEvent, type ContactCardCreatedWebhookEvent, type ContactCardUpdatedWebhookEvent, type ContactCardDeletedWebhookEvent, type APITokenCreatedWebhookEvent, type APITokenRenamedWebhookEvent, type APITokenExpiryScheduledWebhookEvent, type APITokenExpiredWebhookEvent, type APITokenActivatedWebhookEvent, type APITokenDeletedWebhookEvent, type EnvironmentCreatedWebhookEvent, type EnvironmentRenamedWebhookEvent, type EnvironmentDeletedWebhookEvent, type WebhookSubscriptionCreatedWebhookEvent, type WebhookSubscriptionDeletedWebhookEvent, type WebhookSubscriptionTargetURLChangedWebhookEvent, type WebhookSubscriptionEnabledWebhookEvent, type WebhookSubscriptionDisabledWebhookEvent, type WebhookSubscriptionEventsUpdatedWebhookEvent, type WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent, type WebhookSubscriptionRoutingHeadersSetWebhookEvent, type WebhookSubscriptionRoutingHeadersClearedWebhookEvent, type TeamMemberAddedWebhookEvent, type TeamMemberSignedInWebhookEvent, type TeamMemberSignedOutWebhookEvent, type CallVoiceInitiatedWebhookEvent, type CallVoiceRingingWebhookEvent, type CallVoiceAnsweredWebhookEvent, type CallVoiceEndedWebhookEvent, type CallVoiceFailedWebhookEvent, type CallVoiceDeclinedWebhookEvent, type CallVoiceNoAnswerWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.js";
|
|
21
23
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,yBAAsB;AACvB,OAAO,EACL,eAAe,EACf,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,8BAA2B;AAC5B,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,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AK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,kBAAkB,GACxB,sBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,yBAAsB;AACvB,OAAO,EACL,eAAe,EACf,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,8BAA2B;AAC5B,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,GAChC,6BAA0B;AAC3B,OAAO,EACL,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,wBAAqB;AACtB,OAAO,EACL,UAAU,EACV,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,GAC9B,wBAAqB;AACtB,OAAO,EACL,KAAK,EACL,KAAK,IAAI,EACT,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,GAC9B,yBAAsB;AACvB,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,GAC7B,0BAAuB;AACxB,OAAO,EAAE,WAAW,E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,KAAK,sCAAsC,EAC3C,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,EAC3C,KAAK,+CAA+C,EACpD,KAAK,sCAAsC,EAC3C,KAAK,uCAAuC,EAC5C,KAAK,4CAA4C,EACjD,KAAK,kDAAkD,EACvD,KAAK,gDAAgD,EACrD,KAAK,oDAAoD,EACzD,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,GACxB,sBAAmB"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Webhooks = exports.WebhookSubscriptions = exports.WebhookEvents = exports.Phonenumbers = exports.PhoneNumbers = exports.Payments = exports.PaymentRequests = exports.PaymentProviders = exports.PaymentHandles = exports.Messages = exports.LinkPayments = exports.LinkConnections = exports.Experiences = exports.ContactCard = exports.Chats = exports.Capability = exports.BlockedHandles = exports.AvailableNumber = exports.Attachments = void 0;
|
|
4
|
+
exports.Webhooks = exports.WebhookSubscriptions = exports.WebhookEvents = exports.SipProfiles = exports.Phonenumbers = exports.PhoneNumbers = exports.Payments = exports.PaymentRequests = exports.PaymentProviders = exports.PaymentHandles = exports.Messages = exports.LinkPayments = exports.LinkConnections = exports.Experiences = exports.ContactCard = exports.Chats = exports.Capability = exports.CallVoice = exports.BlockedHandles = exports.AvailableNumber = exports.Attachments = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var attachments_1 = require("./attachments.js");
|
|
@@ -10,6 +10,8 @@ var available_number_1 = require("./available-number.js");
|
|
|
10
10
|
Object.defineProperty(exports, "AvailableNumber", { enumerable: true, get: function () { return available_number_1.AvailableNumber; } });
|
|
11
11
|
var blocked_handles_1 = require("./blocked-handles.js");
|
|
12
12
|
Object.defineProperty(exports, "BlockedHandles", { enumerable: true, get: function () { return blocked_handles_1.BlockedHandles; } });
|
|
13
|
+
var call_voice_1 = require("./call-voice.js");
|
|
14
|
+
Object.defineProperty(exports, "CallVoice", { enumerable: true, get: function () { return call_voice_1.CallVoice; } });
|
|
13
15
|
var capability_1 = require("./capability.js");
|
|
14
16
|
Object.defineProperty(exports, "Capability", { enumerable: true, get: function () { return capability_1.Capability; } });
|
|
15
17
|
var chats_1 = require("./chats/chats.js");
|
|
@@ -36,6 +38,8 @@ var phone_numbers_1 = require("./phone-numbers.js");
|
|
|
36
38
|
Object.defineProperty(exports, "PhoneNumbers", { enumerable: true, get: function () { return phone_numbers_1.PhoneNumbers; } });
|
|
37
39
|
var phonenumbers_1 = require("./phonenumbers.js");
|
|
38
40
|
Object.defineProperty(exports, "Phonenumbers", { enumerable: true, get: function () { return phonenumbers_1.Phonenumbers; } });
|
|
41
|
+
var sip_profiles_1 = require("./sip-profiles.js");
|
|
42
|
+
Object.defineProperty(exports, "SipProfiles", { enumerable: true, get: function () { return sip_profiles_1.SipProfiles; } });
|
|
39
43
|
var webhook_events_1 = require("./webhook-events.js");
|
|
40
44
|
Object.defineProperty(exports, "WebhookEvents", { enumerable: true, get: function () { return webhook_events_1.WebhookEvents; } });
|
|
41
45
|
var webhook_subscriptions_1 = require("./webhook-subscriptions.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,wDAO2B;AANzB,iHAAA,cAAc,OAAA;AAOhB,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,0CAiBuB;AAhBrB,8FAAA,KAAK,OAAA;AAiBP,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,gDAA0G;AAAjG,0GAAA,WAAW,OAAA;AACpB,0DAAgF;AAAvE,mHAAA,eAAe,OAAA;AACxB,oDAAiE;AAAxD,6GAAA,YAAY,OAAA;AACrB,mDAgB6B;AAf3B,oGAAA,QAAQ,OAAA;AAgBV,wDAI2B;AAHzB,iHAAA,cAAc,OAAA;AAIhB,4DAK6B;AAJ3B,qHAAA,gBAAgB,OAAA;AAKlB,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,oDAeyB;AAdvB,6GAAA,YAAY,OAAA;AAed,kDAA4E;AAAnE,4GAAA,YAAY,OAAA;AACrB,sDAAuG;AAA9F,+GAAA,aAAa,OAAA;AACtB,oEAOiC;AAN/B,6HAAA,oBAAoB,OAAA;AAOtB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,gDAMuB;AALrB,0GAAA,WAAW,OAAA;AAMb,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,wDAO2B;AANzB,iHAAA,cAAc,OAAA;AAOhB,8CAKsB;AAJpB,uGAAA,SAAS,OAAA;AAKX,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,0CAiBuB;AAhBrB,8FAAA,KAAK,OAAA;AAiBP,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,gDAA0G;AAAjG,0GAAA,WAAW,OAAA;AACpB,0DAAgF;AAAvE,mHAAA,eAAe,OAAA;AACxB,oDAAiE;AAAxD,6GAAA,YAAY,OAAA;AACrB,mDAgB6B;AAf3B,oGAAA,QAAQ,OAAA;AAgBV,wDAI2B;AAHzB,iHAAA,cAAc,OAAA;AAIhB,4DAK6B;AAJ3B,qHAAA,gBAAgB,OAAA;AAKlB,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,0CAKoB;AAJlB,oGAAA,QAAQ,OAAA;AAKV,oDAeyB;AAdvB,6GAAA,YAAY,OAAA;AAed,kDAA4E;AAAnE,4GAAA,YAAY,OAAA;AACrB,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,sDAAuG;AAA9F,+GAAA,aAAa,OAAA;AACtB,oEAOiC;AAN/B,6HAAA,oBAAoB,OAAA;AAOtB,0CAqFoB;AApFlB,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./shared.mjs";
|
|
|
3
3
|
export { Attachments, } from "./attachments.mjs";
|
|
4
4
|
export { AvailableNumber, } from "./available-number.mjs";
|
|
5
5
|
export { BlockedHandles, } from "./blocked-handles.mjs";
|
|
6
|
+
export { CallVoice, } from "./call-voice.mjs";
|
|
6
7
|
export { Capability, } from "./capability.mjs";
|
|
7
8
|
export { Chats, } from "./chats/chats.mjs";
|
|
8
9
|
export { ContactCard, } from "./contact-card.mjs";
|
|
@@ -16,6 +17,7 @@ export { PaymentRequests, } from "./payment-requests.mjs";
|
|
|
16
17
|
export { Payments, } from "./payments.mjs";
|
|
17
18
|
export { PhoneNumbers, } from "./phone-numbers.mjs";
|
|
18
19
|
export { Phonenumbers } from "./phonenumbers.mjs";
|
|
20
|
+
export { SipProfiles, } from "./sip-profiles.mjs";
|
|
19
21
|
export { WebhookEvents } from "./webhook-events.mjs";
|
|
20
22
|
export { WebhookSubscriptions, } from "./webhook-subscriptions.mjs";
|
|
21
23
|
export { Webhooks, } from "./webhooks.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,WAAW,GAKZ,0BAAsB;AACvB,OAAO,EACL,eAAe,GAGhB,+BAA2B;AAC5B,OAAO,EACL,cAAc,GAMf,8BAA0B;AAC3B,OAAO,EACL,UAAU,GAKX,yBAAqB;AACtB,OAAO,EACL,KAAK,GAgBN,0BAAsB;AACvB,OAAO,EACL,WAAW,GAMZ,2BAAuB;AACxB,OAAO,EAAE,WAAW,EAAgE,0BAAsB;AAC1G,OAAO,EAAE,eAAe,EAA6B,+BAA2B;AAChF,OAAO,EAAE,YAAY,EAAoB,4BAAwB;AACjE,OAAO,EACL,QAAQ,GAeT,gCAA4B;AAC7B,OAAO,EACL,cAAc,GAGf,8BAA0B;AAC3B,OAAO,EACL,gBAAgB,GAIjB,gCAA4B;AAC7B,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EACL,YAAY,GAcb,4BAAwB;AACzB,OAAO,EAAE,YAAY,EAAgC,2BAAuB;AAC5E,OAAO,EAAE,aAAa,EAAwD,6BAAyB;AACvG,OAAO,EACL,oBAAoB,GAMrB,oCAAgC;AACjC,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,WAAW,GAKZ,0BAAsB;AACvB,OAAO,EACL,eAAe,GAGhB,+BAA2B;AAC5B,OAAO,EACL,cAAc,GAMf,8BAA0B;AAC3B,OAAO,EACL,SAAS,GAIV,yBAAqB;AACtB,OAAO,EACL,UAAU,GAKX,yBAAqB;AACtB,OAAO,EACL,KAAK,GAgBN,0BAAsB;AACvB,OAAO,EACL,WAAW,GAMZ,2BAAuB;AACxB,OAAO,EAAE,WAAW,EAAgE,0BAAsB;AAC1G,OAAO,EAAE,eAAe,EAA6B,+BAA2B;AAChF,OAAO,EAAE,YAAY,EAAoB,4BAAwB;AACjE,OAAO,EACL,QAAQ,GAeT,gCAA4B;AAC7B,OAAO,EACL,cAAc,GAGf,8BAA0B;AAC3B,OAAO,EACL,gBAAgB,GAIjB,gCAA4B;AAC7B,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,QAAQ,GAIT,uBAAmB;AACpB,OAAO,EACL,YAAY,GAcb,4BAAwB;AACzB,OAAO,EAAE,YAAY,EAAgC,2BAAuB;AAC5E,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EAAE,aAAa,EAAwD,6BAAyB;AACvG,OAAO,EACL,oBAAoB,GAMrB,oCAAgC;AACjC,OAAO,EACL,QAAQ,GAoFT,uBAAmB"}
|
|
@@ -128,11 +128,10 @@ export declare class Messages extends APIResource {
|
|
|
128
128
|
* - Voice memos are **not** supported here. To send an iMessage voice-memo bubble,
|
|
129
129
|
* use `POST /v3/chats/{chatId}/voicememo` with a known chat id.
|
|
130
130
|
*
|
|
131
|
-
* ##
|
|
131
|
+
* ## Effects, decorations, inline stickers
|
|
132
132
|
*
|
|
133
|
-
* Set `message.
|
|
134
|
-
*
|
|
135
|
-
* send endpoints.
|
|
133
|
+
* Set `message.effect` and per-part `text_decorations` and `inline_stickers`
|
|
134
|
+
* exactly as on the other send endpoints.
|
|
136
135
|
*
|
|
137
136
|
* Always responds `202 Accepted` — chat creation is incidental to the send.
|
|
138
137
|
*
|
|
@@ -206,7 +205,8 @@ export declare class Messages extends APIResource {
|
|
|
206
205
|
* - laugh 😂
|
|
207
206
|
* - emphasize ‼️
|
|
208
207
|
* - question ❓
|
|
209
|
-
* - custom - any emoji as a tapback (use `custom_emoji`
|
|
208
|
+
* - custom - any emoji or image as a tapback (use `custom_emoji` for an emoji, or
|
|
209
|
+
* `url` / `attachment_id` for an image)
|
|
210
210
|
* - sticker - an emoji or image peeled onto the message (use `emoji`, `url` or
|
|
211
211
|
* `attachment_id`)
|
|
212
212
|
*
|
|
@@ -215,12 +215,18 @@ export declare class Messages extends APIResource {
|
|
|
215
215
|
* `sticker` is peeled onto the bubble itself, and can be dragged, resized and
|
|
216
216
|
* rotated. Both accept an emoji; they do not look alike.
|
|
217
217
|
*
|
|
218
|
+
* **Image tapbacks** are iMessage-only. Remove one with `operation: "remove"` and
|
|
219
|
+
* `type: "custom"`; no image is needed.
|
|
220
|
+
*
|
|
218
221
|
* **Stickers** are iMessage-only and cannot be removed, so `operation: "remove"`
|
|
219
222
|
* with `type: "sticker"` is rejected. Position, size and rotation are optional via
|
|
220
223
|
* `placement`, and can be changed afterwards with
|
|
221
224
|
* `PATCH /v3/messages/{messageId}/reactions/{reactionId}`. An animated image peels
|
|
222
225
|
* as an animated sticker, in whatever shape the file already has.
|
|
223
226
|
*
|
|
227
|
+
* **Polls** take stickers only. Any tapback on a poll message — standard or
|
|
228
|
+
* `custom` — is rejected with a 400.
|
|
229
|
+
*
|
|
224
230
|
* @example
|
|
225
231
|
* ```ts
|
|
226
232
|
* const response = await client.messages.addReaction(
|
|
@@ -380,9 +386,9 @@ export interface Message {
|
|
|
380
386
|
*/
|
|
381
387
|
parts?: Array<Shared.TextPartResponse | Shared.MediaPartResponse | Shared.LinkPartResponse | Message.IMessageAppPartResponse | Message.AppClipPartResponse> | null;
|
|
382
388
|
/**
|
|
383
|
-
* Messaging service type. Where this names the transport a message
|
|
384
|
-
* per-message: a chat's own `service` can differ from a message in it,
|
|
385
|
-
* can downgrade an individual message.
|
|
389
|
+
* @deprecated Messaging service type. Where this names the transport a message
|
|
390
|
+
* used, it is per-message: a chat's own `service` can differ from a message in it,
|
|
391
|
+
* and Apple can downgrade an individual message.
|
|
386
392
|
*/
|
|
387
393
|
preferred_service?: Shared.ServiceType | null;
|
|
388
394
|
/**
|
|
@@ -727,6 +733,13 @@ export interface MessageCreateParams {
|
|
|
727
733
|
* of your available lines returns 400 when a line has to be picked.
|
|
728
734
|
*/
|
|
729
735
|
exclude_from?: Array<string>;
|
|
736
|
+
/**
|
|
737
|
+
* Body param: iMessage only. If the recipient has Do Not Disturb or another Focus
|
|
738
|
+
* on and the message is delivered silently, alert them anyway (iMessage's "Notify
|
|
739
|
+
* Anyway"). Best effort: ignored for SMS and RCS, and a no-op when the recipient
|
|
740
|
+
* was already notified.
|
|
741
|
+
*/
|
|
742
|
+
force_notify?: boolean;
|
|
730
743
|
/**
|
|
731
744
|
* Body param: Send even though the recipient asked you to stop (`403`, error code
|
|
732
745
|
* `2024`). Applies to this request only: the opt-out stays in place, so the next
|
|
@@ -775,21 +788,25 @@ export interface MessageAddReactionParams {
|
|
|
775
788
|
operation: 'add' | 'remove';
|
|
776
789
|
/**
|
|
777
790
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
778
|
-
* emphasize, question. Custom
|
|
779
|
-
* emoji in the custom_emoji field
|
|
780
|
-
*
|
|
791
|
+
* emphasize, question. Custom tapbacks have type "custom": an emoji tapback
|
|
792
|
+
* carries the emoji in the custom_emoji field, and an image tapback carries the
|
|
793
|
+
* image in the sticker field. Sticker reactions have type "sticker" with sticker
|
|
794
|
+
* attachment details in the sticker field.
|
|
781
795
|
*/
|
|
782
796
|
type: Shared.ReactionType;
|
|
783
797
|
/**
|
|
784
|
-
* Reference to
|
|
785
|
-
* when type
|
|
798
|
+
* Reference to an image pre-uploaded via `POST /v3/attachments`. Valid when type
|
|
799
|
+
* is "sticker", or when adding a type "custom" reaction to make it an image
|
|
800
|
+
* tapback.
|
|
786
801
|
*
|
|
787
802
|
* Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
788
803
|
* "sticker".
|
|
789
804
|
*/
|
|
790
805
|
attachment_id?: string;
|
|
791
806
|
/**
|
|
792
|
-
* Custom emoji string.
|
|
807
|
+
* Custom emoji string. When adding a type "custom" reaction, provide exactly one
|
|
808
|
+
* of `custom_emoji`, `url` or `attachment_id`. To remove an emoji reaction, pass
|
|
809
|
+
* the same `custom_emoji`.
|
|
793
810
|
*
|
|
794
811
|
* This is a **tapback** — the emoji sits in the tapback bubble on the corner of
|
|
795
812
|
* the message. To peel an emoji onto the message as a draggable sticker instead,
|
|
@@ -820,11 +837,12 @@ export interface MessageAddReactionParams {
|
|
|
820
837
|
*/
|
|
821
838
|
placement?: MessageAddReactionParams.Placement;
|
|
822
839
|
/**
|
|
823
|
-
* Linq attachment URL of the
|
|
824
|
-
* `POST /v3/attachments`.
|
|
840
|
+
* Linq attachment URL of the image — the `download_url` returned by
|
|
841
|
+
* `POST /v3/attachments`. Valid when type is "sticker", or when adding a type
|
|
842
|
+
* "custom" reaction to make it an image tapback.
|
|
825
843
|
*
|
|
826
|
-
* The image must already be stored with us. To
|
|
827
|
-
*
|
|
844
|
+
* The image must already be stored with us. To use an image from elsewhere, upload
|
|
845
|
+
* it with `POST /v3/attachments` first and pass `attachment_id`.
|
|
828
846
|
*
|
|
829
847
|
* Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
830
848
|
* "sticker".
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.mts","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD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AAE,MAAM,CAAC;QAElB;;;;;;;WAOG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,CAAC;QAEX;;;WAGG;QACH,CAAC,CAAC,EAAE,MAAM,CAAC;KACZ;CACF;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;IAEF,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -128,11 +128,10 @@ export declare class Messages extends APIResource {
|
|
|
128
128
|
* - Voice memos are **not** supported here. To send an iMessage voice-memo bubble,
|
|
129
129
|
* use `POST /v3/chats/{chatId}/voicememo` with a known chat id.
|
|
130
130
|
*
|
|
131
|
-
* ##
|
|
131
|
+
* ## Effects, decorations, inline stickers
|
|
132
132
|
*
|
|
133
|
-
* Set `message.
|
|
134
|
-
*
|
|
135
|
-
* send endpoints.
|
|
133
|
+
* Set `message.effect` and per-part `text_decorations` and `inline_stickers`
|
|
134
|
+
* exactly as on the other send endpoints.
|
|
136
135
|
*
|
|
137
136
|
* Always responds `202 Accepted` — chat creation is incidental to the send.
|
|
138
137
|
*
|
|
@@ -206,7 +205,8 @@ export declare class Messages extends APIResource {
|
|
|
206
205
|
* - laugh 😂
|
|
207
206
|
* - emphasize ‼️
|
|
208
207
|
* - question ❓
|
|
209
|
-
* - custom - any emoji as a tapback (use `custom_emoji`
|
|
208
|
+
* - custom - any emoji or image as a tapback (use `custom_emoji` for an emoji, or
|
|
209
|
+
* `url` / `attachment_id` for an image)
|
|
210
210
|
* - sticker - an emoji or image peeled onto the message (use `emoji`, `url` or
|
|
211
211
|
* `attachment_id`)
|
|
212
212
|
*
|
|
@@ -215,12 +215,18 @@ export declare class Messages extends APIResource {
|
|
|
215
215
|
* `sticker` is peeled onto the bubble itself, and can be dragged, resized and
|
|
216
216
|
* rotated. Both accept an emoji; they do not look alike.
|
|
217
217
|
*
|
|
218
|
+
* **Image tapbacks** are iMessage-only. Remove one with `operation: "remove"` and
|
|
219
|
+
* `type: "custom"`; no image is needed.
|
|
220
|
+
*
|
|
218
221
|
* **Stickers** are iMessage-only and cannot be removed, so `operation: "remove"`
|
|
219
222
|
* with `type: "sticker"` is rejected. Position, size and rotation are optional via
|
|
220
223
|
* `placement`, and can be changed afterwards with
|
|
221
224
|
* `PATCH /v3/messages/{messageId}/reactions/{reactionId}`. An animated image peels
|
|
222
225
|
* as an animated sticker, in whatever shape the file already has.
|
|
223
226
|
*
|
|
227
|
+
* **Polls** take stickers only. Any tapback on a poll message — standard or
|
|
228
|
+
* `custom` — is rejected with a 400.
|
|
229
|
+
*
|
|
224
230
|
* @example
|
|
225
231
|
* ```ts
|
|
226
232
|
* const response = await client.messages.addReaction(
|
|
@@ -380,9 +386,9 @@ export interface Message {
|
|
|
380
386
|
*/
|
|
381
387
|
parts?: Array<Shared.TextPartResponse | Shared.MediaPartResponse | Shared.LinkPartResponse | Message.IMessageAppPartResponse | Message.AppClipPartResponse> | null;
|
|
382
388
|
/**
|
|
383
|
-
* Messaging service type. Where this names the transport a message
|
|
384
|
-
* per-message: a chat's own `service` can differ from a message in it,
|
|
385
|
-
* can downgrade an individual message.
|
|
389
|
+
* @deprecated Messaging service type. Where this names the transport a message
|
|
390
|
+
* used, it is per-message: a chat's own `service` can differ from a message in it,
|
|
391
|
+
* and Apple can downgrade an individual message.
|
|
386
392
|
*/
|
|
387
393
|
preferred_service?: Shared.ServiceType | null;
|
|
388
394
|
/**
|
|
@@ -727,6 +733,13 @@ export interface MessageCreateParams {
|
|
|
727
733
|
* of your available lines returns 400 when a line has to be picked.
|
|
728
734
|
*/
|
|
729
735
|
exclude_from?: Array<string>;
|
|
736
|
+
/**
|
|
737
|
+
* Body param: iMessage only. If the recipient has Do Not Disturb or another Focus
|
|
738
|
+
* on and the message is delivered silently, alert them anyway (iMessage's "Notify
|
|
739
|
+
* Anyway"). Best effort: ignored for SMS and RCS, and a no-op when the recipient
|
|
740
|
+
* was already notified.
|
|
741
|
+
*/
|
|
742
|
+
force_notify?: boolean;
|
|
730
743
|
/**
|
|
731
744
|
* Body param: Send even though the recipient asked you to stop (`403`, error code
|
|
732
745
|
* `2024`). Applies to this request only: the opt-out stays in place, so the next
|
|
@@ -775,21 +788,25 @@ export interface MessageAddReactionParams {
|
|
|
775
788
|
operation: 'add' | 'remove';
|
|
776
789
|
/**
|
|
777
790
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
778
|
-
* emphasize, question. Custom
|
|
779
|
-
* emoji in the custom_emoji field
|
|
780
|
-
*
|
|
791
|
+
* emphasize, question. Custom tapbacks have type "custom": an emoji tapback
|
|
792
|
+
* carries the emoji in the custom_emoji field, and an image tapback carries the
|
|
793
|
+
* image in the sticker field. Sticker reactions have type "sticker" with sticker
|
|
794
|
+
* attachment details in the sticker field.
|
|
781
795
|
*/
|
|
782
796
|
type: Shared.ReactionType;
|
|
783
797
|
/**
|
|
784
|
-
* Reference to
|
|
785
|
-
* when type
|
|
798
|
+
* Reference to an image pre-uploaded via `POST /v3/attachments`. Valid when type
|
|
799
|
+
* is "sticker", or when adding a type "custom" reaction to make it an image
|
|
800
|
+
* tapback.
|
|
786
801
|
*
|
|
787
802
|
* Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
788
803
|
* "sticker".
|
|
789
804
|
*/
|
|
790
805
|
attachment_id?: string;
|
|
791
806
|
/**
|
|
792
|
-
* Custom emoji string.
|
|
807
|
+
* Custom emoji string. When adding a type "custom" reaction, provide exactly one
|
|
808
|
+
* of `custom_emoji`, `url` or `attachment_id`. To remove an emoji reaction, pass
|
|
809
|
+
* the same `custom_emoji`.
|
|
793
810
|
*
|
|
794
811
|
* This is a **tapback** — the emoji sits in the tapback bubble on the corner of
|
|
795
812
|
* the message. To peel an emoji onto the message as a draggable sticker instead,
|
|
@@ -820,11 +837,12 @@ export interface MessageAddReactionParams {
|
|
|
820
837
|
*/
|
|
821
838
|
placement?: MessageAddReactionParams.Placement;
|
|
822
839
|
/**
|
|
823
|
-
* Linq attachment URL of the
|
|
824
|
-
* `POST /v3/attachments`.
|
|
840
|
+
* Linq attachment URL of the image — the `download_url` returned by
|
|
841
|
+
* `POST /v3/attachments`. Valid when type is "sticker", or when adding a type
|
|
842
|
+
* "custom" reaction to make it an image tapback.
|
|
825
843
|
*
|
|
826
|
-
* The image must already be stored with us. To
|
|
827
|
-
*
|
|
844
|
+
* The image must already be stored with us. To use an image from elsewhere, upload
|
|
845
|
+
* it with `POST /v3/attachments` first and pass `attachment_id`.
|
|
828
846
|
*
|
|
829
847
|
* Exactly one of `emoji`, `url` or `attachment_id` is required when type is
|
|
830
848
|
* "sticker".
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/resources/messages/messages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,KAAK,QAAQ,0BAAuB;AAC3C,OAAO,KAAK,WAAW,6BAA0B;AACjD,OAAO,KAAK,OAAO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