@linqapp/sdk 0.37.0 → 0.37.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 +7 -0
- package/package.json +1 -1
- package/resources/capability.d.mts +12 -3
- package/resources/capability.d.mts.map +1 -1
- package/resources/capability.d.ts +12 -3
- package/resources/capability.d.ts.map +1 -1
- package/resources/capability.js +3 -0
- package/resources/capability.js.map +1 -1
- package/resources/capability.mjs +3 -0
- package/resources/capability.mjs.map +1 -1
- package/src/resources/capability.ts +12 -3
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.37.1](https://github.com/linq-team/linq-node/compare/v0.37.0...v0.37.1) (2026-08-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* clarify address format requirements for messaging checks ([bda9bb0](https://github.com/linq-team/linq-node/commit/bda9bb0c0ffa6d3022dcf63f1c74566b3b26c325))
|
|
9
|
+
|
|
3
10
|
## [0.37.0](https://github.com/linq-team/linq-node/compare/v0.36.1...v0.37.0) (2026-08-13)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -21,6 +21,9 @@ export declare class Capability extends APIResource {
|
|
|
21
21
|
/**
|
|
22
22
|
* Check whether a recipient address (phone number) supports RCS messaging.
|
|
23
23
|
*
|
|
24
|
+
* `address` must be an E.164 phone number. RCS has no email addressing, so an
|
|
25
|
+
* email is rejected with a `400` rather than attempted.
|
|
26
|
+
*
|
|
24
27
|
* A `200` means the check ran and the answer is about the **recipient**. A `503`
|
|
25
28
|
* means the check could not produce an answer because of a fault on the **sender**
|
|
26
29
|
* line — `4004` (RCS not turned on for the line), `4009` (line has no RCS
|
|
@@ -40,7 +43,9 @@ export declare class Capability extends APIResource {
|
|
|
40
43
|
}
|
|
41
44
|
export interface HandleCheck {
|
|
42
45
|
/**
|
|
43
|
-
* The recipient
|
|
46
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
47
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
48
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
44
49
|
*/
|
|
45
50
|
address: string;
|
|
46
51
|
/**
|
|
@@ -76,7 +81,9 @@ export interface HandleCheckResponse {
|
|
|
76
81
|
}
|
|
77
82
|
export interface CapabilityCheckIMessageParams {
|
|
78
83
|
/**
|
|
79
|
-
* The recipient
|
|
84
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
85
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
86
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
80
87
|
*/
|
|
81
88
|
address: string;
|
|
82
89
|
/**
|
|
@@ -87,7 +94,9 @@ export interface CapabilityCheckIMessageParams {
|
|
|
87
94
|
}
|
|
88
95
|
export interface CapabilityCheckRCSParams {
|
|
89
96
|
/**
|
|
90
|
-
* The recipient
|
|
97
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
98
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
99
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
91
100
|
*/
|
|
92
101
|
address: string;
|
|
93
102
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability.d.mts","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAI,EAAE,6BAA6B,EAC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EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -21,6 +21,9 @@ export declare class Capability extends APIResource {
|
|
|
21
21
|
/**
|
|
22
22
|
* Check whether a recipient address (phone number) supports RCS messaging.
|
|
23
23
|
*
|
|
24
|
+
* `address` must be an E.164 phone number. RCS has no email addressing, so an
|
|
25
|
+
* email is rejected with a `400` rather than attempted.
|
|
26
|
+
*
|
|
24
27
|
* A `200` means the check ran and the answer is about the **recipient**. A `503`
|
|
25
28
|
* means the check could not produce an answer because of a fault on the **sender**
|
|
26
29
|
* line — `4004` (RCS not turned on for the line), `4009` (line has no RCS
|
|
@@ -40,7 +43,9 @@ export declare class Capability extends APIResource {
|
|
|
40
43
|
}
|
|
41
44
|
export interface HandleCheck {
|
|
42
45
|
/**
|
|
43
|
-
* The recipient
|
|
46
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
47
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
48
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
44
49
|
*/
|
|
45
50
|
address: string;
|
|
46
51
|
/**
|
|
@@ -76,7 +81,9 @@ export interface HandleCheckResponse {
|
|
|
76
81
|
}
|
|
77
82
|
export interface CapabilityCheckIMessageParams {
|
|
78
83
|
/**
|
|
79
|
-
* The recipient
|
|
84
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
85
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
86
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
80
87
|
*/
|
|
81
88
|
address: string;
|
|
82
89
|
/**
|
|
@@ -87,7 +94,9 @@ export interface CapabilityCheckIMessageParams {
|
|
|
87
94
|
}
|
|
88
95
|
export interface CapabilityCheckRCSParams {
|
|
89
96
|
/**
|
|
90
|
-
* The recipient
|
|
97
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
98
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
99
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
91
100
|
*/
|
|
92
101
|
address: string;
|
|
93
102
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability.d.ts","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC
|
|
1
|
+
{"version":3,"file":"capability.d.ts","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAGpG;AAED,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
package/resources/capability.js
CHANGED
|
@@ -25,6 +25,9 @@ class Capability extends resource_1.APIResource {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check whether a recipient address (phone number) supports RCS messaging.
|
|
27
27
|
*
|
|
28
|
+
* `address` must be an E.164 phone number. RCS has no email addressing, so an
|
|
29
|
+
* email is rejected with a `400` rather than attempted.
|
|
30
|
+
*
|
|
28
31
|
* A `200` means the check ran and the answer is about the **recipient**. A `503`
|
|
29
32
|
* means the check could not produce an answer because of a fault on the **sender**
|
|
30
33
|
* line — `4004` (RCS not turned on for the line), `4009` (line has no RCS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability.js","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"capability.js","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,IAA8B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AA5CD,gCA4CC"}
|
package/resources/capability.mjs
CHANGED
|
@@ -22,6 +22,9 @@ export class Capability extends APIResource {
|
|
|
22
22
|
/**
|
|
23
23
|
* Check whether a recipient address (phone number) supports RCS messaging.
|
|
24
24
|
*
|
|
25
|
+
* `address` must be an E.164 phone number. RCS has no email addressing, so an
|
|
26
|
+
* email is rejected with a `400` rather than attempted.
|
|
27
|
+
*
|
|
25
28
|
* A `200` means the check ran and the answer is about the **recipient**. A `503`
|
|
26
29
|
* means the check could not produce an answer because of a fault on the **sender**
|
|
27
30
|
* line — `4004` (RCS not turned on for the line), `4009` (line has no RCS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capability.mjs","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"capability.mjs","sourceRoot":"","sources":["../src/resources/capability.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;OAWG;IACH,aAAa,CACX,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,IAA8B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|
|
@@ -30,6 +30,9 @@ export class Capability extends APIResource {
|
|
|
30
30
|
/**
|
|
31
31
|
* Check whether a recipient address (phone number) supports RCS messaging.
|
|
32
32
|
*
|
|
33
|
+
* `address` must be an E.164 phone number. RCS has no email addressing, so an
|
|
34
|
+
* email is rejected with a `400` rather than attempted.
|
|
35
|
+
*
|
|
33
36
|
* A `200` means the check ran and the answer is about the **recipient**. A `503`
|
|
34
37
|
* means the check could not produce an answer because of a fault on the **sender**
|
|
35
38
|
* line — `4004` (RCS not turned on for the line), `4009` (line has no RCS
|
|
@@ -52,7 +55,9 @@ export class Capability extends APIResource {
|
|
|
52
55
|
|
|
53
56
|
export interface HandleCheck {
|
|
54
57
|
/**
|
|
55
|
-
* The recipient
|
|
58
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
59
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
60
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
56
61
|
*/
|
|
57
62
|
address: string;
|
|
58
63
|
|
|
@@ -94,7 +99,9 @@ export interface HandleCheckResponse {
|
|
|
94
99
|
|
|
95
100
|
export interface CapabilityCheckIMessageParams {
|
|
96
101
|
/**
|
|
97
|
-
* The recipient
|
|
102
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
103
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
104
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
98
105
|
*/
|
|
99
106
|
address: string;
|
|
100
107
|
|
|
@@ -107,7 +114,9 @@ export interface CapabilityCheckIMessageParams {
|
|
|
107
114
|
|
|
108
115
|
export interface CapabilityCheckRCSParams {
|
|
109
116
|
/**
|
|
110
|
-
* The recipient
|
|
117
|
+
* The recipient address to check. `check_imessage` accepts an E.164 phone number
|
|
118
|
+
* or an email address; `check_rcs` accepts an E.164 phone number only and rejects
|
|
119
|
+
* an email with a `400`, since RCS has no email addressing.
|
|
111
120
|
*/
|
|
112
121
|
address: string;
|
|
113
122
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.37.
|
|
1
|
+
export const VERSION = '0.37.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.37.
|
|
1
|
+
export declare const VERSION = "0.37.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.37.
|
|
1
|
+
export declare const VERSION = "0.37.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.37.
|
|
1
|
+
export const VERSION = '0.37.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|