@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.
Files changed (122) hide show
  1. package/README.md +51 -66
  2. package/dist/module/CallHistory/CallHistory.js +84 -84
  3. package/dist/module/CallHistory/callHistoryFixtures.js +307 -307
  4. package/dist/module/CallHistory/constants.js +9 -9
  5. package/dist/module/CallHistory/types.js +1 -1
  6. package/dist/module/CallSettings/CallSettings.js +65 -65
  7. package/dist/module/CallSettings/UcmBackendConnector.js +100 -100
  8. package/dist/module/CallSettings/WxCallBackendConnector.js +287 -287
  9. package/dist/module/CallSettings/constants.js +11 -11
  10. package/dist/module/CallSettings/testFixtures.js +62 -62
  11. package/dist/module/CallSettings/types.js +1 -1
  12. package/dist/module/CallingClient/CallingClient.js +268 -268
  13. package/dist/module/CallingClient/callRecordFixtures.js +93 -93
  14. package/dist/module/CallingClient/calling/CallerId/index.js +169 -169
  15. package/dist/module/CallingClient/calling/CallerId/types.js +1 -1
  16. package/dist/module/CallingClient/calling/call.js +1649 -1649
  17. package/dist/module/CallingClient/calling/callManager.js +274 -274
  18. package/dist/module/CallingClient/calling/index.js +2 -2
  19. package/dist/module/CallingClient/calling/types.js +53 -53
  20. package/dist/module/CallingClient/callingClientFixtures.js +38 -38
  21. package/dist/module/CallingClient/constants.js +122 -122
  22. package/dist/module/CallingClient/line/index.js +110 -110
  23. package/dist/module/CallingClient/line/types.js +14 -14
  24. package/dist/module/CallingClient/registration/index.js +1 -1
  25. package/dist/module/CallingClient/registration/register.js +507 -507
  26. package/dist/module/CallingClient/registration/registerFixtures.js +28 -28
  27. package/dist/module/CallingClient/registration/types.js +1 -1
  28. package/dist/module/CallingClient/types.js +1 -1
  29. package/dist/module/Contacts/ContactsClient.js +487 -487
  30. package/dist/module/Contacts/constants.js +20 -20
  31. package/dist/module/Contacts/contactFixtures.js +284 -284
  32. package/dist/module/Contacts/types.js +10 -10
  33. package/dist/module/Errors/catalog/CallError.js +26 -26
  34. package/dist/module/Errors/catalog/CallingDeviceError.js +18 -18
  35. package/dist/module/Errors/catalog/ExtendedError.js +10 -10
  36. package/dist/module/Errors/catalog/LineError.js +24 -24
  37. package/dist/module/Errors/index.js +2 -2
  38. package/dist/module/Errors/types.js +48 -48
  39. package/dist/module/Events/impl/index.js +19 -19
  40. package/dist/module/Events/types.js +74 -74
  41. package/dist/module/Logger/index.js +114 -114
  42. package/dist/module/Logger/types.js +25 -25
  43. package/dist/module/Metrics/index.js +232 -232
  44. package/dist/module/Metrics/types.js +37 -37
  45. package/dist/module/SDKConnector/index.js +39 -39
  46. package/dist/module/SDKConnector/types.js +1 -1
  47. package/dist/module/SDKConnector/utils.js +12 -12
  48. package/dist/module/Voicemail/BroadworksBackendConnector.js +289 -289
  49. package/dist/module/Voicemail/UcmBackendConnector.js +275 -275
  50. package/dist/module/Voicemail/Voicemail.js +110 -110
  51. package/dist/module/Voicemail/WxCallBackendConnector.js +279 -279
  52. package/dist/module/Voicemail/constants.js +29 -29
  53. package/dist/module/Voicemail/types.js +1 -1
  54. package/dist/module/Voicemail/voicemailFixture.js +449 -449
  55. package/dist/module/common/Utils.js +802 -802
  56. package/dist/module/common/constants.js +40 -40
  57. package/dist/module/common/index.js +1 -1
  58. package/dist/module/common/testUtil.js +938 -938
  59. package/dist/module/common/types.js +57 -57
  60. package/dist/module/index.js +8 -8
  61. package/dist/types/CallHistory/CallHistory.d.ts +18 -18
  62. package/dist/types/CallHistory/callHistoryFixtures.d.ts +94 -94
  63. package/dist/types/CallHistory/constants.d.ts +9 -9
  64. package/dist/types/CallHistory/types.d.ts +20 -20
  65. package/dist/types/CallSettings/CallSettings.d.ts +19 -19
  66. package/dist/types/CallSettings/UcmBackendConnector.d.ts +19 -19
  67. package/dist/types/CallSettings/WxCallBackendConnector.d.ts +21 -21
  68. package/dist/types/CallSettings/constants.d.ts +11 -11
  69. package/dist/types/CallSettings/testFixtures.d.ts +15 -15
  70. package/dist/types/CallSettings/types.d.ts +107 -107
  71. package/dist/types/CallingClient/CallingClient.d.ts +37 -37
  72. package/dist/types/CallingClient/callRecordFixtures.d.ts +3 -3
  73. package/dist/types/CallingClient/calling/CallerId/index.d.ts +17 -17
  74. package/dist/types/CallingClient/calling/CallerId/types.d.ts +41 -41
  75. package/dist/types/CallingClient/calling/call.d.ts +94 -94
  76. package/dist/types/CallingClient/calling/call.d.ts.map +1 -1
  77. package/dist/types/CallingClient/calling/callManager.d.ts +21 -21
  78. package/dist/types/CallingClient/calling/index.d.ts +2 -2
  79. package/dist/types/CallingClient/calling/types.d.ts +203 -203
  80. package/dist/types/CallingClient/calling/types.d.ts.map +1 -1
  81. package/dist/types/CallingClient/callingClientFixtures.d.ts +18 -18
  82. package/dist/types/CallingClient/constants.d.ts +122 -122
  83. package/dist/types/CallingClient/line/index.d.ts +38 -38
  84. package/dist/types/CallingClient/line/types.d.ts +50 -50
  85. package/dist/types/CallingClient/registration/index.d.ts +1 -1
  86. package/dist/types/CallingClient/registration/register.d.ts +64 -64
  87. package/dist/types/CallingClient/registration/registerFixtures.d.ts +28 -28
  88. package/dist/types/CallingClient/registration/types.d.ts +20 -20
  89. package/dist/types/CallingClient/types.d.ts +29 -29
  90. package/dist/types/Contacts/ContactsClient.d.ts +27 -27
  91. package/dist/types/Contacts/constants.d.ts +19 -19
  92. package/dist/types/Contacts/contactFixtures.d.ts +280 -280
  93. package/dist/types/Contacts/types.d.ts +74 -74
  94. package/dist/types/Errors/catalog/CallError.d.ts +11 -11
  95. package/dist/types/Errors/catalog/CallingDeviceError.d.ts +10 -10
  96. package/dist/types/Errors/catalog/ExtendedError.d.ts +6 -6
  97. package/dist/types/Errors/catalog/LineError.d.ts +10 -10
  98. package/dist/types/Errors/index.d.ts +2 -2
  99. package/dist/types/Errors/types.d.ts +60 -60
  100. package/dist/types/Events/impl/index.d.ts +8 -8
  101. package/dist/types/Events/types.d.ts +283 -283
  102. package/dist/types/Logger/index.d.ts +12 -12
  103. package/dist/types/Logger/types.d.ts +25 -25
  104. package/dist/types/Metrics/index.d.ts +5 -5
  105. package/dist/types/Metrics/types.d.ts +42 -42
  106. package/dist/types/SDKConnector/index.d.ts +12 -12
  107. package/dist/types/SDKConnector/types.d.ts +128 -128
  108. package/dist/types/SDKConnector/utils.d.ts +5 -5
  109. package/dist/types/Voicemail/BroadworksBackendConnector.d.ts +27 -27
  110. package/dist/types/Voicemail/UcmBackendConnector.d.ts +34 -34
  111. package/dist/types/Voicemail/Voicemail.d.ts +27 -27
  112. package/dist/types/Voicemail/WxCallBackendConnector.d.ts +23 -23
  113. package/dist/types/Voicemail/constants.d.ts +29 -29
  114. package/dist/types/Voicemail/types.d.ts +133 -133
  115. package/dist/types/Voicemail/voicemailFixture.d.ts +349 -349
  116. package/dist/types/common/Utils.d.ts +34 -34
  117. package/dist/types/common/constants.d.ts +40 -40
  118. package/dist/types/common/index.d.ts +1 -1
  119. package/dist/types/common/testUtil.d.ts +3611 -3611
  120. package/dist/types/common/types.d.ts +191 -191
  121. package/dist/types/index.d.ts +8 -8
  122. package/package.json +6 -41
