@coast/core-api-types 1.2.347 → 1.2.348

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,6 +2,7 @@ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
2
  import { UserId } from '@coast/core-types/user/UserId';
3
3
  export interface CreateCustomer {
4
4
  businessId: BusinessId;
5
+ businessName?: string;
5
6
  email?: string;
6
7
  name?: string;
7
8
  userId: UserId;
@@ -1,5 +1,5 @@
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
1
2
  import { AutomationReference } from '../AutomationReference';
2
- import { CompensationType } from '../CompensationType';
3
3
  export interface AutomationCompensation {
4
4
  type: CompensationType;
5
5
  sourceAutomation: AutomationReference;
@@ -1,5 +1,5 @@
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
1
2
  import { AutomationActionReference } from '../AutomationActionReference';
2
- import { CompensationType } from '../CompensationType';
3
3
  import { AutomationCompensation } from './AutomationCompensation';
4
4
  export interface ClearWorkflowTemplateReferenceAutomationActionCompensation extends AutomationCompensation {
5
5
  type: CompensationType.CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE;
@@ -1,6 +1,6 @@
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
1
2
  import { Condition } from '../../../automations/condition/Condition';
2
3
  import { AutomationActionReference } from '../AutomationActionReference';
3
- import { CompensationType } from '../CompensationType';
4
4
  import { AutomationCompensation } from './AutomationCompensation';
5
5
  export interface ClearWorkflowTemplateReferenceAutomationConditionCompensation extends AutomationCompensation {
6
6
  type: CompensationType.CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE;
@@ -1,6 +1,6 @@
1
1
  import type { ErrorCode } from '@coast/core-types/error/ErrorCode';
2
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
3
  import { AutomationReference } from '../AutomationReference';
3
- import { CompensationType } from '../CompensationType';
4
4
  export interface DisableAutomationCompensation {
5
5
  type: CompensationType.DISABLE_AUTOMATION;
6
6
  automation: AutomationReference;
@@ -1,4 +1,4 @@
1
- import { CompensationType } from '../CompensationType';
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
2
  import { ComponentReference } from '../ComponentReference';
3
3
  import { WorkflowTemplateReference } from '../WorkflowTemplateReference';
4
4
  import { ComponentCompensation } from './ComponentCompensation';
@@ -1,4 +1,4 @@
1
- import { CompensationType } from '../CompensationType';
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
2
  import { ComponentReference } from '../ComponentReference';
3
3
  export interface ComponentCompensation {
4
4
  type: CompensationType;
@@ -1,4 +1,4 @@
1
- import { CompensationType } from '../CompensationType';
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
2
  import { ComponentCompensation } from './ComponentCompensation';
3
3
  export interface LimitSubformComponent extends ComponentCompensation {
4
4
  type: CompensationType.LIMIT_SUBFORM_COMPONENT;
@@ -1,4 +1,4 @@
1
- import { CompensationType } from '../CompensationType';
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
2
  export interface OmitReferencedInComponent {
3
3
  type: CompensationType.OMIT_REFERENCED_IN_COMPONENT;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { CompensationType } from '../CompensationType';
1
+ import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
2
2
  import { ComponentReference } from '../ComponentReference';
3
3
  import { ComponentCompensation } from './ComponentCompensation';
4
4
  export interface OmitRelatedCardLookupComponent extends ComponentCompensation {
@@ -0,0 +1,15 @@
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
+ import { WorkflowEntityScanStatus } from '@coast/core-types/workflow-entity-scan/WorkflowEntityScanStatus';
3
+ import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
4
+ import { Audit } from '../application/Audit';
5
+ export interface WorkflowEntityScan extends Audit {
6
+ id: string;
7
+ name: string;
8
+ businessId?: BusinessId;
9
+ workflowTemplateId?: WorkflowTemplateId;
10
+ lastCursorId?: string;
11
+ processedCount: number;
12
+ status: WorkflowEntityScanStatus;
13
+ completedAt?: Date;
14
+ error?: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkflowEntityScan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowEntityScan.js","sourceRoot":"","sources":["../../../src/models/workflow-entity-scan/WorkflowEntityScan.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.347",
3
+ "version": "1.2.348",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,7 +23,7 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.54",
26
+ "@coast/core-types": "0.0.56",
27
27
  "@coast/core-utils": "0.0.22",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.79",
@@ -1,9 +0,0 @@
1
- export declare enum CompensationType {
2
- CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE = "CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE",
3
- CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE = "CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE",
4
- CLEAR_RELATED_CARD_COMPONENT_REFERENCE = "CLEAR_RELATED_CARD_COMPONENT_REFERENCE",
5
- DISABLE_AUTOMATION = "DISABLE_AUTOMATION",
6
- LIMIT_SUBFORM_COMPONENT = "LIMIT_SUBFORM_COMPONENT",
7
- OMIT_REFERENCED_IN_COMPONENT = "OMIT_REFERENCED_IN_COMPONENT",
8
- OMIT_RELATED_CARD_LOOKUP_COMPONENT = "OMIT_RELATED_CARD_LOOKUP_COMPONENT"
9
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompensationType = void 0;
4
- var CompensationType;
5
- (function (CompensationType) {
6
- CompensationType["CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE"] = "CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE";
7
- CompensationType["CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE"] = "CLEAR_AUTOMATION_CONDITION_WORKFLOW_TEMPLATE_REFERENCE";
8
- CompensationType["CLEAR_RELATED_CARD_COMPONENT_REFERENCE"] = "CLEAR_RELATED_CARD_COMPONENT_REFERENCE";
9
- CompensationType["DISABLE_AUTOMATION"] = "DISABLE_AUTOMATION";
10
- CompensationType["LIMIT_SUBFORM_COMPONENT"] = "LIMIT_SUBFORM_COMPONENT";
11
- CompensationType["OMIT_REFERENCED_IN_COMPONENT"] = "OMIT_REFERENCED_IN_COMPONENT";
12
- CompensationType["OMIT_RELATED_CARD_LOOKUP_COMPONENT"] = "OMIT_RELATED_CARD_LOOKUP_COMPONENT";
13
- })(CompensationType || (exports.CompensationType = CompensationType = {}));
14
- //# sourceMappingURL=CompensationType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompensationType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/compensations/CompensationType.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IACxB,+HAA2G,CAAA;IAC3G,qIAAiH,CAAA;IACjH,qGAAiF,CAAA;IACjF,6DAAyC,CAAA;IACzC,uEAAmD,CAAA;IACnD,iFAA6D,CAAA;IAC7D,6FAAyE,CAAA;AAC7E,CAAC,EARW,gBAAgB,aAAhB,gBAAgB,GAAhB,gBAAgB,QAQ3B"}