@coast/core-api-types 1.2.259 → 1.2.261

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 (78) hide show
  1. package/dist/models/channel/Channel.d.ts +2 -0
  2. package/dist/models/channel/UpdateChannelV2.d.ts +2 -0
  3. package/dist/models/workflow-app/{InstallApp.d.ts → InstallBundle.d.ts} +3 -3
  4. package/dist/models/workflow-app/{app-listing/GetAppListing.js → InstallBundle.js} +1 -1
  5. package/dist/models/workflow-app/InstallBundle.js.map +1 -0
  6. package/dist/models/workflow-app/bundle/Bundle.d.ts +8 -0
  7. package/dist/models/workflow-app/{app-listing/AppListing.js → bundle/Bundle.js} +1 -1
  8. package/dist/models/workflow-app/bundle/Bundle.js.map +1 -0
  9. package/dist/models/workflow-app/bundle/BundleId.d.ts +2 -0
  10. package/dist/models/workflow-app/{InstallApp.js → bundle/BundleId.js} +1 -1
  11. package/dist/models/workflow-app/bundle/BundleId.js.map +1 -0
  12. package/dist/models/workflow-app/bundle/GetBundle.d.ts +4 -0
  13. package/dist/models/workflow-app/{app-listing/AppListingId.js → bundle/GetBundle.js} +1 -1
  14. package/dist/models/workflow-app/bundle/GetBundle.js.map +1 -0
  15. package/dist/models/workflow-app/bundle/UpdateBundleInput.d.ts +3 -0
  16. package/dist/models/workflow-app/{app-listing/CreateAppListing.js → bundle/UpdateBundleInput.js} +1 -1
  17. package/dist/models/workflow-app/bundle/UpdateBundleInput.js.map +1 -0
  18. package/dist/models/workflow-app/bundle/public-bundle/AnyPublicBundle.d.ts +3 -0
  19. package/dist/models/workflow-app/bundle/public-bundle/AnyPublicBundle.js +3 -0
  20. package/dist/models/workflow-app/bundle/public-bundle/AnyPublicBundle.js.map +1 -0
  21. package/dist/models/workflow-app/{app-listing/app-listing-result/AppListingType.d.ts → bundle/public-bundle/BundleType.d.ts} +1 -1
  22. package/dist/models/workflow-app/bundle/public-bundle/BundleType.js +9 -0
  23. package/dist/models/workflow-app/bundle/public-bundle/BundleType.js.map +1 -0
  24. package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.d.ts +9 -0
  25. package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.js +3 -0
  26. package/dist/models/workflow-app/bundle/public-bundle/PublicBundle.js.map +1 -0
  27. package/dist/models/workflow-app/bundle/public-bundle/WorkspacePublicBundle.d.ts +7 -0
  28. package/dist/models/workflow-app/bundle/public-bundle/WorkspacePublicBundle.js +3 -0
  29. package/dist/models/workflow-app/bundle/public-bundle/WorkspacePublicBundle.js.map +1 -0
  30. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceRef.js.map +1 -0
  31. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionPublicBundle.d.ts +7 -0
  32. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionPublicBundle.js +3 -0
  33. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionPublicBundle.js.map +1 -0
  34. package/dist/models/workflow-app/bundle/public-bundle/WorkspaceSectionRef.js.map +1 -0
  35. package/dist/models/workflow-app/compensations/components/OmitRelatedCardLookupComponent.d.ts +0 -1
  36. package/dist/models/workspace-section/UpdateWorkspaceSection.d.ts +2 -0
  37. package/dist/models/workspace-section/WorkspaceSection.d.ts +2 -0
  38. package/dist/scripts/generateTypes.js +3 -3
  39. package/dist/scripts/generateTypes.js.map +1 -1
  40. package/package.json +2 -1
  41. package/dist/models/workflow-app/InstallApp.js.map +0 -1
  42. package/dist/models/workflow-app/app-listing/AppListing.d.ts +0 -12
  43. package/dist/models/workflow-app/app-listing/AppListing.js.map +0 -1
  44. package/dist/models/workflow-app/app-listing/AppListingId.d.ts +0 -2
  45. package/dist/models/workflow-app/app-listing/AppListingId.js.map +0 -1
  46. package/dist/models/workflow-app/app-listing/CreateAppListing.d.ts +0 -3
  47. package/dist/models/workflow-app/app-listing/CreateAppListing.js.map +0 -1
  48. package/dist/models/workflow-app/app-listing/GetAppListing.d.ts +0 -4
  49. package/dist/models/workflow-app/app-listing/GetAppListing.js.map +0 -1
  50. package/dist/models/workflow-app/app-listing/ListAppListings.d.ts +0 -7
  51. package/dist/models/workflow-app/app-listing/ListAppListings.js +0 -3
  52. package/dist/models/workflow-app/app-listing/ListAppListings.js.map +0 -1
  53. package/dist/models/workflow-app/app-listing/ListAppListingsResult.d.ts +0 -5
  54. package/dist/models/workflow-app/app-listing/ListAppListingsResult.js +0 -3
  55. package/dist/models/workflow-app/app-listing/ListAppListingsResult.js.map +0 -1
  56. package/dist/models/workflow-app/app-listing/UpdateAppListing.d.ts +0 -3
  57. package/dist/models/workflow-app/app-listing/UpdateAppListing.js +0 -3
  58. package/dist/models/workflow-app/app-listing/UpdateAppListing.js.map +0 -1
  59. package/dist/models/workflow-app/app-listing/app-listing-result/AnyAppListingResult.d.ts +0 -3
  60. package/dist/models/workflow-app/app-listing/app-listing-result/AnyAppListingResult.js +0 -3
  61. package/dist/models/workflow-app/app-listing/app-listing-result/AnyAppListingResult.js.map +0 -1
  62. package/dist/models/workflow-app/app-listing/app-listing-result/AppListingResult.d.ts +0 -9
  63. package/dist/models/workflow-app/app-listing/app-listing-result/AppListingResult.js +0 -3
  64. package/dist/models/workflow-app/app-listing/app-listing-result/AppListingResult.js.map +0 -1
  65. package/dist/models/workflow-app/app-listing/app-listing-result/AppListingType.js +0 -9
  66. package/dist/models/workflow-app/app-listing/app-listing-result/AppListingType.js.map +0 -1
  67. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceAppListingResult.d.ts +0 -7
  68. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceAppListingResult.js +0 -3
  69. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceAppListingResult.js.map +0 -1
  70. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceRef.js.map +0 -1
  71. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionAppListingResult.d.ts +0 -7
  72. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionAppListingResult.js +0 -3
  73. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionAppListingResult.js.map +0 -1
  74. package/dist/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionRef.js.map +0 -1
  75. /package/dist/models/workflow-app/{app-listing/app-listing-result → bundle/public-bundle}/WorkspaceRef.d.ts +0 -0
  76. /package/dist/models/workflow-app/{app-listing/app-listing-result → bundle/public-bundle}/WorkspaceRef.js +0 -0
  77. /package/dist/models/workflow-app/{app-listing/app-listing-result → bundle/public-bundle}/WorkspaceSectionRef.d.ts +0 -0
  78. /package/dist/models/workflow-app/{app-listing/app-listing-result → bundle/public-bundle}/WorkspaceSectionRef.js +0 -0
