@coast/core-api-types 1.5.33 → 1.5.35

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 (41) hide show
  1. package/dist/models/notification-preference/NotificationPreferenceGql.d.ts +11 -0
  2. package/dist/models/notification-preference/NotificationPreferenceGql.js +3 -0
  3. package/dist/models/notification-preference/NotificationPreferenceGql.js.map +1 -0
  4. package/dist/models/notification-preference/NotificationPreferenceInputGql.d.ts +3 -0
  5. package/dist/models/notification-preference/NotificationPreferenceInputGql.js +3 -0
  6. package/dist/models/notification-preference/NotificationPreferenceInputGql.js.map +1 -0
  7. package/dist/models/notification-preference/UpdateNotificationPreferenceGql.d.ts +3 -0
  8. package/dist/models/notification-preference/UpdateNotificationPreferenceGql.js +3 -0
  9. package/dist/models/notification-preference/UpdateNotificationPreferenceGql.js.map +1 -0
  10. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsInputGql.d.ts +5 -0
  11. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsInputGql.js +3 -0
  12. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsInputGql.js.map +1 -0
  13. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsResultGql.d.ts +7 -0
  14. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsResultGql.js +3 -0
  15. package/dist/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsResultGql.js.map +1 -0
  16. package/dist/models/workflow-profile/CreateProfileEntryGql.d.ts +4 -0
  17. package/dist/models/workflow-profile/CreateProfileEntryGql.js +3 -0
  18. package/dist/models/workflow-profile/CreateProfileEntryGql.js.map +1 -0
  19. package/dist/models/workflow-profile/CreateWorkflowProfileGql.d.ts +5 -0
  20. package/dist/models/workflow-profile/CreateWorkflowProfileGql.js +3 -0
  21. package/dist/models/workflow-profile/CreateWorkflowProfileGql.js.map +1 -0
  22. package/dist/models/workflow-profile/ProfileEntryGql.d.ts +6 -0
  23. package/dist/models/workflow-profile/ProfileEntryGql.js +3 -0
  24. package/dist/models/workflow-profile/ProfileEntryGql.js.map +1 -0
  25. package/dist/models/workflow-profile/UpdateWorkflowProfileGql.d.ts +5 -0
  26. package/dist/models/workflow-profile/UpdateWorkflowProfileGql.js +3 -0
  27. package/dist/models/workflow-profile/UpdateWorkflowProfileGql.js.map +1 -0
  28. package/dist/models/workflow-profile/WorkflowProfileGql.d.ts +13 -0
  29. package/dist/models/workflow-profile/WorkflowProfileGql.js +3 -0
  30. package/dist/models/workflow-profile/WorkflowProfileGql.js.map +1 -0
  31. package/dist/models/workflow-profile/WorkflowProfileSectionsInputGql.d.ts +6 -0
  32. package/dist/models/workflow-profile/WorkflowProfileSectionsInputGql.js +3 -0
  33. package/dist/models/workflow-profile/WorkflowProfileSectionsInputGql.js.map +1 -0
  34. package/dist/models/workflow-template/components/AnyComponentDataChangeGql.d.ts +2 -1
  35. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentAuditDataGql.d.ts +6 -0
  36. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentAuditDataGql.js +3 -0
  37. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentAuditDataGql.js.map +1 -0
  38. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentDataChangeGql.d.ts +7 -0
  39. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentDataChangeGql.js +3 -0
  40. package/dist/models/workflow-template/components/enitty-batch/EntityBatchComponentDataChangeGql.js.map +1 -0
  41. package/package.json +2 -2
