@coast/core-api-types 1.2.37 → 1.2.39
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.
- package/dist/models/common/EnumUtils.d.ts +2 -0
- package/dist/models/common/EnumUtils.js +3 -0
- package/dist/models/common/EnumUtils.js.map +1 -0
- package/dist/models/file-operations/CreateFileOperation.d.ts +6 -0
- package/dist/models/file-operations/CreateFileOperation.js +3 -0
- package/dist/models/file-operations/CreateFileOperation.js.map +1 -0
- package/dist/models/file-operations/FileOperation.d.ts +11 -0
- package/dist/models/file-operations/FileOperation.js +3 -0
- package/dist/models/file-operations/FileOperation.js.map +1 -0
- package/dist/models/file-operations/FileOperationId.d.ts +2 -0
- package/dist/models/file-operations/FileOperationId.js +3 -0
- package/dist/models/file-operations/FileOperationId.js.map +1 -0
- package/dist/models/file-operations/FileOperationStatus.d.ts +6 -0
- package/dist/models/file-operations/FileOperationStatus.js +11 -0
- package/dist/models/file-operations/FileOperationStatus.js.map +1 -0
- package/dist/models/file-operations/FileOperationType.d.ts +3 -0
- package/dist/models/file-operations/FileOperationType.js +8 -0
- package/dist/models/file-operations/FileOperationType.js.map +1 -0
- package/dist/models/shared-link/CreateSharedCardLink.d.ts +1 -1
- package/dist/models/shared-link/ListSharedCardLinks.d.ts +3 -1
- package/dist/models/shared-link/SharedCardLink.d.ts +5 -2
- package/dist/models/shared-link/SharedCardLinkId.d.ts +2 -0
- package/dist/models/shared-link/SharedCardLinkId.js +3 -0
- package/dist/models/shared-link/SharedCardLinkId.js.map +1 -0
- package/dist/models/utils/Nullable.d.ts +1 -0
- package/dist/models/utils/Nullable.js +3 -0
- package/dist/models/utils/Nullable.js.map +1 -0
- package/dist/models/utils/Optional.d.ts +1 -0
- package/dist/models/utils/Optional.js +3 -0
- package/dist/models/utils/Optional.js.map +1 -0
- package/dist/models/workflow-template/components/ComponentRegistry.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnumUtils.js","sourceRoot":"","sources":["../../../src/models/common/EnumUtils.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateFileOperation.js","sourceRoot":"","sources":["../../../src/models/file-operations/CreateFileOperation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FileOperationId } from './FileOperationId';
|
|
2
|
+
import { FileOperationStatus } from './FileOperationStatus';
|
|
3
|
+
import { FileOperationType } from './FileOperationType';
|
|
4
|
+
export interface FileOperation {
|
|
5
|
+
id: FileOperationId;
|
|
6
|
+
status: FileOperationStatus;
|
|
7
|
+
type: FileOperationType;
|
|
8
|
+
processedCount?: number;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileOperation.js","sourceRoot":"","sources":["../../../src/models/file-operations/FileOperation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileOperationId.js","sourceRoot":"","sources":["../../../src/models/file-operations/FileOperationId.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileOperationStatus = void 0;
|
|
4
|
+
var FileOperationStatus;
|
|
5
|
+
(function (FileOperationStatus) {
|
|
6
|
+
FileOperationStatus["COMPLETED"] = "COMPLETED";
|
|
7
|
+
FileOperationStatus["CREATED"] = "CREATED";
|
|
8
|
+
FileOperationStatus["FAILED"] = "FAILED";
|
|
9
|
+
FileOperationStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
10
|
+
})(FileOperationStatus || (exports.FileOperationStatus = FileOperationStatus = {}));
|
|
11
|
+
//# sourceMappingURL=FileOperationStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileOperationStatus.js","sourceRoot":"","sources":["../../../src/models/file-operations/FileOperationStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;IACvB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;IACjB,kDAA2B,CAAA;AAC/B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileOperationType = void 0;
|
|
4
|
+
var FileOperationType;
|
|
5
|
+
(function (FileOperationType) {
|
|
6
|
+
FileOperationType["CREATE_USERS"] = "CREATE_USERS";
|
|
7
|
+
})(FileOperationType || (exports.FileOperationType = FileOperationType = {}));
|
|
8
|
+
//# sourceMappingURL=FileOperationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileOperationType.js","sourceRoot":"","sources":["../../../src/models/file-operations/FileOperationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IACzB,kDAA6B,CAAA;AACjC,CAAC,EAFW,iBAAiB,iCAAjB,iBAAiB,QAE5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SharedCardLink } from './SharedCardLink';
|
|
2
|
-
export interface CreateSharedCardLink extends Pick<SharedCardLink, 'channelId' | 'fields' | 'type' | 'viewTemplateId'> {
|
|
2
|
+
export interface CreateSharedCardLink extends Pick<SharedCardLink, 'channelId' | 'fields' | 'type' | 'viewTemplateId' | 'workflowTemplateId'> {
|
|
3
3
|
cardId?: string;
|
|
4
4
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
1
2
|
import { SharedCardLink } from './SharedCardLink';
|
|
2
3
|
export interface ListSharedCardLinks extends Partial<SharedCardLink> {
|
|
3
|
-
channelId
|
|
4
|
+
channelId?: number;
|
|
5
|
+
workflowTemplateId?: WorkflowTemplateId;
|
|
4
6
|
}
|
|
@@ -2,16 +2,19 @@ import { Audit } from '../application/Audit';
|
|
|
2
2
|
import { UserId } from '../user/UserId';
|
|
3
3
|
import { EntityFields } from '../workflow-template/entities/EntityFields';
|
|
4
4
|
import { ViewTemplateId } from '../workflow-template/view-template/ViewTemplateId';
|
|
5
|
+
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
6
|
+
import { SharedCardLinkId } from './SharedCardLinkId';
|
|
5
7
|
import { SharedCardLinkType } from './SharedCardLinkType';
|
|
6
8
|
export interface SharedCardLink extends Audit {
|
|
7
9
|
cardId?: string;
|
|
8
|
-
channelId
|
|
10
|
+
channelId?: number;
|
|
9
11
|
deletedAt?: Date;
|
|
10
12
|
fields?: EntityFields;
|
|
11
|
-
id:
|
|
13
|
+
id: SharedCardLinkId;
|
|
12
14
|
shortUrl?: string;
|
|
13
15
|
type: SharedCardLinkType;
|
|
14
16
|
url?: string;
|
|
15
17
|
userId: UserId;
|
|
16
18
|
viewTemplateId?: ViewTemplateId;
|
|
19
|
+
workflowTemplateId?: WorkflowTemplateId;
|
|
17
20
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SharedCardLinkId.js","sourceRoot":"","sources":["../../../src/models/shared-link/SharedCardLinkId.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Nullable<T> = T | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Nullable.js","sourceRoot":"","sources":["../../../src/models/utils/Nullable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Optional<T> = T | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Optional.js","sourceRoot":"","sources":["../../../src/models/utils/Optional.ts"],"names":[],"mappings":""}
|
|
@@ -24,7 +24,7 @@ import { TextComponentOverride } from './text/TextComponentOverride';
|
|
|
24
24
|
import { TimeTrackerComponentOverride } from './time-tracker/TimeTrackerComponentOverride';
|
|
25
25
|
import { TodoComponentOverride } from './todo/TodoComponentOverride';
|
|
26
26
|
export declare namespace ComponentRegistry {
|
|
27
|
-
type Any = ComponentOneOf[keyof ComponentOneOf]
|
|
27
|
+
type Any = NonNullable<ComponentOneOf[keyof ComponentOneOf]>;
|
|
28
28
|
}
|
|
29
29
|
export declare namespace ComponentOverridesRegistry {
|
|
30
30
|
type Any = AddressComponentOverride | AuditCheckboxComponentOverride | AuditTagComponentOverride | AuditTextComponentOverride | CombinedTagsComponentOverride | DateComponentOverride | EmailComponentOverride | EntityBatchComponentOverride | FileComponentOverride | GeolocationComponentOverride | InputButtonComponentOverride | NumberComponentOverride | PersonComponentOverride | ReferencedInComponentOverride | RelatedCardComponentOverride | RelatedCardLookupComponentOverride | ScheduledAutomationComponent | SignatureComponentOverride | StaticTextComponentOverride | SubformComponentOverride | TagComponentOverride | TextComponentOverride | TimeTrackerComponentOverride | TodoComponentOverride;
|