@aptpod/iscp-ts
Version:
iSCP 2.0 client library for TypeScript
41 lines • 1.25 kB
JavaScript
import { Message } from './message';
export class UpstreamCallExtensionFields {
}
export class UpstreamCallAckExtensionFields {
}
export class DownstreamCallExtensionFields {
}
export class UpstreamCall extends Message {
constructor(init) {
super();
this.callId = init.callId;
this.requestCallId = init.requestCallId;
this.destinationNodeId = init.destinationNodeId;
this.name = init.name;
this.type = init.type;
this.payload = init.payload;
this.extensionFields = init.extensionFields;
}
}
export class UpstreamCallAck extends Message {
constructor(init) {
super();
this.callId = init.callId;
this.resultCode = init.resultCode;
this.resultString = init.resultString;
this.extensionFields = init.extensionFields;
}
}
export class DownstreamCall extends Message {
constructor(init) {
super();
this.callId = init.callId;
this.requestCallId = init.requestCallId;
this.sourceNodeId = init.sourceNodeId;
this.name = init.name;
this.type = init.type;
this.payload = init.payload;
this.extensionFields = init.extensionFields;
}
}
//# sourceMappingURL=e2e-call.js.map