@fonoster/types 0.8.20 → 0.8.22

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.
@@ -1,5 +1,4 @@
1
1
  import { BaseApiObject, ListResponse } from "./common";
2
- declare const CALL_DETAIL_RECORD_MEASUREMENT = "cdr";
3
2
  declare enum CallType {
4
3
  SIP_ORIGINATED = "SIP_ORIGINATED",
5
4
  API_ORIGINATED = "API_ORIGINATED"
@@ -23,6 +22,7 @@ declare enum CallDirection {
23
22
  }
24
23
  type CallDetailRecord = {
25
24
  ref: string;
25
+ accessKeyId: string;
26
26
  status: CallStatus;
27
27
  type: CallType;
28
28
  from: string;
@@ -61,4 +61,4 @@ type TrackCallSubscriber = {
61
61
  on: (event: string, cb: (data: TrackCallResponse | Error) => void) => void;
62
62
  };
63
63
  };
64
- export { CALL_DETAIL_RECORD_MEASUREMENT, CallDetailRecord, CallDirection, CallPublisher, CallStatus, CallType, CreateCallRequest, ListCallsRequest, ListCallsResponse, TrackCallResponse, TrackCallSubscriber };
64
+ export { CallDetailRecord, CallDirection, CallPublisher, CallStatus, CallType, CreateCallRequest, ListCallsRequest, ListCallsResponse, TrackCallResponse, TrackCallSubscriber };
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CallType = exports.CallStatus = exports.CallDirection = exports.CALL_DETAIL_RECORD_MEASUREMENT = void 0;
4
- const CALL_DETAIL_RECORD_MEASUREMENT = "cdr";
5
- exports.CALL_DETAIL_RECORD_MEASUREMENT = CALL_DETAIL_RECORD_MEASUREMENT;
3
+ exports.CallType = exports.CallStatus = exports.CallDirection = void 0;
6
4
  var CallType;
7
5
  (function (CallType) {
8
6
  CallType["SIP_ORIGINATED"] = "SIP_ORIGINATED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/types",
3
- "version": "0.8.20",
3
+ "version": "0.8.22",
4
4
  "description": "Common types for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -29,5 +29,5 @@
29
29
  "bugs": {
30
30
  "url": "https://github.com/fonoster/fonoster/issues"
31
31
  },
32
- "gitHead": "4e605a379fec5ac31bf0a3d2f57cbd54da6c732b"
32
+ "gitHead": "d91a20ab24877c0c854f21395473b8332d4a6f02"
33
33
  }