@@ -1,75 +1,75 @@
1
- import { ContactDetail } from '../common/types';
2
- import { ISDKConnector } from '../SDKConnector/types';
3
- export declare enum ContactType {
4
- CUSTOM = "CUSTOM",
5
- CLOUD = "CLOUD"
6
- }
7
- export type AddressType = {
8
- city?: string;
9
- country?: string;
10
- state?: string;
11
- street?: string;
12
- zipCode?: string;
13
- };
14
- export type Contact = {
15
- addressInfo?: AddressType;
16
- avatarURL?: string;
17
- avatarUrlDomain?: string;
18
- companyName?: string;
19
- contactId?: string;
20
- contactType: ContactType;
21
- department?: string;
22
- displayName?: string;
23
- emails?: ContactDetail[];
24
- encryptionKeyUrl: string;
25
- firstName?: string;
26
- groups: string[];
27
- kmsResourceObjectUrl?: string;
28
- lastName?: string;
29
- manager?: string;
30
- ownerId?: string;
31
- phoneNumbers?: ContactDetail[];
32
- primaryContactMethod?: string;
33
- schemas?: string;
34
- sipAddresses?: ContactDetail[];
35
- title?: string;
36
- };
37
- export declare enum GroupType {
38
- NORMAL = "NORMAL",
39
- EXTERNAL = "EXTERNAL"
40
- }
41
- export type ContactGroup = {
42
- displayName: string;
43
- encryptionKeyUrl: string;
44
- groupId: string;
45
- groupType: GroupType;
46
- members?: string[];
47
- ownerId?: string;
48
- };
49
- export type ContactList = {
50
- contacts: Contact[];
51
- groups: ContactGroup[];
52
- };
53
- export type ContactResponse = {
54
- statusCode: number;
55
- data: {
56
- contacts?: Contact[];
57
- groups?: ContactGroup[];
58
- contact?: Contact;
59
- group?: ContactGroup;
60
- error?: string;
61
- };
62
- message: string | null;
63
- };
64
- export interface IContacts {
65
- getSDKConnector: () => ISDKConnector;
66
- getContacts: () => Promise<ContactResponse>;
67
- createContactGroup: (displayName: string, encryptionKeyUrl?: string, groupType?: GroupType) => Promise<ContactResponse>;
68
- deleteContactGroup: (groupId: string) => Promise<ContactResponse>;
69
- createContact: (contactInfo: Contact) => Promise<ContactResponse>;
70
- deleteContact: (contactId: string) => Promise<ContactResponse>;
71
- }
72
- export type ContactIdContactInfo = {
73
- [Key: string]: Contact;
74
- };
1
+ import { ContactDetail } from '../common/types';
2
+ import { ISDKConnector } from '../SDKConnector/types';
3
+ export declare enum ContactType {
4
+ CUSTOM = "CUSTOM",
5
+ CLOUD = "CLOUD"
6
+ }
7
+ export type AddressType = {
8
+ city?: string;
9
+ country?: string;
10
+ state?: string;
11
+ street?: string;
12
+ zipCode?: string;
13
+ };
14
+ export type Contact = {
15
+ addressInfo?: AddressType;
16
+ avatarURL?: string;
17
+ avatarUrlDomain?: string;
18
+ companyName?: string;
19
+ contactId?: string;
20
+ contactType: ContactType;
21
+ department?: string;
22
+ displayName?: string;
23
+ emails?: ContactDetail[];
24
+ encryptionKeyUrl: string;
25
+ firstName?: string;
26
+ groups: string[];
27
+ kmsResourceObjectUrl?: string;
28
+ lastName?: string;
29
+ manager?: string;
30
+ ownerId?: string;
31
+ phoneNumbers?: ContactDetail[];
32
+ primaryContactMethod?: string;
33
+ schemas?: string;
34
+ sipAddresses?: ContactDetail[];
35
+ title?: string;
36
+ };
37
+ export declare enum GroupType {
38
+ NORMAL = "NORMAL",
39
+ EXTERNAL = "EXTERNAL"
40
+ }
41
+ export type ContactGroup = {
42
+ displayName: string;
43
+ encryptionKeyUrl: string;
44
+ groupId: string;
45
+ groupType: GroupType;
46
+ members?: string[];
47
+ ownerId?: string;
48
+ };
49
+ export type ContactList = {
50
+ contacts: Contact[];
51
+ groups: ContactGroup[];
52
+ };
53
+ export type ContactResponse = {
54
+ statusCode: number;
55
+ data: {
56
+ contacts?: Contact[];
57
+ groups?: ContactGroup[];
58
+ contact?: Contact;
59
+ group?: ContactGroup;
60
+ error?: string;
61
+ };
62
+ message: string | null;
63
+ };
64
+ export interface IContacts {
65
+ getSDKConnector: () => ISDKConnector;
66
+ getContacts: () => Promise<ContactResponse>;
67
+ createContactGroup: (displayName: string, encryptionKeyUrl?: string, groupType?: GroupType) => Promise<ContactResponse>;
68
+ deleteContactGroup: (groupId: string) => Promise<ContactResponse>;
69
+ createContact: (contactInfo: Contact) => Promise<ContactResponse>;
70
+ deleteContact: (contactId: string) => Promise<ContactResponse>;
71
+ }
72
+ export type ContactIdContactInfo = {
73
+ [Key: string]: Contact;
74
+ };
75
75
  //# sourceMappingURL=types.d.ts.map
