@linqapp/sdk 0.56.0 → 0.57.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/client.d.mts +8 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +8 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +8 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +8 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/chats/chats.d.mts +6 -9
  12. package/resources/chats/chats.d.mts.map +1 -1
  13. package/resources/chats/chats.d.ts +6 -9
  14. package/resources/chats/chats.d.ts.map +1 -1
  15. package/resources/chats/chats.js.map +1 -1
  16. package/resources/chats/chats.mjs.map +1 -1
  17. package/resources/chats/messages.d.mts +13 -5
  18. package/resources/chats/messages.d.mts.map +1 -1
  19. package/resources/chats/messages.d.ts +13 -5
  20. package/resources/chats/messages.d.ts.map +1 -1
  21. package/resources/chats/messages.js +8 -0
  22. package/resources/chats/messages.js.map +1 -1
  23. package/resources/chats/messages.mjs +8 -0
  24. package/resources/chats/messages.mjs.map +1 -1
  25. package/resources/chats/polls.d.mts +8 -0
  26. package/resources/chats/polls.d.mts.map +1 -1
  27. package/resources/chats/polls.d.ts +8 -0
  28. package/resources/chats/polls.d.ts.map +1 -1
  29. package/resources/chats/polls.js +8 -0
  30. package/resources/chats/polls.js.map +1 -1
  31. package/resources/chats/polls.mjs +8 -0
  32. package/resources/chats/polls.mjs.map +1 -1
  33. package/resources/messages/messages.d.mts +13 -5
  34. package/resources/messages/messages.d.mts.map +1 -1
  35. package/resources/messages/messages.d.ts +13 -5
  36. package/resources/messages/messages.d.ts.map +1 -1
  37. package/resources/messages/messages.js +8 -0
  38. package/resources/messages/messages.js.map +1 -1
  39. package/resources/messages/messages.mjs +8 -0
  40. package/resources/messages/messages.mjs.map +1 -1
  41. package/resources/messages/poll.d.mts +8 -0
  42. package/resources/messages/poll.d.mts.map +1 -1
  43. package/resources/messages/poll.d.ts +8 -0
  44. package/resources/messages/poll.d.ts.map +1 -1
  45. package/resources/messages/poll.js +8 -0
  46. package/resources/messages/poll.js.map +1 -1
  47. package/resources/messages/poll.mjs +8 -0
  48. package/resources/messages/poll.mjs.map +1 -1
  49. package/src/client.ts +8 -0
  50. package/src/resources/chats/chats.ts +6 -9
  51. package/src/resources/chats/messages.ts +13 -5
  52. package/src/resources/chats/polls.ts +8 -0
  53. package/src/resources/messages/messages.ts +13 -5
  54. package/src/resources/messages/poll.ts +8 -0
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -22,6 +22,14 @@ import { RequestOptions } from "../../internal/request-options.js";
22
22
  * - A `link` part cannot be combined with other parts in the same message.
23
23
  * - Maximum URL length: 2,048 characters.
24
24
  *
25
+ * ## App Clips
26
+ *
27
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
28
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
29
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
30
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
31
+ * **Payments** section.
32
+ *
25
33
  * ## Ephemeral Messages (Privacy Tier)
26
34
  *
27
35
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../src/resources/messages/poll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA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
24
24
  * - A `link` part cannot be combined with other parts in the same message.
25
25
  * - Maximum URL length: 2,048 characters.
26
26
  *
27
+ * ## App Clips
28
+ *
29
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
30
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
31
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
32
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
33
+ * **Payments** section.
34
+ *
27
35
  * ## Ephemeral Messages (Privacy Tier)
28
36
  *
