@ampsec/platform-client 19.0.0 → 20.1.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,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,6 +1,9 @@
1
1
  import { BaseDto, BaseUpsertDto } from './base.dto';
2
+ import { Category } from './enums';
2
3
  export type ProviderUpsertDto = BaseUpsertDto & {
3
4
  /** Human readable name of the provider */
4
5
  displayValue: string;
6
+ /** Categories for this provider */
7
+ categories: Category[];
5
8
  };
6
9
  export type ProviderDto = BaseDto & ProviderUpsertDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "19.0.0",
3
+ "version": "20.1.0",
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,8 +1,11 @@
1
1
  import {BaseDto, BaseUpsertDto} from './base.dto';
2
+ import {Category} from './enums';
2
3
 
3
4
  export type ProviderUpsertDto = BaseUpsertDto & {
4
5
  /** Human readable name of the provider */
5
6
  displayValue: string;
7
+ /** Categories for this provider */
8
+ categories: Category[];
6
9
  };
7
10
 
8
11
  export type ProviderDto = BaseDto & ProviderUpsertDto;