@coast/core-api-types 1.2.225 → 1.2.227

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.
Files changed (175) hide show
  1. package/dist/models/automations/Automation.d.ts +2 -2
  2. package/dist/models/automations/action/AutomationAction.d.ts +2 -2
  3. package/dist/models/automations/action/component-data/registry/AnyDynamicComponentData.d.ts +2 -0
  4. package/dist/models/automations/action/component-data/registry/AnyDynamicComponentData.js +3 -0
  5. package/dist/models/automations/action/component-data/registry/AnyDynamicComponentData.js.map +1 -0
  6. package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.d.ts +4 -0
  7. package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.js +3 -0
  8. package/dist/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.js.map +1 -0
  9. package/dist/models/automations/action/registry/AnyAutomationAction.d.ts +13 -0
  10. package/dist/models/automations/action/registry/AnyAutomationAction.js +3 -0
  11. package/dist/models/automations/action/registry/AnyAutomationAction.js.map +1 -0
  12. package/dist/models/automations/action/settings/AutomationComponentData.d.ts +4 -4
  13. package/dist/models/automations/action/settings/CalculateValueActionSettings.d.ts +3 -3
  14. package/dist/models/automations/action/settings/CreateCalculateValueActionSettings.d.ts +1 -1
  15. package/dist/models/automations/action/settings/SettingsWorkflowEntityField.d.ts +4 -4
  16. package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +4 -4
  17. package/dist/models/automations/action/settings/registry/AnyAutomationActionSettings.d.ts +13 -0
  18. package/dist/models/automations/action/settings/registry/AnyAutomationActionSettings.js +3 -0
  19. package/dist/models/automations/action/settings/registry/AnyAutomationActionSettings.js.map +1 -0
  20. package/dist/models/automations/condition/Condition.d.ts +3 -3
  21. package/dist/models/automations/condition/CreateCondition.d.ts +1 -1
  22. package/dist/models/automations/condition/UpdateCondition.d.ts +1 -1
  23. package/dist/models/automations/condition/operands/ActionResultNumberOperand.js.map +1 -0
  24. package/dist/models/automations/condition/operands/ComponentOperand.js.map +1 -0
  25. package/dist/models/automations/condition/operands/DateOperand.js.map +1 -0
  26. package/dist/models/automations/condition/{DateTokenOperand.d.ts → operands/DateTokenOperand.d.ts} +1 -1
  27. package/dist/models/automations/condition/operands/DateTokenOperand.js.map +1 -0
  28. package/dist/models/automations/condition/operands/NumberOperand.js.map +1 -0
  29. package/dist/models/automations/condition/operands/NumberOperandOneOf.js.map +1 -0
  30. package/dist/models/automations/condition/operands/Operand.js.map +1 -0
  31. package/dist/models/automations/condition/operands/OperandOneOf.js.map +1 -0
  32. package/dist/models/automations/condition/operands/OperandType.js.map +1 -0
  33. package/dist/models/automations/condition/operands/PreviousComponentOperand.js.map +1 -0
  34. package/dist/models/automations/condition/operands/StringArrayOperand.js.map +1 -0
  35. package/dist/models/automations/condition/operands/StringOperand.js.map +1 -0
  36. package/dist/models/automations/condition/{WorkflowEntityRefComponentOperand.d.ts → operands/WorkflowEntityRefComponentOperand.d.ts} +1 -1
  37. package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.js.map +1 -0
  38. package/dist/models/automations/condition/operands/registry/AnyNumberOperand.d.ts +6 -0
  39. package/dist/models/automations/condition/operands/registry/AnyNumberOperand.js +3 -0
  40. package/dist/models/automations/condition/operands/registry/AnyNumberOperand.js.map +1 -0
  41. package/dist/models/automations/condition/operands/registry/AnyOperand.d.ts +2 -0
  42. package/dist/models/automations/condition/operands/registry/AnyOperand.js +3 -0
  43. package/dist/models/automations/condition/operands/registry/AnyOperand.js.map +1 -0
  44. package/dist/models/export/FormDataExport.d.ts +2 -2
  45. package/dist/models/export/registry/AnyDataExport.d.ts +3 -0
  46. package/dist/models/export/registry/AnyDataExport.js +3 -0
  47. package/dist/models/export/registry/AnyDataExport.js.map +1 -0
  48. package/dist/models/view-template-layout/ViewTemplateLayoutOneOf.d.ts +2 -2
  49. package/dist/models/view-template-layout/registry/AnyViewTemplateLayoutItem.d.ts +3 -0
  50. package/dist/models/{automations/action/AutomationActionRegistry.js → view-template-layout/registry/AnyViewTemplateLayoutItem.js} +1 -1
  51. package/dist/models/view-template-layout/registry/AnyViewTemplateLayoutItem.js.map +1 -0
  52. package/dist/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.d.ts +7 -0
  53. package/dist/models/{automations/action/settings/AutomationActionSettingsRegistry.js → view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.js} +1 -1
  54. package/dist/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.js.map +1 -0
  55. package/dist/models/workflow-template/components/AnyComponentAuditData.d.ts +2 -1
  56. package/dist/models/workflow-template/components/AnyComponentDataChange.d.ts +2 -1
  57. package/dist/models/workflow-template/components/AnyComponentDataValue.d.ts +2 -1
  58. package/dist/models/workflow-template/components/Component.d.ts +1 -0
  59. package/dist/models/workflow-template/components/ComponentDataOneOf.d.ts +2 -0
  60. package/dist/models/workflow-template/components/ComponentOneOf.d.ts +2 -0
  61. package/dist/models/workflow-template/components/ComponentOneOfOverride.d.ts +2 -0
  62. package/dist/models/workflow-template/components/ComponentOverrideType.d.ts +1 -1
  63. package/dist/models/workflow-template/components/ComponentType.d.ts +1 -0
  64. package/dist/models/workflow-template/components/ComponentType.js +1 -0
  65. package/dist/models/workflow-template/components/ComponentType.js.map +1 -1
  66. package/dist/models/workflow-template/components/ComponentViewOptions.d.ts +2 -2
  67. package/dist/models/workflow-template/components/InputComponentTypes.d.ts +1 -1
  68. package/dist/models/workflow-template/components/InputComponentTypes.js +1 -0
  69. package/dist/models/workflow-template/components/InputComponentTypes.js.map +1 -1
  70. package/dist/models/workflow-template/components/data-registry/AnyComponentData.d.ts +2 -0
  71. package/dist/models/workflow-template/components/data-registry/AnyComponentData.js +3 -0
  72. package/dist/models/workflow-template/components/data-registry/AnyComponentData.js.map +1 -0
  73. package/dist/models/workflow-template/components/date-range/CreateDateRangeComponentOverride.d.ts +4 -0
  74. package/dist/models/workflow-template/components/date-range/CreateDateRangeComponentOverride.js +3 -0
  75. package/dist/models/workflow-template/components/date-range/CreateDateRangeComponentOverride.js.map +1 -0
  76. package/dist/models/workflow-template/components/date-range/DateRangeComponent.d.ts +6 -0
  77. package/dist/models/workflow-template/components/date-range/DateRangeComponent.js +3 -0
  78. package/dist/models/workflow-template/components/date-range/DateRangeComponent.js.map +1 -0
  79. package/dist/models/workflow-template/components/date-range/DateRangeComponentAuditData.d.ts +6 -0
  80. package/dist/models/workflow-template/components/date-range/DateRangeComponentAuditData.js +3 -0
  81. package/dist/models/workflow-template/components/date-range/DateRangeComponentAuditData.js.map +1 -0
  82. package/dist/models/workflow-template/components/date-range/DateRangeComponentData.d.ts +6 -0
  83. package/dist/models/workflow-template/components/date-range/DateRangeComponentData.js +3 -0
  84. package/dist/models/workflow-template/components/date-range/DateRangeComponentData.js.map +1 -0
  85. package/dist/models/workflow-template/components/date-range/DateRangeComponentDataChange.d.ts +7 -0
  86. package/dist/models/{automations/action/component-data/DynamicComponentDataRegistry.js → workflow-template/components/date-range/DateRangeComponentDataChange.js} +1 -1
  87. package/dist/models/workflow-template/components/date-range/DateRangeComponentDataChange.js.map +1 -0
  88. package/dist/models/workflow-template/components/date-range/DateRangeComponentDataValue.d.ts +5 -0
  89. package/dist/models/workflow-template/components/date-range/DateRangeComponentDataValue.js +3 -0
  90. package/dist/models/workflow-template/components/date-range/DateRangeComponentDataValue.js.map +1 -0
  91. package/dist/models/workflow-template/components/date-range/DateRangeComponentOverride.d.ts +4 -0
  92. package/dist/models/workflow-template/components/date-range/DateRangeComponentOverride.js +3 -0
  93. package/dist/models/workflow-template/components/date-range/DateRangeComponentOverride.js.map +1 -0
  94. package/dist/models/workflow-template/components/overrides-registry/AnyComponentOverride.d.ts +27 -0
  95. package/dist/models/workflow-template/components/overrides-registry/AnyComponentOverride.js +3 -0
  96. package/dist/models/workflow-template/components/overrides-registry/AnyComponentOverride.js.map +1 -0
  97. package/dist/models/workflow-template/components/overrides-registry/AnyInputComponentOverride.d.ts +22 -0
  98. package/dist/models/workflow-template/components/overrides-registry/AnyInputComponentOverride.js +3 -0
  99. package/dist/models/workflow-template/components/overrides-registry/AnyInputComponentOverride.js.map +1 -0
  100. package/dist/models/workflow-template/entities/WorkflowEntityField.d.ts +2 -2
  101. package/dist/models/workflow-template/entities/audit-trail/EntityAuditTrailEntry.d.ts +2 -2
  102. package/dist/models/workflow-template/entities/filters/FilterByComponent.d.ts +2 -2
  103. package/dist/models/workflow-template/entities/filters/registry/AnyFilter.d.ts +10 -0
  104. package/dist/models/workflow-template/entities/filters/registry/AnyFilter.js +3 -0
  105. package/dist/models/workflow-template/entities/filters/registry/AnyFilter.js.map +1 -0
  106. package/dist/scripts/generateTypes.js +36 -1
  107. package/dist/scripts/generateTypes.js.map +1 -1
  108. package/package.json +1 -1
  109. package/dist/models/automations/action/AutomationActionRegistry.d.ts +0 -15
  110. package/dist/models/automations/action/AutomationActionRegistry.js.map +0 -1
  111. package/dist/models/automations/action/component-data/DynamicComponentDataRegistry.d.ts +0 -8
  112. package/dist/models/automations/action/component-data/DynamicComponentDataRegistry.js.map +0 -1
  113. package/dist/models/automations/action/settings/AutomationActionSettingsRegistry.d.ts +0 -15
  114. package/dist/models/automations/action/settings/AutomationActionSettingsRegistry.js.map +0 -1
  115. package/dist/models/automations/condition/ActionResultNumberOperand.js.map +0 -1
  116. package/dist/models/automations/condition/ComponentOperand.js.map +0 -1
  117. package/dist/models/automations/condition/DateOperand.js.map +0 -1
  118. package/dist/models/automations/condition/DateTokenOperand.js.map +0 -1
  119. package/dist/models/automations/condition/NumberOperand.js.map +0 -1
  120. package/dist/models/automations/condition/NumberOperandOneOf.js.map +0 -1
  121. package/dist/models/automations/condition/Operand.js.map +0 -1
  122. package/dist/models/automations/condition/OperandOneOf.js.map +0 -1
  123. package/dist/models/automations/condition/OperandRegistry.d.ts +0 -10
  124. package/dist/models/automations/condition/OperandRegistry.js +0 -3
  125. package/dist/models/automations/condition/OperandRegistry.js.map +0 -1
  126. package/dist/models/automations/condition/OperandType.js.map +0 -1
  127. package/dist/models/automations/condition/PreviousComponentOperand.js.map +0 -1
  128. package/dist/models/automations/condition/StringArrayOperand.js.map +0 -1
  129. package/dist/models/automations/condition/StringOperand.js.map +0 -1
  130. package/dist/models/automations/condition/WorkflowEntityRefComponentOperand.js.map +0 -1
  131. package/dist/models/export/DataExportRegistry.d.ts +0 -5
  132. package/dist/models/export/DataExportRegistry.js +0 -3
  133. package/dist/models/export/DataExportRegistry.js.map +0 -1
  134. package/dist/models/view-template-layout/ViewTemplateLayoutRegistry.d.ts +0 -14
  135. package/dist/models/view-template-layout/ViewTemplateLayoutRegistry.js +0 -3
  136. package/dist/models/view-template-layout/ViewTemplateLayoutRegistry.js.map +0 -1
  137. package/dist/models/workflow-template/components/ComponentDataChangeRegistry.d.ts +0 -4
  138. package/dist/models/workflow-template/components/ComponentDataChangeRegistry.js +0 -3
  139. package/dist/models/workflow-template/components/ComponentDataChangeRegistry.js.map +0 -1
  140. package/dist/models/workflow-template/components/ComponentDataRegistry.d.ts +0 -4
  141. package/dist/models/workflow-template/components/ComponentDataRegistry.js +0 -3
  142. package/dist/models/workflow-template/components/ComponentDataRegistry.js.map +0 -1
  143. package/dist/models/workflow-template/components/ComponentRegistry.d.ts +0 -35
  144. package/dist/models/workflow-template/components/ComponentRegistry.js +0 -3
  145. package/dist/models/workflow-template/components/ComponentRegistry.js.map +0 -1
  146. package/dist/models/workflow-template/entities/filters/FilterOneOfByComponentUtils.d.ts +0 -13
  147. package/dist/models/workflow-template/entities/filters/FilterOneOfByComponentUtils.js +0 -31
  148. package/dist/models/workflow-template/entities/filters/FilterOneOfByComponentUtils.js.map +0 -1
  149. package/dist/models/workflow-template/entities/filters/FilterRegistry.d.ts +0 -12
  150. package/dist/models/workflow-template/entities/filters/FilterRegistry.js +0 -3
  151. package/dist/models/workflow-template/entities/filters/FilterRegistry.js.map +0 -1
  152. /package/dist/models/automations/condition/{ActionResultNumberOperand.d.ts → operands/ActionResultNumberOperand.d.ts} +0 -0
  153. /package/dist/models/automations/condition/{ActionResultNumberOperand.js → operands/ActionResultNumberOperand.js} +0 -0
  154. /package/dist/models/automations/condition/{ComponentOperand.d.ts → operands/ComponentOperand.d.ts} +0 -0
  155. /package/dist/models/automations/condition/{ComponentOperand.js → operands/ComponentOperand.js} +0 -0
  156. /package/dist/models/automations/condition/{DateOperand.d.ts → operands/DateOperand.d.ts} +0 -0
  157. /package/dist/models/automations/condition/{DateOperand.js → operands/DateOperand.js} +0 -0
  158. /package/dist/models/automations/condition/{DateTokenOperand.js → operands/DateTokenOperand.js} +0 -0
  159. /package/dist/models/automations/condition/{NumberOperand.d.ts → operands/NumberOperand.d.ts} +0 -0
  160. /package/dist/models/automations/condition/{NumberOperand.js → operands/NumberOperand.js} +0 -0
  161. /package/dist/models/automations/condition/{NumberOperandOneOf.d.ts → operands/NumberOperandOneOf.d.ts} +0 -0
  162. /package/dist/models/automations/condition/{NumberOperandOneOf.js → operands/NumberOperandOneOf.js} +0 -0
  163. /package/dist/models/automations/condition/{Operand.d.ts → operands/Operand.d.ts} +0 -0
  164. /package/dist/models/automations/condition/{Operand.js → operands/Operand.js} +0 -0
  165. /package/dist/models/automations/condition/{OperandOneOf.d.ts → operands/OperandOneOf.d.ts} +0 -0
  166. /package/dist/models/automations/condition/{OperandOneOf.js → operands/OperandOneOf.js} +0 -0
  167. /package/dist/models/automations/condition/{OperandType.d.ts → operands/OperandType.d.ts} +0 -0
  168. /package/dist/models/automations/condition/{OperandType.js → operands/OperandType.js} +0 -0
  169. /package/dist/models/automations/condition/{PreviousComponentOperand.d.ts → operands/PreviousComponentOperand.d.ts} +0 -0
  170. /package/dist/models/automations/condition/{PreviousComponentOperand.js → operands/PreviousComponentOperand.js} +0 -0
  171. /package/dist/models/automations/condition/{StringArrayOperand.d.ts → operands/StringArrayOperand.d.ts} +0 -0
  172. /package/dist/models/automations/condition/{StringArrayOperand.js → operands/StringArrayOperand.js} +0 -0
  173. /package/dist/models/automations/condition/{StringOperand.d.ts → operands/StringOperand.d.ts} +0 -0
  174. /package/dist/models/automations/condition/{StringOperand.js → operands/StringOperand.js} +0 -0
  175. /package/dist/models/automations/condition/{WorkflowEntityRefComponentOperand.js → operands/WorkflowEntityRefComponentOperand.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { Audit } from '../application/Audit';
2
2
  import { BusinessId } from '../business/BusinessId';
3
- import { AutomationActionRegistry } from './action/AutomationActionRegistry';
3
+ import { AnyAutomationAction } from './action/registry/AnyAutomationAction';
4
4
  import { AutomationId } from './AutomationId';
5
5
  import { AutomationTriggerType } from './AutomationTriggerType';
6
6
  import { Condition } from './condition/Condition';
7
7
  export interface Automation extends Audit {
8
- actions: AutomationActionRegistry.Any[];
8
+ actions: AnyAutomationAction[];
9
9
  businessId: BusinessId;
10
10
  conditions?: Condition[];
11
11
  deletedAt?: Date;
@@ -2,7 +2,7 @@ import { Automation } from '../Automation';
2
2
  import { Condition } from '../condition/Condition';
3
3
  import { AutomationActionId } from './AutomationActionId';
4
4
  import { AutomationActionType } from './AutomationActionType';
5
- import { AutomationActionSettingsRegistry } from './settings/AutomationActionSettingsRegistry';
5
+ import { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
6
6
  export interface AutomationAction<T extends AutomationActionType = AutomationActionType> {
7
7
  automation?: Automation;
8
8
  conditions?: Condition[];
@@ -10,7 +10,7 @@ export interface AutomationAction<T extends AutomationActionType = AutomationAct
10
10
  id: AutomationActionId;
11
11
  name: string;
12
12
  parentId?: string;
13
- settings?: AutomationActionSettingsRegistry.Any;
13
+ settings?: AnyAutomationActionSettings;
14
14
  sortOrder?: number;
15
15
  type: T;
16
16
  }
@@ -0,0 +1,2 @@
1
+ import { DynamicComponentDataOneOf } from '../DynamicComponentDataOneOf';
2
+ export type AnyDynamicComponentData = DynamicComponentDataOneOf[keyof DynamicComponentDataOneOf];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyDynamicComponentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyDynamicComponentData.js","sourceRoot":"","sources":["../../../../../../src/models/automations/action/component-data/registry/AnyDynamicComponentData.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { ActionResultNumber } from '../ActionResultNumber';
2
+ import { CurrentWorkflowEntityComponent } from '../CurrentWorkflowEntityComponent';
3
+ import { RelatedWorkflowEntityComponent } from '../RelatedWorkflowEntityComponent';
4
+ export type AnyDynamicNumberComponentData = ActionResultNumber | CurrentWorkflowEntityComponent | RelatedWorkflowEntityComponent;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyDynamicNumberComponentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyDynamicNumberComponentData.js","sourceRoot":"","sources":["../../../../../../src/models/automations/action/component-data/registry/AnyDynamicNumberComponentData.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { CalculateValueAction } from '../CalculateValueAction';
2
+ import { CurrentWorkflowEntityUpdateAction } from '../CurrentWorkflowEntityUpdateAction';
3
+ import { ExternalFormLinkCreateAction } from '../ExternalFormLinkCreateAction';
4
+ import { ReferencedInQuantitySumAction } from '../ReferencedInQuantitySumAction';
5
+ import { SendEmailAction } from '../SendEmailAction';
6
+ import { SendNotificationAction } from '../SendNotificationAction';
7
+ import { SendPushNotificationAction } from '../SendPushNotificationAction';
8
+ import { SendWebhookAction } from '../SendWebhookAction';
9
+ import { TriggerRelatedCardAutomationAction } from '../TriggerRelatedCardAutomationAction';
10
+ import { UpdateRelatedCardQuantityAction } from '../UpdateRelatedCardQuantityAction';
11
+ import { WorkflowEntityCreateAction } from '../WorkflowEntityCreateAction';
12
+ import { WorkflowEntityUpdateAction } from '../WorkflowEntityUpdateAction';
13
+ export type AnyAutomationAction = CalculateValueAction | CurrentWorkflowEntityUpdateAction | ExternalFormLinkCreateAction | ReferencedInQuantitySumAction | SendEmailAction | SendNotificationAction | SendPushNotificationAction | SendWebhookAction | TriggerRelatedCardAutomationAction | UpdateRelatedCardQuantityAction | WorkflowEntityCreateAction | WorkflowEntityUpdateAction;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyAutomationAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyAutomationAction.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/registry/AnyAutomationAction.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
- import { ComponentDataRegistry } from '../../../workflow-template/components/ComponentDataRegistry';
2
- import { DynamicComponentDataRegistry } from '../component-data/DynamicComponentDataRegistry';
1
+ import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
2
+ import { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
3
3
  export interface AutomationComponentData {
4
- dynamicData?: DynamicComponentDataRegistry.Any;
5
- staticData?: ComponentDataRegistry.Any;
4
+ dynamicData?: AnyDynamicComponentData;
5
+ staticData?: AnyComponentData;
6
6
  }
@@ -1,9 +1,9 @@
1
- import { OperandRegistry } from '../../condition/OperandRegistry';
1
+ import { AnyNumberOperand } from '../../condition/operands/registry/AnyNumberOperand';
2
2
  import { AutomationActionType } from '../AutomationActionType';
3
3
  import { ArithmeticOperator } from './ArithmeticOperator';
4
4
  import { AutomationActionSettings } from './AutomationActionSettings';
5
5
  export interface CalculateValueActionSettings extends AutomationActionSettings<AutomationActionType.CALCULATE_VALUE> {
6
- leftOperand: OperandRegistry.AnyNumber;
6
+ leftOperand: AnyNumberOperand;
7
7
  operator: ArithmeticOperator;
8
- rightOperand: OperandRegistry.AnyNumber;
8
+ rightOperand: AnyNumberOperand;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { NumberOperandOneOf } from '../../condition/NumberOperandOneOf';
1
+ import { NumberOperandOneOf } from '../../condition/operands/NumberOperandOneOf';
2
2
  import { CalculateValueActionSettings } from './CalculateValueActionSettings';
3
3
  export interface CreateCalculateValueActionSettings extends Omit<CalculateValueActionSettings, 'leftOperand' | 'rightOperand'> {
4
4
  leftOperand: NumberOperandOneOf;
@@ -1,9 +1,9 @@
1
- import { ComponentDataRegistry } from '../../../workflow-template/components/ComponentDataRegistry';
2
- import { DynamicComponentDataRegistry } from '../component-data/DynamicComponentDataRegistry';
1
+ import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
2
+ import { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
3
3
  import { ArrayValueOperation } from './ArrayValueOperation';
4
4
  export interface SettingsWorkflowEntityField {
5
5
  arrayValueOperation?: ArrayValueOperation;
6
6
  componentId: string;
7
- dynamicData?: DynamicComponentDataRegistry.Any;
8
- staticData?: ComponentDataRegistry.Any;
7
+ dynamicData?: AnyDynamicComponentData;
8
+ staticData?: AnyComponentData;
9
9
  }
@@ -1,11 +1,11 @@
1
- import { ComponentDataRegistry } from '../../../workflow-template/components/ComponentDataRegistry';
1
+ import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
2
2
  import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
3
3
  import { AutomationActionType } from '../AutomationActionType';
4
- import { DynamicComponentDataRegistry } from '../component-data/DynamicComponentDataRegistry';
4
+ import { AnyDynamicNumberComponentData } from '../component-data/registry/AnyDynamicNumberComponentData';
5
5
  import { AutomationActionSettings } from './AutomationActionSettings';
6
6
  export interface UpdateRelatedCardQuantityActionSettings extends AutomationActionSettings<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY> {
7
- dynamicData?: DynamicComponentDataRegistry.AnyNumber;
7
+ dynamicData?: AnyDynamicNumberComponentData;
8
8
  relatedCardComponentId: string;
9
- staticData?: ComponentDataRegistry.Any;
9
+ staticData?: AnyComponentData;
10
10
  workflowTemplateId: WorkflowTemplateId;
11
11
  }
@@ -0,0 +1,13 @@
1
+ import { CalculateValueActionSettings } from '../CalculateValueActionSettings';
2
+ import { CurrentWorkflowEntityUpdateActionSettings } from '../CurrentWorkflowEntityUpdateActionSettings';
3
+ import { ExternalFormLinkCreateActionSettings } from '../ExternalFormLinkCreateActionSettings';
4
+ import { ReferencedInQuantitySumActionSettings } from '../ReferencedInQuantitySumActionSettings';
5
+ import { SendEmailActionSettings } from '../SendEmailActionSettings';
6
+ import { SendNotificationActionSettings } from '../SendNotificationActionSettings';
7
+ import { SendPushNotificationActionSettings } from '../SendPushNotificationActionSettings';
8
+ import { SendWebhookActionSettings } from '../SendWebhookActionSettings';
9
+ import { TriggerRelatedCardAutomationActionSettings } from '../TriggerRelatedCardAutomationActionSettings';
10
+ import { UpdateRelatedCardQuantityActionSettings } from '../UpdateRelatedCardQuantityActionSettings';
11
+ import { WorkflowEntityCreateActionSettings } from '../WorkflowEntityCreateActionSettings';
12
+ import { WorkflowEntityUpdateActionSettings } from '../WorkflowEntityUpdateActionSettings';
13
+ export type AnyAutomationActionSettings = CalculateValueActionSettings | CurrentWorkflowEntityUpdateActionSettings | ExternalFormLinkCreateActionSettings | ReferencedInQuantitySumActionSettings | SendEmailActionSettings | SendNotificationActionSettings | SendPushNotificationActionSettings | SendWebhookActionSettings | TriggerRelatedCardAutomationActionSettings | UpdateRelatedCardQuantityActionSettings | WorkflowEntityCreateActionSettings | WorkflowEntityUpdateActionSettings;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyAutomationActionSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyAutomationActionSettings.js","sourceRoot":"","sources":["../../../../../../src/models/automations/action/settings/registry/AnyAutomationActionSettings.ts"],"names":[],"mappings":""}
@@ -1,10 +1,10 @@
1
1
  import { ComparisonOperator } from '../../workflow-template/entities/filters/ComparisonOperator';
2
2
  import { LogicalOperator } from './LogicalOperator';
3
- import { OperandRegistry } from './OperandRegistry';
3
+ import { AnyOperand } from './operands/registry/AnyOperand';
4
4
  export interface Condition {
5
5
  comparisonOperator: ComparisonOperator;
6
6
  id: string;
7
- leftOperand: OperandRegistry.Any;
7
+ leftOperand: AnyOperand;
8
8
  logicalOperator?: LogicalOperator;
9
- rightOperand: OperandRegistry.Any;
9
+ rightOperand: AnyOperand;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  import { Condition } from './Condition';
2
- import { OperandOneOf } from './OperandOneOf';
2
+ import { OperandOneOf } from './operands/OperandOneOf';
3
3
  export interface CreateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
4
4
  leftOperand: OperandOneOf;
5
5
  rightOperand: OperandOneOf;
@@ -1,5 +1,5 @@
1
1
  import { Condition } from './Condition';
2
- import { OperandOneOf } from './OperandOneOf';
2
+ import { OperandOneOf } from './operands/OperandOneOf';
3
3
  export interface UpdateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
4
4
  id?: string;
5
5
  leftOperand: OperandOneOf;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionResultNumberOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/ActionResultNumberOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComponentOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/ComponentOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/DateOperand.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { AutomationDateToken } from '../AutomationDateToken';
1
+ import { AutomationDateToken } from '../../AutomationDateToken';
2
2
  import { Operand } from './Operand';
3
3
  export interface DateTokenOperand extends Operand {
4
4
  dateToken: AutomationDateToken;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateTokenOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/DateTokenOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/NumberOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberOperandOneOf.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/NumberOperandOneOf.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Operand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/Operand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperandOneOf.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/OperandOneOf.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperandType.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/OperandType.ts"],"names":[],"mappings":";;;AACA,IAAY,WAUX;AAVD,WAAY,WAAW;IACnB,4DAA6C,CAAA;IAC7C,sCAAuB,CAAA;IACvB,4BAAa,CAAA;IACb,wCAAyB,CAAA;IACzB,gCAAiB,CAAA;IACjB,wDAAyC,CAAA;IACzC,gCAAiB,CAAA;IACjB,4CAA6B,CAAA;IAC7B,8EAA+D,CAAA;AACnE,CAAC,EAVW,WAAW,2BAAX,WAAW,QAUtB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviousComponentOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/PreviousComponentOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StringArrayOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/StringArrayOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StringOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/StringOperand.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { WorkflowTemplateId } from '../../workflow-template/WorkflowTemplateId';
1
+ import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
2
2
  import { Operand } from './Operand';
3
3
  export interface WorkflowEntityRefComponentOperand extends Operand {
4
4
  componentId: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowEntityRefComponentOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/WorkflowEntityRefComponentOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { ActionResultNumberOperand } from '../ActionResultNumberOperand';
2
+ import { ComponentOperand } from '../ComponentOperand';
3
+ import { NumberOperand } from '../NumberOperand';
4
+ import { PreviousComponentOperand } from '../PreviousComponentOperand';
5
+ import { WorkflowEntityRefComponentOperand } from '../WorkflowEntityRefComponentOperand';
6
+ export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyNumberOperand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyNumberOperand.js","sourceRoot":"","sources":["../../../../../../src/models/automations/condition/operands/registry/AnyNumberOperand.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { OperandOneOf } from '../OperandOneOf';
2
+ export type AnyOperand = OperandOneOf[keyof OperandOneOf];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyOperand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyOperand.js","sourceRoot":"","sources":["../../../../../../src/models/automations/condition/operands/registry/AnyOperand.ts"],"names":[],"mappings":""}
@@ -1,9 +1,9 @@
1
1
  import { DataExport } from './DataExport';
2
- import { DataExportRegistry } from './DataExportRegistry';
3
2
  import { ExportFormat } from './ExportFormat';
3
+ import { AnyDataExport } from './registry/AnyDataExport';
4
4
  export interface FormDataExport extends DataExport {
5
5
  businessName?: string;
6
- data?: DataExportRegistry.Any[];
6
+ data?: AnyDataExport[];
7
7
  targetFormat: ExportFormat;
8
8
  title: string;
9
9
  url?: string;
@@ -0,0 +1,3 @@
1
+ import { ComponentDataExport } from '../ComponentDataExport';
2
+ import { SubformDataExport } from '../SubformDataExport';
3
+ export type AnyDataExport = ComponentDataExport | SubformDataExport;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyDataExport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyDataExport.js","sourceRoot":"","sources":["../../../../src/models/export/registry/AnyDataExport.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
1
  import { Optional } from '../utils/Optional';
2
2
  import { ViewTemplateLayoutComponent } from './items/ViewTemplateLayoutComponent';
3
3
  import { ViewTemplateLayoutSection } from './items/ViewTemplateLayoutSection';
4
- import { ViewTemplateLayoutRegistry } from './ViewTemplateLayoutRegistry';
5
- export interface ViewTemplateLayoutOneOf extends ViewTemplateLayoutRegistry.OneOfInput {
4
+ import { ViewTemplateLayoutItemOneOfInput } from './registry/ViewTemplateLayoutItemOneOfInput';
5
+ export interface ViewTemplateLayoutOneOf extends ViewTemplateLayoutItemOneOfInput {
6
6
  single_component: Optional<ViewTemplateLayoutComponent>;
7
7
  section: Optional<ViewTemplateLayoutSection>;
8
8
  }
@@ -0,0 +1,3 @@
1
+ import { ViewTemplateLayoutComponent } from '../items/ViewTemplateLayoutComponent';
2
+ import { ViewTemplateLayoutSection } from '../items/ViewTemplateLayoutSection';
3
+ export type AnyViewTemplateLayoutItem = ViewTemplateLayoutComponent | ViewTemplateLayoutSection;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AutomationActionRegistry.js.map
3
+ //# sourceMappingURL=AnyViewTemplateLayoutItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyViewTemplateLayoutItem.js","sourceRoot":"","sources":["../../../../src/models/view-template-layout/registry/AnyViewTemplateLayoutItem.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { Optional } from '../../utils/Optional';
2
+ import { ViewTemplateLayoutComponent } from '../items/ViewTemplateLayoutComponent';
3
+ import { ViewTemplateLayoutSection } from '../items/ViewTemplateLayoutSection';
4
+ export type ViewTemplateLayoutItemOneOfInput = {
5
+ section: Optional<ViewTemplateLayoutSection>;
6
+ single_component: Optional<ViewTemplateLayoutComponent>;
7
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AutomationActionSettingsRegistry.js.map
3
+ //# sourceMappingURL=ViewTemplateLayoutItemOneOfInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewTemplateLayoutItemOneOfInput.js","sourceRoot":"","sources":["../../../../src/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.ts"],"names":[],"mappings":""}
@@ -3,6 +3,7 @@ import { AuditCheckboxComponentAuditData } from './audit-checkbox/AuditCheckboxC
3
3
  import { AuditTagComponentAuditData } from './audit-tag/AuditTagComponentAuditData';
4
4
  import { AuditTextComponentAuditData } from './audit-text/AuditTextComponentAuditData';
5
5
  import { ComponentType } from './ComponentType';
6
+ import { DateRangeComponentAuditData } from './date-range/DateRangeComponentAuditData';
6
7
  import { DateComponentAuditData } from './date/DateComponentAuditData';
7
8
  import { EmailComponentAuditData } from './email/EmailComponentAuditData';
8
9
  import { FileComponentAuditData } from './file/FileComponentAuditData';
@@ -18,7 +19,7 @@ import { TextComponentAuditData } from './text/TextComponentAuditData';
18
19
  import { TimeTrackerComponentAuditData } from './time-tracker/TimeTrackerComponentAuditData';
19
20
  import { TodoComponentAuditData } from './todo/TodoComponentAuditData';
20
21
  import { UrlComponentAuditData } from './url/UrlComponentAuditData';
21
- export type AnyComponentAuditData = AddressComponentAuditData | AuditCheckboxComponentAuditData | AuditTagComponentAuditData | AuditTextComponentAuditData | DateComponentAuditData | EmailComponentAuditData | FileComponentAuditData | GeolocationComponentAuditData | NumberComponentAuditData | PersonComponentAuditData | RelatedCardComponentAuditData | ScheduledAutomationComponentAuditData | SignatureComponentAuditData | SubformComponentAuditData | TagComponentAuditData | TextComponentAuditData | TimeTrackerComponentAuditData | TodoComponentAuditData | UrlComponentAuditData;
22
+ export type AnyComponentAuditData = AddressComponentAuditData | AuditCheckboxComponentAuditData | AuditTagComponentAuditData | AuditTextComponentAuditData | DateComponentAuditData | DateRangeComponentAuditData | EmailComponentAuditData | FileComponentAuditData | GeolocationComponentAuditData | NumberComponentAuditData | PersonComponentAuditData | RelatedCardComponentAuditData | ScheduledAutomationComponentAuditData | SignatureComponentAuditData | SubformComponentAuditData | TagComponentAuditData | TextComponentAuditData | TimeTrackerComponentAuditData | TodoComponentAuditData | UrlComponentAuditData;
22
23
  export type ComponentAuditDataOf<T extends ComponentType> = Extract<AnyComponentAuditData, {
23
24
  type: T;
24
25
  }>;
@@ -3,6 +3,7 @@ import { AuditCheckboxComponentDataChange } from './audit-checkbox/AuditCheckbox
3
3
  import { AuditTagComponentDataChange } from './audit-tag/AuditTagComponentDataChange';
4
4
  import { AuditTextComponentDataChange } from './audit-text/AuditTextComponentDataChange';
5
5
  import { ComponentType } from './ComponentType';
6
+ import { DateRangeComponentDataChange } from './date-range/DateRangeComponentDataChange';
6
7
  import { DateComponentDataChange } from './date/DateComponentDataChange';
7
8
  import { EmailComponentDataChange } from './email/EmailComponentDataChange';
8
9
  import { FileComponentDataChange } from './file/FileComponentDataChange';
@@ -18,7 +19,7 @@ import { TextComponentDataChange } from './text/TextComponentDataChange';
18
19
  import { TimeTrackerComponentDataChange } from './time-tracker/TimeTrackerComponentDataChange';
19
20
  import { TodoComponentDataChange } from './todo/TodoComponentDataChange';
20
21
  import { UrlComponentDataChange } from './url/UrlComponentDataChange';
21
- export type AnyComponentDataChange = AddressComponentDataChange | AuditCheckboxComponentDataChange | AuditTagComponentDataChange | AuditTextComponentDataChange | DateComponentDataChange | EmailComponentDataChange | FileComponentDataChange | GeolocationComponentDataChange | NumberComponentDataChange | PersonComponentDataChange | RelatedCardComponentDataChange | ScheduledAutomationComponentDataChange | SignatureComponentDataChange | SubformComponentDataChange | TagComponentDataChange | TextComponentDataChange | TimeTrackerComponentDataChange | TodoComponentDataChange | UrlComponentDataChange;
22
+ export type AnyComponentDataChange = AddressComponentDataChange | AuditCheckboxComponentDataChange | AuditTagComponentDataChange | AuditTextComponentDataChange | DateComponentDataChange | DateRangeComponentDataChange | EmailComponentDataChange | FileComponentDataChange | GeolocationComponentDataChange | NumberComponentDataChange | PersonComponentDataChange | RelatedCardComponentDataChange | ScheduledAutomationComponentDataChange | SignatureComponentDataChange | SubformComponentDataChange | TagComponentDataChange | TextComponentDataChange | TimeTrackerComponentDataChange | TodoComponentDataChange | UrlComponentDataChange;
22
23
  export type ComponentDataChangeOf<T extends ComponentType> = Extract<AnyComponentDataChange, {
23
24
  componentType: T;
24
25
  }>;
@@ -2,6 +2,7 @@ import { AddressComponentData } from './address/AddressComponentData';
2
2
  import { AuditCheckboxComponentData } from './audit-checkbox/AuditCheckboxComponentData';
3
3
  import { AuditTagComponentData } from './audit-tag/AuditTagComponentData';
4
4
  import { AuditTextComponentData } from './audit-text/AuditTextComponentData';
5
+ import { DateRangeComponentData } from './date-range/DateRangeComponentData';
5
6
  import { DateComponentData } from './date/DateComponentData';
6
7
  import { EmailComponentData } from './email/EmailComponentData';
7
8
  import { FileComponentData } from './file/FileComponentData';
@@ -17,4 +18,4 @@ import { TextComponentData } from './text/TextComponentData';
17
18
  import { TimeTrackerComponentData } from './time-tracker/TimeTrackerComponentData';
18
19
  import { TodoComponentData } from './todo/TodoComponentData';
19
20
  import { UrlComponentData } from './url/UrlComponentData';
20
- export type AnyComponentDataValue = AddressComponentData['addressComponentDataValue'] | AuditCheckboxComponentData['auditCheckboxComponentDataValue'] | AuditTagComponentData['auditTagComponentDataValue'] | AuditTextComponentData['auditTextComponentDataValue'] | DateComponentData['dateComponentDataValue'] | EmailComponentData['emailComponentDataValue'] | FileComponentData['fileComponentDataValue'] | GeolocationComponentData['geolocationComponentDataValue'] | NumberComponentData['numberComponentDataValue'] | PersonComponentData['personComponentDataValue'] | RelatedCardComponentData['relatedCardComponentDataValue'] | ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'] | SignatureComponentData['signatureComponentDataValue'] | SubformComponentData['subformComponentDataValue'] | TagComponentData['tagComponentDataValue'] | TextComponentData['textComponentDataValue'] | TimeTrackerComponentData['timeTrackerComponentDataValue'] | TodoComponentData['todoComponentDataValue'] | UrlComponentData['urlComponentDataValue'];
21
+ export type AnyComponentDataValue = AddressComponentData['addressComponentDataValue'] | AuditCheckboxComponentData['auditCheckboxComponentDataValue'] | AuditTagComponentData['auditTagComponentDataValue'] | AuditTextComponentData['auditTextComponentDataValue'] | DateComponentData['dateComponentDataValue'] | DateRangeComponentData['dateRangeComponentDataValue'] | EmailComponentData['emailComponentDataValue'] | FileComponentData['fileComponentDataValue'] | GeolocationComponentData['geolocationComponentDataValue'] | NumberComponentData['numberComponentDataValue'] | PersonComponentData['personComponentDataValue'] | RelatedCardComponentData['relatedCardComponentDataValue'] | ScheduledAutomationComponentData['scheduledAutomationComponentDataValue'] | SignatureComponentData['signatureComponentDataValue'] | SubformComponentData['subformComponentDataValue'] | TagComponentData['tagComponentDataValue'] | TextComponentData['textComponentDataValue'] | TimeTrackerComponentData['timeTrackerComponentDataValue'] | TodoComponentData['todoComponentDataValue'] | UrlComponentData['urlComponentDataValue'];
@@ -5,5 +5,6 @@ export interface Component<T extends ComponentType = ComponentType> {
5
5
  isHidden?: boolean;
6
6
  isServerManaged?: boolean;
7
7
  locked?: boolean;
8
+ managedByComponentId?: string;
8
9
  type: T;
9
10
  }
@@ -2,6 +2,7 @@ import { CamelCase } from '../../utils/CamelCase';
2
2
  import { Optional } from '../../utils/Optional';
3
3
  import { AddressComponentData } from './address/AddressComponentData';
4
4
  import { ComponentData } from './ComponentData';
5
+ import { DateRangeComponentData } from './date-range/DateRangeComponentData';
5
6
  import { DateComponentData } from './date/DateComponentData';
6
7
  import { EmailComponentData } from './email/EmailComponentData';
7
8
  import { FileComponentData } from './file/FileComponentData';
@@ -24,6 +25,7 @@ type ComponentDataOneOfs = {
24
25
  export interface ComponentDataOneOf extends ComponentDataOneOfs {
25
26
  addressComponentData: Optional<AddressComponentData>;
26
27
  dateComponentData: Optional<DateComponentData>;
28
+ dateRangeComponentData: Optional<DateRangeComponentData>;
27
29
  emailComponentData: Optional<EmailComponentData>;
28
30
  fileComponentData: Optional<FileComponentData>;
29
31
  geolocationComponentData: Optional<GeolocationComponentData>;
@@ -3,6 +3,7 @@ import { AuditCheckboxComponent } from './audit-checkbox/AuditCheckboxComponent'
3
3
  import { AuditTagComponent } from './audit-tag/AuditTagComponent';
4
4
  import { AuditTextComponent } from './audit-text/AuditTextComponent';
5
5
  import { InputButtonComponent } from './button/InputButtonComponent';
6
+ import { DateRangeComponent } from './date-range/DateRangeComponent';
6
7
  import { DateComponent } from './date/DateComponent';
7
8
  import { EmailComponent } from './email/EmailComponent';
8
9
  import { EntityBatchComponent } from './enitty-batch/EntityBatchComponent';
@@ -30,6 +31,7 @@ export interface ComponentOneOf {
30
31
  auditTextComponent?: AuditTextComponent;
31
32
  combinedTagsComponent?: CombinedTagsComponent;
32
33
  dateComponent?: DateComponent;
34
+ dateRangeComponent?: DateRangeComponent;
33
35
  emailComponent?: EmailComponent;
34
36
  entityBatchComponent?: EntityBatchComponent;
35
37
  fileComponent?: FileComponent;
@@ -3,6 +3,7 @@ import { CreateAuditCheckboxComponentOverride } from './audit-checkbox/CreateAud
3
3
  import { CreateAuditTagComponentOverride } from './audit-tag/CreateAuditTagComponentOverride';
4
4
  import { CreateAuditTextComponentOverride } from './audit-text/CreateAuditTextComponentOverride';
5
5
  import { CreateInputButtonComponentOverride } from './button/CreateInputButtonComponentOverride';
6
+ import { CreateDateRangeComponentOverride } from './date-range/CreateDateRangeComponentOverride';
6
7
  import { CreateDateComponentOverride } from './date/CreateDateComponentOverride';
7
8
  import { CreateEmailComponentOverride } from './email/CreateEmailComponentOverride';
8
9
  import { CreateEntityBatchComponentOverride } from './enitty-batch/CreateEntityBatchComponentOverride';
@@ -30,6 +31,7 @@ export interface ComponentOneOfOverride {
30
31
  auditTextComponent?: CreateAuditTextComponentOverride;
31
32
  combinedTagsComponent?: CreateCombinedTagsComponentOverride;
32
33
  dateComponent?: CreateDateComponentOverride;
34
+ dateRangeComponent?: CreateDateRangeComponentOverride;
33
35
  emailComponent?: CreateEmailComponentOverride;
34
36
  entityBatchComponent?: CreateEntityBatchComponentOverride;
35
37
  fileComponent?: CreateFileComponentOverride;
@@ -1,7 +1,7 @@
1
1
  import { ClassType } from '../../utils/ClassType';
2
2
  import { Component } from './Component';
3
3
  import { ComponentType } from './ComponentType';
4
- type NonInheritableComponentProperties = 'archivedAt' | 'id' | 'isServerManaged' | 'locked' | 'type';
4
+ type NonInheritableComponentProperties = 'archivedAt' | 'id' | 'isServerManaged' | 'locked' | 'managedByComponentId' | 'type';
5
5
  export type ComponentOverrideType<T extends Component, K extends keyof T = never> = ClassType<Partial<Omit<T, K | NonInheritableComponentProperties>> & {
6
6
  type: ComponentType;
7
7
  }>;
@@ -5,6 +5,7 @@ export declare enum ComponentType {
5
5
  AUDIT_TEXT = "AUDIT_TEXT",
6
6
  COMBINED_TAGS = "COMBINED_TAGS",
7
7
  DATE = "DATE",
8
+ DATE_RANGE = "DATE_RANGE",
8
9
  EMAIL = "EMAIL",
9
10
  ENTITY_BATCH = "ENTITY_BATCH",
10
11
  FILE = "FILE",
@@ -9,6 +9,7 @@ var ComponentType;
9
9
  ComponentType["AUDIT_TEXT"] = "AUDIT_TEXT";
10
10
  ComponentType["COMBINED_TAGS"] = "COMBINED_TAGS";
11
11
  ComponentType["DATE"] = "DATE";
12
+ ComponentType["DATE_RANGE"] = "DATE_RANGE";
12
13
  ComponentType["EMAIL"] = "EMAIL";
13
14
  ComponentType["ENTITY_BATCH"] = "ENTITY_BATCH";
14
15
  ComponentType["FILE"] = "FILE";
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentType.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/ComponentType.ts"],"names":[],"mappings":";;;AACA,IAAY,aA0BX;AA1BD,WAAY,aAAa;IACrB,oCAAmB,CAAA;IACnB,kDAAiC,CAAA;IACjC,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,gDAA+B,CAAA;IAC/B,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8CAA6B,CAAA;IAC7B,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,8CAA6B,CAAA;IAC7B,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,gDAA+B,CAAA;IAC/B,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,8DAA6C,CAAA;IAC7C,wCAAuB,CAAA;IACvB,4CAA2B,CAAA;IAC3B,oCAAmB,CAAA;IACnB,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,8CAA6B,CAAA;IAC7B,8BAAa,CAAA;IACb,4BAAW,CAAA;AACf,CAAC,EA1BW,aAAa,6BAAb,aAAa,QA0BxB"}
1
+ {"version":3,"file":"ComponentType.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/ComponentType.ts"],"names":[],"mappings":";;;AACA,IAAY,aA2BX;AA3BD,WAAY,aAAa;IACrB,oCAAmB,CAAA;IACnB,kDAAiC,CAAA;IACjC,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,gDAA+B,CAAA;IAC/B,8BAAa,CAAA;IACb,0CAAyB,CAAA;IACzB,gCAAe,CAAA;IACf,8CAA6B,CAAA;IAC7B,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,8CAA6B,CAAA;IAC7B,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,gDAA+B,CAAA;IAC/B,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,8DAA6C,CAAA;IAC7C,wCAAuB,CAAA;IACvB,4CAA2B,CAAA;IAC3B,oCAAmB,CAAA;IACnB,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,8CAA6B,CAAA;IAC7B,8BAAa,CAAA;IACb,4BAAW,CAAA;AACf,CAAC,EA3BW,aAAa,6BAAb,aAAa,QA2BxB"}
@@ -1,6 +1,6 @@
1
- import { ComponentOverridesRegistry } from './ComponentRegistry';
1
+ import { AnyComponentOverride } from './overrides-registry/AnyComponentOverride';
2
2
  export interface ComponentViewOptions {
3
3
  componentId: string;
4
4
  isHidden?: boolean;
5
- overrides?: ComponentOverridesRegistry.Any;
5
+ overrides?: AnyComponentOverride;
6
6
  }
@@ -1,2 +1,2 @@
1
1
  import { ComponentType } from './ComponentType';
2
- export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.EMAIL, ComponentType.ENTITY_BATCH, ComponentType.FILE, ComponentType.GEOLOCATION, ComponentType.NUMBER, ComponentType.PERSON, ComponentType.RELATED_CARD, ComponentType.SCHEDULED_AUTOMATION, ComponentType.SIGNATURE, ComponentType.SUBFORM, ComponentType.TAG, ComponentType.TEXT, ComponentType.TIME_TRACKER, ComponentType.TODO, ComponentType.URL];
2
+ export declare const InputComponentTypes: [ComponentType.ADDRESS, ComponentType.AUDIT_CHECKBOX, ComponentType.AUDIT_TAG, ComponentType.AUDIT_TEXT, ComponentType.DATE, ComponentType.DATE_RANGE, ComponentType.EMAIL, ComponentType.ENTITY_BATCH, ComponentType.FILE, ComponentType.GEOLOCATION, ComponentType.NUMBER, ComponentType.PERSON, ComponentType.RELATED_CARD, ComponentType.SCHEDULED_AUTOMATION, ComponentType.SIGNATURE, ComponentType.SUBFORM, ComponentType.TAG, ComponentType.TEXT, ComponentType.TIME_TRACKER, ComponentType.TODO, ComponentType.URL];
@@ -8,6 +8,7 @@ exports.InputComponentTypes = [
8
8
  ComponentType_1.ComponentType.AUDIT_TAG,
9
9
  ComponentType_1.ComponentType.AUDIT_TEXT,
10
10
  ComponentType_1.ComponentType.DATE,
11
+ ComponentType_1.ComponentType.DATE_RANGE,
11
12
  ComponentType_1.ComponentType.EMAIL,
12
13
  ComponentType_1.ComponentType.ENTITY_BATCH,
13
14
  ComponentType_1.ComponentType.FILE,
@@ -1 +1 @@
1
- {"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAEnC,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,KAAK;IACnB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,WAAW;IACzB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,oBAAoB;IAClC,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,GAAG;IACjB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,GAAG;CACe,CAAC"}
1
+ {"version":3,"file":"InputComponentTypes.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/components/InputComponentTypes.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAEnC,QAAA,mBAAmB,GAAG;IAC/B,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,cAAc;IAC5B,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,UAAU;IACxB,6BAAa,CAAC,KAAK;IACnB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,WAAW;IACzB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,MAAM;IACpB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,oBAAoB;IAClC,6BAAa,CAAC,SAAS;IACvB,6BAAa,CAAC,OAAO;IACrB,6BAAa,CAAC,GAAG;IACjB,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,YAAY;IAC1B,6BAAa,CAAC,IAAI;IAClB,6BAAa,CAAC,GAAG;CACe,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { ComponentDataOneOf } from '../ComponentDataOneOf';
2
+ export type AnyComponentData = ComponentDataOneOf[keyof ComponentDataOneOf];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyComponentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyComponentData.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/data-registry/AnyComponentData.ts"],"names":[],"mappings":""}