@ampsec/platform-client 45.8.3 → 46.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.
@@ -4,7 +4,6 @@ export * from './assetKeys';
4
4
  export * from './base.dto';
5
5
  export * from './connectors.dto';
6
6
  export * from './constants';
7
- export * from './email.dto';
8
7
  export * from './enum.dto';
9
8
  export * from './enums';
10
9
  export * from './extKeyMap.dto';
@@ -20,8 +19,8 @@ export * from './riskContributors.dto';
20
19
  export * from './saasAssets.dto';
21
20
  export * from './saasComponents.dto';
22
21
  export * from './saasUsers.dto';
23
- export * from './applicationMessage.dto';
24
22
  export * from './ampSetting.dto';
25
23
  export * from './tenants.dto';
26
24
  export * from './users.dto';
27
25
  export * from './workflow.dto';
26
+ export * from './messagingChannels';
@@ -20,7 +20,6 @@ __exportStar(require("./assetKeys"), exports);
20
20
  __exportStar(require("./base.dto"), exports);
21
21
  __exportStar(require("./connectors.dto"), exports);
22
22
  __exportStar(require("./constants"), exports);
23
- __exportStar(require("./email.dto"), exports);
24
23
  __exportStar(require("./enum.dto"), exports);
25
24
  __exportStar(require("./enums"), exports);
26
25
  __exportStar(require("./extKeyMap.dto"), exports);
@@ -36,9 +35,9 @@ __exportStar(require("./riskContributors.dto"), exports);
36
35
  __exportStar(require("./saasAssets.dto"), exports);
37
36
  __exportStar(require("./saasComponents.dto"), exports);
38
37
  __exportStar(require("./saasUsers.dto"), exports);
39
- __exportStar(require("./applicationMessage.dto"), exports);
40
38
  __exportStar(require("./ampSetting.dto"), exports);
41
39
  __exportStar(require("./tenants.dto"), exports);
42
40
  __exportStar(require("./users.dto"), exports);
43
41
  __exportStar(require("./workflow.dto"), exports);
42
+ __exportStar(require("./messagingChannels"), exports);
44
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,2DAAyC;AACzC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC"}
@@ -1,4 +1,5 @@
1
- export type ApplicationMessageDto = {
1
+ import { Notifiable } from './notifiable.dto';
2
+ export type ApplicationMessageDto = Notifiable & {
2
3
  /** Connector ID for the slack instance to send to */
3
4
  cid: string;
4
5
  /** Slack user IDs to which the notification is being sent */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationMessage.dto.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/applicationMessage.dto.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
- export type EmailDto = {
1
+ import { Notifiable } from './notifiable.dto';
2
+ export type EmailDto = Notifiable & {
2
3
  /** Email address of the recipient */
3
4
  to: string;
4
5
  /** Email subject */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.dto.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/email.dto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './applicationMessage.dto';
2
+ export * from './email.dto';
3
+ export * from './notifiable.dto';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./applicationMessage.dto"), exports);
18
+ __exportStar(require("./email.dto"), exports);
19
+ __exportStar(require("./notifiable.dto"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,8CAA4B;AAC5B,mDAAiC"}
@@ -0,0 +1 @@
1
+ export type Notifiable = {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notifiable.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifiable.dto.js","sourceRoot":"","sources":["../../../../src/dto/messagingChannels/notifiable.dto.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "45.8.3",
3
+ "version": "46.0.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
package/src/dto/index.ts CHANGED
@@ -4,7 +4,6 @@ export * from './assetKeys';
4
4
  export * from './base.dto';
5
5
  export * from './connectors.dto';
6
6
  export * from './constants';
7
- export * from './email.dto';
8
7
  export * from './enum.dto';
9
8
  export * from './enums';
10
9
  export * from './extKeyMap.dto';
@@ -20,8 +19,8 @@ export * from './riskContributors.dto';
20
19
  export * from './saasAssets.dto';
21
20
  export * from './saasComponents.dto';
22
21
  export * from './saasUsers.dto';
23
- export * from './applicationMessage.dto';
24
22
  export * from './ampSetting.dto';
25
23
  export * from './tenants.dto';
26
24
  export * from './users.dto';
27
25
  export * from './workflow.dto';
26
+ export * from './messagingChannels';
@@ -1,4 +1,6 @@
1
- export type ApplicationMessageDto = {
1
+ import {Notifiable} from './notifiable.dto';
2
+
3
+ export type ApplicationMessageDto = Notifiable & {
2
4
  /** Connector ID for the slack instance to send to */
3
5
  cid: string;
4
6
  /** Slack user IDs to which the notification is being sent */
@@ -1,4 +1,6 @@
1
- export type EmailDto = {
1
+ import {Notifiable} from './notifiable.dto';
2
+
3
+ export type EmailDto = Notifiable & {
2
4
  /** Email address of the recipient */
3
5
  to: string;
4
6
  /** Email subject */
@@ -0,0 +1,3 @@
1
+ export * from './applicationMessage.dto';
2
+ export * from './email.dto';
3
+ export * from './notifiable.dto';
@@ -0,0 +1 @@
1
+ export type Notifiable = {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"applicationMessage.dto.js","sourceRoot":"","sources":["../../../src/dto/applicationMessage.dto.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"email.dto.js","sourceRoot":"","sources":["../../../src/dto/email.dto.ts"],"names":[],"mappings":""}