telnyx 6.73.0 → 6.73.2
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 +16 -0
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/sip-registration-status.d.mts +33 -13
- package/resources/sip-registration-status.d.mts.map +1 -1
- package/resources/sip-registration-status.d.ts +33 -13
- package/resources/sip-registration-status.d.ts.map +1 -1
- package/resources/sip-registration-status.js +4 -4
- package/resources/sip-registration-status.mjs +4 -4
- package/src/client.ts +1 -1
- package/src/resources/sip-registration-status.ts +33 -14
- 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,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.73.2 (2026-06-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v6.73.1...v6.73.2](https://github.com/team-telnyx/telnyx-node/compare/v6.73.1...v6.73.2)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **sip-registration-status:** drop user_id query param ([09fddf4](https://github.com/team-telnyx/telnyx-node/commit/09fddf4ccc135f4aabb59712c3766f3bc491eee4))
|
|
10
|
+
|
|
11
|
+
## 6.73.1 (2026-06-01)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v6.73.0...v6.73.1](https://github.com/team-telnyx/telnyx-node/compare/v6.73.0...v6.73.1)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **sip-registration-status:** scope to phase 1 uac_third-party_credential ([3f0bbd3](https://github.com/team-telnyx/telnyx-node/commit/3f0bbd3524732240ad56df1a7cfd41a83e73f960))
|
|
18
|
+
|
|
3
19
|
## 6.73.0 (2026-05-29)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v6.72.0...v6.73.0](https://github.com/team-telnyx/telnyx-node/compare/v6.72.0...v6.73.0)
|
package/client.d.mts
CHANGED
|
@@ -911,7 +911,7 @@ export declare class Telnyx {
|
|
|
911
911
|
*/
|
|
912
912
|
voiceSDKCallReports: API.VoiceSDKCallReports;
|
|
913
913
|
/**
|
|
914
|
-
* Look up SIP registration status
|
|
914
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
915
915
|
*/
|
|
916
916
|
sipRegistrationStatus: API.SipRegistrationStatus;
|
|
917
917
|
}
|
package/client.d.ts
CHANGED
|
@@ -911,7 +911,7 @@ export declare class Telnyx {
|
|
|
911
911
|
*/
|
|
912
912
|
voiceSDKCallReports: API.VoiceSDKCallReports;
|
|
913
913
|
/**
|
|
914
|
-
* Look up SIP registration status
|
|
914
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
915
915
|
*/
|
|
916
916
|
sipRegistrationStatus: API.SipRegistrationStatus;
|
|
917
917
|
}
|
package/client.js
CHANGED
|
@@ -763,7 +763,7 @@ class Telnyx {
|
|
|
763
763
|
*/
|
|
764
764
|
this.voiceSDKCallReports = new API.VoiceSDKCallReports(this);
|
|
765
765
|
/**
|
|
766
|
-
* Look up SIP registration status
|
|
766
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
767
767
|
*/
|
|
768
768
|
this.sipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
769
769
|
const options = {
|
package/client.mjs
CHANGED
|
@@ -760,7 +760,7 @@ export class Telnyx {
|
|
|
760
760
|
*/
|
|
761
761
|
this.voiceSDKCallReports = new API.VoiceSDKCallReports(this);
|
|
762
762
|
/**
|
|
763
|
-
* Look up SIP registration status
|
|
763
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
764
764
|
*/
|
|
765
765
|
this.sipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
766
766
|
const options = {
|
package/package.json
CHANGED
|
@@ -2,25 +2,45 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* Look up SIP registration status
|
|
5
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
6
6
|
*/
|
|
7
7
|
export declare class SipRegistrationStatus extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Returns the live SIP registration state of a connection
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Returns the live SIP registration state of a UAC connection: whether it is
|
|
10
|
+
* currently registered, when it last registered, and the last response Telnyx
|
|
11
|
+
* received from the registrar. Only `uac_external_credential` is supported today.
|
|
12
12
|
*/
|
|
13
13
|
retrieve(query: SipRegistrationStatusRetrieveParams, options?: RequestOptions): APIPromise<SipRegistrationStatusRetrieveResponse>;
|
|
14
14
|
}
|
|
15
15
|
export interface SipRegistrationStatusRetrieveResponse {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Raw external-side registration block reported by the registrar.
|
|
18
|
+
*/
|
|
19
|
+
b2bua_external?: {
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Raw internal-side block reported by the registrar.
|
|
24
|
+
*/
|
|
25
|
+
b2bua_internal?: {
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Identifier of the UAC connection.
|
|
18
30
|
*/
|
|
19
31
|
connection_id?: string;
|
|
20
32
|
/**
|
|
21
33
|
* Human-readable connection name.
|
|
22
34
|
*/
|
|
23
35
|
connection_name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The credential type that was looked up.
|
|
38
|
+
*/
|
|
39
|
+
credential_type?: 'uac_external_credential';
|
|
40
|
+
/**
|
|
41
|
+
* Registration state on the external (UAC / PBX) side, e.g. REGED.
|
|
42
|
+
*/
|
|
43
|
+
external_state?: string;
|
|
24
44
|
/**
|
|
25
45
|
* Outward-facing SIP settings used for registration. Password is redacted.
|
|
26
46
|
*/
|
|
@@ -42,7 +62,7 @@ export interface SipRegistrationStatusRetrieveResponse {
|
|
|
42
62
|
*/
|
|
43
63
|
registered?: boolean;
|
|
44
64
|
/**
|
|
45
|
-
* Owner of the
|
|
65
|
+
* Owner of the connection.
|
|
46
66
|
*/
|
|
47
67
|
user_id?: string;
|
|
48
68
|
/**
|
|
@@ -59,6 +79,9 @@ export declare namespace SipRegistrationStatusRetrieveResponse {
|
|
|
59
79
|
expiration_sec?: number;
|
|
60
80
|
from_user?: string;
|
|
61
81
|
outbound_proxy?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Always redacted.
|
|
84
|
+
*/
|
|
62
85
|
password?: string;
|
|
63
86
|
proxy?: string;
|
|
64
87
|
transport?: 'TCP' | 'UDP' | 'TLS';
|
|
@@ -73,17 +96,14 @@ export declare namespace SipRegistrationStatusRetrieveResponse {
|
|
|
73
96
|
}
|
|
74
97
|
export interface SipRegistrationStatusRetrieveParams {
|
|
75
98
|
/**
|
|
76
|
-
* Identifier of the connection
|
|
99
|
+
* Identifier of the UAC connection to look up.
|
|
77
100
|
*/
|
|
78
101
|
connection_id: string;
|
|
79
102
|
/**
|
|
80
|
-
* The kind of credential to look up.
|
|
81
|
-
|
|
82
|
-
credential_type: 'uac_external_credential' | 'telephony_credential' | 'sip_credential_connection';
|
|
83
|
-
/**
|
|
84
|
-
* Owner of the connection. Used to authorize the lookup.
|
|
103
|
+
* The kind of credential to look up. Only `uac_external_credential` is supported
|
|
104
|
+
* today.
|
|
85
105
|
*/
|
|
86
|
-
|
|
106
|
+
credential_type: 'uac_external_credential';
|
|
87
107
|
}
|
|
88
108
|
export declare namespace SipRegistrationStatus {
|
|
89
109
|
export { type SipRegistrationStatusRetrieveResponse as SipRegistrationStatusRetrieveResponse, type SipRegistrationStatusRetrieveParams as SipRegistrationStatusRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sip-regist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AM,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,mBAAmB;QAClC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB
|
|
1
|
+
{"version":3,"file":"sip-registration-status.d.mts","sourceRoot":"","sources":["../src/resources/sip-registration-status.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,qBAAsB,SAAQ,WAAW;IACpD;;;;OAIG;IACH,QAAQ,CACN,KAAK,EAAE,mCAAmC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE5C;;OAEG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE5C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAE5C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,mBAAmB,CAAC;IAElF;;OAEG;IACH,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,mBAAmB,CAAC;IAElF;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,qCAAqC,CAAC;IACrD;;OAEG;IACH,UAAiB,mBAAmB;QAClC,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;QAElC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,mBAAmB;QAClC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,EAAE,yBAAyB,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -2,25 +2,45 @@ import { APIResource } from "../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
/**
|
|
5
|
-
* Look up SIP registration status
|
|
5
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
6
6
|
*/
|
|
7
7
|
export declare class SipRegistrationStatus extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Returns the live SIP registration state of a connection
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Returns the live SIP registration state of a UAC connection: whether it is
|
|
10
|
+
* currently registered, when it last registered, and the last response Telnyx
|
|
11
|
+
* received from the registrar. Only `uac_external_credential` is supported today.
|
|
12
12
|
*/
|
|
13
13
|
retrieve(query: SipRegistrationStatusRetrieveParams, options?: RequestOptions): APIPromise<SipRegistrationStatusRetrieveResponse>;
|
|
14
14
|
}
|
|
15
15
|
export interface SipRegistrationStatusRetrieveResponse {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Raw external-side registration block reported by the registrar.
|
|
18
|
+
*/
|
|
19
|
+
b2bua_external?: {
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Raw internal-side block reported by the registrar.
|
|
24
|
+
*/
|
|
25
|
+
b2bua_internal?: {
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Identifier of the UAC connection.
|
|
18
30
|
*/
|
|
19
31
|
connection_id?: string;
|
|
20
32
|
/**
|
|
21
33
|
* Human-readable connection name.
|
|
22
34
|
*/
|
|
23
35
|
connection_name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The credential type that was looked up.
|
|
38
|
+
*/
|
|
39
|
+
credential_type?: 'uac_external_credential';
|
|
40
|
+
/**
|
|
41
|
+
* Registration state on the external (UAC / PBX) side, e.g. REGED.
|
|
42
|
+
*/
|
|
43
|
+
external_state?: string;
|
|
24
44
|
/**
|
|
25
45
|
* Outward-facing SIP settings used for registration. Password is redacted.
|
|
26
46
|
*/
|
|
@@ -42,7 +62,7 @@ export interface SipRegistrationStatusRetrieveResponse {
|
|
|
42
62
|
*/
|
|
43
63
|
registered?: boolean;
|
|
44
64
|
/**
|
|
45
|
-
* Owner of the
|
|
65
|
+
* Owner of the connection.
|
|
46
66
|
*/
|
|
47
67
|
user_id?: string;
|
|
48
68
|
/**
|
|
@@ -59,6 +79,9 @@ export declare namespace SipRegistrationStatusRetrieveResponse {
|
|
|
59
79
|
expiration_sec?: number;
|
|
60
80
|
from_user?: string;
|
|
61
81
|
outbound_proxy?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Always redacted.
|
|
84
|
+
*/
|
|
62
85
|
password?: string;
|
|
63
86
|
proxy?: string;
|
|
64
87
|
transport?: 'TCP' | 'UDP' | 'TLS';
|
|
@@ -73,17 +96,14 @@ export declare namespace SipRegistrationStatusRetrieveResponse {
|
|
|
73
96
|
}
|
|
74
97
|
export interface SipRegistrationStatusRetrieveParams {
|
|
75
98
|
/**
|
|
76
|
-
* Identifier of the connection
|
|
99
|
+
* Identifier of the UAC connection to look up.
|
|
77
100
|
*/
|
|
78
101
|
connection_id: string;
|
|
79
102
|
/**
|
|
80
|
-
* The kind of credential to look up.
|
|
81
|
-
|
|
82
|
-
credential_type: 'uac_external_credential' | 'telephony_credential' | 'sip_credential_connection';
|
|
83
|
-
/**
|
|
84
|
-
* Owner of the connection. Used to authorize the lookup.
|
|
103
|
+
* The kind of credential to look up. Only `uac_external_credential` is supported
|
|
104
|
+
* today.
|
|
85
105
|
*/
|
|
86
|
-
|
|
106
|
+
credential_type: 'uac_external_credential';
|
|
87
107
|
}
|
|
88
108
|
export declare namespace SipRegistrationStatus {
|
|
89
109
|
export { type SipRegistrationStatusRetrieveResponse as SipRegistrationStatusRetrieveResponse, type SipRegistrationStatusRetrieveParams as SipRegistrationStatusRetrieveParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sip-registration-status.d.ts","sourceRoot":"","sources":["../src/resources/sip-registration-status.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,qBAAsB,SAAQ,WAAW;IACpD;;;;OAIG;IACH,QAAQ,CACN,KAAK,EAAE,mCAAmC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;CAGrD;AAED,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,mBAAmB,CAAC;IAElF;;OAEG;IACH,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,mBAAmB,CAAC;IAElF;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,qCAAqC,CAAC;IACrD;;OAEG;IACH,UAAiB,mBAAmB;QAClC,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;QAElC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,mBAAmB;QAClC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB
|
|
1
|
+
{"version":3,"file":"sip-registration-status.d.ts","sourceRoot":"","sources":["../src/resources/sip-registration-status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+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;QAExB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;QAElC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,mBAAmB;QAClC,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,EAAE,yBAAyB,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,qBAAqB,CAAC;IAC7C,OAAO,EACL,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SipRegistrationStatus = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
/**
|
|
7
|
-
* Look up SIP registration status
|
|
7
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
8
8
|
*/
|
|
9
9
|
class SipRegistrationStatus extends resource_1.APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* Returns the live SIP registration state of a connection
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Returns the live SIP registration state of a UAC connection: whether it is
|
|
12
|
+
* currently registered, when it last registered, and the last response Telnyx
|
|
13
|
+
* received from the registrar. Only `uac_external_credential` is supported today.
|
|
14
14
|
*/
|
|
15
15
|
retrieve(query, options) {
|
|
16
16
|
return this._client.get('/sip_registration_status', { query, ...options });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
3
|
/**
|
|
4
|
-
* Look up SIP registration status
|
|
4
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
5
5
|
*/
|
|
6
6
|
export class SipRegistrationStatus extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Returns the live SIP registration state of a connection
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* Returns the live SIP registration state of a UAC connection: whether it is
|
|
9
|
+
* currently registered, when it last registered, and the last response Telnyx
|
|
10
|
+
* received from the registrar. Only `uac_external_credential` is supported today.
|
|
11
11
|
*/
|
|
12
12
|
retrieve(query, options) {
|
|
13
13
|
return this._client.get('/sip_registration_status', { query, ...options });
|
package/src/client.ts
CHANGED
|
@@ -3001,7 +3001,7 @@ export class Telnyx {
|
|
|
3001
3001
|
*/
|
|
3002
3002
|
voiceSDKCallReports: API.VoiceSDKCallReports = new API.VoiceSDKCallReports(this);
|
|
3003
3003
|
/**
|
|
3004
|
-
* Look up SIP registration status
|
|
3004
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
3005
3005
|
*/
|
|
3006
3006
|
sipRegistrationStatus: API.SipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
3007
3007
|
}
|
|
@@ -5,13 +5,13 @@ import { APIPromise } from '../core/api-promise';
|
|
|
5
5
|
import { RequestOptions } from '../internal/request-options';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Look up SIP registration status
|
|
8
|
+
* Look up the live SIP registration status of a UAC connection.
|
|
9
9
|
*/
|
|
10
10
|
export class SipRegistrationStatus extends APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* Returns the live SIP registration state of a connection
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Returns the live SIP registration state of a UAC connection: whether it is
|
|
13
|
+
* currently registered, when it last registered, and the last response Telnyx
|
|
14
|
+
* received from the registrar. Only `uac_external_credential` is supported today.
|
|
15
15
|
*/
|
|
16
16
|
retrieve(
|
|
17
17
|
query: SipRegistrationStatusRetrieveParams,
|
|
@@ -23,7 +23,17 @@ export class SipRegistrationStatus extends APIResource {
|
|
|
23
23
|
|
|
24
24
|
export interface SipRegistrationStatusRetrieveResponse {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Raw external-side registration block reported by the registrar.
|
|
27
|
+
*/
|
|
28
|
+
b2bua_external?: { [key: string]: unknown };
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Raw internal-side block reported by the registrar.
|
|
32
|
+
*/
|
|
33
|
+
b2bua_internal?: { [key: string]: unknown };
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Identifier of the UAC connection.
|
|
27
37
|
*/
|
|
28
38
|
connection_id?: string;
|
|
29
39
|
|
|
@@ -32,6 +42,16 @@ export interface SipRegistrationStatusRetrieveResponse {
|
|
|
32
42
|
*/
|
|
33
43
|
connection_name?: string;
|
|
34
44
|
|
|
45
|
+
/**
|
|
46
|
+
* The credential type that was looked up.
|
|
47
|
+
*/
|
|
48
|
+
credential_type?: 'uac_external_credential';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Registration state on the external (UAC / PBX) side, e.g. REGED.
|
|
52
|
+
*/
|
|
53
|
+
external_state?: string;
|
|
54
|
+
|
|
35
55
|
/**
|
|
36
56
|
* Outward-facing SIP settings used for registration. Password is redacted.
|
|
37
57
|
*/
|
|
@@ -58,7 +78,7 @@ export interface SipRegistrationStatusRetrieveResponse {
|
|
|
58
78
|
registered?: boolean;
|
|
59
79
|
|
|
60
80
|
/**
|
|
61
|
-
* Owner of the
|
|
81
|
+
* Owner of the connection.
|
|
62
82
|
*/
|
|
63
83
|
user_id?: string;
|
|
64
84
|
|
|
@@ -81,6 +101,9 @@ export namespace SipRegistrationStatusRetrieveResponse {
|
|
|
81
101
|
|
|
82
102
|
outbound_proxy?: string;
|
|
83
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Always redacted.
|
|
106
|
+
*/
|
|
84
107
|
password?: string;
|
|
85
108
|
|
|
86
109
|
proxy?: string;
|
|
@@ -100,19 +123,15 @@ export namespace SipRegistrationStatusRetrieveResponse {
|
|
|
100
123
|
|
|
101
124
|
export interface SipRegistrationStatusRetrieveParams {
|
|
102
125
|
/**
|
|
103
|
-
* Identifier of the connection
|
|
126
|
+
* Identifier of the UAC connection to look up.
|
|
104
127
|
*/
|
|
105
128
|
connection_id: string;
|
|
106
129
|
|
|
107
130
|
/**
|
|
108
|
-
* The kind of credential to look up.
|
|
109
|
-
|
|
110
|
-
credential_type: 'uac_external_credential' | 'telephony_credential' | 'sip_credential_connection';
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Owner of the connection. Used to authorize the lookup.
|
|
131
|
+
* The kind of credential to look up. Only `uac_external_credential` is supported
|
|
132
|
+
* today.
|
|
114
133
|
*/
|
|
115
|
-
|
|
134
|
+
credential_type: 'uac_external_credential';
|
|
116
135
|
}
|
|
117
136
|
|
|
118
137
|
export declare namespace SipRegistrationStatus {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.73.
|
|
1
|
+
export const VERSION = '6.73.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.73.
|
|
1
|
+
export declare const VERSION = "6.73.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.73.
|
|
1
|
+
export declare const VERSION = "6.73.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.73.
|
|
1
|
+
export const VERSION = '6.73.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|