@linqapp/sdk 0.53.1 → 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.
@@ -3539,6 +3539,107 @@ export namespace ChatBackgroundUpdateFailedWebhookEvent {
3539
3539
  }
3540
3540
  }
3541
3541
 
3542
+ /**
3543
+ * Complete webhook payload for contact_card.received events
3544
+ */
3545
+ export interface ContactCardReceivedWebhookEvent {
3546
+ /**
3547
+ * API version for the webhook payload format
3548
+ */
3549
+ api_version: string;
3550
+
3551
+ /**
3552
+ * When the event was created
3553
+ */
3554
+ created_at: string;
3555
+
3556
+ /**
3557
+ * Payload for contact_card.received webhook events.
3558
+ *
3559
+ * A contact belongs to a line, not to an individual chat. You receive one event
3560
+ * per person who shares their contact, regardless of how many chats they have in
3561
+ * common with your line.
3562
+ *
3563
+ * The event fires again whenever the shared contact's name or media changes.
3564
+ */
3565
+ data: ContactCardReceivedWebhookEvent.Data;
3566
+
3567
+ /**
3568
+ * Unique identifier for this event (for deduplication)
3569
+ */
3570
+ event_id: string;
3571
+
3572
+ /**
3573
+ * Valid webhook event types that can be subscribed to.
3574
+ *
3575
+ * **Note:** `message.edited` is only delivered to subscriptions using
3576
+ * `webhook_version: "2026-02-03"`. Subscribing to this event on a v2025
3577
+ * subscription will not produce any deliveries.
3578
+ */
3579
+ event_type: WebhookEventsAPI.WebhookEventType;
3580
+
3581
+ /**
3582
+ * Partner identifier. Present on all webhooks for cross-referencing.
3583
+ */
3584
+ partner_id: string;
3585
+
3586
+ /**
3587
+ * Trace ID for debugging and correlation across systems.
3588
+ */
3589
+ trace_id: string;
3590
+
3591
+ /**
3592
+ * Date-based webhook payload version. Determined by the `?version=` query
3593
+ * parameter in your webhook subscription URL. If no version parameter is
3594
+ * specified, defaults based on subscription creation date.
3595
+ */
3596
+ webhook_version: string;
3597
+ }
3598
+
3599
+ export namespace ContactCardReceivedWebhookEvent {
3600
+ /**
3601
+ * Payload for contact_card.received webhook events.
3602
+ *
3603
+ * A contact belongs to a line, not to an individual chat. You receive one event
3604
+ * per person who shares their contact, regardless of how many chats they have in
3605
+ * common with your line.
3606
+ *
3607
+ * The event fires again whenever the shared contact's name or media changes.
3608
+ */
3609
+ export interface Data {
3610
+ /**
3611
+ * First name from the shared contact card
3612
+ */
3613
+ first_name: string;
3614
+
3615
+ /**
3616
+ * Last name from the shared contact card (may be empty)
3617
+ */
3618
+ last_name: string;
3619
+
3620
+ /**
3621
+ * Which of your lines they shared it with.
3622
+ */
3623
+ owner_handle: string;
3624
+
3625
+ /**
3626
+ * The person who shared their card — a phone number or email address.
3627
+ */
3628
+ sender_handle: string;
3629
+
3630
+ /**
3631
+ * URL of the contact's media, served from `cdn.linqapp.com`. `null` when the
3632
+ * contact shared no media, and also when media was shared but could not be
3633
+ * retrieved — this field does not distinguish the two.
3634
+ *
3635
+ * Download the media and store it yourself. The URL may be signed and expire, in
3636
+ * as little as 45 minutes, and altering its query string invalidates it
3637
+ * immediately.
3638
+ */
3639
+ media_url?: string | null;
3640
+ }
3641
+ }
3642
+
3542
3643
  /**
3543
3644
  * Complete webhook payload for phone_number.status_updated events
3544
3645
  */
@@ -3701,6 +3802,7 @@ export type UnwrapWebhookEvent =
3701
3802
  | ChatTypingIndicatorStoppedWebhookEvent
3702
3803
  | ChatBackgroundUpdatedWebhookEvent
3703
3804
  | ChatBackgroundUpdateFailedWebhookEvent
3805
+ | ContactCardReceivedWebhookEvent
3704
3806
  | PhoneNumberStatusUpdatedWebhookEvent;
3705
3807
 
3706
3808
  export declare namespace Webhooks {
@@ -3739,6 +3841,7 @@ export declare namespace Webhooks {
3739
3841
  type ChatTypingIndicatorStoppedWebhookEvent as ChatTypingIndicatorStoppedWebhookEvent,
3740
3842
  type ChatBackgroundUpdatedWebhookEvent as ChatBackgroundUpdatedWebhookEvent,
3741
3843
  type ChatBackgroundUpdateFailedWebhookEvent as ChatBackgroundUpdateFailedWebhookEvent,
3844
+ type ContactCardReceivedWebhookEvent as ContactCardReceivedWebhookEvent,
3742
3845
  type PhoneNumberStatusUpdatedWebhookEvent as PhoneNumberStatusUpdatedWebhookEvent,
3743
3846
  type UnwrapWebhookEvent as UnwrapWebhookEvent,
3744
3847
  };
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.53.1'; // x-release-please-version
1
+ export const VERSION = '0.54.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.53.1";
1
+ export declare const VERSION = "0.54.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.53.1";
1
+ export declare const VERSION = "0.54.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.53.1'; // x-release-please-version
4
+ exports.VERSION = '0.54.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.53.1'; // x-release-please-version
1
+ export const VERSION = '0.54.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map