@onereach/billing-shared 18.13.3-beta.5841.0 → 18.13.3-beta.5887.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.
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostSource = exports.CostProvider = void 0;
4
+ var CostProvider;
5
+ (function (CostProvider) {
6
+ CostProvider["AWS"] = "aws";
7
+ })(CostProvider || (exports.CostProvider = CostProvider = {}));
8
+ var CostSource;
9
+ (function (CostSource) {
10
+ CostSource["VANTAGE"] = "vantage";
11
+ CostSource["NATIVE_AWS"] = "native-aws";
12
+ })(CostSource || (exports.CostSource = CostSource = {}));
13
+ //# sourceMappingURL=cost-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cost-provider.js","sourceRoot":"","sources":["../../../src/enums/cost-provider.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,2BAAW,CAAA;AACb,CAAC,EAFW,YAAY,4BAAZ,YAAY,QAEvB;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,uCAAyB,CAAA;AAC3B,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB"}
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./customer-usage"), exports);
18
18
  __exportStar(require("./common"), exports);
19
+ __exportStar(require("./cost-provider"), exports);
19
20
  __exportStar(require("./customer"), exports);
20
21
  __exportStar(require("./audit"), exports);
21
22
  __exportStar(require("./category-namespace"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,qDAAmC;AACnC,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,qDAAmC;AACnC,6CAA2B;AAC3B,gDAA8B;AAC9B,+CAA6B"}
@@ -0,0 +1,10 @@
1
+ export var CostProvider;
2
+ (function (CostProvider) {
3
+ CostProvider["AWS"] = "aws";
4
+ })(CostProvider || (CostProvider = {}));
5
+ export var CostSource;
6
+ (function (CostSource) {
7
+ CostSource["VANTAGE"] = "vantage";
8
+ CostSource["NATIVE_AWS"] = "native-aws";
9
+ })(CostSource || (CostSource = {}));
10
+ //# sourceMappingURL=cost-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cost-provider.js","sourceRoot":"","sources":["../../../src/enums/cost-provider.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,2BAAW,CAAA;AACb,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,uCAAyB,CAAA;AAC3B,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
@@ -1,5 +1,6 @@
1
1
  export * from './customer-usage';
2
2
  export * from './common';
3
+ export * from './cost-provider';
3
4
  export * from './customer';
4
5
  export * from './audit';
5
6
  export * from './category-namespace';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare enum CostProvider {
2
+ AWS = "aws"
3
+ }
4
+ export declare enum CostSource {
5
+ VANTAGE = "vantage",
6
+ NATIVE_AWS = "native-aws"
7
+ }
8
+ //# sourceMappingURL=cost-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cost-provider.d.ts","sourceRoot":"","sources":["../../../src/enums/cost-provider.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,GAAG,QAAQ;CACZ;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B"}
@@ -1,5 +1,6 @@
1
1
  export * from './customer-usage';
2
2
  export * from './common';
3
+ export * from './cost-provider';
3
4
  export * from './customer';
4
5
  export * from './audit';
5
6
  export * from './category-namespace';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -5,6 +5,11 @@ export type ResponseDto<T> = {
5
5
  limit: number;
6
6
  data: T[];
7
7
  };
8
+ export type CursorResponseDto<T> = {
9
+ data: T[];
10
+ nextCursor: string | null;
11
+ limit: number;
12
+ };
8
13
  export type RequestDto = {
9
14
  page?: number;
10
15
  limit?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,EAAE,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,EAAE,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "18.13.3-beta.5841.0",
3
+ "version": "18.13.3-beta.5887.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -0,0 +1,8 @@
1
+ export enum CostProvider {
2
+ AWS = 'aws',
3
+ }
4
+
5
+ export enum CostSource {
6
+ VANTAGE = 'vantage',
7
+ NATIVE_AWS = 'native-aws',
8
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './customer-usage';
2
2
  export * from './common';
3
+ export * from './cost-provider';
3
4
  export * from './customer';
4
5
  export * from './audit';
5
6
  export * from './category-namespace';
@@ -7,6 +7,12 @@ export type ResponseDto<T> = {
7
7
  data: T[];
8
8
  };
9
9
 
10
+ export type CursorResponseDto<T> = {
11
+ data: T[];
12
+ nextCursor: string | null;
13
+ limit: number;
14
+ };
15
+
10
16
  export type RequestDto = {
11
17
  page?: number;
12
18
  limit?: number;