@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.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +3 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -8
- package/client.js.map +1 -1
- package/client.mjs +3 -8
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/messages/messages.d.mts +20 -11
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +20 -11
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js +5 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs +5 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/shared.d.mts +13 -11
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +13 -11
- package/resources/shared.d.ts.map +1 -1
- package/resources/sip-profiles.d.mts +9 -24
- package/resources/sip-profiles.d.mts.map +1 -1
- package/resources/sip-profiles.d.ts +9 -24
- package/resources/sip-profiles.d.ts.map +1 -1
- package/resources/sip-profiles.js +9 -24
- package/resources/sip-profiles.js.map +1 -1
- package/resources/sip-profiles.mjs +9 -24
- package/resources/sip-profiles.mjs.map +1 -1
- package/resources/webhooks.d.mts +10 -8
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +10 -8
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +3 -8
- package/src/resources/messages/messages.ts +20 -11
- package/src/resources/shared.ts +13 -11
- package/src/resources/sip-profiles.ts +9 -24
- package/src/resources/webhooks.ts +10 -8
- 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
|
@@ -5,13 +5,8 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
5
5
|
/**
|
|
6
6
|
* ## SIP configuration
|
|
7
7
|
*
|
|
8
|
-
*
|
|
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.
|
|
20
|
+
* `From` header in E.164.
|
|
26
21
|
*/
|
|
27
22
|
export class SipProfiles extends APIResource {
|
|
28
23
|
/**
|
|
29
24
|
* ## SIP configuration
|
|
30
25
|
*
|
|
31
|
-
*
|
|
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.
|
|
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
|
-
*
|
|
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.
|
|
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
|
|
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;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,k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538
|
is_from_me: boolean;
|
|
539
539
|
/**
|
|
540
540
|
* Type of reaction. Standard iMessage tapbacks are love, like, dislike, laugh,
|
|
541
|
-
* emphasize, question. Custom
|
|
542
|
-
* emoji in the custom_emoji field
|
|
543
|
-
*
|
|
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"
|
|
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
|
-
*
|
|
592
|
-
*
|
|
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
|
-
*
|
|
599
|
-
*
|
|
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
|
/**
|