services-as-software 2.0.1 → 2.1.1

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.
@@ -0,0 +1,88 @@
1
+ /**
2
+ * Services-as-Software Entity Types (Nouns)
3
+ *
4
+ * Comprehensive entity definitions for AI-delivered productized services.
5
+ * Each entity follows the Noun pattern with Properties, Actions, and Events.
6
+ *
7
+ * Categories:
8
+ * - services: Core service entities (ProductizedService, ServiceOffering, ServicePlan, ServiceInstance, ServiceExecution)
9
+ * - delivery: AI delivery mechanics (AgentDelivery, AutonomyLevel, EscalationRule, ConfidenceThreshold, HumanHandoff, QualityGate)
10
+ * - billing: Billing & commerce (ServiceQuote, ServiceOrder, ServiceSubscription, Usage, Invoice, Payment)
11
+ * - operations: Service operations (SLA, SLO, ServiceIncident, SupportTicket, ServiceFeedback, ServiceMetric)
12
+ * - customers: Customer entities (ServiceCustomer, ServiceEntitlement, CustomerUsage, CustomerSegment)
13
+ * - orchestration: Service orchestration (ServiceWorkflow, WorkflowStep, ServiceTask, ServiceQueue, ServiceWorker)
14
+ *
15
+ * @packageDocumentation
16
+ */
17
+ // =============================================================================
18
+ // Services (Core service entities)
19
+ // =============================================================================
20
+ export { ProductizedService, ServiceOffering, ServicePlan, ServiceInstance, ServiceExecution, ServiceEntities, ServiceCategories, } from './services.js';
21
+ // =============================================================================
22
+ // Delivery (AI delivery mechanics)
23
+ // =============================================================================
24
+ export { AgentDelivery, AutonomyLevel, EscalationRule, ConfidenceThreshold, HumanHandoff, QualityGate, DeliveryEntities, DeliveryCategories, } from './delivery.js';
25
+ // =============================================================================
26
+ // Billing (Billing & commerce)
27
+ // =============================================================================
28
+ export { ServiceQuote, ServiceOrder, ServiceSubscription, Usage, Invoice, Payment, BillingEntities, BillingCategories, } from './billing.js';
29
+ // =============================================================================
30
+ // Operations (Service operations)
31
+ // =============================================================================
32
+ export { SLA, SLO, ServiceIncident, SupportTicket, ServiceFeedback, ServiceMetric, OperationsEntities, OperationsCategories, } from './operations.js';
33
+ // =============================================================================
34
+ // Customers (Customer entities)
35
+ // =============================================================================
36
+ export { ServiceCustomer, ServiceEntitlement, CustomerUsage, CustomerSegment, CustomerEntities, CustomerCategories, } from './customers.js';
37
+ // =============================================================================
38
+ // Orchestration (Service orchestration)
39
+ // =============================================================================
40
+ export { ServiceWorkflow, WorkflowStep, ServiceTask, ServiceQueue, ServiceWorker, OrchestrationEntities, OrchestrationCategories, } from './orchestration.js';
41
+ // =============================================================================
42
+ // All Entities Collection
43
+ // =============================================================================
44
+ import { ServiceEntities } from './services.js';
45
+ import { DeliveryEntities } from './delivery.js';
46
+ import { BillingEntities } from './billing.js';
47
+ import { OperationsEntities } from './operations.js';
48
+ import { CustomerEntities } from './customers.js';
49
+ import { OrchestrationEntities } from './orchestration.js';
50
+ /**
51
+ * All services-as-software entities organized by category
52
+ */
53
+ export const AllServiceEntities = {
54
+ services: ServiceEntities,
55
+ delivery: DeliveryEntities,
56
+ billing: BillingEntities,
57
+ operations: OperationsEntities,
58
+ customers: CustomerEntities,
59
+ orchestration: OrchestrationEntities,
60
+ };
61
+ /**
62
+ * All entity category names
63
+ */
64
+ export const ServiceEntityCategories = [
65
+ 'services',
66
+ 'delivery',
67
+ 'billing',
68
+ 'operations',
69
+ 'customers',
70
+ 'orchestration',
71
+ ];
72
+ /**
73
+ * Flat list of all entities for quick access
74
+ */
75
+ export const Entities = {
76
+ // Services
77
+ ...ServiceEntities,
78
+ // Delivery
79
+ ...DeliveryEntities,
80
+ // Billing
81
+ ...BillingEntities,
82
+ // Operations
83
+ ...OperationsEntities,
84
+ // Customers
85
+ ...CustomerEntities,
86
+ // Orchestration
87
+ ...OrchestrationEntities,
88
+ };