@@ -1,12 +1,12 @@
1
- import { CallErrorObject, ErrorContext, ErrorMessage, ERROR_LAYER, ERROR_TYPE } from '../types';
2
- import ExtendedError from './ExtendedError';
3
- import { CorrelationId } from '../../common/types';
4
- export declare class CallError extends ExtendedError {
5
- private correlationId;
6
- private errorLayer;
7
- constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER);
8
- setCallError(error: CallErrorObject): void;
9
- getCallError(): CallErrorObject;
10
- }
11
- export declare const createCallError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER) => CallError;
1
+ import { CallErrorObject, ErrorContext, ErrorMessage, ERROR_LAYER, ERROR_TYPE } from '../types';
2
+ import ExtendedError from './ExtendedError';
3
+ import { CorrelationId } from '../../common/types';
4
+ export declare class CallError extends ExtendedError {
5
+ private correlationId;
6
+ private errorLayer;
7
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER);
8
+ setCallError(error: CallErrorObject): void;
9
+ getCallError(): CallErrorObject;
10
+ }
11
+ export declare const createCallError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, correlationId: CorrelationId, errorLayer: ERROR_LAYER) => CallError;
12
12
  //# sourceMappingURL=CallError.d.ts.map
@@ -1,11 +1,11 @@
1
- import { MobiusStatus } from '../../common/types';
2
- import { ErrorContext, ErrorMessage, ErrorObject, ERROR_TYPE } from '../types';
3
- import ExtendedError from './ExtendedError';
4
- export declare class CallingClientError extends ExtendedError {
5
- status: MobiusStatus;
6
- constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus);
7
- setError(error: ErrorObject): void;
8
- getError(): ErrorObject;
9
- }
10
- export declare const createClientError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus) => CallingClientError;
1
+ import { MobiusStatus } from '../../common/types';
2
+ import { ErrorContext, ErrorMessage, ErrorObject, ERROR_TYPE } from '../types';
3
+ import ExtendedError from './ExtendedError';
4
+ export declare class CallingClientError extends ExtendedError {
5
+ status: MobiusStatus;
6
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus);
7
+ setError(error: ErrorObject): void;
8
+ getError(): ErrorObject;
9
+ }
10
+ export declare const createClientError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: MobiusStatus) => CallingClientError;
11
11
  //# sourceMappingURL=CallingDeviceError.d.ts.map
