@ampsec/platform-client 20.0.0 → 20.1.1

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,5 @@
1
+ import { AssetKeyKind } from './enums/assetKeyKind';
2
+ export type AssetKey = {
3
+ value: string;
4
+ kind: AssetKeyKind;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=assetKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetKey.js","sourceRoot":"","sources":["../../../src/dto/assetKey.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export declare enum AssetKeyKind {
2
+ SERIAL_NUMBER = "SERIAL_NUMBER",
3
+ MAC_ADDRESS = "MAC_ADDRESS"
4
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetKeyKind = void 0;
4
+ /* eslint-disable no-unused-vars */
5
+ var AssetKeyKind;
6
+ (function (AssetKeyKind) {
7
+ AssetKeyKind["SERIAL_NUMBER"] = "SERIAL_NUMBER";
8
+ AssetKeyKind["MAC_ADDRESS"] = "MAC_ADDRESS";
9
+ })(AssetKeyKind || (exports.AssetKeyKind = AssetKeyKind = {}));
10
+ //# sourceMappingURL=assetKeyKind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetKeyKind.js","sourceRoot":"","sources":["../../../../src/dto/enums/assetKeyKind.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;AAC7B,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB"}
@@ -1,5 +1,6 @@
1
1
  export * from './agent.role';
2
2
  export * from './agent.status';
3
+ export * from './assetKeyKind';
3
4
  export * from './category';
4
5
  export * from './connector.status';
5
6
  export * from './findingKind';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./agent.role"), exports);
18
18
  __exportStar(require("./agent.status"), exports);
19
+ __exportStar(require("./assetKeyKind"), exports);
19
20
  __exportStar(require("./category"), exports);
20
21
  __exportStar(require("./connector.status"), exports);
21
22
  __exportStar(require("./findingKind"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,6CAA2B;AAC3B,qDAAmC;AACnC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,qDAAmC;AACnC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,sDAAoC"}
@@ -1,5 +1,6 @@
1
1
  export * from './agents.dto';
2
2
  export * from './assets.dto';
3
+ export * from './assetKey';
3
4
  export * from './base.dto';
4
5
  export * from './connectors.dto';
5
6
  export * from './enum.dto';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./agents.dto"), exports);
18
18
  __exportStar(require("./assets.dto"), exports);
19
+ __exportStar(require("./assetKey"), exports);
19
20
  __exportStar(require("./base.dto"), exports);
20
21
  __exportStar(require("./connectors.dto"), exports);
21
22
  __exportStar(require("./enum.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,wCAAsB;AACtB,gDAA8B;AAC9B,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,6CAA2B;AAC3B,mDAAiC;AACjC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,wCAAsB;AACtB,gDAA8B;AAC9B,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "20.0.0",
3
+ "version": "20.1.1",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -0,0 +1,6 @@
1
+ import {AssetKeyKind} from './enums/assetKeyKind';
2
+
3
+ export type AssetKey = {
4
+ value: string;
5
+ kind: AssetKeyKind;
6
+ };
@@ -0,0 +1,5 @@
1
+ /* eslint-disable no-unused-vars */
2
+ export enum AssetKeyKind {
3
+ SERIAL_NUMBER = 'SERIAL_NUMBER',
4
+ MAC_ADDRESS = 'MAC_ADDRESS',
5
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './agent.role';
2
2
  export * from './agent.status';
3
+ export * from './assetKeyKind';
3
4
  export * from './category';
4
5
  export * from './connector.status';
5
6
  export * from './findingKind';
package/src/dto/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './agents.dto';
2
2
  export * from './assets.dto';
3
+ export * from './assetKey';
3
4
  export * from './base.dto';
4
5
  export * from './connectors.dto';
5
6
  export * from './enum.dto';