business-as-code 2.0.2 → 2.1.3

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 (89) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +25 -0
  3. package/LICENSE +21 -0
  4. package/dist/canvas/activities.d.ts +19 -0
  5. package/dist/canvas/activities.d.ts.map +1 -0
  6. package/dist/canvas/activities.js +20 -0
  7. package/dist/canvas/activities.js.map +1 -0
  8. package/dist/canvas/channels.d.ts +20 -0
  9. package/dist/canvas/channels.d.ts.map +1 -0
  10. package/dist/canvas/channels.js +21 -0
  11. package/dist/canvas/channels.js.map +1 -0
  12. package/dist/canvas/relationships.d.ts +20 -0
  13. package/dist/canvas/relationships.d.ts.map +1 -0
  14. package/dist/canvas/relationships.js +21 -0
  15. package/dist/canvas/relationships.js.map +1 -0
  16. package/dist/canvas/resources.d.ts +20 -0
  17. package/dist/canvas/resources.d.ts.map +1 -0
  18. package/dist/canvas/resources.js +30 -0
  19. package/dist/canvas/resources.js.map +1 -0
  20. package/dist/canvas/revenue.d.ts +22 -0
  21. package/dist/canvas/revenue.d.ts.map +1 -0
  22. package/dist/canvas/revenue.js +30 -0
  23. package/dist/canvas/revenue.js.map +1 -0
  24. package/dist/canvas/segments.d.ts +20 -0
  25. package/dist/canvas/segments.d.ts.map +1 -0
  26. package/dist/canvas/segments.js +28 -0
  27. package/dist/canvas/segments.js.map +1 -0
  28. package/dist/canvas/types.d.ts +232 -0
  29. package/dist/canvas/types.d.ts.map +1 -0
  30. package/dist/canvas/types.js +8 -0
  31. package/dist/canvas/types.js.map +1 -0
  32. package/dist/canvas/value.d.ts +20 -0
  33. package/dist/canvas/value.d.ts.map +1 -0
  34. package/dist/canvas/value.js +21 -0
  35. package/dist/canvas/value.js.map +1 -0
  36. package/dist/entities/planning.d.ts +0 -87
  37. package/examples/basic-usage.js +282 -0
  38. package/package.json +13 -14
  39. package/src/business.js +108 -0
  40. package/src/canvas/activities.ts +32 -0
  41. package/src/canvas/canvas.ts +482 -0
  42. package/src/canvas/channels.ts +34 -0
  43. package/src/canvas/costs.ts +43 -0
  44. package/src/canvas/economics.ts +99 -0
  45. package/src/canvas/index.ts +206 -0
  46. package/src/canvas/partnerships.ts +34 -0
  47. package/src/canvas/projections.ts +141 -0
  48. package/src/canvas/relationships.ts +34 -0
  49. package/src/canvas/resources.ts +43 -0
  50. package/src/canvas/revenue.ts +56 -0
  51. package/src/canvas/segments.ts +42 -0
  52. package/src/canvas/types.ts +363 -0
  53. package/src/canvas/value.ts +34 -0
  54. package/src/dollar.js +106 -0
  55. package/src/entities/assets.js +322 -0
  56. package/src/entities/business.js +369 -0
  57. package/src/entities/communication.js +254 -0
  58. package/src/entities/customers.js +988 -0
  59. package/src/entities/financials.js +931 -0
  60. package/src/entities/goals.js +799 -0
  61. package/src/entities/index.js +197 -0
  62. package/src/entities/legal.js +300 -0
  63. package/src/entities/market.js +300 -0
  64. package/src/entities/marketing.js +1156 -0
  65. package/src/entities/offerings.js +726 -0
  66. package/src/entities/operations.js +786 -0
  67. package/src/entities/organization.js +806 -0
  68. package/src/entities/partnerships.js +299 -0
  69. package/src/entities/planning.js +270 -0
  70. package/src/entities/projects.js +348 -0
  71. package/src/entities/risk.js +292 -0
  72. package/src/entities/sales.js +1247 -0
  73. package/src/financials.js +296 -0
  74. package/src/goals.js +214 -0
  75. package/src/index.js +131 -0
  76. package/src/index.test.js +274 -0
  77. package/src/kpis.js +231 -0
  78. package/src/metrics.js +324 -0
  79. package/src/okrs.js +268 -0
  80. package/src/organization.js +172 -0
  81. package/src/process.js +240 -0
  82. package/src/product.js +144 -0
  83. package/src/queries.js +414 -0
  84. package/src/roles.js +254 -0
  85. package/src/service.js +139 -0
  86. package/src/types.js +4 -0
  87. package/src/vision.js +67 -0
  88. package/src/workflow.js +246 -0
  89. package/tests/canvas.test.ts +842 -0
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > business-as-code@2.0.1 build /Users/nathanclevenger/projects/primitives.org.ai/packages/business-as-code
3
+ > business-as-code@2.1.3 build /Users/nathanclevenger/projects/primitives.org.ai/packages/business-as-code
4
4
  > tsc
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # business-as-code
2
2
 