@@ -1,7 +1,7 @@
1
- import { ErrorContext, ErrorMessage, ERROR_TYPE } from '../types';
2
- export default class ExtendedError extends Error {
3
- type: ERROR_TYPE;
4
- context: ErrorContext;
5
- constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE);
6
- }
1
+ import { ErrorContext, ErrorMessage, ERROR_TYPE } from '../types';
2
+ export default class ExtendedError extends Error {
3
+ type: ERROR_TYPE;
4
+ context: ErrorContext;
5
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE);
6
+ }
7
7
  //# sourceMappingURL=ExtendedError.d.ts.map
@@ -1,11 +1,11 @@
1
- import { LineStatus } from '../../CallingClient/line/types';
2
- import { ErrorMessage, ERROR_TYPE, LineErrorObject, ErrorContext } from '../types';
3
- import ExtendedError from './ExtendedError';
4
- export declare class LineError extends ExtendedError {
5
- status: LineStatus;
6
- constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus);
7
- setError(error: LineErrorObject): void;
8
- getError(): LineErrorObject;
9
- }
10
- export declare const createLineError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus) => LineError;
1
+ import { LineStatus } from '../../CallingClient/line/types';
2
+ import { ErrorMessage, ERROR_TYPE, LineErrorObject, ErrorContext } from '../types';
3
+ import ExtendedError from './ExtendedError';
4
+ export declare class LineError extends ExtendedError {
5
+ status: LineStatus;
6
+ constructor(msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus);
7
+ setError(error: LineErrorObject): void;
8
+ getError(): LineErrorObject;
9
+ }
10
+ export declare const createLineError: (msg: ErrorMessage, context: ErrorContext, type: ERROR_TYPE, status: LineStatus) => LineError;
11
11
  //# sourceMappingURL=LineError.d.ts.map