@@ -4,6 +4,7 @@ import { Audit } from '../application/Audit';
4
4
  import { ChannelMembership } from '../auth/ChannelMembership';
5
5
  import { BusinessId } from '../business/BusinessId';
6
6
  import { CardDefinition } from '../card/card-definition/CardDefinition';
7
+ import { Bundle } from '../workflow-app/bundle/Bundle';
7
8
  import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
8
9
  import { ChannelSlug } from './ChannelSlug';
9
10
  import { RelatedChannelAssociation } from './RelatedChannelAssociation';
@@ -35,4 +36,5 @@ export interface Channel extends Audit {
35
36
  urlLink: string;
36
37
  visible?: boolean;
37
38
  workflowTemplateId?: WorkflowTemplateId;
39
+ bundle?: Bundle;
38
40
  }
@@ -1,4 +1,5 @@
1
1
  import { DeepPartial } from '@coast/core-utils/DeepPartial';
2
+ import { UpdateBundleInput } from '../workflow-app/bundle/UpdateBundleInput';
2
3
  import { Channel } from './Channel';
3
4
  import { UpdateRelatedChannelAssociation } from './UpdateRelatedChannelAssociation';
4
5
  export interface UpdateChannelV2 extends DeepPartial<Channel> {
@@ -9,4 +10,5 @@ export interface UpdateChannelV2 extends DeepPartial<Channel> {
9
10
  name?: string;
10
11
  relatedChannelAssociations?: UpdateRelatedChannelAssociation[];
11
12
  visible?: boolean;
13
+ bundle?: UpdateBundleInput;
12
14
  }
@@ -1,7 +1,7 @@
1
1
  import { CreateChannelChannelMembership } from '../channel/CreateChannelChannelMembership';
2
- import { AppListingId } from './app-listing/AppListingId';
3
- export interface InstallApp {
4
- appListingId: AppListingId;
2
+ import { BundleId } from './bundle/BundleId';
3
+ export interface InstallBundle {
4
+ bundleId: BundleId;
5
5
  name?: string;
6
6
  channelMemberships?: CreateChannelChannelMembership[];
7
7
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=GetAppListing.js.map
3
+ //# sourceMappingURL=InstallBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstallBundle.js","sourceRoot":"","sources":["../../../src/models/workflow-app/InstallBundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Audit } from '../../application/Audit';
2
+ import { BusinessId } from '../../business/BusinessId';
3
+ import { BundleId } from './BundleId';
4
+ export interface Bundle extends Audit {
5
+ id: BundleId;
6
+ businessId: BusinessId;
7
+ enabled: boolean;
8
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AppListing.js.map
3
+ //# sourceMappingURL=Bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bundle.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/bundle/Bundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Brand } from '@paradoxical-io/types';
2
+ export type BundleId = Brand<string, 'BundleId'>;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=InstallApp.js.map
3
+ //# sourceMappingURL=BundleId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleId.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/bundle/BundleId.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { BundleId } from './BundleId';
2
+ export interface GetBundle {
3
+ id: BundleId;
4
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AppListingId.js.map
3
+ //# sourceMappingURL=GetBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetBundle.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/bundle/GetBundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface UpdateBundleInput {
2
+ enabled: boolean;
3
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CreateAppListing.js.map
3
+ //# sourceMappingURL=UpdateBundleInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBundleInput.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/bundle/UpdateBundleInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { WorkspacePublicBundle } from './WorkspacePublicBundle';
2
+ import { WorkspaceSectionPublicBundle } from './WorkspaceSectionPublicBundle';
3
+ export type AnyPublicBundle = WorkspacePublicBundle | WorkspaceSectionPublicBundle;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AnyPublicBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnyPublicBundle.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/AnyPublicBundle.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export declare enum AppListingType {
1
+ export declare enum BundleType {
2
2
  WORKSPACE = "WORKSPACE",
3
3
  WORKSPACE_SECTION = "WORKSPACE_SECTION"
4
4
  }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BundleType = void 0;
4
+ var BundleType;
5
+ (function (BundleType) {
6
+ BundleType["WORKSPACE"] = "WORKSPACE";
7
+ BundleType["WORKSPACE_SECTION"] = "WORKSPACE_SECTION";
8
+ })(BundleType || (exports.BundleType = BundleType = {}));
9
+ //# sourceMappingURL=BundleType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleType.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/BundleType.ts"],"names":[],"mappings":";;;AACA,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,qCAAuB,CAAA;IACvB,qDAAuC,CAAA;AAC3C,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB"}
@@ -0,0 +1,9 @@
1
+ import { BundleId } from '../BundleId';
2
+ import { BundleType } from './BundleType';
3
+ export interface PublicBundle {
4
+ type: BundleType;
5
+ id: BundleId;
6
+ enabled: boolean;
7
+ name: string;
8
+ description?: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PublicBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublicBundle.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/PublicBundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { BundleType } from './BundleType';
2
+ import { PublicBundle } from './PublicBundle';
3
+ import { WorkspaceRef } from './WorkspaceRef';
4
+ export interface WorkspacePublicBundle extends PublicBundle {
5
+ type: BundleType.WORKSPACE;
6
+ workspace: WorkspaceRef;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkspacePublicBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspacePublicBundle.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/WorkspacePublicBundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceRef.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/WorkspaceRef.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { BundleType } from './BundleType';
2
+ import { PublicBundle } from './PublicBundle';
3
+ import { WorkspaceSectionRef } from './WorkspaceSectionRef';
4
+ export interface WorkspaceSectionPublicBundle extends PublicBundle {
5
+ type: BundleType.WORKSPACE_SECTION;
6
+ workspaceSection: WorkspaceSectionRef;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=WorkspaceSectionPublicBundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceSectionPublicBundle.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/WorkspaceSectionPublicBundle.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkspaceSectionRef.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/WorkspaceSectionRef.ts"],"names":[],"mappings":""}
@@ -4,5 +4,4 @@ import { ComponentCompensation } from './ComponentCompensation';
4
4
  export interface OmitRelatedCardLookupComponent extends ComponentCompensation {
5
5
  type: CompensationType.OMIT_RELATED_CARD_LOOKUP_COMPONENT;
6
6
  sourceRelatedCardComponent: ComponentReference;
7
- newRelatedCardComponent: ComponentReference;
8
7
  }
@@ -1,7 +1,9 @@
1
+ import { UpdateBundleInput } from '../workflow-app/bundle/UpdateBundleInput';
1
2
  import { UpdateWorkspaceSectionAssociation } from './UpdateWorkspaceSectionAssociation';
2
3
  import { WorkspaceSectionId } from './WorkspaceSectionId';
3
4
  export interface UpdateWorkspaceSection {
4
5
  channelAssociations?: UpdateWorkspaceSectionAssociation[];
5
6
  id: WorkspaceSectionId;
6
7
  title?: string;
8
+ bundle?: UpdateBundleInput;
7
9
  }
@@ -1,8 +1,10 @@
1
1
  import { Audit } from '../application/Audit';
2
+ import { Bundle } from '../workflow-app/bundle/Bundle';
2
3
  import { WorkspaceSectionAssociation } from './WorkspaceSectionAssociation';
3
4
  import { WorkspaceSectionId } from './WorkspaceSectionId';
4
5
  export interface WorkspaceSection extends Audit {
5
6
  channelAssociations: WorkspaceSectionAssociation[];
6
7
  id: WorkspaceSectionId;
7
8
  title: string;
9
+ bundle?: Bundle;
8
10
  }
@@ -49,7 +49,7 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
49
49
  'ComponentMap.ts',
50
50
  'CompensationMap.ts',
51
51
  'DuplicationResultMap.ts',
52
- 'AppListingResultMap.ts',
52
+ 'PublicBundleMap.ts',
53
53
  'OneOfUtils.ts',
54
54
  ],
55
55
  tsConfigFilePath: path.resolve(__dirname, '../.././tsconfig.json'),
@@ -92,8 +92,8 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
92
92
  'CompensationGqlUnion',
93
93
  'DuplicationResultMap',
94
94
  'DuplicationResultGqlUnion',
95
- 'AppListingResultMap',
96
- 'AppListingResultGqlUnion',
95
+ 'PublicBundleMap',
96
+ 'PublicBundleGqlUnion',
97
97
  ],
98
98
  includeExternalPackages: dependencies,
99
99
  excludeInternalPackages: [/\/application\/validation\/*/, /validation/],
@@ -1 +1 @@
1
- {"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,2CAA6B;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,oBAAoB;QACpB,yBAAyB;QACzB,wBAAwB;QACxB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,0BAA0B;QAC1B,eAAe;QACf,oBAAoB;QACpB,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,0BAA0B;QAC1B,6BAA6B;QAC7B,kCAAkC;QAClC,wBAAwB;QACxB,6BAA6B;QAC7B,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,gCAAgC;QAChC,gCAAgC;QAChC,yBAAyB;QACzB,+BAA+B;QAC/B,8BAA8B;QAC9B,oCAAoC;QACpC,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,2BAA2B;QAC3B,qBAAqB;QACrB,0BAA0B;KAC7B;IACD,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
1
+ {"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,2CAA6B;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;QACpB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,0BAA0B;QAC1B,eAAe;QACf,oBAAoB;QACpB,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,0BAA0B;QAC1B,6BAA6B;QAC7B,kCAAkC;QAClC,wBAAwB;QACxB,6BAA6B;QAC7B,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,gCAAgC;QAChC,gCAAgC;QAChC,yBAAyB;QACzB,+BAA+B;QAC/B,8BAA8B;QAC9B,oCAAoC;QACpC,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,2BAA2B;QAC3B,iBAAiB;QACjB,sBAAsB;KACzB;IACD,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.259",
3
+ "version": "1.2.261",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -45,6 +45,7 @@
45
45
  "clean:sources": "rm -rf src/models",
46
46
  "clean:dist": "rm -rf dist tsconfig.tsbuildinfo",
47
47
  "generate": "tsx src/scripts/generateTypes.ts",
48
+ "regenerate": "yarn clean:sources && yarn generate",
48
49
  "build": "yarn clean:dist && tsc",
49
50
  "strict:compile": "yarn run -T tsc-strict",
50
51
  "strict:update": "yarn run -T update-strict-comments"
@@ -1 +0,0 @@
1
- {"version":3,"file":"InstallApp.js","sourceRoot":"","sources":["../../../src/models/workflow-app/InstallApp.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- import { Audit } from '../../application/Audit';
2
- import { BusinessId } from '../../business/BusinessId';
3
- import { WorkspaceId } from '../../channel/WorkspaceId';
4
- import { WorkspaceSectionId } from '../../workspace-section/WorkspaceSectionId';
5
- import { AppListingId } from './AppListingId';
6
- export interface AppListing extends Audit {
7
- id: AppListingId;
8
- sectionId?: WorkspaceSectionId;
9
- businessId: BusinessId;
10
- workspaceId?: WorkspaceId;
11
- enabled: boolean;
12
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppListing.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/AppListing.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import { Brand } from '@paradoxical-io/types';
2
- export type AppListingId = Brand<string, 'AppListingId'>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppListingId.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/AppListingId.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { AppListing } from './AppListing';
2
- export interface CreateAppListing extends Omit<AppListing, 'id' | 'createdAt' | 'updatedAt' | 'businessId'> {
3
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateAppListing.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/CreateAppListing.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { AppListingId } from './AppListingId';
2
- export interface GetAppListing {
3
- id: AppListingId;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetAppListing.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/GetAppListing.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { WorkspaceId } from '../../channel/WorkspaceId';
2
- import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
3
- import { WorkspaceSectionId } from '../../workspace-section/WorkspaceSectionId';
4
- export interface ListAppListings extends OffsetPaginatedRequest {
5
- workspaceIds?: WorkspaceId[];
6
- sectionIds?: WorkspaceSectionId[];
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ListAppListings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListAppListings.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/ListAppListings.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
2
- import { AppListing } from './AppListing';
3
- export interface ListAppListingsResult extends OffsetPaginatedResult {
4
- appListings: AppListing[];
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ListAppListingsResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListAppListingsResult.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/ListAppListingsResult.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { AppListing } from './AppListing';
2
- export interface UpdateAppListing extends Omit<AppListing, 'createdAt' | 'updatedAt' | 'sectionId' | 'workspaceId' | 'businessId'> {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=UpdateAppListing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UpdateAppListing.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/app-listing/UpdateAppListing.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { WorkspaceAppListingResult } from './WorkspaceAppListingResult';
2
- import { WorkspaceSectionAppListingResult } from './WorkspaceSectionAppListingResult';
3
- export type AnyAppListingResult = WorkspaceAppListingResult | WorkspaceSectionAppListingResult;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AnyAppListingResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnyAppListingResult.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/AnyAppListingResult.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { AppListingId } from '../AppListingId';
2
- import { AppListingType } from './AppListingType';
3
- export interface AppListingResult {
4
- type: AppListingType;
5
- id: AppListingId;
6
- enabled: boolean;
7
- name: string;
8
- description?: string;
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AppListingResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppListingResult.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/AppListingResult.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppListingType = void 0;
4
- var AppListingType;
5
- (function (AppListingType) {
6
- AppListingType["WORKSPACE"] = "WORKSPACE";
7
- AppListingType["WORKSPACE_SECTION"] = "WORKSPACE_SECTION";
8
- })(AppListingType || (exports.AppListingType = AppListingType = {}));
9
- //# sourceMappingURL=AppListingType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppListingType.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/AppListingType.ts"],"names":[],"mappings":";;;AACA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,yDAAuC,CAAA;AAC3C,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
@@ -1,7 +0,0 @@
1
- import { AppListingResult } from './AppListingResult';
2
- import { AppListingType } from './AppListingType';
3
- import { WorkspaceRef } from './WorkspaceRef';
4
- export interface WorkspaceAppListingResult extends AppListingResult {
5
- type: AppListingType.WORKSPACE;
6
- workspace: WorkspaceRef;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WorkspaceAppListingResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceAppListingResult.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/WorkspaceAppListingResult.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceRef.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/WorkspaceRef.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { AppListingResult } from './AppListingResult';
2
- import { AppListingType } from './AppListingType';
3
- import { WorkspaceSectionRef } from './WorkspaceSectionRef';
4
- export interface WorkspaceSectionAppListingResult extends AppListingResult {
5
- type: AppListingType.WORKSPACE_SECTION;
6
- workspaceSection: WorkspaceSectionRef;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WorkspaceSectionAppListingResult.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceSectionAppListingResult.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionAppListingResult.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkspaceSectionRef.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/app-listing/app-listing-result/WorkspaceSectionRef.ts"],"names":[],"mappings":""}