@azure/communication-phone-numbers 1.3.0-alpha.20230820.1 → 1.3.0-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +37 -44
- package/dist/index.js +492 -678
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/src/index.js +1 -0
- package/dist-esm/src/generated/src/index.js.map +1 -1
- package/dist-esm/src/generated/src/lroImpl.js +11 -15
- package/dist-esm/src/generated/src/lroImpl.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js +122 -0
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +15 -2
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/phoneNumbers.js +170 -116
- package/dist-esm/src/generated/src/operations/phoneNumbers.js.map +1 -1
- package/dist-esm/src/generated/src/operationsInterfaces/phoneNumbers.js.map +1 -1
- package/dist-esm/src/generated/src/pagingHelper.js +32 -0
- package/dist-esm/src/generated/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/generated/src/phoneNumbersClient.js +4 -22
- package/dist-esm/src/generated/src/phoneNumbersClient.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/index.js +1 -6
- package/dist-esm/src/generated/src/siprouting/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/mappers.js +0 -166
- package/dist-esm/src/generated/src/siprouting/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/models/parameters.js +2 -48
- package/dist-esm/src/generated/src/siprouting/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/operations/sipRouting.js +1 -35
- package/dist-esm/src/generated/src/siprouting/operations/sipRouting.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/operationsInterfaces/sipRouting.js.map +1 -1
- package/dist-esm/src/generated/src/siprouting/sipRoutingClientContext.js +2 -2
- package/dist-esm/src/generated/src/siprouting/sipRoutingClientContext.js.map +1 -1
- package/dist-esm/src/generated/src/tracing.js +1 -1
- package/dist-esm/src/generated/src/tracing.js.map +1 -1
- package/dist-esm/src/mappers.js +3 -31
- package/dist-esm/src/mappers.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/phoneNumbersClient.js +19 -3
- package/dist-esm/src/phoneNumbersClient.js.map +1 -1
- package/dist-esm/src/sipRoutingClient.js +69 -192
- package/dist-esm/src/sipRoutingClient.js.map +1 -1
- package/dist-esm/src/utils/constants.js +1 -1
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/package.json +15 -14
- package/types/communication-phone-numbers.d.ts +58 -131
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,OAAO,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.2.1\";\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-phone-numbers",
|
3
|
-
"version": "1.3.0-
|
3
|
+
"version": "1.3.0-beta.2",
|
4
4
|
"description": "SDK for Azure Communication service which facilitates phone number management.",
|
5
5
|
"sdk-type": "client",
|
6
6
|
"main": "dist/index.js",
|
@@ -19,7 +19,6 @@
|
|
19
19
|
"extract-api": "tsc -p . && api-extractor run --local",
|
20
20
|
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
21
21
|
"generate:client": "autorest --typescript ./swagger/README.md && rushx format",
|
22
|
-
"generate:siproutingclient": "autorest --typescript ./swagger/README-SipRouting.md && rushx format",
|
23
22
|
"integration-test:browser": "dev-tool run test:browser",
|
24
23
|
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
25
24
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
@@ -32,8 +31,7 @@
|
|
32
31
|
"test:watch": "npm run test -- --watch --reporter min",
|
33
32
|
"unit-test:browser": "dev-tool run test:browser",
|
34
33
|
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
35
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
36
|
-
"unit-test-case": "dev-tool run test:node-ts-input -- --timeout 1200000 "
|
34
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
37
35
|
},
|
38
36
|
"files": [
|
39
37
|
"dist/",
|
@@ -50,7 +48,7 @@
|
|
50
48
|
"author": "Microsoft Corporation",
|
51
49
|
"license": "MIT",
|
52
50
|
"engines": {
|
53
|
-
"node": ">=
|
51
|
+
"node": ">=18.0.0"
|
54
52
|
},
|
55
53
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers/",
|
56
54
|
"repository": "github:Azure/azure-sdk-for-js",
|
@@ -80,12 +78,12 @@
|
|
80
78
|
"@azure/test-utils": "^1.0.0",
|
81
79
|
"@azure-tools/test-credential": "^1.0.0",
|
82
80
|
"@azure-tools/test-recorder": "^3.0.0",
|
83
|
-
"@azure/identity": "^
|
81
|
+
"@azure/identity": "^3.3.0",
|
84
82
|
"@microsoft/api-extractor": "^7.31.1",
|
85
83
|
"@types/chai": "^4.1.6",
|
86
|
-
"@types/mocha": "^
|
87
|
-
"@types/sinon": "^
|
88
|
-
"@types/node": "^
|
84
|
+
"@types/mocha": "^10.0.0",
|
85
|
+
"@types/sinon": "^17.0.0",
|
86
|
+
"@types/node": "^18.0.0",
|
89
87
|
"@types/uuid": "^8.0.0",
|
90
88
|
"chai": "^4.2.0",
|
91
89
|
"cross-env": "^7.0.2",
|
@@ -102,12 +100,14 @@
|
|
102
100
|
"karma-sourcemap-loader": "^0.3.8",
|
103
101
|
"karma": "^6.2.0",
|
104
102
|
"mocha-junit-reporter": "^2.0.0",
|
105
|
-
"mocha": "^
|
106
|
-
"
|
103
|
+
"mocha": "^10.0.0",
|
104
|
+
"c8": "^8.0.0",
|
107
105
|
"prettier": "^2.5.1",
|
108
106
|
"rimraf": "^3.0.0",
|
109
|
-
"sinon": "^
|
110
|
-
"typescript": "~5.
|
107
|
+
"sinon": "^17.0.0",
|
108
|
+
"typescript": "~5.2.0",
|
109
|
+
"ts-node": "^10.0.0",
|
110
|
+
"esm": "^3.2.18"
|
111
111
|
},
|
112
112
|
"//metadata": {
|
113
113
|
"constantPaths": [
|
@@ -148,7 +148,8 @@
|
|
148
148
|
},
|
149
149
|
"skip": [
|
150
150
|
"purchasePhoneNumber.js",
|
151
|
-
"releasePhoneNumber.js"
|
151
|
+
"releasePhoneNumber.js",
|
152
|
+
"manageSipRoutingConfiguration.js"
|
152
153
|
]
|
153
154
|
}
|
154
155
|
}
|
@@ -9,9 +9,6 @@ import { PollerLike } from '@azure/core-lro';
|
|
9
9
|
import { PollOperationState } from '@azure/core-lro';
|
10
10
|
import { TokenCredential } from '@azure/core-auth';
|
11
11
|
|
12
|
-
/** Defines values for ActivityStatus. */
|
13
|
-
export declare type ActivityStatus = "unknown" | "active" | "inactive";
|
14
|
-
|
15
12
|
/**
|
16
13
|
* Additional options for the purchase phone number operation.
|
17
14
|
*/
|
@@ -41,19 +38,6 @@ export declare interface BeginUpdatePhoneNumberCapabilitiesOptions extends Opera
|
|
41
38
|
*/
|
42
39
|
export declare type GetPurchasedPhoneNumberOptions = OperationOptions;
|
43
40
|
|
44
|
-
/**
|
45
|
-
* Additional options that can be passed to get SIP trunk.
|
46
|
-
*/
|
47
|
-
export declare interface GetSipTrunkOptions extends OperationOptions {
|
48
|
-
/**
|
49
|
-
* Sets the optional parameter to retrieve SBC properties.
|
50
|
-
*/
|
51
|
-
includeHealth?: boolean;
|
52
|
-
}
|
53
|
-
|
54
|
-
/** Defines values for InactiveReason. */
|
55
|
-
export declare type InactiveReason = "noRecentCalls" | "noRecentPings" | "noRecentCallsAndPings";
|
56
|
-
|
57
41
|
/**
|
58
42
|
* Additional options that can be passed to the available countries request.
|
59
43
|
*/
|
@@ -87,12 +71,6 @@ export declare interface ListOfferingsOptions extends OperationOptions {
|
|
87
71
|
export declare interface ListPurchasedPhoneNumbersOptions extends OperationOptions {
|
88
72
|
}
|
89
73
|
|
90
|
-
/**
|
91
|
-
* Additional options that can be passed to list SIP trunks.
|
92
|
-
*/
|
93
|
-
export declare interface ListSipDomainsOptions extends OperationOptions {
|
94
|
-
}
|
95
|
-
|
96
74
|
/**
|
97
75
|
* Additional options that can be passed to list SIP routes.
|
98
76
|
*/
|
@@ -102,7 +80,7 @@ export declare interface ListSipRoutesOptions extends OperationOptions {
|
|
102
80
|
/**
|
103
81
|
* Additional options that can be passed to list SIP trunks.
|
104
82
|
*/
|
105
|
-
export declare interface ListSipTrunksOptions extends
|
83
|
+
export declare interface ListSipTrunksOptions extends OperationOptions {
|
106
84
|
}
|
107
85
|
|
108
86
|
/**
|
@@ -111,6 +89,44 @@ export declare interface ListSipTrunksOptions extends GetSipTrunkOptions {
|
|
111
89
|
export declare interface ListTollFreeAreaCodesOptions extends Omit<PhoneNumbersListAreaCodesOptionalParams, "assignmentType" | "locality" | "administrativeDivision"> {
|
112
90
|
}
|
113
91
|
|
92
|
+
/** Represents metadata describing the operator of a phone number */
|
93
|
+
export declare interface OperatorDetails {
|
94
|
+
/** Name of the phone operator */
|
95
|
+
name?: string;
|
96
|
+
/** Mobile Network Code */
|
97
|
+
mobileNetworkCode?: string;
|
98
|
+
/** Mobile Country Code */
|
99
|
+
mobileCountryCode?: string;
|
100
|
+
}
|
101
|
+
|
102
|
+
/** Represents metadata about a phone number that is controlled/provided by that phone number's operator. */
|
103
|
+
export declare interface OperatorInformation {
|
104
|
+
/** E.164 formatted string representation of the phone number */
|
105
|
+
phoneNumber?: string;
|
106
|
+
/** National format of the phone number */
|
107
|
+
nationalFormat?: string;
|
108
|
+
/** International format of the phone number */
|
109
|
+
internationalFormat?: string;
|
110
|
+
/** Type of service associated with the phone number */
|
111
|
+
numberType?: OperatorNumberType;
|
112
|
+
/** ISO 3166-1 two character ('alpha-2') code associated with the phone number. */
|
113
|
+
isoCountryCode?: string;
|
114
|
+
/** Represents metadata describing the operator of a phone number */
|
115
|
+
operatorDetails?: OperatorDetails;
|
116
|
+
}
|
117
|
+
|
118
|
+
/** Represents a search result containing operator information associated with the requested phone numbers */
|
119
|
+
export declare interface OperatorInformationResult {
|
120
|
+
/**
|
121
|
+
* Results of a search.
|
122
|
+
* This array will have one entry per requested phone number which will contain the relevant operator information.
|
123
|
+
*/
|
124
|
+
values?: OperatorInformation[];
|
125
|
+
}
|
126
|
+
|
127
|
+
/** Defines values for OperatorNumberType. */
|
128
|
+
export declare type OperatorNumberType = "unknown" | "other" | "geographic" | "mobile";
|
129
|
+
|
114
130
|
/** Represents an administrative division. e.g. state or province. */
|
115
131
|
export declare interface PhoneNumberAdministrativeDivision {
|
116
132
|
/** Represents the localized name of the administrative division of the locality. e.g. state or province localized name. */
|
@@ -404,6 +420,13 @@ export declare class PhoneNumbersClient {
|
|
404
420
|
* @param options - The optional parameters.
|
405
421
|
*/
|
406
422
|
listAvailableOfferings(countryCode: string, options?: ListOfferingsOptions): PagedAsyncIterableIterator<PhoneNumberOffering>;
|
423
|
+
/**
|
424
|
+
* Search for operator information about specified phone numbers.
|
425
|
+
*
|
426
|
+
* @param phoneNumbers - The phone numbers to search.
|
427
|
+
* @param options - Additional request options.
|
428
|
+
*/
|
429
|
+
searchOperatorInformation(phoneNumbers: string[], options?: SearchOperatorInformationOptions): Promise<OperatorInformationResult>;
|
407
430
|
}
|
408
431
|
|
409
432
|
/**
|
@@ -446,15 +469,22 @@ export declare interface PhoneNumberSearchResult {
|
|
446
469
|
cost: PhoneNumberCost;
|
447
470
|
/** The date that this search result expires and phone numbers are no longer on hold. A search result expires in less than 15min, e.g. 2020-11-19T16:31:49.048Z. */
|
448
471
|
searchExpiresBy: Date;
|
472
|
+
/** The error code of the search. */
|
473
|
+
errorCode?: number;
|
474
|
+
/** Mapping Error Messages to Codes */
|
475
|
+
error?: PhoneNumberSearchResultError;
|
449
476
|
}
|
450
477
|
|
478
|
+
/** Defines values for PhoneNumberSearchResultError. */
|
479
|
+
export declare type PhoneNumberSearchResultError = "NoError" | "UnknownErrorCode" | "OutOfStock" | "AuthorizationDenied" | "MissingAddress" | "InvalidAddress" | "InvalidOfferModel" | "NotEnoughLicenses" | "NoWallet" | "NotEnoughCredit" | "NumbersPartiallyAcquired" | "AllNumbersNotAcquired" | "ReservationExpired" | "PurchaseFailed" | "BillingUnavailable" | "ProvisioningFailed" | "UnknownSearchError";
|
480
|
+
|
451
481
|
/** Optional parameters. */
|
452
482
|
export declare interface PhoneNumbersListAreaCodesOptionalParams extends coreClient.OperationOptions {
|
453
483
|
/** An optional parameter for how many entries to skip, for pagination purposes. The default value is 0. */
|
454
484
|
skip?: number;
|
455
485
|
/** An optional parameter for how many entries to return, for pagination purposes. The default value is 100. */
|
456
486
|
maxPageSize?: number;
|
457
|
-
/** Filter by assignmentType, e.g.
|
487
|
+
/** Filter by assignmentType, e.g. Person, Application. */
|
458
488
|
assignmentType?: PhoneNumberAssignmentType;
|
459
489
|
/** The name of locality or town in which to search for the area code. This is required if the number type is Geographic. */
|
460
490
|
locality?: string;
|
@@ -467,9 +497,6 @@ export declare interface PhoneNumbersListAreaCodesOptionalParams extends coreCli
|
|
467
497
|
/** Defines values for PhoneNumberType. */
|
468
498
|
export declare type PhoneNumberType = "geographic" | "tollFree";
|
469
499
|
|
470
|
-
/** Defines values for PingStatus. */
|
471
|
-
export declare type PingStatus = "unknown" | "ok" | "expired" | "error";
|
472
|
-
|
473
500
|
/** Represents a purchased phone number. */
|
474
501
|
export declare interface PurchasedPhoneNumber {
|
475
502
|
/** The id of the phone number, e.g. 11234567890. */
|
@@ -514,17 +541,10 @@ export declare interface SearchAvailablePhoneNumbersRequest extends PhoneNumberS
|
|
514
541
|
}
|
515
542
|
|
516
543
|
/**
|
517
|
-
*
|
544
|
+
* Additional options for the search operator information request.
|
518
545
|
*/
|
519
|
-
export declare interface
|
520
|
-
|
521
|
-
* Gets or sets domain uri.
|
522
|
-
*/
|
523
|
-
domainName: string;
|
524
|
-
/**
|
525
|
-
* Gets or sets enabled flag
|
526
|
-
*/
|
527
|
-
enabled: boolean;
|
546
|
+
export declare interface SearchOperatorInformationOptions extends OperationOptions {
|
547
|
+
formatOnly: boolean;
|
528
548
|
}
|
529
549
|
|
530
550
|
/**
|
@@ -567,35 +587,12 @@ export declare class SipRoutingClient {
|
|
567
587
|
* @param fqdn - The trunk's FQDN.
|
568
588
|
* @param options - The options parameters.
|
569
589
|
*/
|
570
|
-
getTrunk(fqdn: string, options?:
|
571
|
-
/**
|
572
|
-
* Gets the SIP domains.
|
573
|
-
* @param options - The options parameters.
|
574
|
-
*/
|
575
|
-
listDomains(options?: ListSipDomainsOptions): PagedAsyncIterableIterator<SipDomain>;
|
576
|
-
/**
|
577
|
-
* Gets the SIP domain.
|
578
|
-
* @param domainName - The domain's name (ex: contoso.com).
|
579
|
-
* @param options - The options parameters.
|
580
|
-
*/
|
581
|
-
getDomain(domainName: string, options?: OperationOptions): Promise<SipDomain>;
|
590
|
+
getTrunk(fqdn: string, options?: OperationOptions): Promise<SipTrunk>;
|
582
591
|
/**
|
583
592
|
* Lists the SIP trunk routes.
|
584
593
|
* @param options - The options parameters.
|
585
594
|
*/
|
586
595
|
listRoutes(options?: ListSipRoutesOptions): PagedAsyncIterableIterator<SipTrunkRoute>;
|
587
|
-
/**
|
588
|
-
* Sets the SIP domains.
|
589
|
-
* @param domains - The SIP domains to be set.
|
590
|
-
* @param options - The options parameters.
|
591
|
-
*/
|
592
|
-
setDomains(domains: SipDomain[], options?: OperationOptions): Promise<SipDomain[]>;
|
593
|
-
/**
|
594
|
-
* Sets the SIP domain.
|
595
|
-
* @param domain - The SIP domain to be set.
|
596
|
-
* @param options - The options parameters.
|
597
|
-
*/
|
598
|
-
setDomain(domain: SipDomain, options?: OperationOptions): Promise<SipDomain>;
|
599
596
|
/**
|
600
597
|
* Sets the SIP trunks.
|
601
598
|
* @param trunks - The SIP trunks to be set.
|
@@ -620,21 +617,11 @@ export declare class SipRoutingClient {
|
|
620
617
|
* @param options - The options parameters.
|
621
618
|
*/
|
622
619
|
deleteTrunk(fqdn: string, options?: OperationOptions): Promise<void>;
|
623
|
-
/**
|
624
|
-
* Deletes the SIP domain.
|
625
|
-
* @param domainName - The domain's name (ex: contoso.com).
|
626
|
-
* @param options - The options parameters.
|
627
|
-
*/
|
628
|
-
deleteDomain(domainName: string, options?: OperationOptions): Promise<void>;
|
629
|
-
matchNumberToRoutes(phoneNumber: string, options: SipRoutingTestRoutesWithNumberOperationParams): Promise<SipTrunkRoute[]>;
|
630
620
|
private getRoutesInternal;
|
631
621
|
private getTrunksInternal;
|
632
|
-
private getDomainsInternal;
|
633
622
|
private listRoutesPagingAll;
|
634
623
|
private listTrunksPagingAll;
|
635
|
-
private listDomainsPagingAll;
|
636
624
|
private listTrunksPagingPage;
|
637
|
-
private listDomainsPagingPage;
|
638
625
|
private listRoutesPagingPage;
|
639
626
|
}
|
640
627
|
|
@@ -667,25 +654,6 @@ export declare interface SipRoutingError {
|
|
667
654
|
readonly innerError?: SipRoutingError;
|
668
655
|
}
|
669
656
|
|
670
|
-
export declare interface SipRoutingTestRoutesWithNumberOperationParams extends OperationOptions {
|
671
|
-
/**
|
672
|
-
* Validated Domains.
|
673
|
-
* Map key is domain.
|
674
|
-
*/
|
675
|
-
domains?: {
|
676
|
-
[propertyName: string]: SipDomain;
|
677
|
-
};
|
678
|
-
/**
|
679
|
-
* SIP trunks for routing calls.
|
680
|
-
* Map key is trunk's FQDN (1-249 characters).
|
681
|
-
*/
|
682
|
-
trunks?: {
|
683
|
-
[propertyName: string]: SipTrunk;
|
684
|
-
};
|
685
|
-
/** Trunk routes for routing calls. */
|
686
|
-
routes?: SipTrunkRoute[];
|
687
|
-
}
|
688
|
-
|
689
657
|
/**
|
690
658
|
* Represents a SIP trunk for routing calls. See RFC 4904.
|
691
659
|
*/
|
@@ -698,38 +666,6 @@ export declare interface SipTrunk {
|
|
698
666
|
* Gets or sets SIP signaling port of the trunk.
|
699
667
|
*/
|
700
668
|
sipSignalingPort: number;
|
701
|
-
/**
|
702
|
-
* Gets or sets enabled property of the trunk.
|
703
|
-
*/
|
704
|
-
enabled?: boolean;
|
705
|
-
/**
|
706
|
-
* Represents health state of a SIP trunk for routing calls.
|
707
|
-
*/
|
708
|
-
readonly health?: SipTrunkHealth;
|
709
|
-
}
|
710
|
-
|
711
|
-
/** The activity status of Trunk. */
|
712
|
-
export declare interface SipTrunkActivity {
|
713
|
-
/** The activity status of Trunk. */
|
714
|
-
status: ActivityStatus;
|
715
|
-
/** The reason activity status of Trunk is inactive. */
|
716
|
-
inactiveReason?: InactiveReason;
|
717
|
-
}
|
718
|
-
|
719
|
-
/** Represents health state of a SIP trunk for routing calls. */
|
720
|
-
export declare interface SipTrunkHealth {
|
721
|
-
/** The status of the TLS connections of the Trunk. */
|
722
|
-
tls: SipTrunkTls;
|
723
|
-
/** The status of SIP OPTIONS message sent by Trunk. */
|
724
|
-
ping: SipTrunkPing;
|
725
|
-
/** The activity status of Trunk. */
|
726
|
-
activity: SipTrunkActivity;
|
727
|
-
}
|
728
|
-
|
729
|
-
/** The status of SIP OPTIONS message sent by Trunk. */
|
730
|
-
export declare interface SipTrunkPing {
|
731
|
-
/** The status of SIP OPTIONS message sent by Trunk. */
|
732
|
-
status: PingStatus;
|
733
669
|
}
|
734
670
|
|
735
671
|
/** Represents a trunk route for routing calls. */
|
@@ -748,13 +684,4 @@ export declare interface SipTrunkRoute {
|
|
748
684
|
trunks?: string[];
|
749
685
|
}
|
750
686
|
|
751
|
-
/** The status of the TLS connections of the Trunk. */
|
752
|
-
export declare interface SipTrunkTls {
|
753
|
-
/** The status of the TLS connections of the Trunk. */
|
754
|
-
status: TlsStatus;
|
755
|
-
}
|
756
|
-
|
757
|
-
/** Defines values for TlsStatus. */
|
758
|
-
export declare type TlsStatus = "unknown" | "ok" | "certExpiring" | "certExpired";
|
759
|
-
|
760
687
|
export { }
|