@@ -1,3 +1,3 @@
1
- export { CallingClientError } from './catalog/CallingDeviceError';
2
- export { CallError } from './catalog/CallError';
1
+ export { CallingClientError } from './catalog/CallingDeviceError';
2
+ export { CallError } from './catalog/CallError';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,61 +1,61 @@
1
- import { LineStatus } from '../CallingClient/line/types';
2
- import { CorrelationId, IMetaContext } from '../common/types';
3
- export type ErrorMessage = string;
4
- export declare enum ERROR_LAYER {
5
- CALL_CONTROL = "call_control",
6
- MEDIA = "media"
7
- }
8
- export declare enum ERROR_TYPE {
9
- CALL_ERROR = "call_error",
10
- DEFAULT = "default_error",
11
- FORBIDDEN_ERROR = "forbidden",
12
- NOT_FOUND = "not_found",
13
- REGISTRATION_ERROR = "registration_error",
14
- SERVICE_UNAVAILABLE = "service_unavailable",
15
- TIMEOUT = "timeout",
16
- TOKEN_ERROR = "token_error",
17
- SERVER_ERROR = "server_error"
18
- }
19
- export declare enum ERROR_CODE {
20
- UNAUTHORIZED = 401,
21
- FORBIDDEN = 403,
22
- DEVICE_NOT_FOUND = 404,
23
- INTERNAL_SERVER_ERROR = 500,
24
- NOT_IMPLEMENTED = 501,
25
- SERVICE_UNAVAILABLE = 503,
26
- BAD_REQUEST = 400,
27
- REQUEST_TIMEOUT = 408,
28
- TOO_MANY_REQUESTS = 429
29
- }
30
- export declare enum CALL_ERROR_CODE {
31
- INVALID_STATUS_UPDATE = 111,
32
- DEVICE_NOT_REGISTERED = 112,
33
- CALL_NOT_FOUND = 113,
34
- ERROR_PROCESSING = 114,
35
- USER_BUSY = 115,
36
- PARSING_ERROR = 116,
37
- TIMEOUT_ERROR = 117,
38
- NOT_ACCEPTABLE = 118,
39
- CALL_REJECTED = 119,
40
- NOT_AVAILABLE = 120
41
- }
42
- export declare enum DEVICE_ERROR_CODE {
43
- DEVICE_LIMIT_EXCEEDED = 101,
44
- DEVICE_CREATION_DISABLED = 102,
45
- DEVICE_CREATION_FAILED = 103
46
- }
47
- export interface ErrorContext extends IMetaContext {
48
- }
49
- export type ErrorObject = {
50
- message: ErrorMessage;
51
- type: ERROR_TYPE;
52
- context: ErrorContext;
53
- };
54
- export interface LineErrorObject extends ErrorObject {
55
- status: LineStatus;
56
- }
57
- export interface CallErrorObject extends ErrorObject {
58
- correlationId: CorrelationId;
59
- errorLayer: ERROR_LAYER;
60
- }
1
+ import { LineStatus } from '../CallingClient/line/types';
2
+ import { CorrelationId, IMetaContext } from '../common/types';
3
+ export type ErrorMessage = string;
4
+ export declare enum ERROR_LAYER {
5
+ CALL_CONTROL = "call_control",
6
+ MEDIA = "media"
7
+ }
8
+ export declare enum ERROR_TYPE {
9
+ CALL_ERROR = "call_error",
10
+ DEFAULT = "default_error",
11
+ FORBIDDEN_ERROR = "forbidden",
12
+ NOT_FOUND = "not_found",
13
+ REGISTRATION_ERROR = "registration_error",
14
+ SERVICE_UNAVAILABLE = "service_unavailable",
15
+ TIMEOUT = "timeout",
16
+ TOKEN_ERROR = "token_error",
17
+ SERVER_ERROR = "server_error"
18
+ }
19
+ export declare enum ERROR_CODE {
20
+ UNAUTHORIZED = 401,
21
+ FORBIDDEN = 403,
22
+ DEVICE_NOT_FOUND = 404,
23
+ INTERNAL_SERVER_ERROR = 500,
24
+ NOT_IMPLEMENTED = 501,
25
+ SERVICE_UNAVAILABLE = 503,
26
+ BAD_REQUEST = 400,
27
+ REQUEST_TIMEOUT = 408,
28
+ TOO_MANY_REQUESTS = 429
29
+ }
30
+ export declare enum CALL_ERROR_CODE {
31
+ INVALID_STATUS_UPDATE = 111,
32
+ DEVICE_NOT_REGISTERED = 112,
33
+ CALL_NOT_FOUND = 113,
34
+ ERROR_PROCESSING = 114,
35
+ USER_BUSY = 115,
36
+ PARSING_ERROR = 116,
37
+ TIMEOUT_ERROR = 117,
38
+ NOT_ACCEPTABLE = 118,
39
+ CALL_REJECTED = 119,
40
+ NOT_AVAILABLE = 120
41
+ }
42
+ export declare enum DEVICE_ERROR_CODE {
43
+ DEVICE_LIMIT_EXCEEDED = 101,
44
+ DEVICE_CREATION_DISABLED = 102,
45
+ DEVICE_CREATION_FAILED = 103
46
+ }
47
+ export interface ErrorContext extends IMetaContext {
48
+ }
49
+ export type ErrorObject = {
50
+ message: ErrorMessage;
51
+ type: ERROR_TYPE;
52
+ context: ErrorContext;
53
+ };
54
+ export interface LineErrorObject extends ErrorObject {
55
+ status: LineStatus;
56
+ }
57
+ export interface CallErrorObject extends ErrorObject {
58
+ correlationId: CorrelationId;
59
+ errorLayer: ERROR_LAYER;
60
+ }
61
61
  //# sourceMappingURL=types.d.ts.map
@@ -1,9 +1,9 @@
1
- import TypedEmitter, { EventMap } from 'typed-emitter';
2
- declare const Eventing_base: new <T_1 extends EventMap>() => TypedEmitter<T_1>;
3
- export declare class Eventing<T extends EventMap> extends Eventing_base<T> {
4
- emit<E extends keyof T>(event: E, ...args: Parameters<T[E]>): boolean;
5
- on<E extends keyof T>(event: E, listener: T[E]): this;
6
- off<E extends keyof T>(event: E, listener: T[E]): this;
7
- }
8
- export {};
1
+ import TypedEmitter, { EventMap } from 'typed-emitter';
2
+ declare const Eventing_base: new <T_1 extends EventMap>() => TypedEmitter<T_1>;
3
+ export declare class Eventing<T extends EventMap> extends Eventing_base<T> {
4
+ emit<E extends keyof T>(event: E, ...args: Parameters<T[E]>): boolean;
5
+ on<E extends keyof T>(event: E, listener: T[E]): this;
6
+ off<E extends keyof T>(event: E, listener: T[E]): this;
7
+ }
8
+ export {};
9
9
  //# sourceMappingURL=index.d.ts.map