telnyx 6.34.0 → 6.36.0
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 +22 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/assistants/assistants.d.mts +16 -4
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +16 -4
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/enterprises/enterprises.d.mts +2 -2
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +2 -2
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/index.d.mts +1 -1
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -1
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +2 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +2 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.mts +43 -43
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +43 -43
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +31 -31
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +31 -31
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +45 -46
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +45 -46
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +43 -44
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +43 -44
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +7 -0
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +7 -0
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/index.d.mts +1 -1
- package/resources/texml/index.d.mts.map +1 -1
- package/resources/texml/index.d.ts +1 -1
- package/resources/texml/index.d.ts.map +1 -1
- package/resources/texml/index.js.map +1 -1
- package/resources/texml/index.mjs +1 -1
- package/resources/texml/index.mjs.map +1 -1
- package/resources/texml/texml.d.mts +219 -1
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +219 -1
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +26 -0
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +26 -0
- package/resources/texml/texml.mjs.map +1 -1
- package/src/client.ts +9 -1
- package/src/resources/ai/assistants/assistants.ts +18 -2
- package/src/resources/enterprises/enterprises.ts +6 -6
- package/src/resources/enterprises/index.ts +3 -3
- package/src/resources/enterprises/reputation/index.ts +6 -6
- package/src/resources/enterprises/reputation/numbers.ts +58 -54
- package/src/resources/enterprises/reputation/reputation.ts +60 -61
- package/src/resources/index.ts +7 -1
- package/src/resources/texml/accounts/calls/calls.ts +8 -0
- package/src/resources/texml/index.ts +7 -1
- package/src/resources/texml/texml.ts +279 -1
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as NumbersAPI from "./numbers.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { NumberAssociateParams, NumberAssociateResponse, NumberDisassociateParams, NumberListParams, NumberRetrieveParams, NumberRetrieveResponse, Numbers } from "./numbers.mjs";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
6
|
/**
|
|
@@ -8,6 +8,42 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Reputation extends APIResource {
|
|
10
10
|
numbers: NumbersAPI.Numbers;
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve the current Number Reputation settings for an enterprise.
|
|
13
|
+
*
|
|
14
|
+
* Returns the enrollment status (`pending`, `approved`, `rejected`, `deleted`),
|
|
15
|
+
* check frequency, and any rejection reasons.
|
|
16
|
+
*
|
|
17
|
+
* Returns `404` if reputation has not been enabled for this enterprise.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const reputation =
|
|
22
|
+
* await client.enterprises.reputation.retrieve(
|
|
23
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
retrieve(enterpriseID: string, options?: RequestOptions): APIPromise<ReputationRetrieveResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Disable Number Reputation for an enterprise.
|
|
30
|
+
*
|
|
31
|
+
* This will:
|
|
32
|
+
*
|
|
33
|
+
* - Delete the reputation settings record
|
|
34
|
+
* - Log the deletion for audit purposes
|
|
35
|
+
* - Stop all future automated reputation checks
|
|
36
|
+
*
|
|
37
|
+
* **Note:** Can only be performed on `approved` reputation settings.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* await client.enterprises.reputation.disable(
|
|
42
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
disable(enterpriseID: string, options?: RequestOptions): APIPromise<void>;
|
|
11
47
|
/**
|
|
12
48
|
* Enable Number Reputation service for an enterprise.
|
|
13
49
|
*
|
|
@@ -37,50 +73,13 @@ export declare class Reputation extends APIResource {
|
|
|
37
73
|
*
|
|
38
74
|
* @example
|
|
39
75
|
* ```ts
|
|
40
|
-
* const
|
|
41
|
-
* await client.enterprises.reputation.create(
|
|
42
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
43
|
-
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
44
|
-
* );
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
create(enterpriseID: string, body: ReputationCreateParams, options?: RequestOptions): APIPromise<ReputationCreateResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Retrieve the current Number Reputation settings for an enterprise.
|
|
50
|
-
*
|
|
51
|
-
* Returns the enrollment status (`pending`, `approved`, `rejected`, `deleted`),
|
|
52
|
-
* check frequency, and any rejection reasons.
|
|
53
|
-
*
|
|
54
|
-
* Returns `404` if reputation has not been enabled for this enterprise.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const reputations =
|
|
59
|
-
* await client.enterprises.reputation.list(
|
|
60
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
61
|
-
* );
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
list(enterpriseID: string, options?: RequestOptions): APIPromise<ReputationListResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* Disable Number Reputation for an enterprise.
|
|
67
|
-
*
|
|
68
|
-
* This will:
|
|
69
|
-
*
|
|
70
|
-
* - Delete the reputation settings record
|
|
71
|
-
* - Log the deletion for audit purposes
|
|
72
|
-
* - Stop all future automated reputation checks
|
|
73
|
-
*
|
|
74
|
-
* **Note:** Can only be performed on `approved` reputation settings.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* await client.enterprises.reputation.deleteAll(
|
|
76
|
+
* const response = await client.enterprises.reputation.enable(
|
|
79
77
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
78
|
+
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
80
79
|
* );
|
|
81
80
|
* ```
|
|
82
81
|
*/
|
|
83
|
-
|
|
82
|
+
enable(enterpriseID: string, body: ReputationEnableParams, options?: RequestOptions): APIPromise<ReputationEnableResponse>;
|
|
84
83
|
/**
|
|
85
84
|
* Update how often reputation data is automatically refreshed.
|
|
86
85
|
*
|
|
@@ -137,16 +136,16 @@ export interface EnterpriseReputationPublic {
|
|
|
137
136
|
*/
|
|
138
137
|
updated_at?: string;
|
|
139
138
|
}
|
|
140
|
-
export interface
|
|
139
|
+
export interface ReputationRetrieveResponse {
|
|
141
140
|
data?: EnterpriseReputationPublic;
|
|
142
141
|
}
|
|
143
|
-
export interface
|
|
142
|
+
export interface ReputationEnableResponse {
|
|
144
143
|
data?: EnterpriseReputationPublic;
|
|
145
144
|
}
|
|
146
145
|
export interface ReputationUpdateFrequencyResponse {
|
|
147
146
|
data?: EnterpriseReputationPublic;
|
|
148
147
|
}
|
|
149
|
-
export interface
|
|
148
|
+
export interface ReputationEnableParams {
|
|
150
149
|
/**
|
|
151
150
|
* ID of the signed Letter of Authorization (LOA) document uploaded to the document
|
|
152
151
|
* service
|
|
@@ -164,7 +163,7 @@ export interface ReputationUpdateFrequencyParams {
|
|
|
164
163
|
check_frequency: 'business_daily' | 'daily' | 'weekly' | 'biweekly' | 'monthly' | 'never';
|
|
165
164
|
}
|
|
166
165
|
export declare namespace Reputation {
|
|
167
|
-
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type
|
|
168
|
-
export { Numbers as Numbers, type
|
|
166
|
+
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type ReputationRetrieveResponse as ReputationRetrieveResponse, type ReputationEnableResponse as ReputationEnableResponse, type ReputationUpdateFrequencyResponse as ReputationUpdateFrequencyResponse, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, };
|
|
167
|
+
export { Numbers as Numbers, type NumberRetrieveResponse as NumberRetrieveResponse, type NumberAssociateResponse as NumberAssociateResponse, type NumberRetrieveParams as NumberRetrieveParams, type NumberListParams as NumberListParams, type NumberAssociateParams as NumberAssociateParams, type NumberDisassociateParams as NumberDisassociateParams, };
|
|
169
168
|
}
|
|
170
169
|
//# sourceMappingURL=reputation.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,
|
|
1
|
+
{"version":3,"file":"reputation.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as NumbersAPI from "./numbers.js";
|
|
3
|
-
import {
|
|
3
|
+
import { NumberAssociateParams, NumberAssociateResponse, NumberDisassociateParams, NumberListParams, NumberRetrieveParams, NumberRetrieveResponse, Numbers } from "./numbers.js";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
6
|
/**
|
|
@@ -8,6 +8,42 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Reputation extends APIResource {
|
|
10
10
|
numbers: NumbersAPI.Numbers;
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve the current Number Reputation settings for an enterprise.
|
|
13
|
+
*
|
|
14
|
+
* Returns the enrollment status (`pending`, `approved`, `rejected`, `deleted`),
|
|
15
|
+
* check frequency, and any rejection reasons.
|
|
16
|
+
*
|
|
17
|
+
* Returns `404` if reputation has not been enabled for this enterprise.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const reputation =
|
|
22
|
+
* await client.enterprises.reputation.retrieve(
|
|
23
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
retrieve(enterpriseID: string, options?: RequestOptions): APIPromise<ReputationRetrieveResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Disable Number Reputation for an enterprise.
|
|
30
|
+
*
|
|
31
|
+
* This will:
|
|
32
|
+
*
|
|
33
|
+
* - Delete the reputation settings record
|
|
34
|
+
* - Log the deletion for audit purposes
|
|
35
|
+
* - Stop all future automated reputation checks
|
|
36
|
+
*
|
|
37
|
+
* **Note:** Can only be performed on `approved` reputation settings.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* await client.enterprises.reputation.disable(
|
|
42
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
disable(enterpriseID: string, options?: RequestOptions): APIPromise<void>;
|
|
11
47
|
/**
|
|
12
48
|
* Enable Number Reputation service for an enterprise.
|
|
13
49
|
*
|
|
@@ -37,50 +73,13 @@ export declare class Reputation extends APIResource {
|
|
|
37
73
|
*
|
|
38
74
|
* @example
|
|
39
75
|
* ```ts
|
|
40
|
-
* const
|
|
41
|
-
* await client.enterprises.reputation.create(
|
|
42
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
43
|
-
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
44
|
-
* );
|
|
45
|
-
* ```
|
|
46
|
-
*/
|
|
47
|
-
create(enterpriseID: string, body: ReputationCreateParams, options?: RequestOptions): APIPromise<ReputationCreateResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Retrieve the current Number Reputation settings for an enterprise.
|
|
50
|
-
*
|
|
51
|
-
* Returns the enrollment status (`pending`, `approved`, `rejected`, `deleted`),
|
|
52
|
-
* check frequency, and any rejection reasons.
|
|
53
|
-
*
|
|
54
|
-
* Returns `404` if reputation has not been enabled for this enterprise.
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const reputations =
|
|
59
|
-
* await client.enterprises.reputation.list(
|
|
60
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
61
|
-
* );
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
list(enterpriseID: string, options?: RequestOptions): APIPromise<ReputationListResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* Disable Number Reputation for an enterprise.
|
|
67
|
-
*
|
|
68
|
-
* This will:
|
|
69
|
-
*
|
|
70
|
-
* - Delete the reputation settings record
|
|
71
|
-
* - Log the deletion for audit purposes
|
|
72
|
-
* - Stop all future automated reputation checks
|
|
73
|
-
*
|
|
74
|
-
* **Note:** Can only be performed on `approved` reputation settings.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* await client.enterprises.reputation.deleteAll(
|
|
76
|
+
* const response = await client.enterprises.reputation.enable(
|
|
79
77
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
78
|
+
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
80
79
|
* );
|
|
81
80
|
* ```
|
|
82
81
|
*/
|
|
83
|
-
|
|
82
|
+
enable(enterpriseID: string, body: ReputationEnableParams, options?: RequestOptions): APIPromise<ReputationEnableResponse>;
|
|
84
83
|
/**
|
|
85
84
|
* Update how often reputation data is automatically refreshed.
|
|
86
85
|
*
|
|
@@ -137,16 +136,16 @@ export interface EnterpriseReputationPublic {
|
|
|
137
136
|
*/
|
|
138
137
|
updated_at?: string;
|
|
139
138
|
}
|
|
140
|
-
export interface
|
|
139
|
+
export interface ReputationRetrieveResponse {
|
|
141
140
|
data?: EnterpriseReputationPublic;
|
|
142
141
|
}
|
|
143
|
-
export interface
|
|
142
|
+
export interface ReputationEnableResponse {
|
|
144
143
|
data?: EnterpriseReputationPublic;
|
|
145
144
|
}
|
|
146
145
|
export interface ReputationUpdateFrequencyResponse {
|
|
147
146
|
data?: EnterpriseReputationPublic;
|
|
148
147
|
}
|
|
149
|
-
export interface
|
|
148
|
+
export interface ReputationEnableParams {
|
|
150
149
|
/**
|
|
151
150
|
* ID of the signed Letter of Authorization (LOA) document uploaded to the document
|
|
152
151
|
* service
|
|
@@ -164,7 +163,7 @@ export interface ReputationUpdateFrequencyParams {
|
|
|
164
163
|
check_frequency: 'business_daily' | 'daily' | 'weekly' | 'biweekly' | 'monthly' | 'never';
|
|
165
164
|
}
|
|
166
165
|
export declare namespace Reputation {
|
|
167
|
-
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type
|
|
168
|
-
export { Numbers as Numbers, type
|
|
166
|
+
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type ReputationRetrieveResponse as ReputationRetrieveResponse, type ReputationEnableResponse as ReputationEnableResponse, type ReputationUpdateFrequencyResponse as ReputationUpdateFrequencyResponse, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, };
|
|
167
|
+
export { Numbers as Numbers, type NumberRetrieveResponse as NumberRetrieveResponse, type NumberAssociateResponse as NumberAssociateResponse, type NumberRetrieveParams as NumberRetrieveParams, type NumberListParams as NumberListParams, type NumberAssociateParams as NumberAssociateParams, type NumberDisassociateParams as NumberDisassociateParams, };
|
|
169
168
|
}
|
|
170
169
|
//# sourceMappingURL=reputation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,
|
|
1
|
+
{"version":3,"file":"reputation.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIhG;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOzE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,eAAe,CACb,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;IAE3F;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;IAEzD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,0BAA0B,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,0BAA0B,CAAC;CACnC;AAED,MAAM,WAAW,iCAAiC;IAChD,IAAI,CAAC,EAAE,0BAA0B,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5F;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,eAAe,EAAE,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;CAC3F;AAID,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -16,45 +16,6 @@ class Reputation extends resource_1.APIResource {
|
|
|
16
16
|
super(...arguments);
|
|
17
17
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Enable Number Reputation service for an enterprise.
|
|
21
|
-
*
|
|
22
|
-
* **Requirements:**
|
|
23
|
-
*
|
|
24
|
-
* - Signed LOA (Letter of Authorization) document ID
|
|
25
|
-
* - Reputation check frequency (defaults to `business_daily`)
|
|
26
|
-
* - Number Reputation Terms of Service must be accepted
|
|
27
|
-
*
|
|
28
|
-
* **Flow:**
|
|
29
|
-
*
|
|
30
|
-
* 1. Registers the enterprise for reputation monitoring
|
|
31
|
-
* 2. Creates reputation settings with `pending` status
|
|
32
|
-
* 3. Awaits admin approval before monitoring begins
|
|
33
|
-
*
|
|
34
|
-
* **Resubmission After Rejection:** If a previously rejected record exists, this
|
|
35
|
-
* endpoint will delete it and create a new `pending` record.
|
|
36
|
-
*
|
|
37
|
-
* **Available Frequencies:**
|
|
38
|
-
*
|
|
39
|
-
* - `business_daily` — Monday–Friday
|
|
40
|
-
* - `daily` — Every day
|
|
41
|
-
* - `weekly` — Once per week
|
|
42
|
-
* - `biweekly` — Once every two weeks
|
|
43
|
-
* - `monthly` — Once per month
|
|
44
|
-
* - `never` — Manual refresh only
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```ts
|
|
48
|
-
* const reputation =
|
|
49
|
-
* await client.enterprises.reputation.create(
|
|
50
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
51
|
-
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
create(enterpriseID, body, options) {
|
|
56
|
-
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/reputation`, { body, ...options });
|
|
57
|
-
}
|
|
58
19
|
/**
|
|
59
20
|
* Retrieve the current Number Reputation settings for an enterprise.
|
|
60
21
|
*
|
|
@@ -65,13 +26,13 @@ class Reputation extends resource_1.APIResource {
|
|
|
65
26
|
*
|
|
66
27
|
* @example
|
|
67
28
|
* ```ts
|
|
68
|
-
* const
|
|
69
|
-
* await client.enterprises.reputation.
|
|
29
|
+
* const reputation =
|
|
30
|
+
* await client.enterprises.reputation.retrieve(
|
|
70
31
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
71
32
|
* );
|
|
72
33
|
* ```
|
|
73
34
|
*/
|
|
74
|
-
|
|
35
|
+
retrieve(enterpriseID, options) {
|
|
75
36
|
return this._client.get((0, path_1.path) `/enterprises/${enterpriseID}/reputation`, options);
|
|
76
37
|
}
|
|
77
38
|
/**
|
|
@@ -87,17 +48,55 @@ class Reputation extends resource_1.APIResource {
|
|
|
87
48
|
*
|
|
88
49
|
* @example
|
|
89
50
|
* ```ts
|
|
90
|
-
* await client.enterprises.reputation.
|
|
51
|
+
* await client.enterprises.reputation.disable(
|
|
91
52
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
92
53
|
* );
|
|
93
54
|
* ```
|
|
94
55
|
*/
|
|
95
|
-
|
|
56
|
+
disable(enterpriseID, options) {
|
|
96
57
|
return this._client.delete((0, path_1.path) `/enterprises/${enterpriseID}/reputation`, {
|
|
97
58
|
...options,
|
|
98
59
|
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
99
60
|
});
|
|
100
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Enable Number Reputation service for an enterprise.
|
|
64
|
+
*
|
|
65
|
+
* **Requirements:**
|
|
66
|
+
*
|
|
67
|
+
* - Signed LOA (Letter of Authorization) document ID
|
|
68
|
+
* - Reputation check frequency (defaults to `business_daily`)
|
|
69
|
+
* - Number Reputation Terms of Service must be accepted
|
|
70
|
+
*
|
|
71
|
+
* **Flow:**
|
|
72
|
+
*
|
|
73
|
+
* 1. Registers the enterprise for reputation monitoring
|
|
74
|
+
* 2. Creates reputation settings with `pending` status
|
|
75
|
+
* 3. Awaits admin approval before monitoring begins
|
|
76
|
+
*
|
|
77
|
+
* **Resubmission After Rejection:** If a previously rejected record exists, this
|
|
78
|
+
* endpoint will delete it and create a new `pending` record.
|
|
79
|
+
*
|
|
80
|
+
* **Available Frequencies:**
|
|
81
|
+
*
|
|
82
|
+
* - `business_daily` — Monday–Friday
|
|
83
|
+
* - `daily` — Every day
|
|
84
|
+
* - `weekly` — Once per week
|
|
85
|
+
* - `biweekly` — Once every two weeks
|
|
86
|
+
* - `monthly` — Once per month
|
|
87
|
+
* - `never` — Manual refresh only
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* const response = await client.enterprises.reputation.enable(
|
|
92
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
93
|
+
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
enable(enterpriseID, body, options) {
|
|
98
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/reputation`, { body, ...options });
|
|
99
|
+
}
|
|
101
100
|
/**
|
|
102
101
|
* Update how often reputation data is automatically refreshed.
|
|
103
102
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAQmB;AAEnB,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"reputation.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAQmB;AAEnB,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyHrE,CAAC;IAvHC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,aAAa,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,YAAoB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,aAAa,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,eAAe,CACb,YAAoB,EACpB,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AA1HD,gCA0HC;AAuED,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -12,45 +12,6 @@ export class Reputation extends APIResource {
|
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
14
14
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Enable Number Reputation service for an enterprise.
|
|
17
|
-
*
|
|
18
|
-
* **Requirements:**
|
|
19
|
-
*
|
|
20
|
-
* - Signed LOA (Letter of Authorization) document ID
|
|
21
|
-
* - Reputation check frequency (defaults to `business_daily`)
|
|
22
|
-
* - Number Reputation Terms of Service must be accepted
|
|
23
|
-
*
|
|
24
|
-
* **Flow:**
|
|
25
|
-
*
|
|
26
|
-
* 1. Registers the enterprise for reputation monitoring
|
|
27
|
-
* 2. Creates reputation settings with `pending` status
|
|
28
|
-
* 3. Awaits admin approval before monitoring begins
|
|
29
|
-
*
|
|
30
|
-
* **Resubmission After Rejection:** If a previously rejected record exists, this
|
|
31
|
-
* endpoint will delete it and create a new `pending` record.
|
|
32
|
-
*
|
|
33
|
-
* **Available Frequencies:**
|
|
34
|
-
*
|
|
35
|
-
* - `business_daily` — Monday–Friday
|
|
36
|
-
* - `daily` — Every day
|
|
37
|
-
* - `weekly` — Once per week
|
|
38
|
-
* - `biweekly` — Once every two weeks
|
|
39
|
-
* - `monthly` — Once per month
|
|
40
|
-
* - `never` — Manual refresh only
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* ```ts
|
|
44
|
-
* const reputation =
|
|
45
|
-
* await client.enterprises.reputation.create(
|
|
46
|
-
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
47
|
-
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
48
|
-
* );
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
create(enterpriseID, body, options) {
|
|
52
|
-
return this._client.post(path `/enterprises/${enterpriseID}/reputation`, { body, ...options });
|
|
53
|
-
}
|
|
54
15
|
/**
|
|
55
16
|
* Retrieve the current Number Reputation settings for an enterprise.
|
|
56
17
|
*
|
|
@@ -61,13 +22,13 @@ export class Reputation extends APIResource {
|
|
|
61
22
|
*
|
|
62
23
|
* @example
|
|
63
24
|
* ```ts
|
|
64
|
-
* const
|
|
65
|
-
* await client.enterprises.reputation.
|
|
25
|
+
* const reputation =
|
|
26
|
+
* await client.enterprises.reputation.retrieve(
|
|
66
27
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
67
28
|
* );
|
|
68
29
|
* ```
|
|
69
30
|
*/
|
|
70
|
-
|
|
31
|
+
retrieve(enterpriseID, options) {
|
|
71
32
|
return this._client.get(path `/enterprises/${enterpriseID}/reputation`, options);
|
|
72
33
|
}
|
|
73
34
|
/**
|
|
@@ -83,17 +44,55 @@ export class Reputation extends APIResource {
|
|
|
83
44
|
*
|
|
84
45
|
* @example
|
|
85
46
|
* ```ts
|
|
86
|
-
* await client.enterprises.reputation.
|
|
47
|
+
* await client.enterprises.reputation.disable(
|
|
87
48
|
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
88
49
|
* );
|
|
89
50
|
* ```
|
|
90
51
|
*/
|
|
91
|
-
|
|
52
|
+
disable(enterpriseID, options) {
|
|
92
53
|
return this._client.delete(path `/enterprises/${enterpriseID}/reputation`, {
|
|
93
54
|
...options,
|
|
94
55
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
95
56
|
});
|
|
96
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* Enable Number Reputation service for an enterprise.
|
|
60
|
+
*
|
|
61
|
+
* **Requirements:**
|
|
62
|
+
*
|
|
63
|
+
* - Signed LOA (Letter of Authorization) document ID
|
|
64
|
+
* - Reputation check frequency (defaults to `business_daily`)
|
|
65
|
+
* - Number Reputation Terms of Service must be accepted
|
|
66
|
+
*
|
|
67
|
+
* **Flow:**
|
|
68
|
+
*
|
|
69
|
+
* 1. Registers the enterprise for reputation monitoring
|
|
70
|
+
* 2. Creates reputation settings with `pending` status
|
|
71
|
+
* 3. Awaits admin approval before monitoring begins
|
|
72
|
+
*
|
|
73
|
+
* **Resubmission After Rejection:** If a previously rejected record exists, this
|
|
74
|
+
* endpoint will delete it and create a new `pending` record.
|
|
75
|
+
*
|
|
76
|
+
* **Available Frequencies:**
|
|
77
|
+
*
|
|
78
|
+
* - `business_daily` — Monday–Friday
|
|
79
|
+
* - `daily` — Every day
|
|
80
|
+
* - `weekly` — Once per week
|
|
81
|
+
* - `biweekly` — Once every two weeks
|
|
82
|
+
* - `monthly` — Once per month
|
|
83
|
+
* - `never` — Manual refresh only
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const response = await client.enterprises.reputation.enable(
|
|
88
|
+
* '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
|
|
89
|
+
* { loa_document_id: 'doc_01HXYZ1234ABCDEF' },
|
|
90
|
+
* );
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
enable(enterpriseID, body, options) {
|
|
94
|
+
return this._client.post(path `/enterprises/${enterpriseID}/reputation`, { body, ...options });
|
|
95
|
+
}
|
|
97
96
|
/**
|
|
98
97
|
* Update how often reputation data is automatically refreshed.
|
|
99
98
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAOL,OAAO,GACR;OAEM,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"reputation.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAOL,OAAO,GACR;OAEM,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyHrE,CAAC;IAvHC;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,YAAY,aAAa,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,YAAoB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,YAAY,aAAa,EAAE;YACxE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,eAAe,CACb,YAAoB,EACpB,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AAuED,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
package/resources/index.d.mts
CHANGED
|
@@ -137,7 +137,7 @@ export { SubNumberOrders, type SubNumberOrder, type SubNumberOrderRegulatoryRequ
|
|
|
137
137
|
export { SubNumberOrdersReportResource, type SubNumberOrdersReport, type SubNumberOrdersReportCreateResponse, type SubNumberOrdersReportRetrieveResponse, type SubNumberOrdersReportDownloadResponse, type SubNumberOrdersReportCreateParams, } from "./sub-number-orders-report.mjs";
|
|
138
138
|
export { TelephonyCredentials, type TelephonyCredential, type TelephonyCredentialCreateResponse, type TelephonyCredentialRetrieveResponse, type TelephonyCredentialUpdateResponse, type TelephonyCredentialDeleteResponse, type TelephonyCredentialCreateTokenResponse, type TelephonyCredentialCreateParams, type TelephonyCredentialUpdateParams, type TelephonyCredentialListParams, type TelephonyCredentialsDefaultFlatPagination, } from "./telephony-credentials.mjs";
|
|
139
139
|
export { TermsOfService } from "./terms-of-service/terms-of-service.mjs";
|
|
140
|
-
export { Texml, type TexmlSecretsResponse, type TexmlSecretsParams } from "./texml/texml.mjs";
|
|
140
|
+
export { Texml, type TexmlInitiateAICallResponse, type TexmlSecretsResponse, type TexmlInitiateAICallParams, type TexmlSecretsParams, } from "./texml/texml.mjs";
|
|
141
141
|
export { TexmlApplications, type TexmlApplication, type TexmlApplicationCreateResponse, type TexmlApplicationRetrieveResponse, type TexmlApplicationUpdateResponse, type TexmlApplicationDeleteResponse, type TexmlApplicationCreateParams, type TexmlApplicationUpdateParams, type TexmlApplicationListParams, type TexmlApplicationsDefaultFlatPagination, } from "./texml-applications.mjs";
|
|
142
142
|
export { TextToSpeech, TextToSpeechWS, type TextToSpeechGenerateResponse, type TextToSpeechListVoicesResponse, type StreamClientEvent, type StreamServerEvent, type TextToSpeechGenerateParams, type TextToSpeechListVoicesParams, } from "./text-to-speech.mjs";
|
|
143
143
|
export { TrafficPolicyProfiles, type TrafficPolicyProfile, type TrafficPolicyProfileCreateResponse, type TrafficPolicyProfileRetrieveResponse, type TrafficPolicyProfileUpdateResponse, type TrafficPolicyProfileDeleteResponse, type TrafficPolicyProfileListServicesResponse, type TrafficPolicyProfileCreateParams, type TrafficPolicyProfileUpdateParams, type TrafficPolicyProfileListParams, type TrafficPolicyProfileListServicesParams, type TrafficPolicyProfilesDefaultFlatPagination, type TrafficPolicyProfileListServicesResponsesDefaultFlatPagination, } from "./traffic-policy-profiles.mjs";
|