Add A1 Policy Instance logic from backend
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / interfaces / policy.types.ts
index b6ecce6..9688a23 100644 (file)
 
 // Models of data used by the Policy Control
 
-export interface PolicyType {
+export interface PolicyTypeSchema {
+  id: string;
   name: string;
-  schema: string;
   schemaObject: any;
 }
 
+export interface PolicyType {
+  policy_schema: any;
+}
+
+export interface PolicyTypes {
+  policytype_ids: any[];
+}
+
+export interface PolicyInstances {
+  policy_ids: any[];
+}
+
 export interface PolicyInstance {
-  id: string;
-  json: string;
-  ric: string;
-  service: string;
+  policy_id: string;
+  policy_data: string;
+  ric_id: string;
+  service_id: string;
   lastModified: string;
 }
+export interface PolicyStatus {
+  last_modified: string;
+}
 
 export interface PolicyInstanceAck {
   status: string;