@onereach/billing-shared 31.5.1-beta.12833.0 → 31.5.1-beta.12842.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.
@@ -19,5 +19,4 @@ __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);
23
22
  //# 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;AAC7B,+CAA6B"}
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"}
@@ -19,5 +19,4 @@ __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);
23
22
  //# 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;AACxC,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,mDAAiC;AACjC,6DAA2C;AAC3C,uDAAqC;AACrC,0DAAwC"}
@@ -2,5 +2,4 @@ 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';
6
5
  //# 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;AAC7B,cAAc,cAAc,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"}
@@ -3,5 +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';
7
6
  //# 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;AACxC,cAAc,aAAa,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"}
@@ -2,5 +2,4 @@ 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';
6
5
  //# 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;AAC7B,cAAc,cAAc,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"}
@@ -3,5 +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';
7
6
  //# 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;AACxC,cAAc,aAAa,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "31.5.1-beta.12833.0",
3
+ "version": "31.5.1-beta.12842.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -3,4 +3,3 @@ export * from './currency';
3
3
 
4
4
  export const test = 'test';
5
5
  export const BATCH_SIZE = 10;
6
- export * from './vendor-ids';
@@ -3,4 +3,3 @@ 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';
@@ -1,16 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=cur-delta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cur-delta.js","sourceRoot":"","sources":["../../../src/types/cur-delta.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=cur-delta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cur-delta.js","sourceRoot":"","sources":["../../../src/types/cur-delta.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { CostSource } from '../enums';
2
- export declare const VENDOR_IDS: Record<CostSource, string>;
3
- //# sourceMappingURL=vendor-ids.d.ts.map
@@ -1 +0,0 @@
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,18 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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,20 +0,0 @@
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
- };