@coast/core-api-types 1.2.251 → 1.2.253

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 (34) hide show
  1. package/dist/models/automations/action/AutomationAction.d.ts +1 -1
  2. package/dist/models/dashboard/EntityWidget.d.ts +1 -0
  3. package/dist/models/reporting/CreateReport.d.ts +3 -3
  4. package/dist/models/reporting/ListReportsResponse.d.ts +5 -0
  5. package/dist/models/reporting/ListReportsResponse.js +3 -0
  6. package/dist/models/reporting/ListReportsResponse.js.map +1 -0
  7. package/dist/models/reporting/ListReportsV2.d.ts +5 -0
  8. package/dist/models/reporting/ListReportsV2.js +3 -0
  9. package/dist/models/reporting/ListReportsV2.js.map +1 -0
  10. package/dist/models/reporting/Report.d.ts +5 -2
  11. package/dist/models/reporting/UpdateReport.d.ts +4 -6
  12. package/dist/models/workflow-app/AppListing.d.ts +12 -0
  13. package/dist/models/workflow-app/AppListing.js +3 -0
  14. package/dist/models/workflow-app/AppListing.js.map +1 -0
  15. package/dist/models/workflow-app/AppListingId.d.ts +2 -0
  16. package/dist/models/workflow-app/AppListingId.js +3 -0
  17. package/dist/models/workflow-app/AppListingId.js.map +1 -0
  18. package/dist/models/workflow-app/CreateAppListing.d.ts +3 -0
  19. package/dist/models/workflow-app/CreateAppListing.js +3 -0
  20. package/dist/models/workflow-app/CreateAppListing.js.map +1 -0
  21. package/dist/models/workflow-app/GetAppListing.d.ts +4 -0
  22. package/dist/models/workflow-app/GetAppListing.js +3 -0
  23. package/dist/models/workflow-app/GetAppListing.js.map +1 -0
  24. package/dist/models/workflow-app/UpdateAppListing.d.ts +3 -0
  25. package/dist/models/workflow-app/UpdateAppListing.js +3 -0
  26. package/dist/models/workflow-app/UpdateAppListing.js.map +1 -0
  27. package/dist/models/workflow-template/components/overrides-registry/AnyComponentOverride.d.ts +2 -2
  28. package/dist/models/workspace-section/DuplicateWorkspaceSection.d.ts +2 -1
  29. package/dist/models/workspace-section/UpdateWorkspaceSection.d.ts +2 -1
  30. package/dist/models/workspace-section/WorkspaceSection.d.ts +2 -1
  31. package/dist/models/workspace-section/WorkspaceSectionId.d.ts +2 -0
  32. package/dist/models/workspace-section/WorkspaceSectionId.js +3 -0
  33. package/dist/models/workspace-section/WorkspaceSectionId.js.map +1 -0
  34. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
2
- import { Automation } from '../Automation';
2
+ import type { Automation } from '../Automation';
3
3
  import { Condition } from '../condition/Condition';
4
4
  import { AutomationActionId } from './AutomationActionId';
