@ampsec/platform-client 2.0.0 → 3.0.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.
- package/build/src/dto/connectors.dto.d.ts +1 -1
- package/build/src/dto/extKeyMap.dto.d.ts +6 -0
- package/build/src/{EntityIdLookupMap.js → dto/extKeyMap.dto.js} +1 -1
- package/build/src/dto/extKeyMap.dto.js.map +1 -0
- package/build/src/dto/index.d.ts +2 -0
- package/build/src/dto/index.js +2 -0
- package/build/src/dto/index.js.map +1 -1
- package/build/src/dto/message.dto.d.ts +3 -0
- package/build/src/dto/message.dto.js +3 -0
- package/build/src/dto/message.dto.js.map +1 -0
- package/build/src/dto/page.dto.d.ts +3 -1
- package/build/src/dto/platform/index.d.ts +2 -0
- package/build/src/dto/platform/index.js +2 -0
- package/build/src/dto/platform/index.js.map +1 -1
- package/build/src/dto/platform/multi.tenant.based.dto.d.ts +6 -1
- package/build/src/dto/platform/platform.agents.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.assets.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.connectors.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.findings.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.metrics.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.providers.dto.d.ts +3 -0
- package/build/src/dto/platform/platform.providers.dto.js +3 -0
- package/build/src/dto/platform/platform.providers.dto.js.map +1 -0
- package/build/src/dto/platform/platform.reportResults.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.saasComponents.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +4 -3
- package/build/src/dto/platform/platform.tenants.dto.d.ts +3 -0
- package/build/src/dto/platform/platform.tenants.dto.js +3 -0
- package/build/src/dto/platform/platform.tenants.dto.js.map +1 -0
- package/build/src/dto/platform/platform.users.dto.d.ts +4 -3
- package/build/src/dto/platform/tenant.based.dto.d.ts +6 -1
- package/build/src/index.d.ts +0 -1
- package/build/src/index.js +0 -1
- package/build/src/index.js.map +1 -1
- package/package.json +1 -1
- package/build/src/EntityIdLookupMap.d.ts +0 -11
- package/build/src/EntityIdLookupMap.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extKeyMap.dto.js","sourceRoot":"","sources":["../../../src/dto/extKeyMap.dto.ts"],"names":[],"mappings":""}
|
package/build/src/dto/index.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ export * from './assets.dto';
|
|
|
3
3
|
export * from './base.dto';
|
|
4
4
|
export * from './connectors.dto';
|
|
5
5
|
export * from './enums';
|
|
6
|
+
export * from './extKeyMap.dto';
|
|
6
7
|
export * from './findings.dto';
|
|
8
|
+
export * from './message.dto';
|
|
7
9
|
export * from './metrics.dto';
|
|
8
10
|
export * from './page.dto';
|
|
9
11
|
export * from './platform';
|
package/build/src/dto/index.js
CHANGED
|
@@ -19,7 +19,9 @@ __exportStar(require("./assets.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./base.dto"), exports);
|
|
20
20
|
__exportStar(require("./connectors.dto"), exports);
|
|
21
21
|
__exportStar(require("./enums"), exports);
|
|
22
|
+
__exportStar(require("./extKeyMap.dto"), exports);
|
|
22
23
|
__exportStar(require("./findings.dto"), exports);
|
|
24
|
+
__exportStar(require("./message.dto"), exports);
|
|
23
25
|
__exportStar(require("./metrics.dto"), exports);
|
|
24
26
|
__exportStar(require("./page.dto"), exports);
|
|
25
27
|
__exportStar(require("./platform"), 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,0CAAwB;AACxB,iDAA+B;AAC/B,gDAA8B;AAC9B,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,gDAA8B;AAC9B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,gDAA8B;AAC9B,gDAA8B;AAC9B,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,gDAA8B;AAC9B,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.dto.js","sourceRoot":"","sources":["../../../src/dto/message.dto.ts"],"names":[],"mappings":""}
|
|
@@ -3,9 +3,11 @@ export * from './platform.assets.dto';
|
|
|
3
3
|
export * from './platform.connectors.dto';
|
|
4
4
|
export * from './platform.findings.dto';
|
|
5
5
|
export * from './platform.metrics.dto';
|
|
6
|
+
export * from './platform.providers.dto';
|
|
6
7
|
export * from './platform.reportResults.dto';
|
|
7
8
|
export * from './platform.saasAssets.dto';
|
|
8
9
|
export * from './platform.saasComponents.dto';
|
|
9
10
|
export * from './platform.saasUsers.dto';
|
|
11
|
+
export * from './platform.tenants.dto';
|
|
10
12
|
export * from './platform.users.dto';
|
|
11
13
|
export * from './tenant.based.dto';
|
|
@@ -19,10 +19,12 @@ __exportStar(require("./platform.assets.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./platform.connectors.dto"), exports);
|
|
20
20
|
__exportStar(require("./platform.findings.dto"), exports);
|
|
21
21
|
__exportStar(require("./platform.metrics.dto"), exports);
|
|
22
|
+
__exportStar(require("./platform.providers.dto"), exports);
|
|
22
23
|
__exportStar(require("./platform.reportResults.dto"), exports);
|
|
23
24
|
__exportStar(require("./platform.saasAssets.dto"), exports);
|
|
24
25
|
__exportStar(require("./platform.saasComponents.dto"), exports);
|
|
25
26
|
__exportStar(require("./platform.saasUsers.dto"), exports);
|
|
27
|
+
__exportStar(require("./platform.tenants.dto"), exports);
|
|
26
28
|
__exportStar(require("./platform.users.dto"), exports);
|
|
27
29
|
__exportStar(require("./tenant.based.dto"), exports);
|
|
28
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,0DAAwC;AACxC,yDAAuC;AACvC,+DAA6C;AAC7C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,uDAAqC;AACrC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,0DAAwC;AACxC,yDAAuC;AACvC,2DAAyC;AACzC,+DAA6C;AAC7C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { BaseDto, BaseUpsertDto } from '../base.dto';
|
|
2
|
+
export type UpsertMultiTenantBased = BaseUpsertDto & {
|
|
3
|
+
/** Tenant Ids for multi-tenant entities */
|
|
4
|
+
tids?: number[];
|
|
5
|
+
};
|
|
6
|
+
export type MultiTenantBased = BaseDto & {
|
|
2
7
|
/** Tenant Ids for multi-tenant entities */
|
|
3
8
|
tids: number[];
|
|
4
9
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MultiTenantBased } from './multi.tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { AgentUpsertDto } from '../agents.dto';
|
|
2
|
+
import { MultiTenantBased, UpsertMultiTenantBased } from './multi.tenant.based.dto';
|
|
3
|
+
export type PlatformAgentUpsertDto = AgentUpsertDto & UpsertMultiTenantBased;
|
|
4
|
+
export type PlatformAgentDto = MultiTenantBased & PlatformAgentUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { AssetUpsertDto } from '../assets.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformAssetUpsertDto = AssetUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformAssetDto = TenantBased & PlatformAssetUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { ConnectorUpsertDto } from '../connectors.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformConnectorUpsertDto = ConnectorUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformConnectorDto = TenantBased & PlatformConnectorUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { FindingUpsertDto } from '../findings.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformFindingUpsertDto = FindingUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformFindingDto = TenantBased & PlatformFindingUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { MetricUpsertDto } from '../metrics.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformMetricUpsertDto = MetricUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformMetricDto = TenantBased & PlatformMetricUpsertDto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.providers.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.providers.dto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { ReportResultUpsertDto } from '../reportResults.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformReportResultUpsertDto = ReportResultUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformReportResultDto = TenantBased & PlatformReportResultUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { SaasAssetUpsertDto } from '../saasAssets.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformSaasAssetUpsertDto = SaasAssetUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformSaasAssetDto = TenantBased & PlatformSaasAssetUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { SaasComponentUpsertDto } from '../saasComponents.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformSaasComponentUpsertDto = SaasComponentUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformSaasComponentDto = TenantBased & PlatformSaasComponentUpsertDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { SaasUserUpsertDto } from '../saasUsers.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformSaasUserUpsertDto = SaasUserUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformSaasUserDto = TenantBased & PlatformSaasUserUpsertDto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.tenants.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.tenants.dto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TenantBased } from './tenant.based.dto';
|
|
3
|
-
export type
|
|
1
|
+
import { UserUpsertDto } from '../users.dto';
|
|
2
|
+
import { TenantBased, UpsertTenantBased } from './tenant.based.dto';
|
|
3
|
+
export type PlatformUserUpsertDto = UserUpsertDto & UpsertTenantBased;
|
|
4
|
+
export type PlatformUserDto = TenantBased & PlatformUserUpsertDto;
|
package/build/src/index.d.ts
CHANGED
package/build/src/index.js
CHANGED
|
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
18
|
__exportStar(require("./etag"), exports);
|
|
19
|
-
__exportStar(require("./EntityIdLookupMap"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
package/build/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,yCAAuB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,yCAAuB"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityIdLookupMap.js","sourceRoot":"","sources":["../../src/EntityIdLookupMap.ts"],"names":[],"mappings":""}
|