29
37
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"poll.js","sourceRoot":"","sources":["../../src/resources/messages/poll.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,OAAO,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CACR,SAAiB,EACjB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,SAAS,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,O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path } from "../../internal/utils/path.mjs";
21
21
  * - A `link` part cannot be combined with other parts in the same message.
22
22
  * - Maximum URL length: 2,048 characters.
23
23
  *
24
+ * ## App Clips
25
+ *
26
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
27
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
28
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
29
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
30
+ * **Payments** section.
31
+ *
24
32
  * ## Ephemeral Messages (Privacy Tier)
25
33
  *
26
34
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"poll.mjs","sourceRoot":"","sources":["../../src/resources/messages/poll.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,SAAS,OAAO,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,UAAU,CACR,SAAiB,EACjB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,I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EAAE,CAAC,CAAC;IAC7F,CAAC;CACF"}
package/src/client.ts CHANGED
@@ -970,6 +970,14 @@ export class LinqAPIV3 {
970
970
  * - A `link` part cannot be combined with other parts in the same message.
971
971
  * - Maximum URL length: 2,048 characters.
972
972
  *
973
+ * ## App Clips
974
+ *
975
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
976
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
977
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
978
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
979
+ * **Payments** section.
980
+ *
973
981
  * ## Ephemeral Messages (Privacy Tier)
974
982
  *
975
983
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -768,12 +768,8 @@ export namespace MessageContent {
768
768
  }
769
769
 
770
770
  /**
771
- * Sends a Linq checkout link as an Apple Pay App Clip card — the payment preview
772
- * with the **Open** button, rather than a plain link preview.
773
- *
774
- * Everything on the card — merchant name, amount, description, image — is composed
775
- * by Linq from the checkout session itself, the same content the checkout page
776
- * already shows. You supply only the link.
771
+ * Sends a **registered App Clip** not only Linq's Apple Pay checkout, but any
772
+ * partner's own App Clip. `caption` is optional.
777
773
  *
778
774
  * An `app_clip` part must be the **only** part in the message.
779
775
  *
@@ -783,13 +779,14 @@ export namespace MessageContent {
783
779
  */
784
780
  export interface AppClipPart {
785
781
  /**
786
- * Indicates this is an App Clip payment card
782
+ * Indicates this is an App Clip card
787
783
  */
788
784
  type: 'app_clip';
789
785
 
790
786
  /**
791
- * A Linq checkout link, e.g. one returned as `checkout_url` from
792
- * `POST /v3/payment_requests`. Any other URL is rejected.
787
+ * An https link whose page is a registered App Clip — Linq's checkout link (e.g.
788
+ * the `checkout_url` from `POST /v3/payment_requests`) or a partner's own App Clip
789
+ * URL. A URL that doesn't resolve to a sendable App Clip page is rejected.
793
790
  */
794
791
  value: string;
795
792
 
@@ -34,6 +34,14 @@ import { path } from '../../internal/utils/path';
34
34
  * - A `link` part cannot be combined with other parts in the same message.
35
35
  * - Maximum URL length: 2,048 characters.
36
36
  *
37
+ * ## App Clips
38
+ *
39
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
40
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
41
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
42
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
43
+ * **Payments** section.
44
+ *
37
45
  * ## Ephemeral Messages (Privacy Tier)
38
46
  *
39
47
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -377,7 +385,7 @@ export namespace SentMessage {
377
385
  }
378
386
 
379
387
  /**
380
- * An Apple Pay App Clip payment card part
388
+ * An App Clip card part
381
389
  */
382
390
  export interface AppClipPartResponse {
383
391
  /**
@@ -386,17 +394,17 @@ export namespace SentMessage {
386
394
  reactions: Array<Shared.Reaction> | null;
387
395
 
388
396
  /**
389
- * Indicates this is an App Clip payment card part
397
+ * Indicates this is an App Clip card part
390
398
  */
391
399
  type: 'app_clip';
392
400
 
393
401
  /**
394
- * The checkout link the card opens
402
+ * The App Clip link the card opens
395
403
  */
396
404
  value: string;
397
405
 
398
406
  /**
399
- * The card's summary line, composed by Linq from the checkout session
407
+ * The card's summary line, composed by Linq from the App Clip page
400
408
  */
401
409
  description?: string;
402
410
 
@@ -406,7 +414,7 @@ export namespace SentMessage {
406
414
  image_url?: string;
407
415
 
408
416
  /**
409
- * The card's headline, composed by Linq from the checkout session
417
+ * The card's headline, composed by Linq from the App Clip page
410
418
  */
411
419
  title?: string;
412
420
  }
@@ -26,6 +26,14 @@ import { path } from '../../internal/utils/path';
26
26
  * - A `link` part cannot be combined with other parts in the same message.
27
27
  * - Maximum URL length: 2,048 characters.
28
28
  *
29
+ * ## App Clips
30
+ *
31
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
32
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
33
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
34
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
35
+ * **Payments** section.
36
+ *
29
37
  * ## Ephemeral Messages (Privacy Tier)
30
38
  *
31
39
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -36,6 +36,14 @@ import { path } from '../../internal/utils/path';
36
36
  * - A `link` part cannot be combined with other parts in the same message.
37
37
  * - Maximum URL length: 2,048 characters.
38
38
  *
39
+ * ## App Clips
40
+ *
41
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
42
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
43
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
44
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
45
+ * **Payments** section.
46
+ *
39
47
  * ## Ephemeral Messages (Privacy Tier)
40
48
  *
41
49
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
@@ -573,7 +581,7 @@ export namespace Message {
573
581
  }
574
582
 
575
583
  /**
576
- * An Apple Pay App Clip payment card part
584
+ * An App Clip card part
577
585
  */
578
586
  export interface AppClipPartResponse {
579
587
  /**
@@ -582,17 +590,17 @@ export namespace Message {
582
590
  reactions: Array<Shared.Reaction> | null;
583
591
 
584
592
  /**
585
- * Indicates this is an App Clip payment card part
593
+ * Indicates this is an App Clip card part
586
594
  */
587
595
  type: 'app_clip';
588
596
 
589
597
  /**
590
- * The checkout link the card opens
598
+ * The App Clip link the card opens
591
599
  */
592
600
  value: string;
593
601
 
594
602
  /**
595
- * The card's summary line, composed by Linq from the checkout session
603
+ * The card's summary line, composed by Linq from the App Clip page
596
604
  */
597
605
  description?: string;
598
606
 
@@ -602,7 +610,7 @@ export namespace Message {
602
610
  image_url?: string;
603
611
 
604
612
  /**
605
- * The card's headline, composed by Linq from the checkout session
613
+ * The card's headline, composed by Linq from the App Clip page
606
614
  */
607
615
  title?: string;
608
616
  }
@@ -26,6 +26,14 @@ import { path } from '../../internal/utils/path';
26
26
  * - A `link` part cannot be combined with other parts in the same message.
27
27
  * - Maximum URL length: 2,048 characters.
28
28
  *
29
+ * ## App Clips
30
+ *
31
+ * An `app_clip` part sends a **registered App Clip** — not only Linq's Apple Pay
32
+ * checkout, but any partner's own App Clip. Like a `link` part it must be the
33
+ * **only** part in the message, and it is **iMessage only** — it never downgrades
34
+ * to SMS or RCS. The payment-checkout use of this part is covered in the
35
+ * **Payments** section.
36
+ *
29
37
  * ## Ephemeral Messages (Privacy Tier)
30
38
  *
31
39
  * For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.56.0'; // x-release-please-version
1
+ export const VERSION = '0.57.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.56.0";
1
+ export declare const VERSION = "0.57.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.56.0";
1
+ export declare const VERSION = "0.57.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.56.0'; // x-release-please-version
4
+ exports.VERSION = '0.57.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.56.0'; // x-release-please-version
1
+ export const VERSION = '0.57.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map