@onereach/billing-shared 31.5.1-beta.12818.0 → 31.5.1-beta.12833.0

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 (39) hide show
  1. package/dist/cjs/constants/index.js +1 -0
  2. package/dist/cjs/constants/index.js.map +1 -1
  3. package/dist/cjs/constants/vendor-ids.js +16 -0
  4. package/dist/cjs/constants/vendor-ids.js.map +1 -0
  5. package/dist/cjs/enums/customer-account-action.js +0 -1
  6. package/dist/cjs/enums/customer-account-action.js.map +1 -1
  7. package/dist/cjs/types/cur-delta.js +3 -0
  8. package/dist/cjs/types/cur-delta.js.map +1 -0
  9. package/dist/cjs/types/index.js +1 -0
  10. package/dist/cjs/types/index.js.map +1 -1
  11. package/dist/esm/constants/index.js +1 -0
  12. package/dist/esm/constants/index.js.map +1 -1
  13. package/dist/esm/constants/vendor-ids.js +12 -0
  14. package/dist/esm/constants/vendor-ids.js.map +1 -0
  15. package/dist/esm/enums/customer-account-action.js +0 -1
  16. package/dist/esm/enums/customer-account-action.js.map +1 -1
  17. package/dist/esm/types/cur-delta.js +2 -0
  18. package/dist/esm/types/cur-delta.js.map +1 -0
  19. package/dist/esm/types/index.js +1 -0
  20. package/dist/esm/types/index.js.map +1 -1
  21. package/dist/types/constants/index.d.ts +1 -0
  22. package/dist/types/constants/index.d.ts.map +1 -1
  23. package/dist/types/constants/vendor-ids.d.ts +3 -0
  24. package/dist/types/constants/vendor-ids.d.ts.map +1 -0
  25. package/dist/types/enums/customer-account-action.d.ts +1 -2
  26. package/dist/types/enums/customer-account-action.d.ts.map +1 -1
  27. package/dist/types/types/cur-delta.d.ts +18 -0
  28. package/dist/types/types/cur-delta.d.ts.map +1 -0
  29. package/dist/types/types/customer-account-actions.d.ts +0 -10
  30. package/dist/types/types/customer-account-actions.d.ts.map +1 -1
  31. package/dist/types/types/index.d.ts +1 -0
  32. package/dist/types/types/index.d.ts.map +1 -1
  33. package/package.json +1 -1
  34. package/src/constants/index.ts +1 -0
  35. package/src/constants/vendor-ids.ts +12 -0
  36. package/src/enums/customer-account-action.ts +0 -1
  37. package/src/types/cur-delta.ts +20 -0
  38. package/src/types/customer-account-actions.ts +0 -12
  39. package/src/types/index.ts +1 -0
@@ -19,4 +19,5 @@ __exportStar(require("./login-audit"), exports);
19
19
  __exportStar(require("./currency"), exports);
20
20
  exports.test = 'test';
21
21
  exports.BATCH_SIZE = 10;