5
5
  import { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
@@ -9,4 +9,5 @@ export interface EntityWidget {
9
9
  sortOrder?: number;
10
10
  viewTemplateId: ViewTemplateId;
11
11
  workflowTemplateId: WorkflowTemplateId;
12
+ deletedAt?: Date;
12
13
  }
@@ -1,8 +1,8 @@
1
1
  import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
2
2
  import { Report } from './Report';
3
- export interface CreateReport extends Partial<Report> {
3
+ export interface CreateReport extends Omit<Report, 'id' | 'cardDefinitionId' | 'workflowTemplateId' | 'createdAt' | 'updatedAt'> {
4
+ metabaseEmbedPath?: string;
5
+ omniContentId?: string;
4
6
  cardDefinitionId?: string;
5
- metabaseEmbedPath: string;
6
- name: string;
7
7
  workflowTemplateId?: WorkflowTemplateId;
8
8
  }
@@ -0,0 +1,5 @@
1
+ import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
2
+ import { Report } from './Report';
3
+ export interface ListReportsResponse extends OffsetPaginatedResult {
4
+ reports: Report[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListReportsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListReportsResponse.js","sourceRoot":"","sources":["../../../src/models/reporting/ListReportsResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { OffsetPaginatedRequest } from '../pagination/OffsetPaginatedRequest';
2
+ import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
3
+ export interface ListReportsV2 extends OffsetPaginatedRequest {
4
+ workflowTemplateIds?: WorkflowTemplateId[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListReportsV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListReportsV2.js","sourceRoot":"","sources":["../../../src/models/reporting/ListReportsV2.ts"],"names":[],"mappings":""}
@@ -1,10 +1,13 @@
1
+ import { ReportingSource } from '@coast/core-types/reporting/ReportingSource';
1
2
  import { Audit } from '../application/Audit';
2
3
  import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
3
4
  export interface Report extends Audit {
4
5
  EMBED_PATH_FORMAT: RegExp;
5
- cardDefinitionId?: string;
6
6
  id: string;
7
- metabaseEmbedPath: string;
8
7
  name: string;
8
+ cardDefinitionId?: string;
9
9
  workflowTemplateId?: WorkflowTemplateId;
10
+ source: ReportingSource;
11
+ metabaseEmbedPath?: string;
12
+ omniContentId?: string;
10
13
  }
@@ -1,9 +1,7 @@
1
- import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
2
- import { Report } from './Report';
3
- export interface UpdateReport extends Partial<Report> {
4
- cardDefinitionId?: string;
1
+ import { ReportingSource } from '@coast/core-types/reporting/ReportingSource';
2
+ import { CreateReport } from './CreateReport';
3
+ export interface UpdateReport extends Omit<CreateReport, 'name' | 'source'> {
5
4
  id: string;
6
- metabaseEmbedPath?: string;
7
5
  name?: string;
8
- workflowTemplateId?: WorkflowTemplateId;
6
+ source?: ReportingSource;
9
7
  }
@@ -0,0 +1,12 @@
1
+ import { Audit } from '../application/Audit';
2
+ import { WorkspaceId } from '../channel/WorkspaceId';
3
+ import { WorkspaceSectionId } from '../workspace-section/WorkspaceSectionId';
4
+ import { AppListingId } from './AppListingId';
5
+ export interface AppListing extends Audit {
6
+ id: AppListingId;
7
+ sectionId?: WorkspaceSectionId;
8
+ workspaceId?: WorkspaceId;
9
+ enabled: boolean;
10
+ name: string;
11
+ description?: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AppListing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppListing.js","sourceRoot":"","sources":["../../../src/models/workflow-app/AppListing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Brand } from '@paradoxical-io/types';
2
+ export type AppListingId = Brand<string, 'AppListingId'>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AppListingId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppListingId.js","sourceRoot":"","sources":["../../../src/models/workflow-app/AppListingId.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { AppListing } from './AppListing';
2
+ export interface CreateAppListing extends Omit<AppListing, 'id' | 'createdAt' | 'updatedAt'> {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateAppListing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAppListing.js","sourceRoot":"","sources":["../../../src/models/workflow-app/CreateAppListing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { AppListingId } from './AppListingId';
2
+ export interface GetAppListing {
3
+ id: AppListingId;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=GetAppListing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetAppListing.js","sourceRoot":"","sources":["../../../src/models/workflow-app/GetAppListing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { AppListing } from './AppListing';
2
+ export interface UpdateAppListing extends Omit<AppListing, 'createdAt' | 'updatedAt' | 'sectionId' | 'workspaceId'> {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateAppListing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateAppListing.js","sourceRoot":"","sources":["../../../src/models/workflow-app/UpdateAppListing.ts"],"names":[],"mappings":""}
@@ -14,7 +14,7 @@ import { PersonComponentOverride } from '../person/PersonComponentOverride';
14
14
  import { ReferencedInComponentOverride } from '../referenced-in/ReferencedInComponentOverride';
15
15
  import { RelatedCardLookupComponentOverride } from '../related-card-lookup/RelatedCardLookupComponentOverride';
16
16
  import { RelatedCardComponentOverride } from '../related-card/RelatedCardComponentOverride';
17
- import { ScheduledAutomationComponent } from '../scheduled-automation/ScheduledAutomationComponent';
17
+ import { ScheduledAutomationComponentOverride } from '../scheduled-automation/ScheduledAutomationComponentOverride';
18
18
  import { SignatureComponentOverride } from '../signature/SignatureComponentOverride';
19
19
  import { StaticTextComponentOverride } from '../static-text/StaticTextComponentOverride';
20
20
  import { SubformComponentOverride } from '../subform/SubformComponentOverride';
@@ -24,4 +24,4 @@ import { TextComponentOverride } from '../text/TextComponentOverride';
24
24
  import { TimeTrackerComponentOverride } from '../time-tracker/TimeTrackerComponentOverride';
25
25
  import { TodoComponentOverride } from '../todo/TodoComponentOverride';
26
26
  import { UrlComponentOverride } from '../url/UrlComponentOverride';
27
- export type AnyComponentOverride = AddressComponentOverride | AuditCheckboxComponentOverride | AuditTagComponentOverride | AuditTextComponentOverride | CombinedTagsComponentOverride | DateComponentOverride | DateRangeComponentOverride | EmailComponentOverride | EntityBatchComponentOverride | FileComponentOverride | GeolocationComponentOverride | InputButtonComponentOverride | NumberComponentOverride | PersonComponentOverride | ReferencedInComponentOverride | RelatedCardComponentOverride | RelatedCardLookupComponentOverride | ScheduledAutomationComponent | SignatureComponentOverride | StaticTextComponentOverride | SubformComponentOverride | TagComponentOverride | TextComponentOverride | TimeTrackerComponentOverride | TodoComponentOverride | UrlComponentOverride;
27
+ export type AnyComponentOverride = AddressComponentOverride | AuditCheckboxComponentOverride | AuditTagComponentOverride | AuditTextComponentOverride | CombinedTagsComponentOverride | DateComponentOverride | DateRangeComponentOverride | EmailComponentOverride | EntityBatchComponentOverride | FileComponentOverride | GeolocationComponentOverride | InputButtonComponentOverride | NumberComponentOverride | PersonComponentOverride | ReferencedInComponentOverride | RelatedCardComponentOverride | RelatedCardLookupComponentOverride | ScheduledAutomationComponentOverride | SignatureComponentOverride | StaticTextComponentOverride | SubformComponentOverride | TagComponentOverride | TextComponentOverride | TimeTrackerComponentOverride | TodoComponentOverride | UrlComponentOverride;
@@ -1,4 +1,5 @@
1
+ import { WorkspaceSectionId } from './WorkspaceSectionId';
1
2
  export interface DuplicateWorkspaceSection {
2
- id: string;
3
+ id: WorkspaceSectionId;
3
4
  title?: string;
4
5
  }
@@ -1,6 +1,7 @@
1
1
  import { UpdateWorkspaceSectionAssociation } from './UpdateWorkspaceSectionAssociation';
2
+ import { WorkspaceSectionId } from './WorkspaceSectionId';
2
3
  export interface UpdateWorkspaceSection {
3
4
  channelAssociations?: UpdateWorkspaceSectionAssociation[];
4
- id: string;
5
+ id: WorkspaceSectionId;
5
6
  title?: string;
6
7
  }
@@ -1,7 +1,8 @@
1
1
  import { Audit } from '../application/Audit';
2
2
  import { WorkspaceSectionAssociation } from './WorkspaceSectionAssociation';
3
+ import { WorkspaceSectionId } from './WorkspaceSectionId';
3
4
  export interface WorkspaceSection extends Audit {
4
5
  channelAssociations: WorkspaceSectionAssociation[];
5
- id: string;
6
+ id: WorkspaceSectionId;
6
7
  title: string;
7
8
  }
@@ -0,0 +1,2 @@
1
+ import { Brand } from '@paradoxical-io/types';
2
+ export type WorkspaceSectionId = Brand<string, 'WorkspaceSection'>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkspaceSectionId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceSectionId.js","sourceRoot":"","sources":["../../../src/models/workspace-section/WorkspaceSectionId.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.251",
3
+ "version": "1.2.253",
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.5",
26
+ "@coast/core-types": "0.0.7",
27
27
  "@coast/core-utils": "0.0.5",
28
28
  "@coast/schemas": "^4.0.0",
29
29
  "@paradoxical-io/types": "^2.1.0",