telnyx 6.73.2 → 6.74.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.74.1 (2026-06-02)
4
+
5
+ Full Changelog: [v6.74.0...v6.74.1](https://github.com/team-telnyx/telnyx-node/compare/v6.74.0...v6.74.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **sip-registration-status:** rename detail field to sip_uri_user_host ([bda8022](https://github.com/team-telnyx/telnyx-node/commit/bda802223c3dffd3727623ef4bbaf2d2cedb98a2))
10
+
11
+ ## 6.74.0 (2026-06-02)
12
+
13
+ Full Changelog: [v6.73.2...v6.74.0](https://github.com/team-telnyx/telnyx-node/compare/v6.73.2...v6.74.0)
14
+
15
+ ### Features
16
+
17
+ * **sip-registration-status:** finalize phase 1 response shape with status mapping ([398af83](https://github.com/team-telnyx/telnyx-node/commit/398af83d69ab8fb3c5ac5f516d47c6ea4415b553))
18
+
3
19
  ## 6.73.2 (2026-06-02)
4
20
 
5
21
  Full Changelog: [v6.73.1...v6.73.2](https://github.com/team-telnyx/telnyx-node/compare/v6.73.1...v6.73.2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telnyx",
3
- "version": "6.73.2",
3
+ "version": "6.74.1",
4
4
  "description": "Telnyx API SDK for global Voice, SMS, MMS, WhatsApp, Fax, Wireless IoT, SIP Trunking, and Call Control.",
5
5
  "author": "Telnyx <support@telnyx.com>",
6
6
  "types": "./index.d.ts",
@@ -13,18 +13,6 @@ export declare class SipRegistrationStatus extends APIResource {
13
13
  retrieve(query: SipRegistrationStatusRetrieveParams, options?: RequestOptions): APIPromise<SipRegistrationStatusRetrieveResponse>;
14
14
  }
15
15
  export interface SipRegistrationStatusRetrieveResponse {
16
- /**
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
16
  /**
29
17
  * Identifier of the UAC connection.
30
18
  */
@@ -38,60 +26,55 @@ export interface SipRegistrationStatusRetrieveResponse {
38
26
  */
39
27
  credential_type?: 'uac_external_credential';
40
28
  /**
41
- * Registration state on the external (UAC / PBX) side, e.g. REGED.
42
- */
43
- external_state?: string;
44
- /**
45
- * Outward-facing SIP settings used for registration. Password is redacted.
46
- */
47
- external_uac_settings?: SipRegistrationStatusRetrieveResponse.ExternalUacSettings;
48
- /**
49
- * Internal routing target the connection delivers calls to.
29
+ * SIP username used for the registration.
50
30
  */
51
- internal_uac_settings?: SipRegistrationStatusRetrieveResponse.InternalUacSettings;
31
+ credential_username?: string;
52
32
  /**
53
33
  * SIP response from the last registration attempt.
54
34
  */
55
35
  last_registration_response?: string;
56
- /**
57
- * Internal pairing state, e.g. ACTIVE or INACTIVE.
58
- */
59
- pair_state?: string;
60
36
  /**
61
37
  * True if the endpoint is currently registered.
62
38
  */
63
39
  registered?: boolean;
64
40
  /**
65
- * Owner of the connection.
41
+ * Detailed registration information reported by the registrar.
66
42
  */
67
- user_id?: string;
43
+ sip_registration_details?: SipRegistrationStatusRetrieveResponse.SipRegistrationDetails;
68
44
  /**
69
- * SIP username used for the registration.
45
+ * Human-readable registration status derived from the registrar state.
70
46
  */
71
- username?: string;
47
+ sip_registration_status?: 'unregistering' | 'connection_disabled' | 'standby' | 'failed' | 'trying' | 'registered' | 'unknown';
72
48
  }
73
49
  export declare namespace SipRegistrationStatusRetrieveResponse {
74
50
  /**
75
- * Outward-facing SIP settings used for registration. Password is redacted.
51
+ * Detailed registration information reported by the registrar.
76
52
  */
77
- interface ExternalUacSettings {
78
- auth_username?: string;
79
- expiration_sec?: number;
80
- from_user?: string;
81
- outbound_proxy?: string;
53
+ interface SipRegistrationDetails {
82
54
  /**
83
- * Always redacted.
55
+ * Number of authentication retries on the last attempt.
84
56
  */
85
- password?: string;
86
- proxy?: string;
87
- transport?: 'TCP' | 'UDP' | 'TLS';
88
- username?: string;
89
- }
90
- /**
91
- * Internal routing target the connection delivers calls to.
92
- */
93
- interface InternalUacSettings {
94
- destination_uri?: string;
57
+ auth_retries?: number;
58
+ /**
59
+ * Unix timestamp when the current registration expires.
60
+ */
61
+ expires?: number;
62
+ /**
63
+ * Count of consecutive registration failures.
64
+ */
65
+ failures?: number;
66
+ /**
67
+ * Unix timestamp of the next scheduled registration action.
68
+ */
69
+ next_action_at?: number;
70
+ /**
71
+ * SIP URI user@host of the registered contact.
72
+ */
73
+ sip_uri_user_host?: string;
74
+ /**
75
+ * Registration uptime reported by the registrar.
76
+ */
77
+ uptime?: number;
95
78
  }
96
79
  }
97
80
  export interface SipRegistrationStatusRetrieveParams {
@@ -1 +1 @@
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,eA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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,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAE5C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,wBAAwB,CAAC,EAAE,qCAAqC,CAAC,sBAAsB,CAAC;IAExF;;OAEG;IACH,uBAAuB,CAAC,EACpB,eAAe,GACf,qBAAqB,GACrB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,SAAS,CAAC;CACf;AAED,yBAAiB,qCAAqC,CAAC;IACrD;;OAEG;IACH,UAAiB,sBAAsB;QACrC;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;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"}
@@ -13,18 +13,6 @@ export declare class SipRegistrationStatus extends APIResource {
13
13
  retrieve(query: SipRegistrationStatusRetrieveParams, options?: RequestOptions): APIPromise<SipRegistrationStatusRetrieveResponse>;
14
14
  }
15
15
  export interface SipRegistrationStatusRetrieveResponse {
16
- /**
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
16
  /**
29
17
  * Identifier of the UAC connection.
30
18
  */
@@ -38,60 +26,55 @@ export interface SipRegistrationStatusRetrieveResponse {
38
26
  */
39
27
  credential_type?: 'uac_external_credential';
40
28
  /**
41
- * Registration state on the external (UAC / PBX) side, e.g. REGED.
42
- */
43
- external_state?: string;
44
- /**
45
- * Outward-facing SIP settings used for registration. Password is redacted.
46
- */
47
- external_uac_settings?: SipRegistrationStatusRetrieveResponse.ExternalUacSettings;
48
- /**
49
- * Internal routing target the connection delivers calls to.
29
+ * SIP username used for the registration.
50
30
  */
51
- internal_uac_settings?: SipRegistrationStatusRetrieveResponse.InternalUacSettings;
31
+ credential_username?: string;
52
32
  /**
53
33
  * SIP response from the last registration attempt.
54
34
  */
55
35
  last_registration_response?: string;
56
- /**
57
- * Internal pairing state, e.g. ACTIVE or INACTIVE.
58
- */
59
- pair_state?: string;
60
36
  /**
61
37
  * True if the endpoint is currently registered.
62
38
  */
63
39
  registered?: boolean;
64
40
  /**
65
- * Owner of the connection.
41
+ * Detailed registration information reported by the registrar.
66
42
  */
67
- user_id?: string;
43
+ sip_registration_details?: SipRegistrationStatusRetrieveResponse.SipRegistrationDetails;
68
44
  /**
69
- * SIP username used for the registration.
45
+ * Human-readable registration status derived from the registrar state.
70
46
  */
71
- username?: string;
47
+ sip_registration_status?: 'unregistering' | 'connection_disabled' | 'standby' | 'failed' | 'trying' | 'registered' | 'unknown';
72
48
  }
73
49
  export declare namespace SipRegistrationStatusRetrieveResponse {
74
50
  /**
75
- * Outward-facing SIP settings used for registration. Password is redacted.
51
+ * Detailed registration information reported by the registrar.
76
52
  */
77
- interface ExternalUacSettings {
78
- auth_username?: string;
79
- expiration_sec?: number;
80
- from_user?: string;
81
- outbound_proxy?: string;
53
+ interface SipRegistrationDetails {
82
54
  /**
83
- * Always redacted.
55
+ * Number of authentication retries on the last attempt.
84
56
  */
85
- password?: string;
86
- proxy?: string;
87
- transport?: 'TCP' | 'UDP' | 'TLS';
88
- username?: string;
89
- }
90
- /**
91
- * Internal routing target the connection delivers calls to.
92
- */
93
- interface InternalUacSettings {
94
- destination_uri?: string;
57
+ auth_retries?: number;
58
+ /**
59
+ * Unix timestamp when the current registration expires.
60
+ */
61
+ expires?: number;
62
+ /**
63
+ * Count of consecutive registration failures.
64
+ */
65
+ failures?: number;
66
+ /**
67
+ * Unix timestamp of the next scheduled registration action.
68
+ */
69
+ next_action_at?: number;
70
+ /**
71
+ * SIP URI user@host of the registered contact.
72
+ */
73
+ sip_uri_user_host?: string;
74
+ /**
75
+ * Registration uptime reported by the registrar.
76
+ */
77
+ uptime?: number;
95
78
  }
96
79
  }
97
80
  export interface 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;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AAC;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"}
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,eAAe,CAAC,EAAE,yBAAyB,CAAC;IAE5C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,wBAAwB,CAAC,EAAE,qCAAqC,CAAC,sBAAsB,CAAC;IAExF;;OAEG;IACH,uBAAuB,CAAC,EACpB,eAAe,GACf,qBAAqB,GACrB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,YAAY,GACZ,SAAS,CAAC;CACf;AAED,yBAAiB,qCAAqC,CAAC;IACrD;;OAEG;IACH,UAAiB,sBAAsB;QACrC;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;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"}
@@ -22,16 +22,6 @@ export class SipRegistrationStatus extends APIResource {
22
22
  }
23
23
 
24
24
  export interface SipRegistrationStatusRetrieveResponse {
25
- /**
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
25
  /**
36
26
  * Identifier of the UAC connection.
37
27
  */
@@ -48,76 +38,72 @@ export interface SipRegistrationStatusRetrieveResponse {
48
38
  credential_type?: 'uac_external_credential';
49
39
 
50
40
  /**
51
- * Registration state on the external (UAC / PBX) side, e.g. REGED.
52
- */
53
- external_state?: string;
54
-
55
- /**
56
- * Outward-facing SIP settings used for registration. Password is redacted.
57
- */
58
- external_uac_settings?: SipRegistrationStatusRetrieveResponse.ExternalUacSettings;
59
-
60
- /**
61
- * Internal routing target the connection delivers calls to.
41
+ * SIP username used for the registration.
62
42
  */
63
- internal_uac_settings?: SipRegistrationStatusRetrieveResponse.InternalUacSettings;
43
+ credential_username?: string;
64
44
 
65
45
  /**
66
46
  * SIP response from the last registration attempt.
67
47
  */
68
48
  last_registration_response?: string;
69
49
 
70
- /**
71
- * Internal pairing state, e.g. ACTIVE or INACTIVE.
72
- */
73
- pair_state?: string;
74
-
75
50
  /**
76
51
  * True if the endpoint is currently registered.
77
52
  */
78
53
  registered?: boolean;
79
54
 
80
55
  /**
81
- * Owner of the connection.
56
+ * Detailed registration information reported by the registrar.
82
57
  */
83
- user_id?: string;
58
+ sip_registration_details?: SipRegistrationStatusRetrieveResponse.SipRegistrationDetails;
84
59
 
85
60
  /**
86
- * SIP username used for the registration.
61
+ * Human-readable registration status derived from the registrar state.
87
62
  */
88
- username?: string;
63
+ sip_registration_status?:
64
+ | 'unregistering'
65
+ | 'connection_disabled'
66
+ | 'standby'
67
+ | 'failed'
68
+ | 'trying'
69
+ | 'registered'
70
+ | 'unknown';
89
71
  }
90
72
 
91
73
  export namespace SipRegistrationStatusRetrieveResponse {
92
74
  /**
93
- * Outward-facing SIP settings used for registration. Password is redacted.
75
+ * Detailed registration information reported by the registrar.
94
76
  */
95
- export interface ExternalUacSettings {
96
- auth_username?: string;
97
-
98
- expiration_sec?: number;
99
-
100
- from_user?: string;
101
-
102
- outbound_proxy?: string;
77
+ export interface SipRegistrationDetails {
78
+ /**
79
+ * Number of authentication retries on the last attempt.
80
+ */
81
+ auth_retries?: number;
103
82
 
104
83
  /**
105
- * Always redacted.
84
+ * Unix timestamp when the current registration expires.
106
85
  */
107
- password?: string;
86
+ expires?: number;
108
87
 
109
- proxy?: string;
88
+ /**
89
+ * Count of consecutive registration failures.
90
+ */
91
+ failures?: number;
110
92
 
111
- transport?: 'TCP' | 'UDP' | 'TLS';
93
+ /**
94
+ * Unix timestamp of the next scheduled registration action.
95
+ */
96
+ next_action_at?: number;
112
97
 
113
- username?: string;
114
- }
98
+ /**
99
+ * SIP URI user@host of the registered contact.
100
+ */
101
+ sip_uri_user_host?: string;
115
102
 
116
- /**
117
- * Internal routing target the connection delivers calls to.
118
- */
119
- export interface InternalUacSettings {
120
- destination_uri?: string;
103
+ /**
104
+ * Registration uptime reported by the registrar.
105
+ */
106
+ uptime?: number;
121
107
  }
122
108
  }
123
109
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.73.2'; // x-release-please-version
1
+ export const VERSION = '6.74.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.73.2";
1
+ export declare const VERSION = "6.74.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.73.2";
1
+ export declare const VERSION = "6.74.1";
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 = '6.73.2'; // x-release-please-version
4
+ exports.VERSION = '6.74.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.73.2'; // x-release-please-version
1
+ export const VERSION = '6.74.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map