@linqapp/sdk 0.81.0 → 0.82.1

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 (44) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +3 -8
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -8
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -8
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -8
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/messages/messages.d.mts +20 -11
  12. package/resources/messages/messages.d.mts.map +1 -1
  13. package/resources/messages/messages.d.ts +20 -11
  14. package/resources/messages/messages.d.ts.map +1 -1
  15. package/resources/messages/messages.js +5 -1
  16. package/resources/messages/messages.js.map +1 -1
  17. package/resources/messages/messages.mjs +5 -1
  18. package/resources/messages/messages.mjs.map +1 -1
  19. package/resources/shared.d.mts +13 -11
  20. package/resources/shared.d.mts.map +1 -1
  21. package/resources/shared.d.ts +13 -11
  22. package/resources/shared.d.ts.map +1 -1
  23. package/resources/sip-profiles.d.mts +9 -24
  24. package/resources/sip-profiles.d.mts.map +1 -1
  25. package/resources/sip-profiles.d.ts +9 -24
  26. package/resources/sip-profiles.d.ts.map +1 -1
  27. package/resources/sip-profiles.js +9 -24
  28. package/resources/sip-profiles.js.map +1 -1
  29. package/resources/sip-profiles.mjs +9 -24
  30. package/resources/sip-profiles.mjs.map +1 -1
  31. package/resources/webhooks.d.mts +10 -8
  32. package/resources/webhooks.d.mts.map +1 -1
  33. package/resources/webhooks.d.ts +10 -8
  34. package/resources/webhooks.d.ts.map +1 -1
  35. package/src/client.ts +3 -8
  36. package/src/resources/messages/messages.ts +20 -11
  37. package/src/resources/shared.ts +13 -11
  38. package/src/resources/sip-profiles.ts +9 -24
  39. package/src/resources/webhooks.ts +10 -8
  40. package/src/version.ts +1 -1
  41. package/version.d.mts +1 -1
  42. package/version.d.ts +1 -1
  43. package/version.js +1 -1
  44. package/version.mjs +1 -1
@@ -5,13 +5,8 @@ import { path } from "../internal/utils/path.mjs";
5
5
  /**
6
6
  * ## SIP configuration
7
7
  *
8
- * Add these IP ranges to your SIP endpoint's allowlist:
9
- *
10
- * ```
11
- * 54.172.60.0/30
12
- * 54.244.51.0/30
13
- * 168.86.128.0/18
14
- * ```
8
+ * Your Linq representative provides the signaling and media IP ranges and
9
+ * ports to allow through your firewall during onboarding.
15
10
  *
16
11
  * Set `primary_uri` to your endpoint as scheme + host — `sips:` for TLS or
17
12
  * `sip:` for UDP, with no user part (we add it). Each call arrives at your
@@ -22,19 +17,14 @@ import { path } from "../internal/utils/path.mjs";
22
17
  * ```
23
18
  *
24
19
  * so you can route on the dialed number. The caller's number is in the
25
- * `From` header in E.164. Media (RTP) uses UDP ports 10000–60000.
20
+ * `From` header in E.164.
26
21
  */
27
22
  export class SipProfiles extends APIResource {
28
23
  /**
29
24
  * ## SIP configuration
30
25
  *
31
- * Add these IP ranges to your SIP endpoint's allowlist:
32
- *
33
- * ```
34
- * 54.172.60.0/30
35
- * 54.244.51.0/30
36
- * 168.86.128.0/18
37
- * ```
26
+ * Your Linq representative provides the signaling and media IP ranges and ports to
27
+ * allow through your firewall during onboarding.
38
28
  *
39
29
  * Set `primary_uri` to your endpoint as scheme + host — `sips:` for TLS or `sip:`
40
30
  * for UDP, with no user part (we add it). Each call arrives at your endpoint as:
@@ -44,7 +34,7 @@ export class SipProfiles extends APIResource {
44
34
  * ```
45
35
  *
46
36
  * so you can route on the dialed number. The caller's number is in the `From`
47
- * header in E.164. Media (RTP) uses UDP ports 10000–60000.
37
+ * header in E.164.
48
38
  *
49
39
  * ---
50
40
  *
@@ -121,13 +111,8 @@ export class SipProfiles extends APIResource {
121
111
  /**
122
112
  * ## SIP configuration
123
113
  *
124
- * Add these IP ranges to your SIP endpoint's allowlist:
125
- *
126
- * ```
127
- * 54.172.60.0/30
128
- * 54.244.51.0/30
129
- * 168.86.128.0/18
130
- * ```
114
+ * Your Linq representative provides the signaling and media IP ranges and ports to
115
+ * allow through your firewall during onboarding.
131
116
  *
132
117
  * Set `primary_uri` to your endpoint as scheme + host — `sips:` for TLS or `sip:`
133
118
  * for UDP, with no user part (we add it). Each call arrives at your endpoint as:
@@ -137,7 +122,7 @@ export class SipProfiles extends APIResource {
137
122
  * ```
138
123
  *
139
124
  * so you can route on the dialed number. The caller's number is in the `From`
140
- * header in E.164. Media (RTP) uses UDP ports 10000–60000.
125
+ * header in E.164.
141
126
  *
142
127
  * ---
143
128
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sip-profiles.mjs","sourceRoot":"","sources":["../src/resources/sip-profiles.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,C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EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,YAAoB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,YAAY,EAAE,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,MAAM,CACJ,WAAmB,EACnB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,WAAW,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
@@ -538,9 +538,10 @@ export interface ReactionEventBase {
538
538
  is_from_me: boolean;
539
539
  /**
540
540
  * Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
541
- * emphasize, question. Custom emoji reactions have type "custom" with the actual
542
- * emoji in the custom_emoji field. Sticker reactions have type "sticker" with
543
- * sticker attachment details in the sticker field.
541
+ * emphasize, question. Custom tapbacks have type "custom": an emoji tapback
542
+ * carries the emoji in the custom_emoji field, and an image tapback carries the
543
+ * image in the sticker field. Sticker reactions have type "sticker" with sticker
544
+ * attachment details in the sticker field.
544
545
  */
545
546
  reaction_type: Shared.ReactionType;
546
547
  /**
@@ -548,7 +549,8 @@ export interface ReactionEventBase {
548
549
  */
549
550
  chat_id?: string;
550
551
  /**
551
- * The actual emoji when reaction_type is "custom". Null for standard tapbacks.
552
+ * The actual emoji when reaction_type is "custom" and the tapback is an emoji.
553
+ * Null otherwise.
552
554
  */
553
555
  custom_emoji?: string | null;
554
556
  /**
@@ -588,15 +590,15 @@ export interface ReactionEventBase {
588
590
  */
589
591
  service?: Shared.ServiceType;
590
592
  /**
591
- * Sticker attachment details when reaction_type is "sticker". Null for non-sticker
592
- * reactions.
593
+ * The image when reaction_type is "sticker", or when reaction_type is "custom" and
594
+ * the tapback is an image. Null otherwise.
593
595
  */
594
596
  sticker?: ReactionEventBase.Sticker | null;
595
597
  }
596
598
  export declare namespace ReactionEventBase {
597
599
  /**
598
- * Sticker attachment details when reaction_type is "sticker". Null for non-sticker
599
- * reactions.
600
+ * The image when reaction_type is "sticker", or when reaction_type is "custom" and
601
+ * the tapback is an image. Null otherwise.
600
602
  */
601
603
  interface Sticker {
602
604
  /**