@ampsec/platform-client 45.5.1 → 45.6.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,8 @@
1
+ export type ApplicationMessageDto = {
2
+ /** Connector ID for the slack instance to send to */
3
+ cid: string;
4
+ /** Slack user IDs to which the notification is being sent */
5
+ users: string[];
6
+ /** Message to be sent to the users */
7
+ message: string;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=applicationMessage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationMessage.dto.js","sourceRoot":"","sources":["../../../src/dto/applicationMessage.dto.ts"],"names":[],"mappings":""}
@@ -20,6 +20,7 @@ export * from './riskContributors.dto';
20
20
  export * from './saasAssets.dto';
21
21
  export * from './saasComponents.dto';
22
22
  export * from './saasUsers.dto';
23
+ export * from './applicationMessage.dto';
23
24
  export * from './ampSetting.dto';
24
25
  export * from './tenants.dto';
25
26
  export * from './users.dto';
@@ -36,6 +36,7 @@ __exportStar(require("./riskContributors.dto"), exports);
36
36
  __exportStar(require("./saasAssets.dto"), exports);
37
37
  __exportStar(require("./saasComponents.dto"), exports);
38
38
  __exportStar(require("./saasUsers.dto"), exports);
39
+ __exportStar(require("./applicationMessage.dto"), exports);
39
40
  __exportStar(require("./ampSetting.dto"), exports);
40
41
  __exportStar(require("./tenants.dto"), exports);
41
42
  __exportStar(require("./users.dto"), exports);
@@ -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,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,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "45.5.1",
3
+ "version": "45.6.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -0,0 +1,8 @@
1
+ export type ApplicationMessageDto = {
2
+ /** Connector ID for the slack instance to send to */
3
+ cid: string;
4
+ /** Slack user IDs to which the notification is being sent */
5
+ users: string[];
6
+ /** Message to be sent to the users */
7
+ message: string;
8
+ };
package/src/dto/index.ts CHANGED
@@ -20,6 +20,7 @@ export * from './riskContributors.dto';
20
20
  export * from './saasAssets.dto';
21
21
  export * from './saasComponents.dto';
22
22
  export * from './saasUsers.dto';
23
+ export * from './applicationMessage.dto';
23
24
  export * from './ampSetting.dto';
24
25
  export * from './tenants.dto';
25
26
  export * from './users.dto';