22
+ __exportStar(require("./vendor-ids"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6CAA2B;AAEd,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,UAAU,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6CAA2B;AAEd,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,UAAU,GAAG,EAAE,CAAC;AAC7B,+CAA6B"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.VENDOR_IDS = void 0;
5
+ var enums_1 = require("../enums");
6
+ exports.VENDOR_IDS = (_a = {},
7
+ _a[enums_1.CostSource.TWILIO] = '3838448a-d6e3-460c-b0f5-7cdf45302ac2',
8
+ _a[enums_1.CostSource.VANTAGE] = '6d5879f4-2479-43f1-8ef5-bbaf6de3a098',
9
+ _a[enums_1.CostSource.VONAGE] = '5f765be7-8eb0-4e79-9cb8-653cf5e832d4',
10
+ _a[enums_1.CostSource.TELNYX] = '05924567-e64d-47e3-9584-a28e08d0fb4b',
11
+ _a[enums_1.CostSource.NATIVE_AWS] = '37a019de-5b51-4c6a-8dbc-8bbfda10cf13',
12
+ _a[enums_1.CostSource.BANDWIDTH] = '82e125c7-9731-473d-a21d-24128afce105',
13
+ _a[enums_1.CostSource.DEEPGRAM] = '94067115-ee81-44ae-b4e6-86ab39ead369',
14
+ _a[enums_1.CostSource.OPENAI] = '75f61d00-d15d-4d2a-b8a0-7705351fa9f5',
15
+ _a);
16
+ //# sourceMappingURL=vendor-ids.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor-ids.js","sourceRoot":"","sources":["../../../src/constants/vendor-ids.ts"],"names":[],"mappings":";;;;AAAA,kCAAsC;AAEzB,QAAA,UAAU;IACrB,GAAC,kBAAU,CAAC,MAAM,IAAG,sCAAsC;IAC3D,GAAC,kBAAU,CAAC,OAAO,IAAG,sCAAsC;IAC5D,GAAC,kBAAU,CAAC,MAAM,IAAG,sCAAsC;IAC3D,GAAC,kBAAU,CAAC,MAAM,IAAG,sCAAsC;IAC3D,GAAC,kBAAU,CAAC,UAAU,IAAG,sCAAsC;IAC/D,GAAC,kBAAU,CAAC,SAAS,IAAG,sCAAsC;IAC9D,GAAC,kBAAU,CAAC,QAAQ,IAAG,sCAAsC;IAC7D,GAAC,kBAAU,CAAC,MAAM,IAAG,sCAAsC;QAC3D"}
@@ -5,6 +5,5 @@ var CustomerAccountAction;
5
5
  (function (CustomerAccountAction) {
6
6
  CustomerAccountAction["SUSPEND"] = "suspend";
7
7
  CustomerAccountAction["RESUME"] = "resume";
8
- CustomerAccountAction["DEACTIVATE"] = "deactivate";
9
8
  })(CustomerAccountAction || (exports.CustomerAccountAction = CustomerAccountAction = {}));
10
9
  //# sourceMappingURL=customer-account-action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
1
+ {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;AACnB,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=cur-delta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cur-delta.js","sourceRoot":"","sources":["../../../src/types/cur-delta.ts"],"names":[],"mappings":""}
@@ -19,4 +19,5 @@ __exportStar(require("./billing-domain"), exports);
19
19
  __exportStar(require("./customer-account-actions"), exports);
20
20
  __exportStar(require("./invoice-generation"), exports);
21
21
  __exportStar(require("./threshold-calculation"), exports);
22
+ __exportStar(require("./cur-delta"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,mDAAiC;AACjC,6DAA2C;AAC3C,uDAAqC;AACrC,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,mDAAiC;AACjC,6DAA2C;AAC3C,uDAAqC;AACrC,0DAAwC;AACxC,8CAA4B"}
@@ -2,4 +2,5 @@ export * from './login-audit';
2
2
  export * from './currency';
3
3
  export const test = 'test';
4
4
  export const BATCH_SIZE = 10;
5
+ export * from './vendor-ids';
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAE3B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAE3B,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC;AAC3B,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { CostSource } from '../enums';
2
+ export const VENDOR_IDS = {
3
+ [CostSource.TWILIO]: '3838448a-d6e3-460c-b0f5-7cdf45302ac2',
4
+ [CostSource.VANTAGE]: '6d5879f4-2479-43f1-8ef5-bbaf6de3a098',
5
+ [CostSource.VONAGE]: '5f765be7-8eb0-4e79-9cb8-653cf5e832d4',
6
+ [CostSource.TELNYX]: '05924567-e64d-47e3-9584-a28e08d0fb4b',
7
+ [CostSource.NATIVE_AWS]: '37a019de-5b51-4c6a-8dbc-8bbfda10cf13',
8
+ [CostSource.BANDWIDTH]: '82e125c7-9731-473d-a21d-24128afce105',
9
+ [CostSource.DEEPGRAM]: '94067115-ee81-44ae-b4e6-86ab39ead369',
10
+ [CostSource.OPENAI]: '75f61d00-d15d-4d2a-b8a0-7705351fa9f5',
11
+ };
12
+ //# sourceMappingURL=vendor-ids.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor-ids.js","sourceRoot":"","sources":["../../../src/constants/vendor-ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,sCAAsC;IAC3D,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,sCAAsC;IAC5D,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,sCAAsC;IAC3D,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,sCAAsC;IAC3D,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,sCAAsC;IAC/D,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,sCAAsC;IAC9D,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,sCAAsC;IAC7D,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,sCAAsC;CAC5D,CAAC"}
@@ -2,6 +2,5 @@ export var CustomerAccountAction;
2
2
  (function (CustomerAccountAction) {
3
3
  CustomerAccountAction["SUSPEND"] = "suspend";
4
4
  CustomerAccountAction["RESUME"] = "resume";
5
- CustomerAccountAction["DEACTIVATE"] = "deactivate";
6
5
  })(CustomerAccountAction || (CustomerAccountAction = {}));
7
6
  //# sourceMappingURL=customer-account-action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,KAArB,qBAAqB,QAIhC"}
1
+ {"version":3,"file":"customer-account-action.js","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;AACnB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cur-delta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cur-delta.js","sourceRoot":"","sources":["../../../src/types/cur-delta.ts"],"names":[],"mappings":""}
@@ -3,4 +3,5 @@ export * from './billing-domain';
3
3
  export * from './customer-account-actions';
4
4
  export * from './invoice-generation';
5
5
  export * from './threshold-calculation';
6
+ export * from './cur-delta';
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC"}
@@ -2,4 +2,5 @@ export * from './login-audit';
2
2
  export * from './currency';
3
3
  export declare const test = "test";
4
4
  export declare const BATCH_SIZE = 10;
5
+ export * from './vendor-ids';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAE3B,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,UAAU,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAE3B,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CostSource } from '../enums';
2
+ export declare const VENDOR_IDS: Record<CostSource, string>;
3
+ //# sourceMappingURL=vendor-ids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vendor-ids.d.ts","sourceRoot":"","sources":["../../../src/constants/vendor-ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CASjD,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export declare enum CustomerAccountAction {
2
2
  SUSPEND = "suspend",
3
- RESUME = "resume",
4
- DEACTIVATE = "deactivate"
3
+ RESUME = "resume"
5
4
  }
6
5
  //# sourceMappingURL=customer-account-action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-action.d.ts","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC1B"}
1
+ {"version":3,"file":"customer-account-action.d.ts","sourceRoot":"","sources":["../../../src/enums/customer-account-action.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
@@ -0,0 +1,18 @@
1
+ import type { ProcessingStatus } from '../enums';
2
+ export type CurDeltaQueueMessage = {
3
+ type: 'cur-delta-file';
4
+ jobId: string;
5
+ fileKey: string;
6
+ etag: string;
7
+ };
8
+ export type CurDeltaJobSource = {
9
+ jobId: string;
10
+ fileKey: string;
11
+ etag: string;
12
+ };
13
+ export type CurDeltaQueuedResponse = {
14
+ jobId: string;
15
+ fileKey: string;
16
+ status: ProcessingStatus;
17
+ };
18
+ //# sourceMappingURL=cur-delta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cur-delta.d.ts","sourceRoot":"","sources":["../../../src/types/cur-delta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,gBAAgB,CAAC;CAC1B,CAAC"}
@@ -5,14 +5,4 @@ export interface CustomerAccountActionQueuePayload {
5
5
  environmentId: string;
6
6
  jobId: string;
7
7
  }
8
- export interface AccountDeactivationFlowResult {
9
- flowId: string;
10
- botId?: string;
11
- label?: string;
12
- deactivated: boolean;
13
- errorMessage?: string;
14
- }
15
- export interface AccountDeactivationJobResult {
16
- flows: AccountDeactivationFlowResult[];
17
- }
18
8
  //# sourceMappingURL=customer-account-actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-account-actions.d.ts","sourceRoot":"","sources":["../../../src/types/customer-account-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,6BAA6B,EAAE,CAAC;CACxC"}
1
+ {"version":3,"file":"customer-account-actions.d.ts","sourceRoot":"","sources":["../../../src/types/customer-account-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -3,4 +3,5 @@ export * from './billing-domain';
3
3
  export * from './customer-account-actions';
4
4
  export * from './invoice-generation';
5
5
  export * from './threshold-calculation';
6
+ export * from './cur-delta';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "31.5.1-beta.12818.0",
3
+ "version": "31.5.1-beta.12833.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -3,3 +3,4 @@ export * from './currency';
3
3
 
4
4
  export const test = 'test';
5
5
  export const BATCH_SIZE = 10;
6
+ export * from './vendor-ids';
@@ -0,0 +1,12 @@
1
+ import { CostSource } from '../enums';
2
+
3
+ export const VENDOR_IDS: Record<CostSource, string> = {
4
+ [CostSource.TWILIO]: '3838448a-d6e3-460c-b0f5-7cdf45302ac2',
5
+ [CostSource.VANTAGE]: '6d5879f4-2479-43f1-8ef5-bbaf6de3a098',
6
+ [CostSource.VONAGE]: '5f765be7-8eb0-4e79-9cb8-653cf5e832d4',
7
+ [CostSource.TELNYX]: '05924567-e64d-47e3-9584-a28e08d0fb4b',
8
+ [CostSource.NATIVE_AWS]: '37a019de-5b51-4c6a-8dbc-8bbfda10cf13',
9
+ [CostSource.BANDWIDTH]: '82e125c7-9731-473d-a21d-24128afce105',
10
+ [CostSource.DEEPGRAM]: '94067115-ee81-44ae-b4e6-86ab39ead369',
11
+ [CostSource.OPENAI]: '75f61d00-d15d-4d2a-b8a0-7705351fa9f5',
12
+ };
@@ -1,5 +1,4 @@
1
1
  export enum CustomerAccountAction {
2
2
  SUSPEND = 'suspend',
3
3
  RESUME = 'resume',
4
- DEACTIVATE = 'deactivate',
5
4
  }
@@ -0,0 +1,20 @@
1
+ import type { ProcessingStatus } from '../enums';
2
+
3
+ export type CurDeltaQueueMessage = {
4
+ type: 'cur-delta-file';
5
+ jobId: string;
6
+ fileKey: string;
7
+ etag: string;
8
+ };
9
+
10
+ export type CurDeltaJobSource = {
11
+ jobId: string;
12
+ fileKey: string;
13
+ etag: string;
14
+ };
15
+
16
+ export type CurDeltaQueuedResponse = {
17
+ jobId: string;
18
+ fileKey: string;
19
+ status: ProcessingStatus;
20
+ };
@@ -6,15 +6,3 @@ export interface CustomerAccountActionQueuePayload {
6
6
  environmentId: string;
7
7
  jobId: string;
8
8
  }
9
-
10
- export interface AccountDeactivationFlowResult {
11
- flowId: string;
12
- botId?: string;
13
- label?: string;
14
- deactivated: boolean;
15
- errorMessage?: string;
16
- }
17
-
18
- export interface AccountDeactivationJobResult {
19
- flows: AccountDeactivationFlowResult[];
20
- }
@@ -3,3 +3,4 @@ export * from './billing-domain';
3
3
  export * from './customer-account-actions';
4
4
  export * from './invoice-generation';
5
5
  export * from './threshold-calculation';
6
+ export * from './cur-delta';