@@ -0,0 +1,11 @@
1
+ import { NotificationPreferenceId } from '@coast/core-types/notification-preference/NotificationPreferenceId';
2
+ import { NotificationPreferenceOption } from '@coast/core-types/notification-preference/NotificationPreferenceOption';
3
+ import { NotificationPreferenceScope } from '@coast/core-types/notification-preference/NotificationPreferenceScope';
4
+ export interface NotificationPreferenceGql {
5
+ id: NotificationPreferenceId;
6
+ scope: NotificationPreferenceScope;
7
+ subjectId?: number | null;
8
+ option: NotificationPreferenceOption;
9
+ snoozeUntil?: Date | null;
10
+ updatedAt: Date;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NotificationPreferenceGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationPreferenceGql.js","sourceRoot":"","sources":["../../../src/models/notification-preference/NotificationPreferenceGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { NotificationPreferenceGql } from './NotificationPreferenceGql';
2
+ export interface NotificationPreferenceInputGql extends Pick<NotificationPreferenceGql, 'scope' | 'subjectId'> {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NotificationPreferenceInputGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationPreferenceInputGql.js","sourceRoot":"","sources":["../../../src/models/notification-preference/NotificationPreferenceInputGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { NotificationPreferenceGql } from './NotificationPreferenceGql';
2
+ export interface UpdateNotificationPreferenceGql extends Pick<NotificationPreferenceGql, 'scope' | 'subjectId' | 'option' | 'snoozeUntil'> {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateNotificationPreferenceGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateNotificationPreferenceGql.js","sourceRoot":"","sources":["../../../src/models/notification-preference/UpdateNotificationPreferenceGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { GetEntityAuditTrailGql } from './GetEntityAuditTrailGql';
2
+ export interface ListEntityAuditTrailEventsInputGql extends GetEntityAuditTrailGql {
3
+ cursor?: string;
4
+ limit: number;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListEntityAuditTrailEventsInputGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListEntityAuditTrailEventsInputGql.js","sourceRoot":"","sources":["../../../../src/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsInputGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { EntityRefsGql } from '../refs/EntityRefsGql';
2
+ import { EntityAuditTrailEventGql } from './EntityAuditTrailEventGql';
3
+ export interface ListEntityAuditTrailEventsResultGql {
4
+ events: EntityAuditTrailEventGql[];
5
+ refs: EntityRefsGql;
6
+ nextCursor?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListEntityAuditTrailEventsResultGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListEntityAuditTrailEventsResultGql.js","sourceRoot":"","sources":["../../../../src/models/workflow-entity/audit-trail/ListEntityAuditTrailEventsResultGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { CreateProfileEntry } from '@coast/core-types/profile/CreateProfileEntry';
2
+ export interface CreateProfileEntryGql extends CreateProfileEntry {
3
+ text: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateProfileEntryGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateProfileEntryGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/CreateProfileEntryGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
2
+ import { WorkflowProfileSectionsInputGql } from './WorkflowProfileSectionsInputGql';
3
+ export interface CreateWorkflowProfileGql extends WorkflowProfileSectionsInputGql {
4
+ workflowTemplateId: WorkflowTemplateId;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateWorkflowProfileGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateWorkflowProfileGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/CreateWorkflowProfileGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { ProfileEntry } from '@coast/core-types/profile/ProfileEntry';
2
+ import { ProfileEntrySource } from '@coast/core-types/profile/ProfileEntrySource';
3
+ export interface ProfileEntryGql extends ProfileEntry {
4
+ text: string;
5
+ source: ProfileEntrySource;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ProfileEntryGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileEntryGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/ProfileEntryGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { WorkflowProfileId } from '@coast/core-types/workflow-profile/WorkflowProfileId';
2
+ import { WorkflowProfileSectionsInputGql } from './WorkflowProfileSectionsInputGql';
3
+ export interface UpdateWorkflowProfileGql extends WorkflowProfileSectionsInputGql {
4
+ id: WorkflowProfileId;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UpdateWorkflowProfileGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateWorkflowProfileGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/UpdateWorkflowProfileGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { BusinessId } from '@coast/core-types/business/BusinessId';
2
+ import { WorkflowProfile } from '@coast/core-types/workflow-profile/WorkflowProfile';
3
+ import { WorkflowProfileId } from '@coast/core-types/workflow-profile/WorkflowProfileId';
4
+ import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
5
+ import { Audit } from '../application/Audit';
6
+ import { ProfileEntryGql } from './ProfileEntryGql';
7
+ export interface WorkflowProfileGql extends WorkflowProfile, Audit {
8
+ id: WorkflowProfileId;
9
+ businessId: BusinessId;
10
+ workflowTemplateId: WorkflowTemplateId;
11
+ summary?: string | null;
12
+ conventions: ProfileEntryGql[];
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkflowProfileGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowProfileGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/WorkflowProfileGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { CreateProfileSections } from '@coast/core-types/profile/CreateProfileSections';
2
+ import { CreateProfileEntryGql } from './CreateProfileEntryGql';
3
+ export interface WorkflowProfileSectionsInputGql extends CreateProfileSections {
4
+ summary?: string | null;
5
+ conventions?: CreateProfileEntryGql[] | null;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkflowProfileSectionsInputGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowProfileSectionsInputGql.js","sourceRoot":"","sources":["../../../src/models/workflow-profile/WorkflowProfileSectionsInputGql.ts"],"names":[],"mappings":""}
@@ -5,6 +5,7 @@ import { AuditTagComponentDataChangeGql } from './audit-tag/AuditTagComponentDat
5
5
  import { AuditTextComponentDataChangeGql } from './audit-text/AuditTextComponentDataChangeGql';
6
6
  import { DateComponentDataChangeGql } from './date/DateComponentDataChangeGql';
7
7
  import { EmailComponentDataChangeGql } from './email/EmailComponentDataChangeGql';
8
+ import { EntityBatchComponentDataChangeGql } from './enitty-batch/EntityBatchComponentDataChangeGql';
8
9
  import { FileComponentDataChangeGql } from './file/FileComponentDataChangeGql';
9
10
  import { GeolocationComponentDataChangeGql } from './geo-location/GeolocationComponentDataChangeGql';
10
11
  import { NumberComponentDataChangeGql } from './number/NumberComponentDataChangeGql';
@@ -18,7 +19,7 @@ import { TextComponentDataChangeGql } from './text/TextComponentDataChangeGql';
18
19
  import { TimeTrackerComponentDataChangeGql } from './time-tracker/TimeTrackerComponentDataChangeGql';
19
20
  import { TodoComponentDataChangeGql } from './todo/TodoComponentDataChangeGql';
20
21
  import { UrlComponentDataChangeGql } from './url/UrlComponentDataChangeGql';
21
- export type AnyComponentDataChangeGql = AddressComponentDataChangeGql | AuditCheckboxComponentDataChangeGql | AuditTagComponentDataChangeGql | AuditTextComponentDataChangeGql | DateComponentDataChangeGql | EmailComponentDataChangeGql | FileComponentDataChangeGql | GeolocationComponentDataChangeGql | NumberComponentDataChangeGql | PersonComponentDataChangeGql | RelatedCardComponentDataChangeGql | ScheduledAutomationComponentDataChangeGql | SignatureComponentDataChangeGql | SubformComponentDataChangeGql | TagComponentDataChangeGql | TextComponentDataChangeGql | TimeTrackerComponentDataChangeGql | TodoComponentDataChangeGql | UrlComponentDataChangeGql;
22
+ export type AnyComponentDataChangeGql = AddressComponentDataChangeGql | AuditCheckboxComponentDataChangeGql | AuditTagComponentDataChangeGql | AuditTextComponentDataChangeGql | DateComponentDataChangeGql | EmailComponentDataChangeGql | EntityBatchComponentDataChangeGql | FileComponentDataChangeGql | GeolocationComponentDataChangeGql | NumberComponentDataChangeGql | PersonComponentDataChangeGql | RelatedCardComponentDataChangeGql | ScheduledAutomationComponentDataChangeGql | SignatureComponentDataChangeGql | SubformComponentDataChangeGql | TagComponentDataChangeGql | TextComponentDataChangeGql | TimeTrackerComponentDataChangeGql | TodoComponentDataChangeGql | UrlComponentDataChangeGql;
22
23
  export type ComponentDataChangeOf<T extends ComponentType> = Extract<AnyComponentDataChangeGql, {
23
24
  componentType: T;
24
25
  }>;
@@ -0,0 +1,6 @@
1
+ import { RecurringEntitiesScheduleId } from '@coast/core-types/workflow-entity/recurring/RecurringEntitiesScheduleId';
2
+ import { ComponentAuditDataGql } from '../../../workflow-entity/audit-trail/ComponentAuditDataGql';
3
+ export interface EntityBatchComponentAuditDataGql extends ComponentAuditDataGql {
4
+ type: any;
5
+ value?: RecurringEntitiesScheduleId | null;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityBatchComponentAuditDataGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityBatchComponentAuditDataGql.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/enitty-batch/EntityBatchComponentAuditDataGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { ComponentDataChangeGql } from '../../../workflow-entity/audit-trail/ComponentDataChangeGql';
2
+ import { EntityBatchComponentAuditDataGql } from './EntityBatchComponentAuditDataGql';
3
+ export interface EntityBatchComponentDataChangeGql extends ComponentDataChangeGql {
4
+ componentType: any;
5
+ newAuditData: EntityBatchComponentAuditDataGql;
6
+ originalAuditData: EntityBatchComponentAuditDataGql;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityBatchComponentDataChangeGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityBatchComponentDataChangeGql.js","sourceRoot":"","sources":["../../../../../src/models/workflow-template/components/enitty-batch/EntityBatchComponentDataChangeGql.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.5.33",
3
+ "version": "1.5.35",
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.152",
26
+ "@coast/core-types": "0.0.156",
27
27
  "@coast/core-utils": "0.0.29",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.85",