@webex/calling 0.0.1-next.0 → 0.0.1-next.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/README.md +51 -66
- package/dist/module/CallHistory/CallHistory.js +84 -84
- package/dist/module/CallHistory/callHistoryFixtures.js +307 -307
- package/dist/module/CallHistory/constants.js +9 -9
- package/dist/module/CallHistory/types.js +1 -1
- package/dist/module/CallSettings/CallSettings.js +65 -65
- package/dist/module/CallSettings/UcmBackendConnector.js +100 -100
- package/dist/module/CallSettings/WxCallBackendConnector.js +287 -287
- package/dist/module/CallSettings/constants.js +11 -11
- package/dist/module/CallSettings/testFixtures.js +62 -62
- package/dist/module/CallSettings/types.js +1 -1
- package/dist/module/CallingClient/CallingClient.js +268 -268
- package/dist/module/CallingClient/callRecordFixtures.js +93 -93
- package/dist/module/CallingClient/calling/CallerId/index.js +169 -169
- package/dist/module/CallingClient/calling/CallerId/types.js +1 -1
- package/dist/module/CallingClient/calling/call.js +1649 -1649
- package/dist/module/CallingClient/calling/callManager.js +274 -274
- package/dist/module/CallingClient/calling/index.js +2 -2
- package/dist/module/CallingClient/calling/types.js +53 -53
- package/dist/module/CallingClient/callingClientFixtures.js +38 -38
- package/dist/module/CallingClient/constants.js +122 -122
- package/dist/module/CallingClient/line/index.js +110 -110
- package/dist/module/CallingClient/line/types.js +14 -14
- package/dist/module/CallingClient/registration/index.js +1 -1
- package/dist/module/CallingClient/registration/register.js +507 -507
- package/dist/module/CallingClient/registration/registerFixtures.js +28 -28
- package/dist/module/CallingClient/registration/types.js +1 -1
- package/dist/module/CallingClient/types.js +1 -1
- package/dist/module/Contacts/ContactsClient.js +487 -487
- package/dist/module/Contacts/constants.js +20 -20
- package/dist/module/Contacts/contactFixtures.js +284 -284
- package/dist/module/Contacts/types.js +10 -10
- package/dist/module/Errors/catalog/CallError.js +26 -26
- package/dist/module/Errors/catalog/CallingDeviceError.js +18 -18
- package/dist/module/Errors/catalog/ExtendedError.js +10 -10
- package/dist/module/Errors/catalog/LineError.js +24 -24
- package/dist/module/Errors/index.js +2 -2
- package/dist/module/Errors/types.js +48 -48
- package/dist/module/Events/impl/index.js +19 -19
- package/dist/module/Events/types.js +74 -74
- package/dist/module/Logger/index.js +114 -114
- package/dist/module/Logger/types.js +25 -25
- package/dist/module/Metrics/index.js +232 -232
- package/dist/module/Metrics/types.js +37 -37
- package/dist/module/SDKConnector/index.js +39 -39
- package/dist/module/SDKConnector/types.js +1 -1
- package/dist/module/SDKConnector/utils.js +12 -12
- package/dist/module/Voicemail/BroadworksBackendConnector.js +289 -289
- package/dist/module/Voicemail/UcmBackendConnector.js +275 -275
- package/dist/module/Voicemail/Voicemail.js +110 -110
- package/dist/module/Voicemail/WxCallBackendConnector.js +279 -279
- package/dist/module/Voicemail/constants.js +29 -29
- package/dist/module/Voicemail/types.js +1 -1
- package/dist/module/Voicemail/voicemailFixture.js +449 -449
- package/dist/module/common/Utils.js +802 -802
- package/dist/module/common/constants.js +40 -40
- package/dist/module/common/index.js +1 -1
- package/dist/module/common/testUtil.js +938 -938
- package/dist/module/common/types.js +57 -57
- package/dist/module/index.js +8 -8
- package/dist/types/CallHistory/CallHistory.d.ts +18 -18
- package/dist/types/CallHistory/callHistoryFixtures.d.ts +94 -94
- package/dist/types/CallHistory/constants.d.ts +9 -9
- package/dist/types/CallHistory/types.d.ts +20 -20
- package/dist/types/CallSettings/CallSettings.d.ts +19 -19
- package/dist/types/CallSettings/UcmBackendConnector.d.ts +19 -19
- package/dist/types/CallSettings/WxCallBackendConnector.d.ts +21 -21
- package/dist/types/CallSettings/constants.d.ts +11 -11
- package/dist/types/CallSettings/testFixtures.d.ts +15 -15
- package/dist/types/CallSettings/types.d.ts +107 -107
- package/dist/types/CallingClient/CallingClient.d.ts +37 -37
- package/dist/types/CallingClient/callRecordFixtures.d.ts +3 -3
- package/dist/types/CallingClient/calling/CallerId/index.d.ts +17 -17
- package/dist/types/CallingClient/calling/CallerId/types.d.ts +41 -41
- package/dist/types/CallingClient/calling/call.d.ts +94 -94
- package/dist/types/CallingClient/calling/call.d.ts.map +1 -1
- package/dist/types/CallingClient/calling/callManager.d.ts +21 -21
- package/dist/types/CallingClient/calling/index.d.ts +2 -2
- package/dist/types/CallingClient/calling/types.d.ts +203 -203
- package/dist/types/CallingClient/calling/types.d.ts.map +1 -1
- package/dist/types/CallingClient/callingClientFixtures.d.ts +18 -18
- package/dist/types/CallingClient/constants.d.ts +122 -122
- package/dist/types/CallingClient/line/index.d.ts +38 -38
- package/dist/types/CallingClient/line/types.d.ts +50 -50
- package/dist/types/CallingClient/registration/index.d.ts +1 -1
- package/dist/types/CallingClient/registration/register.d.ts +64 -64
- package/dist/types/CallingClient/registration/registerFixtures.d.ts +28 -28
- package/dist/types/CallingClient/registration/types.d.ts +20 -20
- package/dist/types/CallingClient/types.d.ts +29 -29
- package/dist/types/Contacts/ContactsClient.d.ts +27 -27
- package/dist/types/Contacts/constants.d.ts +19 -19
- package/dist/types/Contacts/contactFixtures.d.ts +280 -280
- package/dist/types/Contacts/types.d.ts +74 -74
- package/dist/types/Errors/catalog/CallError.d.ts +11 -11
- package/dist/types/Errors/catalog/CallingDeviceError.d.ts +10 -10
- package/dist/types/Errors/catalog/ExtendedError.d.ts +6 -6
- package/dist/types/Errors/catalog/LineError.d.ts +10 -10
- package/dist/types/Errors/index.d.ts +2 -2
- package/dist/types/Errors/types.d.ts +60 -60
- package/dist/types/Events/impl/index.d.ts +8 -8
- package/dist/types/Events/types.d.ts +283 -283
- package/dist/types/Logger/index.d.ts +12 -12
- package/dist/types/Logger/types.d.ts +25 -25
- package/dist/types/Metrics/index.d.ts +5 -5
- package/dist/types/Metrics/types.d.ts +42 -42
- package/dist/types/SDKConnector/index.d.ts +12 -12
- package/dist/types/SDKConnector/types.d.ts +128 -128
- package/dist/types/SDKConnector/utils.d.ts +5 -5
- package/dist/types/Voicemail/BroadworksBackendConnector.d.ts +27 -27
- package/dist/types/Voicemail/UcmBackendConnector.d.ts +34 -34
- package/dist/types/Voicemail/Voicemail.d.ts +27 -27
- package/dist/types/Voicemail/WxCallBackendConnector.d.ts +23 -23
- package/dist/types/Voicemail/constants.d.ts +29 -29
- package/dist/types/Voicemail/types.d.ts +133 -133
- package/dist/types/Voicemail/voicemailFixture.d.ts +349 -349
- package/dist/types/common/Utils.d.ts +34 -34
- package/dist/types/common/constants.d.ts +40 -40
- package/dist/types/common/index.d.ts +1 -1
- package/dist/types/common/testUtil.d.ts +3611 -3611
- package/dist/types/common/types.d.ts +191 -191
- package/dist/types/index.d.ts +8 -8
- package/package.json +6 -41
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
export type MobiusDeviceId = string;
|
|
2
|
-
export type MobiusDeviceUri = string;
|
|
3
|
-
export type SettingEnabled = boolean;
|
|
4
|
-
export declare enum ALLOWED_SERVICES {
|
|
5
|
-
MOBIUS = "mobius",
|
|
6
|
-
JANUS = "janus"
|
|
7
|
-
}
|
|
8
|
-
export declare enum HTTP_METHODS {
|
|
9
|
-
GET = "GET",
|
|
10
|
-
POST = "POST",
|
|
11
|
-
PATCH = "PATCH",
|
|
12
|
-
PUT = "PUT",
|
|
13
|
-
DELETE = "DELETE"
|
|
14
|
-
}
|
|
15
|
-
export declare enum MobiusStatus {
|
|
16
|
-
ACTIVE = "active",
|
|
17
|
-
DEFAULT = "default"
|
|
18
|
-
}
|
|
19
|
-
export declare enum CALLING_BACKEND {
|
|
20
|
-
WXC = "WEBEX_CALLING",
|
|
21
|
-
BWRKS = "BROADWORKS_CALLING",
|
|
22
|
-
UCM = "UCM_CALLING",
|
|
23
|
-
INVALID = "Calling backend is currently not supported"
|
|
24
|
-
}
|
|
25
|
-
export type DeviceList = unknown;
|
|
26
|
-
export type CallId = string;
|
|
27
|
-
export type CorrelationId = string;
|
|
28
|
-
export type SipAddress = string;
|
|
29
|
-
export declare enum CallType {
|
|
30
|
-
URI = "uri",
|
|
31
|
-
TEL = "tel"
|
|
32
|
-
}
|
|
33
|
-
export type CallDetails = {
|
|
34
|
-
type: CallType;
|
|
35
|
-
address: SipAddress;
|
|
36
|
-
};
|
|
37
|
-
export type CallDestination = CallDetails;
|
|
38
|
-
export declare enum CallDirection {
|
|
39
|
-
INBOUND = "inbound",
|
|
40
|
-
OUTBOUND = "outbound"
|
|
41
|
-
}
|
|
42
|
-
export type AvatarId = string;
|
|
43
|
-
export type DisplayName = string;
|
|
44
|
-
export type DisplayInformation = {
|
|
45
|
-
avatarSrc: AvatarId | undefined;
|
|
46
|
-
name: DisplayName | undefined;
|
|
47
|
-
num: string | undefined;
|
|
48
|
-
id: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
export type WebexRequestPayload = {
|
|
51
|
-
method?: HTTP_METHODS;
|
|
52
|
-
uri?: string;
|
|
53
|
-
addAuthHeader?: boolean;
|
|
54
|
-
headers?: {
|
|
55
|
-
[key: string]: string | null;
|
|
56
|
-
};
|
|
57
|
-
body?: object;
|
|
58
|
-
statusCode?: number;
|
|
59
|
-
json?: boolean;
|
|
60
|
-
service?: ALLOWED_SERVICES;
|
|
61
|
-
};
|
|
62
|
-
export type ErrorCode = string;
|
|
63
|
-
export type Digit = string | number;
|
|
64
|
-
export type ServerInfo = {
|
|
65
|
-
region: string;
|
|
66
|
-
uris: string[];
|
|
67
|
-
};
|
|
68
|
-
export type MobiusServers = {
|
|
69
|
-
primary: ServerInfo;
|
|
70
|
-
backup: ServerInfo;
|
|
71
|
-
};
|
|
72
|
-
export type IpInfo = {
|
|
73
|
-
ipv4: string;
|
|
74
|
-
ipv6: string;
|
|
75
|
-
};
|
|
76
|
-
export type DeviceType = {
|
|
77
|
-
deviceId: string;
|
|
78
|
-
uri: string;
|
|
79
|
-
status: string;
|
|
80
|
-
lastSeen: string;
|
|
81
|
-
addresses: string[];
|
|
82
|
-
clientDeviceUri: string;
|
|
83
|
-
};
|
|
84
|
-
export type RegionInfo = {
|
|
85
|
-
countryCode: string;
|
|
86
|
-
clientRegion: string;
|
|
87
|
-
};
|
|
88
|
-
export interface IDeviceInfo {
|
|
89
|
-
userId?: string;
|
|
90
|
-
errorCode?: number;
|
|
91
|
-
device?: DeviceType;
|
|
92
|
-
devices?: DeviceType[];
|
|
93
|
-
keepaliveInterval?: number;
|
|
94
|
-
callKeepaliveInterval?: number;
|
|
95
|
-
voicePortalNumber?: number;
|
|
96
|
-
voicePortalExtension?: number;
|
|
97
|
-
rehomingIntervalMin?: number;
|
|
98
|
-
rehomingIntervalMax?: number;
|
|
99
|
-
}
|
|
100
|
-
export interface IMetaContext {
|
|
101
|
-
file?: string;
|
|
102
|
-
method?: string;
|
|
103
|
-
}
|
|
104
|
-
export declare enum SORT {
|
|
105
|
-
ASC = "ASC",
|
|
106
|
-
DESC = "DESC",
|
|
107
|
-
DEFAULT = "DESC"
|
|
108
|
-
}
|
|
109
|
-
export declare enum SORT_BY {
|
|
110
|
-
END_TIME = "endTime",
|
|
111
|
-
DEFAULT = "endTime",
|
|
112
|
-
START_TIME = "startTime"
|
|
113
|
-
}
|
|
114
|
-
export declare enum ServiceIndicator {
|
|
115
|
-
CALLING = "calling",
|
|
116
|
-
CONTACT_CENTER = "contactcenter"
|
|
117
|
-
}
|
|
118
|
-
export type ServiceData = {
|
|
119
|
-
indicator: ServiceIndicator;
|
|
120
|
-
domain?: string;
|
|
121
|
-
};
|
|
122
|
-
export type PhoneNumber = {
|
|
123
|
-
type: string;
|
|
124
|
-
value: string;
|
|
125
|
-
primary?: boolean;
|
|
126
|
-
};
|
|
127
|
-
export type PersonInfo = {
|
|
128
|
-
id: string;
|
|
129
|
-
emails: string[];
|
|
130
|
-
phoneNumbers: PhoneNumber[];
|
|
131
|
-
displayName: string;
|
|
132
|
-
nickName: string;
|
|
133
|
-
firstName: string;
|
|
134
|
-
lastName: string;
|
|
135
|
-
avatar: string;
|
|
136
|
-
orgId: string;
|
|
137
|
-
created: string;
|
|
138
|
-
lastModified: string;
|
|
139
|
-
lastActivity: string;
|
|
140
|
-
status: string;
|
|
141
|
-
type: string;
|
|
142
|
-
};
|
|
143
|
-
export type PeopleListResponse = {
|
|
144
|
-
items: PersonInfo[];
|
|
145
|
-
notFoundIds: string[];
|
|
146
|
-
};
|
|
147
|
-
export declare enum DecodeType {
|
|
148
|
-
PEOPLE = "PEOPLE",
|
|
149
|
-
ORGANIZATION = "ORGANIZATION"
|
|
150
|
-
}
|
|
151
|
-
export type ContactDetail = {
|
|
152
|
-
type?: string;
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
|
-
export interface LookupOptions {
|
|
156
|
-
ids: string[];
|
|
157
|
-
}
|
|
158
|
-
export type DSSLookupResponse = {
|
|
159
|
-
additionalInfo: {
|
|
160
|
-
department: string;
|
|
161
|
-
firstName: string;
|
|
162
|
-
identityManager: {
|
|
163
|
-
managerId: string;
|
|
164
|
-
displayName: string;
|
|
165
|
-
};
|
|
166
|
-
jobTitle: string;
|
|
167
|
-
lastName: string;
|
|
168
|
-
};
|
|
169
|
-
displayName: string;
|
|
170
|
-
emails: ContactDetail[];
|
|
171
|
-
entityProviderType: string;
|
|
172
|
-
identity: string;
|
|
173
|
-
orgId: string;
|
|
174
|
-
phoneNumbers: ContactDetail[];
|
|
175
|
-
photos: ContactDetail[];
|
|
176
|
-
sipAddresses: ContactDetail[];
|
|
177
|
-
type: string;
|
|
178
|
-
};
|
|
179
|
-
export type KmsKey = {
|
|
180
|
-
uri: string;
|
|
181
|
-
userId: string;
|
|
182
|
-
createDate: string;
|
|
183
|
-
expirationDate: string;
|
|
184
|
-
bindDate?: string;
|
|
185
|
-
resourceUri?: string;
|
|
186
|
-
};
|
|
187
|
-
export type KmsResourceObject = {
|
|
188
|
-
uri: string;
|
|
189
|
-
keyUris: string[];
|
|
190
|
-
authorizationUris: string[];
|
|
191
|
-
};
|
|
1
|
+
export type MobiusDeviceId = string;
|
|
2
|
+
export type MobiusDeviceUri = string;
|
|
3
|
+
export type SettingEnabled = boolean;
|
|
4
|
+
export declare enum ALLOWED_SERVICES {
|
|
5
|
+
MOBIUS = "mobius",
|
|
6
|
+
JANUS = "janus"
|
|
7
|
+
}
|
|
8
|
+
export declare enum HTTP_METHODS {
|
|
9
|
+
GET = "GET",
|
|
10
|
+
POST = "POST",
|
|
11
|
+
PATCH = "PATCH",
|
|
12
|
+
PUT = "PUT",
|
|
13
|
+
DELETE = "DELETE"
|
|
14
|
+
}
|
|
15
|
+
export declare enum MobiusStatus {
|
|
16
|
+
ACTIVE = "active",
|
|
17
|
+
DEFAULT = "default"
|
|
18
|
+
}
|
|
19
|
+
export declare enum CALLING_BACKEND {
|
|
20
|
+
WXC = "WEBEX_CALLING",
|
|
21
|
+
BWRKS = "BROADWORKS_CALLING",
|
|
22
|
+
UCM = "UCM_CALLING",
|
|
23
|
+
INVALID = "Calling backend is currently not supported"
|
|
24
|
+
}
|
|
25
|
+
export type DeviceList = unknown;
|
|
26
|
+
export type CallId = string;
|
|
27
|
+
export type CorrelationId = string;
|
|
28
|
+
export type SipAddress = string;
|
|
29
|
+
export declare enum CallType {
|
|
30
|
+
URI = "uri",
|
|
31
|
+
TEL = "tel"
|
|
32
|
+
}
|
|
33
|
+
export type CallDetails = {
|
|
34
|
+
type: CallType;
|
|
35
|
+
address: SipAddress;
|
|
36
|
+
};
|
|
37
|
+
export type CallDestination = CallDetails;
|
|
38
|
+
export declare enum CallDirection {
|
|
39
|
+
INBOUND = "inbound",
|
|
40
|
+
OUTBOUND = "outbound"
|
|
41
|
+
}
|
|
42
|
+
export type AvatarId = string;
|
|
43
|
+
export type DisplayName = string;
|
|
44
|
+
export type DisplayInformation = {
|
|
45
|
+
avatarSrc: AvatarId | undefined;
|
|
46
|
+
name: DisplayName | undefined;
|
|
47
|
+
num: string | undefined;
|
|
48
|
+
id: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
export type WebexRequestPayload = {
|
|
51
|
+
method?: HTTP_METHODS;
|
|
52
|
+
uri?: string;
|
|
53
|
+
addAuthHeader?: boolean;
|
|
54
|
+
headers?: {
|
|
55
|
+
[key: string]: string | null;
|
|
56
|
+
};
|
|
57
|
+
body?: object;
|
|
58
|
+
statusCode?: number;
|
|
59
|
+
json?: boolean;
|
|
60
|
+
service?: ALLOWED_SERVICES;
|
|
61
|
+
};
|
|
62
|
+
export type ErrorCode = string;
|
|
63
|
+
export type Digit = string | number;
|
|
64
|
+
export type ServerInfo = {
|
|
65
|
+
region: string;
|
|
66
|
+
uris: string[];
|
|
67
|
+
};
|
|
68
|
+
export type MobiusServers = {
|
|
69
|
+
primary: ServerInfo;
|
|
70
|
+
backup: ServerInfo;
|
|
71
|
+
};
|
|
72
|
+
export type IpInfo = {
|
|
73
|
+
ipv4: string;
|
|
74
|
+
ipv6: string;
|
|
75
|
+
};
|
|
76
|
+
export type DeviceType = {
|
|
77
|
+
deviceId: string;
|
|
78
|
+
uri: string;
|
|
79
|
+
status: string;
|
|
80
|
+
lastSeen: string;
|
|
81
|
+
addresses: string[];
|
|
82
|
+
clientDeviceUri: string;
|
|
83
|
+
};
|
|
84
|
+
export type RegionInfo = {
|
|
85
|
+
countryCode: string;
|
|
86
|
+
clientRegion: string;
|
|
87
|
+
};
|
|
88
|
+
export interface IDeviceInfo {
|
|
89
|
+
userId?: string;
|
|
90
|
+
errorCode?: number;
|
|
91
|
+
device?: DeviceType;
|
|
92
|
+
devices?: DeviceType[];
|
|
93
|
+
keepaliveInterval?: number;
|
|
94
|
+
callKeepaliveInterval?: number;
|
|
95
|
+
voicePortalNumber?: number;
|
|
96
|
+
voicePortalExtension?: number;
|
|
97
|
+
rehomingIntervalMin?: number;
|
|
98
|
+
rehomingIntervalMax?: number;
|
|
99
|
+
}
|
|
100
|
+
export interface IMetaContext {
|
|
101
|
+
file?: string;
|
|
102
|
+
method?: string;
|
|
103
|
+
}
|
|
104
|
+
export declare enum SORT {
|
|
105
|
+
ASC = "ASC",
|
|
106
|
+
DESC = "DESC",
|
|
107
|
+
DEFAULT = "DESC"
|
|
108
|
+
}
|
|
109
|
+
export declare enum SORT_BY {
|
|
110
|
+
END_TIME = "endTime",
|
|
111
|
+
DEFAULT = "endTime",
|
|
112
|
+
START_TIME = "startTime"
|
|
113
|
+
}
|
|
114
|
+
export declare enum ServiceIndicator {
|
|
115
|
+
CALLING = "calling",
|
|
116
|
+
CONTACT_CENTER = "contactcenter"
|
|
117
|
+
}
|
|
118
|
+
export type ServiceData = {
|
|
119
|
+
indicator: ServiceIndicator;
|
|
120
|
+
domain?: string;
|
|
121
|
+
};
|
|
122
|
+
export type PhoneNumber = {
|
|
123
|
+
type: string;
|
|
124
|
+
value: string;
|
|
125
|
+
primary?: boolean;
|
|
126
|
+
};
|
|
127
|
+
export type PersonInfo = {
|
|
128
|
+
id: string;
|
|
129
|
+
emails: string[];
|
|
130
|
+
phoneNumbers: PhoneNumber[];
|
|
131
|
+
displayName: string;
|
|
132
|
+
nickName: string;
|
|
133
|
+
firstName: string;
|
|
134
|
+
lastName: string;
|
|
135
|
+
avatar: string;
|
|
136
|
+
orgId: string;
|
|
137
|
+
created: string;
|
|
138
|
+
lastModified: string;
|
|
139
|
+
lastActivity: string;
|
|
140
|
+
status: string;
|
|
141
|
+
type: string;
|
|
142
|
+
};
|
|
143
|
+
export type PeopleListResponse = {
|
|
144
|
+
items: PersonInfo[];
|
|
145
|
+
notFoundIds: string[];
|
|
146
|
+
};
|
|
147
|
+
export declare enum DecodeType {
|
|
148
|
+
PEOPLE = "PEOPLE",
|
|
149
|
+
ORGANIZATION = "ORGANIZATION"
|
|
150
|
+
}
|
|
151
|
+
export type ContactDetail = {
|
|
152
|
+
type?: string;
|
|
153
|
+
value: string;
|
|
154
|
+
};
|
|
155
|
+
export interface LookupOptions {
|
|
156
|
+
ids: string[];
|
|
157
|
+
}
|
|
158
|
+
export type DSSLookupResponse = {
|
|
159
|
+
additionalInfo: {
|
|
160
|
+
department: string;
|
|
161
|
+
firstName: string;
|
|
162
|
+
identityManager: {
|
|
163
|
+
managerId: string;
|
|
164
|
+
displayName: string;
|
|
165
|
+
};
|
|
166
|
+
jobTitle: string;
|
|
167
|
+
lastName: string;
|
|
168
|
+
};
|
|
169
|
+
displayName: string;
|
|
170
|
+
emails: ContactDetail[];
|
|
171
|
+
entityProviderType: string;
|
|
172
|
+
identity: string;
|
|
173
|
+
orgId: string;
|
|
174
|
+
phoneNumbers: ContactDetail[];
|
|
175
|
+
photos: ContactDetail[];
|
|
176
|
+
sipAddresses: ContactDetail[];
|
|
177
|
+
type: string;
|
|
178
|
+
};
|
|
179
|
+
export type KmsKey = {
|
|
180
|
+
uri: string;
|
|
181
|
+
userId: string;
|
|
182
|
+
createDate: string;
|
|
183
|
+
expirationDate: string;
|
|
184
|
+
bindDate?: string;
|
|
185
|
+
resourceUri?: string;
|
|
186
|
+
};
|
|
187
|
+
export type KmsResourceObject = {
|
|
188
|
+
uri: string;
|
|
189
|
+
keyUris: string[];
|
|
190
|
+
authorizationUris: string[];
|
|
191
|
+
};
|
|
192
192
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createMicrophoneStream } from '@webex/media-helpers';
|
|
2
|
-
import { createCallSettingsClient } from './CallSettings/CallSettings';
|
|
3
|
-
import { createContactsClient } from './Contacts/ContactsClient';
|
|
4
|
-
import { createClient } from './CallingClient/CallingClient';
|
|
5
|
-
import { createCallHistoryClient } from './CallHistory/CallHistory';
|
|
6
|
-
import { createVoicemailClient } from './Voicemail/Voicemail';
|
|
7
|
-
import Logger from './Logger';
|
|
8
|
-
export { createClient, createCallHistoryClient, createMicrophoneStream, createVoicemailClient, createContactsClient, createCallSettingsClient, Logger, };
|
|
1
|
+
import { createMicrophoneStream } from '@webex/media-helpers';
|
|
2
|
+
import { createCallSettingsClient } from './CallSettings/CallSettings';
|
|
3
|
+
import { createContactsClient } from './Contacts/ContactsClient';
|
|
4
|
+
import { createClient } from './CallingClient/CallingClient';
|
|
5
|
+
import { createCallHistoryClient } from './CallHistory/CallHistory';
|
|
6
|
+
import { createVoicemailClient } from './Voicemail/Voicemail';
|
|
7
|
+
import Logger from './Logger';
|
|
8
|
+
export { createClient, createCallHistoryClient, createMicrophoneStream, createVoicemailClient, createContactsClient, createCallSettingsClient, Logger, };
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webex/calling",
|
|
3
|
-
"version": "0.0.1-next.0",
|
|
4
3
|
"files": [
|
|
5
4
|
"dist"
|
|
6
5
|
],
|
|
@@ -11,7 +10,8 @@
|
|
|
11
10
|
"author": "devsupport@webex.com",
|
|
12
11
|
"repository": {
|
|
13
12
|
"type": "git",
|
|
14
|
-
"url": "https://
|
|
13
|
+
"url": "https://github.com/webex/webex-js-sdk.git",
|
|
14
|
+
"directory": "packages/calling"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=14.x"
|
|
@@ -20,14 +20,10 @@
|
|
|
20
20
|
"prebuild": "rimraf dist",
|
|
21
21
|
"build": "tsc",
|
|
22
22
|
"build:src": "tsc",
|
|
23
|
-
"test": "jest --config=jest.config.js --runInBand",
|
|
24
|
-
"
|
|
25
|
-
"lint": "eslint 'src/**/*.ts'",
|
|
23
|
+
"test:unit": "jest --config=jest.config.js --runInBand",
|
|
24
|
+
"test:style": "eslint 'src/**/*.ts'",
|
|
26
25
|
"fix:lint": "eslint 'src/**/*.ts' --fix",
|
|
27
26
|
"fix:prettier": "prettier \"src/**/*.ts\" --write",
|
|
28
|
-
"test:spell-check": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
|
29
|
-
"prepare": "husky install",
|
|
30
|
-
"publish:release": "semantic-release",
|
|
31
27
|
"build:docs": "typedoc --out docs/",
|
|
32
28
|
"docs": "typedoc --emit none",
|
|
33
29
|
"deploy:npm": "npm publish"
|
|
@@ -50,9 +46,6 @@
|
|
|
50
46
|
"@rollup/plugin-commonjs": "22.0.2",
|
|
51
47
|
"@rollup/plugin-json": "4.1.0",
|
|
52
48
|
"@rollup/plugin-node-resolve": "13.1.3",
|
|
53
|
-
"@semantic-release/changelog": "6.0.1",
|
|
54
|
-
"@semantic-release/git": "10.0.1",
|
|
55
|
-
"@semantic-release/release-notes-generator": "10.0.2",
|
|
56
49
|
"@types/chai": "4.2.21",
|
|
57
50
|
"@types/jest": "27.4.1",
|
|
58
51
|
"@types/mocha": "9.0.0",
|
|
@@ -72,7 +65,6 @@
|
|
|
72
65
|
"eslint-plugin-jsdoc": "38.0.4",
|
|
73
66
|
"eslint-plugin-prettier": "4.0.0",
|
|
74
67
|
"eslint-plugin-tsdoc": "0.2.14",
|
|
75
|
-
"husky": "7.0.0",
|
|
76
68
|
"jest": "27.5.1",
|
|
77
69
|
"jest-junit": "13.0.0",
|
|
78
70
|
"karma": "6.3.4",
|
|
@@ -95,7 +87,6 @@
|
|
|
95
87
|
"rollup-plugin-polyfill-node": "0.8.0",
|
|
96
88
|
"rollup-plugin-terser": "7.0.2",
|
|
97
89
|
"rollup-plugin-typescript2": "0.31.2",
|
|
98
|
-
"semantic-release": "18.0.0",
|
|
99
90
|
"sinon": "12.0.1",
|
|
100
91
|
"ts-jest": "27.1.4",
|
|
101
92
|
"typed-emitter": "2.1.0",
|
|
@@ -127,35 +118,9 @@
|
|
|
127
118
|
]
|
|
128
119
|
}
|
|
129
120
|
},
|
|
130
|
-
"release": {
|
|
131
|
-
"plugins": [
|
|
132
|
-
"@semantic-release/commit-analyzer",
|
|
133
|
-
"@semantic-release/release-notes-generator",
|
|
134
|
-
"@semantic-release/changelog",
|
|
135
|
-
[
|
|
136
|
-
"@semantic-release/npm",
|
|
137
|
-
{
|
|
138
|
-
"npmPublish": true
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
[
|
|
142
|
-
"@semantic-release/git",
|
|
143
|
-
{
|
|
144
|
-
"assets": [
|
|
145
|
-
"CHANGELOG.md",
|
|
146
|
-
"docs",
|
|
147
|
-
"package.json",
|
|
148
|
-
"yarn.lock"
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
],
|
|
153
|
-
"branches": [
|
|
154
|
-
"main"
|
|
155
|
-
]
|
|
156
|
-
},
|
|
157
121
|
"gh-pages-deploy": {
|
|
158
122
|
"staticpath": "docs",
|
|
159
123
|
"noprompt": true
|
|
160
|
-
}
|
|
124
|
+
},
|
|
125
|
+
"version": "0.0.1-next.1"
|
|
161
126
|
}
|