3
+ ## 2.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - ai-functions@2.1.3
9
+ - ai-database@2.1.3
10
+
11
+ ## 2.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [6beb531]
16
+ - ai-functions@2.1.1
17
+ - ai-database@2.1.1
18
+
19
+ ## 2.0.3
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - rpc.do@0.2.0
25
+ - ai-database@2.0.3
26
+ - ai-functions@2.0.3
27
+
3
28
  ## 2.0.2
4
29
 
5
30
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 .org.ai
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Key Activities
3
+ *
4
+ * Functions for creating and working with key activities.
5
+ */
6
+ import type { KeyActivity, ActivityCategory } from './types.js';
7
+ export interface CreateKeyActivityInput {
8
+ name: string;
9
+ category: ActivityCategory;
10
+ description?: string;
11
+ resources?: string[];
12
+ metrics?: string[];
13
+ uptime?: number;
14
+ }
15
+ /**
16
+ * Create a key activity
17
+ */
18
+ export declare function createKeyActivity(input: CreateKeyActivityInput): KeyActivity;
19
+ //# sourceMappingURL=activities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/canvas/activities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE/D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,WAAW,CAW5E"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Key Activities
3
+ *
4
+ * Functions for creating and working with key activities.
5
+ */
6
+ /**
7
+ * Create a key activity
8
+ */
9
+ export function createKeyActivity(input) {
10
+ const { name, category, description, resources, metrics, uptime } = input;
11
+ return {
12
+ name,
13
+ category,
14
+ description,
15
+ resources,
16
+ metrics,
17
+ uptime,
18
+ };
19
+ }
20
+ //# sourceMappingURL=activities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"activities.js","sourceRoot":"","sources":["../../src/canvas/activities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAaH;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC7D,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IAEzE,OAAO;QACL,IAAI;QACJ,QAAQ;QACR,WAAW;QACX,SAAS;QACT,OAAO;QACP,MAAM;KACP,CAAA;AACH,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Channels
3
+ *
4
+ * Functions for creating and working with channels.
5
+ */
6
+ import type { Channel, ChannelType, ChannelPhase } from './types.js';
7
+ export interface CreateChannelInput {
8
+ name: string;
9
+ type: ChannelType;
10
+ phases?: ChannelPhase[];
11
+ costPerAcquisition?: number;
12
+ partnerType?: string;
13
+ revenueShare?: number;
14
+ conversionRate?: number;
15
+ }
16
+ /**
17
+ * Create a channel
18
+ */
19
+ export declare function createChannel(input: CreateChannelInput): Channel;
20
+ //# sourceMappingURL=channels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../src/canvas/channels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEpE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAYhE"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Channels
3
+ *
4
+ * Functions for creating and working with channels.
5
+ */
6
+ /**
7
+ * Create a channel
8
+ */
9
+ export function createChannel(input) {
10
+ const { name, type, phases, costPerAcquisition, partnerType, revenueShare, conversionRate } = input;
11
+ return {
12
+ name,
13
+ type,
14
+ phases,
15
+ costPerAcquisition,
16
+ partnerType,
17
+ revenueShare,
18
+ conversionRate,
19
+ };
20
+ }
21
+ //# sourceMappingURL=channels.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels.js","sourceRoot":"","sources":["../../src/canvas/channels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,kBAAkB,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,KAAK,CAAA;IAEnG,OAAO;QACL,IAAI;QACJ,IAAI;QACJ,MAAM;QACN,kBAAkB;QAClB,WAAW;QACX,YAAY;QACZ,cAAc;KACf,CAAA;AACH,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Customer Relationships
3
+ *
4
+ * Functions for creating and working with customer relationships.
5
+ */
6
+ import type { CustomerRelationship, RelationshipType } from './types.js';
7
+ export interface CreateCustomerRelationshipInput {
8
+ name: string;
9
+ type: RelationshipType;
10
+ segment?: string;
11
+ touchFrequency?: string;
12
+ automationLevel?: number;
13
+ supportChannels?: string[];
14
+ platforms?: string[];
15
+ }
16
+ /**
17
+ * Create a customer relationship
18
+ */
19
+ export declare function createCustomerRelationship(input: CreateCustomerRelationshipInput): CustomerRelationship;
20
+ //# sourceMappingURL=relationships.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relationships.d.ts","sourceRoot":"","sources":["../../src/canvas/relationships.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAExE,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,gBAAgB,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,+BAA+B,GAAG,oBAAoB,CAYvG"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Customer Relationships
3
+ *
4
+ * Functions for creating and working with customer relationships.
5
+ */
6
+ /**
7
+ * Create a customer relationship
8
+ */
9
+ export function createCustomerRelationship(input) {
10
+ const { name, type, segment, touchFrequency, automationLevel, supportChannels, platforms } = input;
11
+ return {
12
+ name,
13
+ type,
14
+ segment,
15
+ touchFrequency,
16
+ automationLevel,
17
+ supportChannels,
18
+ platforms,
19
+ };
20
+ }
21
+ //# sourceMappingURL=relationships.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relationships.js","sourceRoot":"","sources":["../../src/canvas/relationships.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAsC;IAC/E,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,KAAK,CAAA;IAElG,OAAO;QACL,IAAI;QACJ,IAAI;QACJ,OAAO;QACP,cAAc;QACd,eAAe;QACf,eAAe;QACf,SAAS;KACV,CAAA;AACH,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Key Resources
3
+ *
4
+ * Functions for creating and working with key resources.
5
+ */
6
+ import type { KeyResource, ResourceType } from './types.js';
7
+ export interface CreateKeyResourceInput {
8
+ name: string;
9
+ type: ResourceType;
10
+ cost?: number;
11
+ depreciation?: string;
12
+ protectionType?: string;
13
+ headcount?: number;
14
+ averageCost?: number;
15
+ }
16
+ /**
17
+ * Create a key resource
18
+ */
19
+ export declare function createKeyResource(input: CreateKeyResourceInput): KeyResource;
20
+ //# sourceMappingURL=resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../src/canvas/resources.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE3D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,YAAY,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,WAAW,CAqB5E"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Key Resources
3
+ *
4
+ * Functions for creating and working with key resources.
5
+ */
6
+ /**
7
+ * Create a key resource
8
+ */
9
+ export function createKeyResource(input) {
10
+ const { name, type, cost, depreciation, protectionType, headcount, averageCost } = input;
11
+ // Calculate total cost for human resources
12
+ let totalCost;
13
+ if (headcount !== undefined && averageCost !== undefined) {
14
+ totalCost = headcount * averageCost;
15
+ }
16
+ else if (cost !== undefined) {
17
+ totalCost = cost;
18
+ }
19
+ return {
20
+ name,
21
+ type,
22
+ cost,
23
+ depreciation,
24
+ protectionType,
25
+ headcount,
26
+ averageCost,
27
+ totalCost,
28
+ };
29
+ }
30
+ //# sourceMappingURL=resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../src/canvas/resources.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAC7D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,CAAA;IAExF,2CAA2C;IAC3C,IAAI,SAA6B,CAAA;IACjC,IAAI,SAAS,KAAK,SAAS,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QACzD,SAAS,GAAG,SAAS,GAAG,WAAW,CAAA;IACrC,CAAC;SAAM,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QAC9B,SAAS,GAAG,IAAI,CAAA;IAClB,CAAC;IAED,OAAO;QACL,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,YAAY;QACZ,cAAc;QACd,SAAS;QACT,WAAW;QACX,SAAS;KACV,CAAA;AACH,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Revenue Streams
3
+ *
4
+ * Functions for creating and working with revenue streams.
5
+ */
6
+ import type { RevenueStream, RevenueType, PricingModel, PricingTier } from './types.js';
7
+ export interface CreateRevenueStreamInput {
8
+ name: string;
9
+ type: RevenueType;
10
+ pricingModel: PricingModel;
11
+ price?: number;
12
+ billingCycle?: 'monthly' | 'quarterly' | 'annual';
13
+ pricePerUnit?: number;
14
+ unitName?: string;
15
+ tiers?: PricingTier[];
16
+ activeCustomers?: number;
17
+ }
18
+ /**
19
+ * Create a revenue stream
20
+ */
21
+ export declare function createRevenueStream(input: CreateRevenueStreamInput): RevenueStream;
22
+ //# sourceMappingURL=revenue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue.d.ts","sourceRoot":"","sources":["../../src/canvas/revenue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAEvF,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;IACjD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,WAAW,EAAE,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,aAAa,CAgClF"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Revenue Streams
3
+ *
4
+ * Functions for creating and working with revenue streams.
5
+ */
6
+ /**
7
+ * Create a revenue stream
8
+ */
9
+ export function createRevenueStream(input) {
10
+ const { name, type, pricingModel, price, billingCycle, pricePerUnit, unitName, tiers, activeCustomers, } = input;
11
+ // Calculate annual revenue if we have the required fields
12
+ let annualRevenue;
13
+ if (price !== undefined && activeCustomers !== undefined) {
14
+ const multiplier = billingCycle === 'annual' ? 1 : billingCycle === 'quarterly' ? 4 : 12;
15
+ annualRevenue = price * multiplier * activeCustomers;
16
+ }
17
+ return {
18
+ name,
19
+ type,
20
+ pricingModel,
21
+ price,
22
+ billingCycle,
23
+ pricePerUnit,
24
+ unitName,
25
+ tiers,
26
+ activeCustomers,
27
+ annualRevenue,
28
+ };
29
+ }
30
+ //# sourceMappingURL=revenue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue.js","sourceRoot":"","sources":["../../src/canvas/revenue.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IACjE,MAAM,EACJ,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,eAAe,GAChB,GAAG,KAAK,CAAA;IAET,0DAA0D;IAC1D,IAAI,aAAiC,CAAA;IACrC,IAAI,KAAK,KAAK,SAAS,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;QACzD,MAAM,UAAU,GAAG,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;QACxF,aAAa,GAAG,KAAK,GAAG,UAAU,GAAG,eAAe,CAAA;IACtD,CAAC;IAED,OAAO;QACL,IAAI;QACJ,IAAI;QACJ,YAAY;QACZ,KAAK;QACL,YAAY;QACZ,YAAY;QACZ,QAAQ;QACR,KAAK;QACL,eAAe;QACf,aAAa;KACd,CAAA;AACH,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Customer Segments
3
+ *
4
+ * Functions for creating and working with customer segments.
5
+ */
6
+ import type { CustomerSegment, CustomerSegmentType } from './types.js';
7
+ export interface CreateCustomerSegmentInput {
8
+ name: string;
9
+ description?: string;
10
+ type: CustomerSegmentType;
11
+ characteristics?: string[];
12
+ size?: number;
13
+ revenuePerCustomer?: number;
14
+ expectedPenetration?: number;
15
+ }
16
+ /**
17
+ * Create a customer segment
18
+ */
19
+ export declare function createCustomerSegment(input: CreateCustomerSegmentInput): CustomerSegment;
20
+ //# sourceMappingURL=segments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segments.d.ts","sourceRoot":"","sources":["../../src/canvas/segments.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAEtE,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,mBAAmB,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,GAAG,eAAe,CAoBxF"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Customer Segments
3
+ *
4
+ * Functions for creating and working with customer segments.
5
+ */
6
+ /**
7
+ * Create a customer segment
8
+ */
9
+ export function createCustomerSegment(input) {
10
+ const { name, description, type, characteristics, size, revenuePerCustomer, expectedPenetration } = input;
11
+ // Calculate potential if we have the required fields
12
+ let potential;
13
+ if (size !== undefined && revenuePerCustomer !== undefined) {
14
+ const penetration = expectedPenetration ?? 1;
15
+ potential = size * revenuePerCustomer * penetration;
16
+ }
17
+ return {
18
+ name,
19
+ description,
20
+ type,
21
+ characteristics,
22
+ size,
23
+ revenuePerCustomer,
24
+ expectedPenetration,
25
+ potential,
26
+ };
27
+ }
28
+ //# sourceMappingURL=segments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segments.js","sourceRoot":"","sources":["../../src/canvas/segments.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAiC;IACrE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAA;IAEzG,qDAAqD;IACrD,IAAI,SAA6B,CAAA;IACjC,IAAI,IAAI,KAAK,SAAS,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;QAC3D,MAAM,WAAW,GAAG,mBAAmB,IAAI,CAAC,CAAA;QAC5C,SAAS,GAAG,IAAI,GAAG,kBAAkB,GAAG,WAAW,CAAA;IACrD,CAAC;IAED,OAAO;QACL,IAAI;QACJ,WAAW;QACX,IAAI;QACJ,eAAe;QACf,IAAI;QACJ,kBAAkB;QAClB,mBAAmB;QACnB,SAAS;KACV,CAAA;AACH,CAAC"}
@@ -0,0 +1,232 @@
1
+ /**
2
+ * Business Model Canvas Types
3
+ *
4
+ * TypeScript types for the 9 building blocks of the Business Model Canvas
5
+ * plus unit economics and financial projections.
6
+ */
7
+ export type CustomerSegmentType = 'mass-market' | 'niche' | 'segmented' | 'diversified' | 'multi-sided';
8
+ export interface CustomerSegment {
9
+ name: string;
10
+ description?: string;
11
+ type: CustomerSegmentType;
12
+ characteristics?: string[];
13
+ size?: number;
14
+ revenuePerCustomer?: number;
15
+ expectedPenetration?: number;
16
+ potential?: number;
17
+ }
18
+ export type ValueType = 'newness' | 'performance' | 'customization' | 'getting-job-done' | 'design' | 'brand-status' | 'price' | 'cost-reduction' | 'risk-reduction' | 'accessibility' | 'convenience';
19
+ export interface ValueProposition {
20
+ name: string;
21
+ description?: string;
22
+ valueType?: ValueType;
23
+ benefits: string[];
24
+ targetSegments?: string[];
25
+ quantifiedValue?: string;
26
+ segmentFit?: Record<string, number>;
27
+ }
28
+ export type ChannelType = 'direct' | 'indirect' | 'partner' | 'digital';
29
+ export type ChannelPhase = 'awareness' | 'evaluation' | 'purchase' | 'delivery' | 'support';
30
+ export interface Channel {
31
+ name: string;
32
+ type: ChannelType;
33
+ phases?: ChannelPhase[];
34
+ costPerAcquisition?: number;
35
+ partnerType?: string;
36
+ revenueShare?: number;
37
+ conversionRate?: number;
38
+ }
39
+ export type RelationshipType = 'personal-assistance' | 'dedicated-assistance' | 'self-service' | 'automated' | 'community' | 'co-creation';
40
+ export interface CustomerRelationship {
41
+ name: string;
42
+ type: RelationshipType;
43
+ segment?: string;
44
+ touchFrequency?: string;
45
+ automationLevel?: number;
46
+ supportChannels?: string[];
47
+ platforms?: string[];
48
+ }
49
+ export type RevenueType = 'recurring' | 'one-time' | 'transaction';
50
+ export type PricingModel = 'subscription' | 'usage-based' | 'tiered' | 'freemium' | 'fixed' | 'dynamic' | 'auction' | 'licensing';
51
+ export interface PricingTier {
52
+ name: string;
53
+ price: number;
54
+ features?: string[];
55
+ }
56
+ export interface RevenueStream {
57
+ name: string;
58
+ type: RevenueType;
59
+ pricingModel: PricingModel;
60
+ price?: number;
61
+ billingCycle?: 'monthly' | 'quarterly' | 'annual';
62
+ pricePerUnit?: number;
63
+ unitName?: string;
64
+ tiers?: PricingTier[];
65
+ activeCustomers?: number;
66
+ annualRevenue?: number;
67
+ }
68
+ export type ResourceType = 'physical' | 'intellectual' | 'human' | 'financial';
69
+ export interface KeyResource {
70
+ name: string;
71
+ type: ResourceType;
72
+ cost?: number;
73
+ depreciation?: string;
74
+ protectionType?: string;
75
+ headcount?: number;
76
+ averageCost?: number;
77
+ totalCost?: number;
78
+ }
79
+ export type ActivityCategory = 'production' | 'problem-solving' | 'platform';
80
+ export interface KeyActivity {
81
+ name: string;
82
+ category: ActivityCategory;
83
+ description?: string;
84
+ resources?: string[];
85
+ metrics?: string[];
86
+ uptime?: number;
87
+ }
88
+ export type PartnershipType = 'strategic-alliance' | 'coopetition' | 'joint-venture' | 'buyer-supplier';
89
+ export interface KeyPartnership {
90
+ name: string;
91
+ type: PartnershipType;
92
+ purpose?: string;
93
+ benefits?: string[];
94
+ contractValue?: number;
95
+ contractTerm?: number;
96
+ sharedActivities?: string[];
97
+ }
98
+ export type CostCategory = 'fixed' | 'variable' | 'semi-variable';
99
+ export interface CostItem {
100
+ name: string;
101
+ category: CostCategory;
102
+ amount?: number;
103
+ period?: 'monthly' | 'quarterly' | 'annual';
104
+ unitCost?: number;
105
+ unitName?: string;
106
+ volumeEstimate?: number;
107
+ estimatedTotal?: number;
108
+ }
109
+ export interface BusinessModelCanvas {
110
+ name: string;
111
+ customerSegments: CustomerSegment[];
112
+ valuePropositions: ValueProposition[];
113
+ channels: Channel[];
114
+ customerRelationships: CustomerRelationship[];
115
+ revenueStreams: RevenueStream[];
116
+ keyResources: KeyResource[];
117
+ keyActivities: KeyActivity[];
118
+ keyPartnerships: KeyPartnership[];
119
+ costStructure: CostItem[];
120
+ metadata?: Record<string, unknown>;
121
+ }
122
+ export interface CanvasValidation {
123
+ isComplete: boolean;
124
+ missingBlocks: string[];
125
+ warnings: string[];
126
+ }
127
+ export interface CanvasSummary {
128
+ totalAddressableMarket: number;
129
+ projectedAnnualRevenue: number;
130
+ totalAnnualCosts: number;
131
+ projectedProfit: number;
132
+ }
133
+ export interface UnitEconomics {
134
+ ltv: number;
135
+ cac: number;
136
+ ltvCacRatio: number;
137
+ paybackMonths: number;
138
+ }
139
+ export interface LTVInput {
140
+ averageRevenuePerUser: number;
141
+ grossMargin: number;
142
+ churnRate: number;
143
+ }
144
+ export interface CACInput {
145
+ marketingSpend: number;
146
+ salesSpend: number;
147
+ newCustomers: number;
148
+ }
149
+ export interface UnitEconomicsInput extends LTVInput, CACInput {
150
+ }
151
+ export interface Margins {
152
+ grossMargin: number;
153
+ grossProfit: number;
154
+ operatingMargin: number;
155
+ operatingIncome: number;
156
+ netMargin: number;
157
+ netIncome: number;
158
+ }
159
+ export interface MarginsInput {
160
+ revenue: number;
161
+ cogs: number;
162
+ operatingExpenses: number;
163
+ taxes?: number;
164
+ }
165
+ export interface MonthlyRevenue {
166
+ month: number;
167
+ mrr: number;
168
+ arr: number;
169
+ }
170
+ export interface RevenueProjection {
171
+ months: MonthlyRevenue[];
172
+ endingMRR: number;
173
+ endingARR: number;
174
+ }
175
+ export interface MonthlyCost {
176
+ month: number;
177
+ fixedCosts: number;
178
+ variableCosts: number;
179
+ totalCost: number;
180
+ }
181
+ export interface CostProjection {
182
+ months: MonthlyCost[];
183
+ totalCosts: number;
184
+ }
185
+ export interface MonthlyProfitability {
186
+ month: number;
187
+ revenue: number;
188
+ costs: number;
189
+ profit: number;
190
+ cumulativeProfit: number;
191
+ }
192
+ export interface ProfitabilityProjection {
193
+ months: MonthlyProfitability[];
194
+ breakEvenMonth: number | undefined;
195
+ totalProfit: number;
196
+ }
197
+ export interface RevenueProjectionInput {
198
+ startingMRR: number;
199
+ monthlyGrowthRate: number;
200
+ months: number;
201
+ }
202
+ export interface CostProjectionInput {
203
+ fixedCosts: number;
204
+ variableCostPerUser: number;
205
+ startingUsers: number;
206
+ monthlyUserGrowth: number;
207
+ months: number;
208
+ }
209
+ export interface ProfitabilityProjectionInput {
210
+ startingMRR: number;
211
+ monthlyGrowthRate: number;
212
+ fixedCosts: number;
213
+ grossMargin: number;
214
+ months: number;
215
+ }
216
+ export interface CanvasStrengthAnalysis {
217
+ overallScore: number;
218
+ strengths: string[];
219
+ weaknesses: string[];
220
+ blockScores: Record<string, number>;
221
+ }
222
+ export interface CanvasGaps {
223
+ criticalGaps: string[];
224
+ warnings: string[];
225
+ recommendations: string[];
226
+ }
227
+ export interface FinancialProjection {
228
+ revenue: RevenueProjection;
229
+ costs: CostProjection;
230
+ profitability: ProfitabilityProjection;
231
+ }
232
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/canvas/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,MAAM,mBAAmB,GAC3B,aAAa,GACb,OAAO,GACP,WAAW,GACX,aAAa,GACb,aAAa,CAAA;AAEjB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,mBAAmB,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAMD,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,aAAa,GACb,eAAe,GACf,kBAAkB,GAClB,QAAQ,GACR,cAAc,GACd,OAAO,GACP,gBAAgB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3C,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACf;AAMD,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACpC;AAED,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,eAAe,EAAE,MAAM,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,iBAAiB,CAAA;IAC1B,KAAK,EAAE,cAAc,CAAA;IACrB,aAAa,EAAE,uBAAuB,CAAA;CACvC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Business Model Canvas Types
3
+ *
4
+ * TypeScript types for the 9 building blocks of the Business Model Canvas
5
+ * plus unit economics and financial projections.
6
+ */
7
+ export {};
8
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/canvas/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}