@coast/core-api-types 1.2.236 → 1.2.237
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/automations/action/component-data/DynamicComponentDataOneOf.d.ts +2 -2
- package/dist/models/card/CreateNonRecurringCard.d.ts +1 -1
- package/dist/models/card/ExternalCardBatchEvent.d.ts +1 -1
- package/dist/models/card/ExternalCardEventPayload.d.ts +1 -1
- package/dist/models/card/UpdateCard.d.ts +1 -1
- package/dist/models/card/UpdateCardMerged.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardDefinition.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardFragmentTemplate.d.ts +1 -1
- package/dist/models/card/card-definition/UpdateCardDefinition.d.ts +1 -1
- package/dist/models/card/card-definition/UpdateCardFragmentTemplate.d.ts +1 -1
- package/dist/models/channel/UpdateChannelV2.d.ts +1 -1
- package/dist/models/pdf-subforms/PdfSubformResult.d.ts +1 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutOneOf.d.ts +1 -1
- package/dist/models/view-template-layout/registry/ViewTemplateLayoutItemOneOfInput.d.ts +1 -1
- package/dist/models/workflow-automation/CreateWorkflowTemplateAutomationAssociation.d.ts +1 -1
- package/dist/models/workflow-library/CreateWorkflowListItem.d.ts +1 -1
- package/dist/models/workflow-library/UpdateWorkflowListItem.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentDataOneOf.d.ts +2 -2
- package/dist/models/workflow-template/components/ComponentOverrideType.d.ts +1 -1
- package/dist/models/workspace-section/CreateWorkspaceSection.d.ts +1 -1
- package/package.json +3 -2
- package/dist/models/common/EnumUtils.d.ts +0 -2
- package/dist/models/common/EnumUtils.js +0 -3
- package/dist/models/common/EnumUtils.js.map +0 -1
- package/dist/models/common/OneOfUtils.d.ts +0 -3
- package/dist/models/common/OneOfUtils.js +0 -22
- package/dist/models/common/OneOfUtils.js.map +0 -1
- package/dist/models/utils/CamelCase.d.ts +0 -1
- package/dist/models/utils/CamelCase.js +0 -3
- package/dist/models/utils/CamelCase.js.map +0 -1
- package/dist/models/utils/ClassType.d.ts +0 -1
- package/dist/models/utils/ClassType.js +0 -3
- package/dist/models/utils/ClassType.js.map +0 -1
- package/dist/models/utils/DeepPartial.d.ts +0 -3
- package/dist/models/utils/DeepPartial.js +0 -3
- package/dist/models/utils/DeepPartial.js.map +0 -1
- package/dist/models/utils/NonEmptyArray.d.ts +0 -1
- package/dist/models/utils/NonEmptyArray.js +0 -3
- package/dist/models/utils/NonEmptyArray.js.map +0 -1
- package/dist/models/utils/Nullable.d.ts +0 -1
- package/dist/models/utils/Nullable.js +0 -3
- package/dist/models/utils/Nullable.js.map +0 -1
- package/dist/models/utils/NullableFields.d.ts +0 -3
- package/dist/models/utils/NullableFields.js +0 -3
- package/dist/models/utils/NullableFields.js.map +0 -1
- package/dist/models/utils/ObjectUtils.d.ts +0 -2
- package/dist/models/utils/ObjectUtils.js +0 -3
- package/dist/models/utils/ObjectUtils.js.map +0 -1
- package/dist/models/utils/OneOf.d.ts +0 -9
- package/dist/models/utils/OneOf.js +0 -3
- package/dist/models/utils/OneOf.js.map +0 -1
- package/dist/models/utils/Optional.d.ts +0 -1
- package/dist/models/utils/Optional.js +0 -3
- package/dist/models/utils/Optional.js.map +0 -1
- package/dist/models/utils/PartialRecord.d.ts +0 -3
- package/dist/models/utils/PartialRecord.js +0 -3
- package/dist/models/utils/PartialRecord.js.map +0 -1
- package/dist/models/utils/Type.d.ts +0 -3
- package/dist/models/utils/Type.js +0 -3
- package/dist/models/utils/Type.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CamelCase } from '
|
|
2
|
-
import { Optional } from '
|
|
1
|
+
import { CamelCase } from '@coast/core-utils/CamelCase';
|
|
2
|
+
import { Optional } from '@coast/core-utils/Optional';
|
|
3
3
|
import { ActionResultNumber } from './ActionResultNumber';
|
|
4
4
|
import { CurrentWorkflowEntity } from './CurrentWorkflowEntity';
|
|
5
5
|
import { CurrentWorkflowEntityComponent } from './CurrentWorkflowEntityComponent';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { UserId } from '../user/UserId';
|
|
2
|
-
import { DeepPartial } from '../utils/DeepPartial';
|
|
3
3
|
import { ImpliedSortKeys } from '../workflow-template/entities/sort/ImpliedSortKeys';
|
|
4
4
|
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
5
5
|
import { Card } from './Card';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
1
2
|
import { BusinessId } from '../business/BusinessId';
|
|
2
3
|
import { UserId } from '../user/UserId';
|
|
3
|
-
import { NonEmptyArray } from '../utils/NonEmptyArray';
|
|
4
4
|
import { RecurringEntitiesAutoExtendEvent } from '../workflow-template/entities/recurring/RecurringEntitiesAutoExtendEvent';
|
|
5
5
|
import { BatchExternalCardEventType } from './ExternalCardEventType';
|
|
6
6
|
export interface ExternalCardBatchEvent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
1
2
|
import { BusinessId } from '../business/BusinessId';
|
|
2
3
|
import { UserId } from '../user/UserId';
|
|
3
|
-
import { NonEmptyArray } from '../utils/NonEmptyArray';
|
|
4
4
|
import { WorkflowAutomationsEvent } from '../workflow-automation/WorkflowAutomationsEvent';
|
|
5
5
|
import { WorkflowEntityEventId } from '../workflow-entity/WorkflowEntityEventId';
|
|
6
6
|
import { ComponentSubscriptionEvents } from '../workflow-template/component-subscription/ComponentSubscriptionEvents';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { UserId } from '../user/UserId';
|
|
2
|
-
import { DeepPartial } from '../utils/DeepPartial';
|
|
3
3
|
import { Card } from './Card';
|
|
4
4
|
import { UpdateCardReminder } from './card-reminder/UpdateCardReminder';
|
|
5
5
|
import { CardFields } from './CardFields';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { Card } from './Card';
|
|
3
3
|
import { CreateCardReminder } from './card-reminder/CreateCardReminder';
|
|
4
4
|
import { CreateEntityRecurrence } from './CreateEntityRecurrence';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { TagOptions } from '@coast/schemas';
|
|
2
3
|
import { JSONSchema4 } from 'json-schema';
|
|
3
|
-
import { DeepPartial } from '../../utils/DeepPartial';
|
|
4
4
|
import { WorkspaceFocus } from '../WorkspaceFocus';
|
|
5
5
|
import { CardDefinition } from './CardDefinition';
|
|
6
6
|
import { CreateCardUITemplate } from './CreateCardUITemplate';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { CardFragmentTemplate } from './CardFragmentTemplate';
|
|
3
3
|
export interface CreateCardFragmentTemplate extends DeepPartial<CardFragmentTemplate> {
|
|
4
4
|
channelId: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { JSONSchema4 } from 'json-schema';
|
|
2
|
-
import { DeepPartial } from '../../utils/DeepPartial';
|
|
3
3
|
import { WorkspaceFocus } from '../WorkspaceFocus';
|
|
4
4
|
import { CardDefinition } from './CardDefinition';
|
|
5
5
|
import { UpdateCardUITemplate } from './UpdateCardUITemplate';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { CardFragmentTemplate } from './CardFragmentTemplate';
|
|
3
3
|
export interface UpdateCardFragmentTemplate extends DeepPartial<CardFragmentTemplate> {
|
|
4
4
|
cardDefinitionId?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { Channel } from './Channel';
|
|
3
3
|
import { UpdateRelatedChannelAssociation } from './UpdateRelatedChannelAssociation';
|
|
4
4
|
export interface UpdateChannelV2 extends DeepPartial<Channel> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Optional } from '
|
|
1
|
+
import { Optional } from '@coast/core-utils/Optional';
|
|
2
2
|
import { SubformComponentOneOf } from '../workflow-template/components/SubformComponentOneOf';
|
|
3
3
|
export interface PdfSubformResult {
|
|
4
4
|
subformComponents?: Optional<SubformComponentOneOf[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Optional } from '
|
|
1
|
+
import { Optional } from '@coast/core-utils/Optional';
|
|
2
2
|
import { ViewTemplateLayoutComponent } from './items/ViewTemplateLayoutComponent';
|
|
3
3
|
import { ViewTemplateLayoutSection } from './items/ViewTemplateLayoutSection';
|
|
4
4
|
import { ViewTemplateLayoutItemOneOfInput } from './registry/ViewTemplateLayoutItemOneOfInput';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Optional } from '
|
|
1
|
+
import { Optional } from '@coast/core-utils/Optional';
|
|
2
2
|
import { ViewTemplateLayoutComponent } from '../items/ViewTemplateLayoutComponent';
|
|
3
3
|
import { ViewTemplateLayoutSection } from '../items/ViewTemplateLayoutSection';
|
|
4
4
|
export type ViewTemplateLayoutItemOneOfInput = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { AutomationId } from '../automations/AutomationId';
|
|
2
|
-
import { DeepPartial } from '../utils/DeepPartial';
|
|
3
3
|
import { WorkflowTemplateAutomationAssociation } from '../workflow-automation/WorkflowTemplateAutomationAssociation';
|
|
4
4
|
import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
|
|
5
5
|
export interface CreateWorkflowTemplateAutomationAssociation extends DeepPartial<WorkflowTemplateAutomationAssociation> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { CreateWorkflowListItemAssociation } from './CreateWorkflowListItemAssociation';
|
|
3
3
|
import { WorkflowListItem } from './WorkflowListItem';
|
|
4
4
|
export interface CreateWorkflowListItem extends DeepPartial<WorkflowListItem> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { CreateWorkflowListItemAssociation } from './CreateWorkflowListItemAssociation';
|
|
3
3
|
import { WorkflowListItem } from './WorkflowListItem';
|
|
4
4
|
export interface UpdateWorkflowListItem extends DeepPartial<WorkflowListItem> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CamelCase } from '
|
|
2
|
-
import { Optional } from '
|
|
1
|
+
import { CamelCase } from '@coast/core-utils/CamelCase';
|
|
2
|
+
import { Optional } from '@coast/core-utils/Optional';
|
|
3
3
|
import { AddressComponentData } from './address/AddressComponentData';
|
|
4
4
|
import { ComponentData } from './ComponentData';
|
|
5
5
|
import { DateComponentData } from './date/DateComponentData';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassType } from '
|
|
1
|
+
import { ClassType } from '@coast/core-utils/ClassType';
|
|
2
2
|
import { Component } from './Component';
|
|
3
3
|
import { ComponentType } from './ComponentType';
|
|
4
4
|
type NonInheritableComponentProperties = 'archivedAt' | 'id' | 'isServerManaged' | 'locked' | 'managedByComponentId' | 'type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeepPartial } from '
|
|
1
|
+
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
2
|
import { CreateWorkspaceSectionAssociation } from './CreateWorkspaceSectionAssociation';
|
|
3
3
|
import { WorkspaceSection } from './WorkspaceSection';
|
|
4
4
|
export interface CreateWorkspaceSection extends DeepPartial<WorkspaceSection> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.237",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"@coast/core-utils": "0.0.1",
|
|
26
27
|
"@coast/schemas": "^4.0.0",
|
|
27
28
|
"@paradoxical-io/types": "^2.1.0",
|
|
28
29
|
"@types/json-schema": "^7.0.15",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"type-zoo": "^3.4.1"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@coast/service-common-scripts": "^1.0.
|
|
35
|
+
"@coast/service-common-scripts": "^1.0.50",
|
|
35
36
|
"glob": "^10.4.5",
|
|
36
37
|
"ts-morph": "^24.0.0",
|
|
37
38
|
"ts-node": "^10.9.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnumUtils.js","sourceRoot":"","sources":["../../../src/models/common/EnumUtils.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.OneOfUtils = void 0;
|
|
7
|
-
const lodash_1 = __importDefault(require("lodash"));
|
|
8
|
-
class OneOfUtils {
|
|
9
|
-
static flattenOneOfs(oneOf) {
|
|
10
|
-
if (!lodash_1.default.isNil(oneOf)) {
|
|
11
|
-
let oneOfKey;
|
|
12
|
-
for (oneOfKey in oneOf) {
|
|
13
|
-
if (!lodash_1.default.isNil(oneOf[oneOfKey])) {
|
|
14
|
-
return oneOf[oneOfKey];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.OneOfUtils = OneOfUtils;
|
|
22
|
-
//# sourceMappingURL=OneOfUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OneOfUtils.js","sourceRoot":"","sources":["../../../src/models/common/OneOfUtils.ts"],"names":[],"mappings":";;;;;;AAAA,oDAAuB;AAEvB,MAAa,UAAU;IACZ,MAAM,CAAC,aAAa,CAAI,KAAQ;QACnC,IAAI,CAAC,gBAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;YAClB,IAAI,QAAiB,CAAC;YAEtB,KAAK,QAAQ,IAAI,KAAK,EAAE,CAAC;gBACrB,IAAI,CAAC,gBAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;oBAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;gBAC3B,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAdD,gCAcC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CamelCase<S extends string> = S extends `${infer P1}_${infer P2}${infer P3}` ? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` : Lowercase<S>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CamelCase.js","sourceRoot":"","sources":["../../../src/models/utils/CamelCase.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ClassType<T> = new (...args: any[]) => T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClassType.js","sourceRoot":"","sources":["../../../src/models/utils/ClassType.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeepPartial.js","sourceRoot":"","sources":["../../../src/models/utils/DeepPartial.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type NonEmptyArray<T> = [T, ...T[]];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NonEmptyArray.js","sourceRoot":"","sources":["../../../src/models/utils/NonEmptyArray.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Nullable<T> = T | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Nullable.js","sourceRoot":"","sources":["../../../src/models/utils/Nullable.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NullableFields.js","sourceRoot":"","sources":["../../../src/models/utils/NullableFields.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectUtils.js","sourceRoot":"","sources":["../../../src/models/utils/ObjectUtils.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type ValueOf<Obj> = Obj[keyof Obj];
|
|
2
|
-
type OneOnly<Obj, Key extends keyof Obj> = {
|
|
3
|
-
[key in Exclude<keyof Obj, Key>]?: never;
|
|
4
|
-
} & Pick<Obj, Key>;
|
|
5
|
-
type OneOfByKey<Obj> = {
|
|
6
|
-
[key in keyof Obj]: OneOnly<Obj, key>;
|
|
7
|
-
};
|
|
8
|
-
export type OneOf<Obj> = ValueOf<OneOfByKey<Obj>>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OneOf.js","sourceRoot":"","sources":["../../../src/models/utils/OneOf.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Optional<T> = T | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Optional.js","sourceRoot":"","sources":["../../../src/models/utils/Optional.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PartialRecord.js","sourceRoot":"","sources":["../../../src/models/utils/PartialRecord.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Type.js","sourceRoot":"","sources":["../../../src/models/utils/Type.ts"],"names":[],"mappings":""}
|