@linqapp/sdk 0.53.0 → 0.54.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 +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js +2 -2
- package/client.js.map +1 -1
- package/client.mjs +2 -2
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/chats/chats.d.mts +12 -12
- package/resources/chats/chats.d.ts +12 -12
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/payment-requests.d.mts +2 -2
- package/resources/payment-requests.d.ts +2 -2
- package/resources/payment-requests.js +2 -2
- package/resources/payment-requests.mjs +2 -2
- package/resources/phone-numbers.d.mts +6 -4
- package/resources/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers.d.ts +6 -4
- package/resources/phone-numbers.d.ts.map +1 -1
- 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/webhook-subscriptions.d.mts +1 -1
- package/resources/webhook-subscriptions.d.ts +1 -1
- package/resources/webhook-subscriptions.js +1 -1
- package/resources/webhook-subscriptions.mjs +1 -1
- package/resources/webhooks.d.mts +108 -20
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +108 -20
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +4 -2
- package/src/resources/chats/chats.ts +12 -12
- package/src/resources/index.ts +1 -0
- package/src/resources/payment-requests.ts +2 -2
- package/src/resources/phone-numbers.ts +6 -4
- package/src/resources/webhook-events.ts +1 -1
- package/src/resources/webhook-subscriptions.ts +1 -1
- package/src/resources/webhooks.ts +121 -18
- 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
|
@@ -282,8 +282,8 @@ export interface Chat {
|
|
|
282
282
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
283
283
|
* rather than the status: a `403` is the authoritative answer.
|
|
284
284
|
*
|
|
285
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
286
|
-
* means and how to react.
|
|
285
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
286
|
+
* each status means and how to react.
|
|
287
287
|
*/
|
|
288
288
|
health_status: Chat.HealthStatus;
|
|
289
289
|
/**
|
|
@@ -320,8 +320,8 @@ export declare namespace Chat {
|
|
|
320
320
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
321
321
|
* rather than the status: a `403` is the authoritative answer.
|
|
322
322
|
*
|
|
323
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
324
|
-
* means and how to react.
|
|
323
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
324
|
+
* each status means and how to react.
|
|
325
325
|
*/
|
|
326
326
|
interface HealthStatus {
|
|
327
327
|
/**
|
|
@@ -330,8 +330,8 @@ export declare namespace Chat {
|
|
|
330
330
|
doc_url: string;
|
|
331
331
|
/**
|
|
332
332
|
* Current health bucket for the chat. See the
|
|
333
|
-
* [Chat Health guide](/guides/chats/chat-health) for what each
|
|
334
|
-
* to react. `doc_url` deep-links to the relevant section.
|
|
333
|
+
* [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what each
|
|
334
|
+
* value means and how to react. `doc_url` deep-links to the relevant section.
|
|
335
335
|
*
|
|
336
336
|
* `OPTED_OUT` — the recipient sent `STOP`, `UNSUBSCRIBE`, `OPTOUT`, `CANCEL`,
|
|
337
337
|
* `END`, or `QUIT`. The keyword must be the whole trimmed message, never part of a
|
|
@@ -798,8 +798,8 @@ export declare namespace ChatCreateResponse {
|
|
|
798
798
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
799
799
|
* rather than the status: a `403` is the authoritative answer.
|
|
800
800
|
*
|
|
801
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
802
|
-
* means and how to react.
|
|
801
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
802
|
+
* each status means and how to react.
|
|
803
803
|
*/
|
|
804
804
|
health_status: Chat.HealthStatus;
|
|
805
805
|
/**
|
|
@@ -827,8 +827,8 @@ export declare namespace ChatCreateResponse {
|
|
|
827
827
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
828
828
|
* rather than the status: a `403` is the authoritative answer.
|
|
829
829
|
*
|
|
830
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
831
|
-
* means and how to react.
|
|
830
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
831
|
+
* each status means and how to react.
|
|
832
832
|
*/
|
|
833
833
|
interface HealthStatus {
|
|
834
834
|
/**
|
|
@@ -837,8 +837,8 @@ export declare namespace ChatCreateResponse {
|
|
|
837
837
|
doc_url: string;
|
|
838
838
|
/**
|
|
839
839
|
* Current health bucket for the chat. See the
|
|
840
|
-
* [Chat Health guide](/guides/chats/chat-health) for what each
|
|
841
|
-
* to react. `doc_url` deep-links to the relevant section.
|
|
840
|
+
* [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what each
|
|
841
|
+
* value means and how to react. `doc_url` deep-links to the relevant section.
|
|
842
842
|
*
|
|
843
843
|
* `OPTED_OUT` — the recipient sent `STOP`, `UNSUBSCRIBE`, `OPTOUT`, `CANCEL`,
|
|
844
844
|
* `END`, or `QUIT`. The keyword must be the whole trimmed message, never part of a
|
package/resources/index.d.mts
CHANGED
|
@@ -17,5 +17,5 @@ export { PhoneNumbers, type ReputationActionItem, type ReputationAudit, type Rep
|
|
|
17
17
|
export { Phonenumbers, type PhonenumberListResponse } from "./phonenumbers.mjs";
|
|
18
18
|
export { WebhookEvents, type WebhookEventType, type WebhookEventListResponse } from "./webhook-events.mjs";
|
|
19
19
|
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 PhoneNumberStatusUpdatedWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.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 UnwrapWebhookEvent, } from "./webhooks.mjs";
|
|
21
21
|
//# 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,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KA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AAyB;AACvG,OAAO,EACL,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,GACrC,oCAAgC;AACjC,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,kBAAkB,GACxB,uBAAmB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -17,5 +17,5 @@ export { PhoneNumbers, type ReputationActionItem, type ReputationAudit, type Rep
|
|
|
17
17
|
export { Phonenumbers, type PhonenumberListResponse } from "./phonenumbers.js";
|
|
18
18
|
export { WebhookEvents, type WebhookEventType, type WebhookEventListResponse } from "./webhook-events.js";
|
|
19
19
|
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 PhoneNumberStatusUpdatedWebhookEvent, type UnwrapWebhookEvent, } from "./webhooks.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 UnwrapWebhookEvent, } from "./webhooks.js";
|
|
21
21
|
//# 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,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,GAChC,6BAA0B;AAC3B,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,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,g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AA+B,EACpC,KAAK,+BAA+B,GACrC,mCAAgC;AACjC,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,kBAAkB,GACxB,sBAAmB"}
|
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,0CAgBuB;AAfrB,8FAAA,KAAK,OAAA;AAgBP,kDAOwB;AANtB,2G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AdvB,6GAAA,YAAY,OAAA;AAed,kDAA4E;AAAnE,4GAAA,YAAY,OAAA;AACrB,sDAAuG;AAA9F,+GAAA,aAAa,OAAA;AACtB,oEAOiC;AAN/B,6HAAA,oBAAoB,OAAA;AAOtB,0CAuCoB;AAtClB,oGAAA,QAAQ,OAAA"}
|
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,GAeN,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,GAaT,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,UAAU,GAKX,yBAAqB;AACtB,OAAO,EACL,KAAK,GAeN,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,GAaT,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,GAsCT,uBAAmB"}
|
|
@@ -136,7 +136,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
136
136
|
* `POST /v3/chats/{chatId}/messages` — it renders as a rich card with your
|
|
137
137
|
* branding (title, amount, image) instead of a bare URL, which converts far
|
|
138
138
|
* better. A `link` part must be the only part in the message. See
|
|
139
|
-
* [Rich Link Previews](/guides/messaging/sending-messages).
|
|
139
|
+
* [Rich Link Previews](/channel/imessage/guides/messaging/sending-messages).
|
|
140
140
|
*
|
|
141
141
|
* On a supported iPhone the link opens an **Apple Pay App Clip** — a native,
|
|
142
142
|
* no-install checkout sheet. Everywhere else (Android, desktop, iPhones
|
|
@@ -186,7 +186,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
186
186
|
* Subscribe to payment lifecycle events to reconcile server-side rather than
|
|
187
187
|
* polling: `payment.succeeded`, `payment.canceled`, and `payment.expired`.
|
|
188
188
|
* Each event carries the payment request id, amount, currency, and your
|
|
189
|
-
* `metadata`. See [Webhooks](/guides/webhooks).
|
|
189
|
+
* `metadata`. See [Webhooks](/channel/imessage/guides/webhooks).
|
|
190
190
|
*/
|
|
191
191
|
export declare class PaymentRequests extends APIResource {
|
|
192
192
|
/**
|
|
@@ -136,7 +136,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
136
136
|
* `POST /v3/chats/{chatId}/messages` — it renders as a rich card with your
|
|
137
137
|
* branding (title, amount, image) instead of a bare URL, which converts far
|
|
138
138
|
* better. A `link` part must be the only part in the message. See
|
|
139
|
-
* [Rich Link Previews](/guides/messaging/sending-messages).
|
|
139
|
+
* [Rich Link Previews](/channel/imessage/guides/messaging/sending-messages).
|
|
140
140
|
*
|
|
141
141
|
* On a supported iPhone the link opens an **Apple Pay App Clip** — a native,
|
|
142
142
|
* no-install checkout sheet. Everywhere else (Android, desktop, iPhones
|
|
@@ -186,7 +186,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
186
186
|
* Subscribe to payment lifecycle events to reconcile server-side rather than
|
|
187
187
|
* polling: `payment.succeeded`, `payment.canceled`, and `payment.expired`.
|
|
188
188
|
* Each event carries the payment request id, amount, currency, and your
|
|
189
|
-
* `metadata`. See [Webhooks](/guides/webhooks).
|
|
189
|
+
* `metadata`. See [Webhooks](/channel/imessage/guides/webhooks).
|
|
190
190
|
*/
|
|
191
191
|
export declare class PaymentRequests extends APIResource {
|
|
192
192
|
/**
|
|
@@ -140,7 +140,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
140
140
|
* `POST /v3/chats/{chatId}/messages` — it renders as a rich card with your
|
|
141
141
|
* branding (title, amount, image) instead of a bare URL, which converts far
|
|
142
142
|
* better. A `link` part must be the only part in the message. See
|
|
143
|
-
* [Rich Link Previews](/guides/messaging/sending-messages).
|
|
143
|
+
* [Rich Link Previews](/channel/imessage/guides/messaging/sending-messages).
|
|
144
144
|
*
|
|
145
145
|
* On a supported iPhone the link opens an **Apple Pay App Clip** — a native,
|
|
146
146
|
* no-install checkout sheet. Everywhere else (Android, desktop, iPhones
|
|
@@ -190,7 +190,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
190
190
|
* Subscribe to payment lifecycle events to reconcile server-side rather than
|
|
191
191
|
* polling: `payment.succeeded`, `payment.canceled`, and `payment.expired`.
|
|
192
192
|
* Each event carries the payment request id, amount, currency, and your
|
|
193
|
-
* `metadata`. See [Webhooks](/guides/webhooks).
|
|
193
|
+
* `metadata`. See [Webhooks](/channel/imessage/guides/webhooks).
|
|
194
194
|
*/
|
|
195
195
|
class PaymentRequests extends resource_1.APIResource {
|
|
196
196
|
/**
|
|
@@ -137,7 +137,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
137
137
|
* `POST /v3/chats/{chatId}/messages` — it renders as a rich card with your
|
|
138
138
|
* branding (title, amount, image) instead of a bare URL, which converts far
|
|
139
139
|
* better. A `link` part must be the only part in the message. See
|
|
140
|
-
* [Rich Link Previews](/guides/messaging/sending-messages).
|
|
140
|
+
* [Rich Link Previews](/channel/imessage/guides/messaging/sending-messages).
|
|
141
141
|
*
|
|
142
142
|
* On a supported iPhone the link opens an **Apple Pay App Clip** — a native,
|
|
143
143
|
* no-install checkout sheet. Everywhere else (Android, desktop, iPhones
|
|
@@ -187,7 +187,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
187
187
|
* Subscribe to payment lifecycle events to reconcile server-side rather than
|
|
188
188
|
* polling: `payment.succeeded`, `payment.canceled`, and `payment.expired`.
|
|
189
189
|
* Each event carries the payment request id, amount, currency, and your
|
|
190
|
-
* `metadata`. See [Webhooks](/guides/webhooks).
|
|
190
|
+
* `metadata`. See [Webhooks](/channel/imessage/guides/webhooks).
|
|
191
191
|
*/
|
|
192
192
|
export class PaymentRequests extends APIResource {
|
|
193
193
|
/**
|
|
@@ -316,8 +316,9 @@ export declare namespace PhoneNumberListResponse {
|
|
|
316
316
|
* Unlike chat health, line reputation does not include `opted_out` — opt-out
|
|
317
317
|
* applies to individual recipients, not the whole line.
|
|
318
318
|
*
|
|
319
|
-
* See the
|
|
320
|
-
*
|
|
319
|
+
* See the
|
|
320
|
+
* [Phone Reputation guide](/channel/imessage/guides/phone-numbers/phone-reputation)
|
|
321
|
+
* for what each status means and how to react.
|
|
321
322
|
*/
|
|
322
323
|
reputation: PhoneNumber.Reputation;
|
|
323
324
|
/**
|
|
@@ -335,8 +336,9 @@ export declare namespace PhoneNumberListResponse {
|
|
|
335
336
|
* Unlike chat health, line reputation does not include `opted_out` — opt-out
|
|
336
337
|
* applies to individual recipients, not the whole line.
|
|
337
338
|
*
|
|
338
|
-
* See the
|
|
339
|
-
*
|
|
339
|
+
* See the
|
|
340
|
+
* [Phone Reputation guide](/channel/imessage/guides/phone-numbers/phone-reputation)
|
|
341
|
+
* for what each status means and how to react.
|
|
340
342
|
*/
|
|
341
343
|
interface Reputation {
|
|
342
344
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../src/resources/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,mCAAmC,EAC3C,OA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E,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;SAC5C;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -316,8 +316,9 @@ export declare namespace PhoneNumberListResponse {
|
|
|
316
316
|
* Unlike chat health, line reputation does not include `opted_out` — opt-out
|
|
317
317
|
* applies to individual recipients, not the whole line.
|
|
318
318
|
*
|
|
319
|
-
* See the
|
|
320
|
-
*
|
|
319
|
+
* See the
|
|
320
|
+
* [Phone Reputation guide](/channel/imessage/guides/phone-numbers/phone-reputation)
|
|
321
|
+
* for what each status means and how to react.
|
|
321
322
|
*/
|
|
322
323
|
reputation: PhoneNumber.Reputation;
|
|
323
324
|
/**
|
|
@@ -335,8 +336,9 @@ export declare namespace PhoneNumberListResponse {
|
|
|
335
336
|
* Unlike chat health, line reputation does not include `opted_out` — opt-out
|
|
336
337
|
* applies to individual recipients, not the whole line.
|
|
337
338
|
*
|
|
338
|
-
* See the
|
|
339
|
-
*
|
|
339
|
+
* See the
|
|
340
|
+
* [Phone Reputation guide](/channel/imessage/guides/phone-numbers/phone-reputation)
|
|
341
|
+
* for what each status means and how to react.
|
|
340
342
|
*/
|
|
341
343
|
interface Reputation {
|
|
342
344
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../src/resources/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAInE;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,mCAAmC,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAK9B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGxG;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,eAAe,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAA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,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -149,7 +149,7 @@ export interface WebhookEventListResponse {
|
|
|
149
149
|
/**
|
|
150
150
|
* URL to the webhook events documentation
|
|
151
151
|
*/
|
|
152
|
-
doc_url: 'https://docs.linqapp.com/guides/webhooks/events';
|
|
152
|
+
doc_url: 'https://docs.linqapp.com/channel/imessage/guides/webhooks/events';
|
|
153
153
|
/**
|
|
154
154
|
* List of all available webhook event types
|
|
155
155
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-events.d.mts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,WAAW,GACX,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,cAAc,GACd,yBAAyB,GACzB,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,6BAA6B,GAC7B,uBAAuB,GACvB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,0BAA0B,GAC1B,0BAA0B,GAC1B,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"webhook-events.d.mts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,WAAW,GACX,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,cAAc,GACd,yBAAyB,GACzB,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,6BAA6B,GAC7B,uBAAuB,GACvB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,0BAA0B,GAC1B,0BAA0B,GAC1B,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,EAAE,kEAAkE,CAAC;IAE5E;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -149,7 +149,7 @@ export interface WebhookEventListResponse {
|
|
|
149
149
|
/**
|
|
150
150
|
* URL to the webhook events documentation
|
|
151
151
|
*/
|
|
152
|
-
doc_url: 'https://docs.linqapp.com/guides/webhooks/events';
|
|
152
|
+
doc_url: 'https://docs.linqapp.com/channel/imessage/guides/webhooks/events';
|
|
153
153
|
/**
|
|
154
154
|
* List of all available webhook event types
|
|
155
155
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-events.d.ts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+HG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACxB,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,WAAW,GACX,cAAc,GACd,iBAAiB,GACjB,mBAAmB,GACnB,qBAAqB,GACrB,mBAAmB,GACnB,qBAAqB,GACrB,cAAc,GACd,yBAAyB,GACzB,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,yBAAyB,GACzB,+BAA+B,GAC/B,+BAA+B,GAC/B,+BAA+B,GAC/B,6BAA6B,GAC7B,uBAAuB,GACvB,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,0BAA0B,GAC1B,0BAA0B,GAC1B,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,CAAC;AAEzB,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"webhook-events.d.ts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4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,CAAC;IACrC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -156,7 +156,7 @@ export declare class WebhookSubscriptions extends APIResource {
|
|
|
156
156
|
* - Legacy `X-Webhook-*` headers are also sent for backwards compatibility
|
|
157
157
|
* (deprecated)
|
|
158
158
|
* - See
|
|
159
|
-
* [Verifying Webhook Signatures](https://docs.linqapp.com/guides/webhooks#verifying-webhook-signatures)
|
|
159
|
+
* [Verifying Webhook Signatures](https://docs.linqapp.com/channel/imessage/guides/webhooks#verifying-webhook-signatures)
|
|
160
160
|
* for verification details
|
|
161
161
|
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
162
162
|
* ~25 minutes with exponential backoff
|
|
@@ -156,7 +156,7 @@ export declare class WebhookSubscriptions extends APIResource {
|
|
|
156
156
|
* - Legacy `X-Webhook-*` headers are also sent for backwards compatibility
|
|
157
157
|
* (deprecated)
|
|
158
158
|
* - See
|
|
159
|
-
* [Verifying Webhook Signatures](https://docs.linqapp.com/guides/webhooks#verifying-webhook-signatures)
|
|
159
|
+
* [Verifying Webhook Signatures](https://docs.linqapp.com/channel/imessage/guides/webhooks#verifying-webhook-signatures)
|
|
160
160
|
* for verification details
|
|
161
161
|
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
162
162
|
* ~25 minutes with exponential backoff
|
|
@@ -159,7 +159,7 @@ class WebhookSubscriptions extends resource_1.APIResource {
|
|
|
159
159
|
* - Legacy `X-Webhook-*` headers are also sent for backwards compatibility
|
|
160
160
|
* (deprecated)
|
|
161
161
|
* - See
|
|
162
|
-
* [Verifying Webhook Signatures](https://docs.linqapp.com/guides/webhooks#verifying-webhook-signatures)
|
|
162
|
+
* [Verifying Webhook Signatures](https://docs.linqapp.com/channel/imessage/guides/webhooks#verifying-webhook-signatures)
|
|
163
163
|
* for verification details
|
|
164
164
|
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
165
165
|
* ~25 minutes with exponential backoff
|
|
@@ -156,7 +156,7 @@ export class WebhookSubscriptions extends APIResource {
|
|
|
156
156
|
* - Legacy `X-Webhook-*` headers are also sent for backwards compatibility
|
|
157
157
|
* (deprecated)
|
|
158
158
|
* - See
|
|
159
|
-
* [Verifying Webhook Signatures](https://docs.linqapp.com/guides/webhooks#verifying-webhook-signatures)
|
|
159
|
+
* [Verifying Webhook Signatures](https://docs.linqapp.com/channel/imessage/guides/webhooks#verifying-webhook-signatures)
|
|
160
160
|
* for verification details
|
|
161
161
|
* - Failed deliveries (5xx, 429, network errors) are retried up to 10 times over
|
|
162
162
|
* ~25 minutes with exponential backoff
|
package/resources/webhooks.d.mts
CHANGED
|
@@ -112,8 +112,8 @@ export declare namespace MessageEventV2 {
|
|
|
112
112
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
113
113
|
* rather than the status: a `403` is the authoritative answer.
|
|
114
114
|
*
|
|
115
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
116
|
-
* means and how to react.
|
|
115
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
116
|
+
* each status means and how to react.
|
|
117
117
|
*/
|
|
118
118
|
health_status: Chat.HealthStatus;
|
|
119
119
|
/**
|
|
@@ -137,8 +137,8 @@ export declare namespace MessageEventV2 {
|
|
|
137
137
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
138
138
|
* rather than the status: a `403` is the authoritative answer.
|
|
139
139
|
*
|
|
140
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
141
|
-
* means and how to react.
|
|
140
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
141
|
+
* each status means and how to react.
|
|
142
142
|
*/
|
|
143
143
|
interface HealthStatus {
|
|
144
144
|
/**
|
|
@@ -147,8 +147,8 @@ export declare namespace MessageEventV2 {
|
|
|
147
147
|
doc_url: string;
|
|
148
148
|
/**
|
|
149
149
|
* Current health bucket for the chat. See the
|
|
150
|
-
* [Chat Health guide](/guides/chats/chat-health) for what each
|
|
151
|
-
* to react. `doc_url` deep-links to the relevant section.
|
|
150
|
+
* [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what each
|
|
151
|
+
* value means and how to react. `doc_url` deep-links to the relevant section.
|
|
152
152
|
*
|
|
153
153
|
* `OPTED_OUT` — the recipient sent `STOP`, `UNSUBSCRIBE`, `OPTOUT`, `CANCEL`,
|
|
154
154
|
* `END`, or `QUIT`. The keyword must be the whole trimmed message, never part of a
|
|
@@ -1110,8 +1110,8 @@ export declare namespace MessageEditedWebhookEvent {
|
|
|
1110
1110
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
1111
1111
|
* rather than the status: a `403` is the authoritative answer.
|
|
1112
1112
|
*
|
|
1113
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
1114
|
-
* means and how to react.
|
|
1113
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
1114
|
+
* each status means and how to react.
|
|
1115
1115
|
*/
|
|
1116
1116
|
health_status: Chat.HealthStatus;
|
|
1117
1117
|
/**
|
|
@@ -1135,8 +1135,8 @@ export declare namespace MessageEditedWebhookEvent {
|
|
|
1135
1135
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
1136
1136
|
* rather than the status: a `403` is the authoritative answer.
|
|
1137
1137
|
*
|
|
1138
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
1139
|
-
* means and how to react.
|
|
1138
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
1139
|
+
* each status means and how to react.
|
|
1140
1140
|
*/
|
|
1141
1141
|
interface HealthStatus {
|
|
1142
1142
|
/**
|
|
@@ -1145,8 +1145,8 @@ export declare namespace MessageEditedWebhookEvent {
|
|
|
1145
1145
|
doc_url: string;
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Current health bucket for the chat. See the
|
|
1148
|
-
* [Chat Health guide](/guides/chats/chat-health) for what each
|
|
1149
|
-
* to react. `doc_url` deep-links to the relevant section.
|
|
1148
|
+
* [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what each
|
|
1149
|
+
* value means and how to react. `doc_url` deep-links to the relevant section.
|
|
1150
1150
|
*
|
|
1151
1151
|
* `OPTED_OUT` — the recipient sent `STOP`, `UNSUBSCRIBE`, `OPTOUT`, `CANCEL`,
|
|
1152
1152
|
* `END`, or `QUIT`. The keyword must be the whole trimmed message, never part of a
|
|
@@ -2322,8 +2322,8 @@ export declare namespace ChatCreatedWebhookEvent {
|
|
|
2322
2322
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
2323
2323
|
* rather than the status: a `403` is the authoritative answer.
|
|
2324
2324
|
*
|
|
2325
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
2326
|
-
* means and how to react.
|
|
2325
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
2326
|
+
* each status means and how to react.
|
|
2327
2327
|
*/
|
|
2328
2328
|
health_status: Data.HealthStatus;
|
|
2329
2329
|
/**
|
|
@@ -2351,8 +2351,8 @@ export declare namespace ChatCreatedWebhookEvent {
|
|
|
2351
2351
|
* relevant section of the Chat Health guide. To gate a send, act on the response
|
|
2352
2352
|
* rather than the status: a `403` is the authoritative answer.
|
|
2353
2353
|
*
|
|
2354
|
-
* See the [Chat Health guide](/guides/chats/chat-health) for what
|
|
2355
|
-
* means and how to react.
|
|
2354
|
+
* See the [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what
|
|
2355
|
+
* each status means and how to react.
|
|
2356
2356
|
*/
|
|
2357
2357
|
interface HealthStatus {
|
|
2358
2358
|
/**
|
|
@@ -2361,8 +2361,8 @@ export declare namespace ChatCreatedWebhookEvent {
|
|
|
2361
2361
|
doc_url: string;
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Current health bucket for the chat. See the
|
|
2364
|
-
* [Chat Health guide](/guides/chats/chat-health) for what each
|
|
2365
|
-
* to react. `doc_url` deep-links to the relevant section.
|
|
2364
|
+
* [Chat Health guide](/channel/imessage/guides/chats/chat-health) for what each
|
|
2365
|
+
* value means and how to react. `doc_url` deep-links to the relevant section.
|
|
2366
2366
|
*
|
|
2367
2367
|
* `OPTED_OUT` — the recipient sent `STOP`, `UNSUBSCRIBE`, `OPTOUT`, `CANCEL`,
|
|
2368
2368
|
* `END`, or `QUIT`. The keyword must be the whole trimmed message, never part of a
|
|
@@ -2960,6 +2960,94 @@ export declare namespace ChatBackgroundUpdateFailedWebhookEvent {
|
|
|
2960
2960
|
failed_at: string;
|
|
2961
2961
|
}
|
|
2962
2962
|
}
|
|
2963
|
+
/**
|
|
2964
|
+
* Complete webhook payload for contact_card.received events
|
|
2965
|
+
*/
|
|
2966
|
+
export interface ContactCardReceivedWebhookEvent {
|
|
2967
|
+
/**
|
|
2968
|
+
* API version for the webhook payload format
|
|
2969
|
+
*/
|
|
2970
|
+
api_version: string;
|
|
2971
|
+
/**
|
|
2972
|
+
* When the event was created
|
|
2973
|
+
*/
|
|
2974
|
+
created_at: string;
|
|
2975
|
+
/**
|
|
2976
|
+
* Payload for contact_card.received webhook events.
|
|
2977
|
+
*
|
|
2978
|
+
* A contact belongs to a line, not to an individual chat. You receive one event
|
|
2979
|
+
* per person who shares their contact, regardless of how many chats they have in
|
|
2980
|
+
* common with your line.
|
|
2981
|
+
*
|
|
2982
|
+
* The event fires again whenever the shared contact's name or media changes.
|
|
2983
|
+
*/
|
|
2984
|
+
data: ContactCardReceivedWebhookEvent.Data;
|
|
2985
|
+
/**
|
|
2986
|
+
* Unique identifier for this event (for deduplication)
|
|
2987
|
+
*/
|
|
2988
|
+
event_id: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* Valid webhook event types that can be subscribed to.
|
|
2991
|
+
*
|
|
2992
|
+
* **Note:** `message.edited` is only delivered to subscriptions using
|
|
2993
|
+
* `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
|
|
2994
|
+
* subscription will not produce any deliveries.
|
|
2995
|
+
*/
|
|
2996
|
+
event_type: WebhookEventsAPI.WebhookEventType;
|
|
2997
|
+
/**
|
|
2998
|
+
* Partner identifier. Present on all webhooks for cross-referencing.
|
|
2999
|
+
*/
|
|
3000
|
+
partner_id: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* Trace ID for debugging and correlation across systems.
|
|
3003
|
+
*/
|
|
3004
|
+
trace_id: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* Date-based webhook payload version. Determined by the `?version=` query
|
|
3007
|
+
* parameter in your webhook subscription URL. If no version parameter is
|
|
3008
|
+
* specified, defaults based on subscription creation date.
|
|
3009
|
+
*/
|
|
3010
|
+
webhook_version: string;
|
|
3011
|
+
}
|
|
3012
|
+
export declare namespace ContactCardReceivedWebhookEvent {
|
|
3013
|
+
/**
|
|
3014
|
+
* Payload for contact_card.received webhook events.
|
|
3015
|
+
*
|
|
3016
|
+
* A contact belongs to a line, not to an individual chat. You receive one event
|
|
3017
|
+
* per person who shares their contact, regardless of how many chats they have in
|
|
3018
|
+
* common with your line.
|
|
3019
|
+
*
|
|
3020
|
+
* The event fires again whenever the shared contact's name or media changes.
|
|
3021
|
+
*/
|
|
3022
|
+
interface Data {
|
|
3023
|
+
/**
|
|
3024
|
+
* First name from the shared contact card
|
|
3025
|
+
*/
|
|
3026
|
+
first_name: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* Last name from the shared contact card (may be empty)
|
|
3029
|
+
*/
|
|
3030
|
+
last_name: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* Which of your lines they shared it with.
|
|
3033
|
+
*/
|
|
3034
|
+
owner_handle: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* The person who shared their card — a phone number or email address.
|
|
3037
|
+
*/
|
|
3038
|
+
sender_handle: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* URL of the contact's media, served from `cdn.linqapp.com`. `null` when the
|
|
3041
|
+
* contact shared no media, and also when media was shared but could not be
|
|
3042
|
+
* retrieved — this field does not distinguish the two.
|
|
3043
|
+
*
|
|
3044
|
+
* Download the media and store it yourself. The URL may be signed and expire, in
|
|
3045
|
+
* as little as 45 minutes, and altering its query string invalidates it
|
|
3046
|
+
* immediately.
|
|
3047
|
+
*/
|
|
3048
|
+
media_url?: string | null;
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
2963
3051
|
/**
|
|
2964
3052
|
* Complete webhook payload for phone_number.status_updated events
|
|
2965
3053
|
*/
|
|
@@ -3033,8 +3121,8 @@ export declare namespace PhoneNumberStatusUpdatedWebhookEvent {
|
|
|
3033
3121
|
/**
|
|
3034
3122
|
* Complete webhook payload for message.sent events (2026-02-03 format)
|
|
3035
3123
|
*/
|
|
3036
|
-
export type UnwrapWebhookEvent = MessageSentWebhookEvent | MessageReceivedWebhookEvent | MessageReadWebhookEvent | MessageDeliveredWebhookEvent | MessageFailedWebhookEvent | MessageEditedWebhookEvent | ReactionAddedWebhookEvent | ReactionRemovedWebhookEvent | PollReceivedWebhookEvent | PollSentWebhookEvent | PollDeliveredWebhookEvent | PollReadWebhookEvent | PollUpdatedWebhookEvent | PollFailedWebhookEvent | PollVoteAddedWebhookEvent | PollVoteRemovedWebhookEvent | PollReactionAddedWebhookEvent | ParticipantAddedWebhookEvent | ParticipantRemovedWebhookEvent | ChatCreatedWebhookEvent | ChatGroupNameUpdatedWebhookEvent | ChatGroupIconUpdatedWebhookEvent | ChatGroupNameUpdateFailedWebhookEvent | ChatGroupIconUpdateFailedWebhookEvent | ChatTypingIndicatorStartedWebhookEvent | ChatTypingIndicatorStoppedWebhookEvent | ChatBackgroundUpdatedWebhookEvent | ChatBackgroundUpdateFailedWebhookEvent | PhoneNumberStatusUpdatedWebhookEvent;
|
|
3124
|
+
export type UnwrapWebhookEvent = MessageSentWebhookEvent | MessageReceivedWebhookEvent | MessageReadWebhookEvent | MessageDeliveredWebhookEvent | MessageFailedWebhookEvent | MessageEditedWebhookEvent | ReactionAddedWebhookEvent | ReactionRemovedWebhookEvent | PollReceivedWebhookEvent | PollSentWebhookEvent | PollDeliveredWebhookEvent | PollReadWebhookEvent | PollUpdatedWebhookEvent | PollFailedWebhookEvent | PollVoteAddedWebhookEvent | PollVoteRemovedWebhookEvent | PollReactionAddedWebhookEvent | ParticipantAddedWebhookEvent | ParticipantRemovedWebhookEvent | ChatCreatedWebhookEvent | ChatGroupNameUpdatedWebhookEvent | ChatGroupIconUpdatedWebhookEvent | ChatGroupNameUpdateFailedWebhookEvent | ChatGroupIconUpdateFailedWebhookEvent | ChatTypingIndicatorStartedWebhookEvent | ChatTypingIndicatorStoppedWebhookEvent | ChatBackgroundUpdatedWebhookEvent | ChatBackgroundUpdateFailedWebhookEvent | ContactCardReceivedWebhookEvent | PhoneNumberStatusUpdatedWebhookEvent;
|
|
3037
3125
|
export declare namespace Webhooks {
|
|
3038
|
-
export { type MessageEventV2 as MessageEventV2, type MessagePayload as MessagePayload, type ReactionEventBase as ReactionEventBase, type SchemasMediaPartResponse as SchemasMediaPartResponse, type SchemasMessageEffect as SchemasMessageEffect, type SchemasTextPartResponse as SchemasTextPartResponse, type MessageSentWebhookEvent as MessageSentWebhookEvent, type MessageReceivedWebhookEvent as MessageReceivedWebhookEvent, type MessageReadWebhookEvent as MessageReadWebhookEvent, type MessageDeliveredWebhookEvent as MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent as MessageFailedWebhookEvent, type MessageEditedWebhookEvent as MessageEditedWebhookEvent, type ReactionAddedWebhookEvent as ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent as ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent as PollReceivedWebhookEvent, type PollSentWebhookEvent as PollSentWebhookEvent, type PollDeliveredWebhookEvent as PollDeliveredWebhookEvent, type PollReadWebhookEvent as PollReadWebhookEvent, type PollUpdatedWebhookEvent as PollUpdatedWebhookEvent, type PollFailedWebhookEvent as PollFailedWebhookEvent, type PollVoteAddedWebhookEvent as PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent as PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent as PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent as ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent as ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent as ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent as ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent as ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent as ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent as ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent as ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent as ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent as ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent as ChatBackgroundUpdateFailedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent as PhoneNumberStatusUpdatedWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
3126
|
+
export { type MessageEventV2 as MessageEventV2, type MessagePayload as MessagePayload, type ReactionEventBase as ReactionEventBase, type SchemasMediaPartResponse as SchemasMediaPartResponse, type SchemasMessageEffect as SchemasMessageEffect, type SchemasTextPartResponse as SchemasTextPartResponse, type MessageSentWebhookEvent as MessageSentWebhookEvent, type MessageReceivedWebhookEvent as MessageReceivedWebhookEvent, type MessageReadWebhookEvent as MessageReadWebhookEvent, type MessageDeliveredWebhookEvent as MessageDeliveredWebhookEvent, type MessageFailedWebhookEvent as MessageFailedWebhookEvent, type MessageEditedWebhookEvent as MessageEditedWebhookEvent, type ReactionAddedWebhookEvent as ReactionAddedWebhookEvent, type ReactionRemovedWebhookEvent as ReactionRemovedWebhookEvent, type PollReceivedWebhookEvent as PollReceivedWebhookEvent, type PollSentWebhookEvent as PollSentWebhookEvent, type PollDeliveredWebhookEvent as PollDeliveredWebhookEvent, type PollReadWebhookEvent as PollReadWebhookEvent, type PollUpdatedWebhookEvent as PollUpdatedWebhookEvent, type PollFailedWebhookEvent as PollFailedWebhookEvent, type PollVoteAddedWebhookEvent as PollVoteAddedWebhookEvent, type PollVoteRemovedWebhookEvent as PollVoteRemovedWebhookEvent, type PollReactionAddedWebhookEvent as PollReactionAddedWebhookEvent, type ParticipantAddedWebhookEvent as ParticipantAddedWebhookEvent, type ParticipantRemovedWebhookEvent as ParticipantRemovedWebhookEvent, type ChatCreatedWebhookEvent as ChatCreatedWebhookEvent, type ChatGroupNameUpdatedWebhookEvent as ChatGroupNameUpdatedWebhookEvent, type ChatGroupIconUpdatedWebhookEvent as ChatGroupIconUpdatedWebhookEvent, type ChatGroupNameUpdateFailedWebhookEvent as ChatGroupNameUpdateFailedWebhookEvent, type ChatGroupIconUpdateFailedWebhookEvent as ChatGroupIconUpdateFailedWebhookEvent, type ChatTypingIndicatorStartedWebhookEvent as ChatTypingIndicatorStartedWebhookEvent, type ChatTypingIndicatorStoppedWebhookEvent as ChatTypingIndicatorStoppedWebhookEvent, type ChatBackgroundUpdatedWebhookEvent as ChatBackgroundUpdatedWebhookEvent, type ChatBackgroundUpdateFailedWebhookEvent as ChatBackgroundUpdateFailedWebhookEvent, type ContactCardReceivedWebhookEvent as ContactCardReceivedWebhookEvent, type PhoneNumberStatusUpdatedWebhookEvent as PhoneNumberStatusUpdatedWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
3039
3127
|
}
|
|
3040
3128
|
//# sourceMappingURL=webhooks.d.mts.map
|