@wrcb/cb-common 1.0.270 → 1.0.272

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,3 +1,4 @@
1
+ import { CallFinishReason } from 'src/types/callFinishReason';
1
2
  import { Subjects } from './subjects';
2
3
  export interface CallFinishedEvent {
3
4
  subject: Subjects.CallFinished;
@@ -5,5 +6,6 @@ export interface CallFinishedEvent {
5
6
  targetId: string;
6
7
  userId: string;
7
8
  callId: string;
9
+ finishReason: CallFinishReason;
8
10
  };
9
11
  }
package/build/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './types/marketStatus';
2
+ export * from './types/callFinishReason';
2
3
  export * from './types/predictionStatus';
3
4
  export * from './types/transactionOperation';
4
5
  export * from './types/transactionOperationMode';
package/build/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types/marketStatus"), exports);
18
+ __exportStar(require("./types/callFinishReason"), exports);
18
19
  __exportStar(require("./types/predictionStatus"), exports);
19
20
  __exportStar(require("./types/transactionOperation"), exports);
20
21
  __exportStar(require("./types/transactionOperationMode"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum CallFinishReason {
2
+ UserCancelled = "UserCancelled",
3
+ InsufficientBalance = "InsufficientBalance"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CallFinishReason = void 0;
4
+ var CallFinishReason;
5
+ (function (CallFinishReason) {
6
+ CallFinishReason["UserCancelled"] = "UserCancelled";
7
+ CallFinishReason["InsufficientBalance"] = "InsufficientBalance";
8
+ })(CallFinishReason || (exports.CallFinishReason = CallFinishReason = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.270",
3
+ "version": "1.0.272",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",