@ampsec/platform-client 46.1.0 → 46.3.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.
@@ -2,5 +2,8 @@ export declare enum ConnectorStatus {
2
2
  ACTIVE = "ACTIVE",
3
3
  DELETED = "DELETED",
4
4
  FAILED = "FAILED",
5
- DISABLED = "DISABLED"
5
+ DISABLED = "DISABLED",
6
+ SYNCING = "SYNCING",
7
+ DEGRADED = "DEGRADED",
8
+ PAUSED = "PAUSED"
6
9
  }
@@ -8,5 +8,8 @@ var ConnectorStatus;
8
8
  ConnectorStatus["DELETED"] = "DELETED";
9
9
  ConnectorStatus["FAILED"] = "FAILED";
10
10
  ConnectorStatus["DISABLED"] = "DISABLED";
11
+ ConnectorStatus["SYNCING"] = "SYNCING";
12
+ ConnectorStatus["DEGRADED"] = "DEGRADED";
13
+ ConnectorStatus["PAUSED"] = "PAUSED";
11
14
  })(ConnectorStatus || (exports.ConnectorStatus = ConnectorStatus = {}));
12
15
  //# sourceMappingURL=connector.status.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connector.status.js","sourceRoot":"","sources":["../../../../src/dto/enums/connector.status.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,wCAAqB,CAAA;AACvB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
1
+ {"version":3,"file":"connector.status.js","sourceRoot":"","sources":["../../../../src/dto/enums/connector.status.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,oCAAiB,CAAA;AACnB,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B"}
@@ -121,9 +121,9 @@ export type EmailDeliveryStrategySpec = DeliveryStrategySpec & {
121
121
  };
122
122
  export type NotificationUpsertDto = BaseUpsertDto & {
123
123
  /** Workflow ID for which the notification is being created */
124
- wfid: string;
124
+ wfid?: string | null;
125
125
  /** Step number in the workflow for which the notification is being created */
126
- stepNumber: number;
126
+ stepNumber?: number | null;
127
127
  /** Status of the notification */
128
128
  status: NotificationStatus;
129
129
  /** Data to be used for the notification */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "46.1.0",
3
+ "version": "46.3.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -4,4 +4,7 @@ export enum ConnectorStatus {
4
4
  DELETED = 'DELETED',
5
5
  FAILED = 'FAILED',
6
6
  DISABLED = 'DISABLED',
7
+ SYNCING = 'SYNCING',
8
+ DEGRADED = 'DEGRADED',
9
+ PAUSED = 'PAUSED',
7
10
  }
@@ -136,9 +136,9 @@ export type EmailDeliveryStrategySpec = DeliveryStrategySpec & {
136
136
 
137
137
  export type NotificationUpsertDto = BaseUpsertDto & {
138
138
  /** Workflow ID for which the notification is being created */
139
- wfid: string;
139
+ wfid?: string | null;
140
140
  /** Step number in the workflow for which the notification is being created */
141
- stepNumber: number;
141
+ stepNumber?: number | null;
142
142
  /** Status of the notification */
143
143
  status: NotificationStatus;
144
144
  /** Data to be used for the notification */