elimity-insights-sdk 1.1.1__py3-none-any.whl

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 (44) hide show
  1. elimity/__init__.py +0 -0
  2. elimity/__init__.pyi +1 -0
  3. elimity/insights/__init__.py +0 -0
  4. elimity/insights/__init__.pyi +3 -0
  5. elimity/insights/common/__init__.py +0 -0
  6. elimity/insights/common/__init__.pyi +1 -0
  7. elimity/insights/common/v1alpha1/__init__.py +0 -0
  8. elimity/insights/common/v1alpha1/__init__.pyi +1 -0
  9. elimity/insights/common/v1alpha1/common.pb.go +494 -0
  10. elimity/insights/common/v1alpha1/common_pb.ts +138 -0
  11. elimity/insights/common/v1alpha1/common_pb2.py +50 -0
  12. elimity/insights/common/v1alpha1/common_pb2.pyi +63 -0
  13. elimity/insights/customgateway/__init__.py +0 -0
  14. elimity/insights/customgateway/__init__.pyi +1 -0
  15. elimity/insights/customgateway/v1alpha1/__init__.py +0 -0
  16. elimity/insights/customgateway/v1alpha1/__init__.pyi +2 -0
  17. elimity/insights/customgateway/v1alpha1/customgateway.pb.go +504 -0
  18. elimity/insights/customgateway/v1alpha1/customgateway_connect.py +119 -0
  19. elimity/insights/customgateway/v1alpha1/customgateway_pb.ts +136 -0
  20. elimity/insights/customgateway/v1alpha1/customgateway_pb2.py +52 -0
  21. elimity/insights/customgateway/v1alpha1/customgateway_pb2.pyi +48 -0
  22. elimity/insights/customgateway/v1alpha1/v1alpha1connect/__init__.py +0 -0
  23. elimity/insights/customgateway/v1alpha1/v1alpha1connect/__init__.pyi +0 -0
  24. elimity/insights/customgateway/v1alpha1/v1alpha1connect/customgateway.connect.go +113 -0
  25. elimity/insights/export/__init__.py +0 -0
  26. elimity/insights/export/__init__.pyi +1 -0
  27. elimity/insights/export/v1alpha1/__init__.py +0 -0
  28. elimity/insights/export/v1alpha1/__init__.pyi +2 -0
  29. elimity/insights/export/v1alpha1/export.pb.go +635 -0
  30. elimity/insights/export/v1alpha1/export_connect.py +119 -0
  31. elimity/insights/export/v1alpha1/export_pb.ts +182 -0
  32. elimity/insights/export/v1alpha1/export_pb2.py +50 -0
  33. elimity/insights/export/v1alpha1/export_pb2.pyi +57 -0
  34. elimity/insights/export/v1alpha1/v1alpha1connect/__init__.py +0 -0
  35. elimity/insights/export/v1alpha1/v1alpha1connect/__init__.pyi +0 -0
  36. elimity/insights/export/v1alpha1/v1alpha1connect/export.connect.go +112 -0
  37. elimity/py.typed +0 -0
  38. elimity_insights_sdk/__init__.py +31 -0
  39. elimity_insights_sdk/_sdk.py +190 -0
  40. elimity_insights_sdk/py.typed +0 -0
  41. elimity_insights_sdk-1.1.1.dist-info/METADATA +13 -0
  42. elimity_insights_sdk-1.1.1.dist-info/RECORD +44 -0
  43. elimity_insights_sdk-1.1.1.dist-info/WHEEL +4 -0
  44. elimity_insights_sdk-1.1.1.dist-info/licenses/LICENSE.txt +201 -0
elimity/__init__.py ADDED
File without changes
elimity/__init__.pyi ADDED
@@ -0,0 +1 @@
1
+ from . import insights
File without changes
@@ -0,0 +1,3 @@
1
+ from . import common
2
+ from . import customgateway
3
+ from . import export
File without changes
@@ -0,0 +1 @@
1
+ from . import v1alpha1
File without changes
@@ -0,0 +1 @@
1
+ from . import common_pb2
@@ -0,0 +1,494 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.34.1
4
+ // protoc (unknown)
5
+ // source: elimity/insights/common/v1alpha1/common.proto
6
+
7
+ package v1alpha1
8
+
9
+ import (
10
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
+ timestamppb "google.golang.org/protobuf/types/known/timestamppb"
13
+ reflect "reflect"
14
+ sync "sync"
15
+ )
16
+
17
+ const (
18
+ // Verify that this generated code is sufficiently up-to-date.
19
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
21
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
+ )
23
+
24
+ type Entity struct {
25
+ state protoimpl.MessageState
26
+ sizeCache protoimpl.SizeCache
27
+ unknownFields protoimpl.UnknownFields
28
+
29
+ AttributeAssignments map[string]*Value `protobuf:"bytes,1,rep,name=attribute_assignments,json=attributeAssignments,proto3" json:"attribute_assignments,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
30
+ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
31
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
32
+ Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
33
+ }
34
+
35
+ func (x *Entity) Reset() {
36
+ *x = Entity{}
37
+ if protoimpl.UnsafeEnabled {
38
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[0]
39
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
+ ms.StoreMessageInfo(mi)
41
+ }
42
+ }
43
+
44
+ func (x *Entity) String() string {
45
+ return protoimpl.X.MessageStringOf(x)
46
+ }
47
+
48
+ func (*Entity) ProtoMessage() {}
49
+
50
+ func (x *Entity) ProtoReflect() protoreflect.Message {
51
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[0]
52
+ if protoimpl.UnsafeEnabled && x != nil {
53
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
+ if ms.LoadMessageInfo() == nil {
55
+ ms.StoreMessageInfo(mi)
56
+ }
57
+ return ms
58
+ }
59
+ return mi.MessageOf(x)
60
+ }
61
+
62
+ // Deprecated: Use Entity.ProtoReflect.Descriptor instead.
63
+ func (*Entity) Descriptor() ([]byte, []int) {
64
+ return file_elimity_insights_common_v1alpha1_common_proto_rawDescGZIP(), []int{0}
65
+ }
66
+
67
+ func (x *Entity) GetAttributeAssignments() map[string]*Value {
68
+ if x != nil {
69
+ return x.AttributeAssignments
70
+ }
71
+ return nil
72
+ }
73
+
74
+ func (x *Entity) GetId() string {
75
+ if x != nil {
76
+ return x.Id
77
+ }
78
+ return ""
79
+ }
80
+
81
+ func (x *Entity) GetName() string {
82
+ if x != nil {
83
+ return x.Name
84
+ }
85
+ return ""
86
+ }
87
+
88
+ func (x *Entity) GetType() string {
89
+ if x != nil {
90
+ return x.Type
91
+ }
92
+ return ""
93
+ }
94
+
95
+ type Relationship struct {
96
+ state protoimpl.MessageState
97
+ sizeCache protoimpl.SizeCache
98
+ unknownFields protoimpl.UnknownFields
99
+
100
+ AttributeAssignments map[string]*Value `protobuf:"bytes,1,rep,name=attribute_assignments,json=attributeAssignments,proto3" json:"attribute_assignments,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
101
+ FromEntityId string `protobuf:"bytes,2,opt,name=from_entity_id,json=fromEntityId,proto3" json:"from_entity_id,omitempty"`
102
+ FromEntityType string `protobuf:"bytes,3,opt,name=from_entity_type,json=fromEntityType,proto3" json:"from_entity_type,omitempty"`
103
+ ToEntityId string `protobuf:"bytes,4,opt,name=to_entity_id,json=toEntityId,proto3" json:"to_entity_id,omitempty"`
104
+ ToEntityType string `protobuf:"bytes,5,opt,name=to_entity_type,json=toEntityType,proto3" json:"to_entity_type,omitempty"`
105
+ }
106
+
107
+ func (x *Relationship) Reset() {
108
+ *x = Relationship{}
109
+ if protoimpl.UnsafeEnabled {
110
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[1]
111
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112
+ ms.StoreMessageInfo(mi)
113
+ }
114
+ }
115
+
116
+ func (x *Relationship) String() string {
117
+ return protoimpl.X.MessageStringOf(x)
118
+ }
119
+
120
+ func (*Relationship) ProtoMessage() {}
121
+
122
+ func (x *Relationship) ProtoReflect() protoreflect.Message {
123
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[1]
124
+ if protoimpl.UnsafeEnabled && x != nil {
125
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126
+ if ms.LoadMessageInfo() == nil {
127
+ ms.StoreMessageInfo(mi)
128
+ }
129
+ return ms
130
+ }
131
+ return mi.MessageOf(x)
132
+ }
133
+
134
+ // Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
135
+ func (*Relationship) Descriptor() ([]byte, []int) {
136
+ return file_elimity_insights_common_v1alpha1_common_proto_rawDescGZIP(), []int{1}
137
+ }
138
+
139
+ func (x *Relationship) GetAttributeAssignments() map[string]*Value {
140
+ if x != nil {
141
+ return x.AttributeAssignments
142
+ }
143
+ return nil
144
+ }
145
+
146
+ func (x *Relationship) GetFromEntityId() string {
147
+ if x != nil {
148
+ return x.FromEntityId
149
+ }
150
+ return ""
151
+ }
152
+
153
+ func (x *Relationship) GetFromEntityType() string {
154
+ if x != nil {
155
+ return x.FromEntityType
156
+ }
157
+ return ""
158
+ }
159
+
160
+ func (x *Relationship) GetToEntityId() string {
161
+ if x != nil {
162
+ return x.ToEntityId
163
+ }
164
+ return ""
165
+ }
166
+
167
+ func (x *Relationship) GetToEntityType() string {
168
+ if x != nil {
169
+ return x.ToEntityType
170
+ }
171
+ return ""
172
+ }
173
+
174
+ type Value struct {
175
+ state protoimpl.MessageState
176
+ sizeCache protoimpl.SizeCache
177
+ unknownFields protoimpl.UnknownFields
178
+
179
+ // Types that are assignable to Value:
180
+ //
181
+ // *Value_Boolean
182
+ // *Value_Date
183
+ // *Value_DateTime
184
+ // *Value_Number
185
+ // *Value_String_
186
+ // *Value_Time
187
+ Value isValue_Value `protobuf_oneof:"value"`
188
+ }
189
+
190
+ func (x *Value) Reset() {
191
+ *x = Value{}
192
+ if protoimpl.UnsafeEnabled {
193
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[2]
194
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195
+ ms.StoreMessageInfo(mi)
196
+ }
197
+ }
198
+
199
+ func (x *Value) String() string {
200
+ return protoimpl.X.MessageStringOf(x)
201
+ }
202
+
203
+ func (*Value) ProtoMessage() {}
204
+
205
+ func (x *Value) ProtoReflect() protoreflect.Message {
206
+ mi := &file_elimity_insights_common_v1alpha1_common_proto_msgTypes[2]
207
+ if protoimpl.UnsafeEnabled && x != nil {
208
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209
+ if ms.LoadMessageInfo() == nil {
210
+ ms.StoreMessageInfo(mi)
211
+ }
212
+ return ms
213
+ }
214
+ return mi.MessageOf(x)
215
+ }
216
+
217
+ // Deprecated: Use Value.ProtoReflect.Descriptor instead.
218
+ func (*Value) Descriptor() ([]byte, []int) {
219
+ return file_elimity_insights_common_v1alpha1_common_proto_rawDescGZIP(), []int{2}
220
+ }
221
+
222
+ func (m *Value) GetValue() isValue_Value {
223
+ if m != nil {
224
+ return m.Value
225
+ }
226
+ return nil
227
+ }
228
+
229
+ func (x *Value) GetBoolean() bool {
230
+ if x, ok := x.GetValue().(*Value_Boolean); ok {
231
+ return x.Boolean
232
+ }
233
+ return false
234
+ }
235
+
236
+ func (x *Value) GetDate() *timestamppb.Timestamp {
237
+ if x, ok := x.GetValue().(*Value_Date); ok {
238
+ return x.Date
239
+ }
240
+ return nil
241
+ }
242
+
243
+ func (x *Value) GetDateTime() *timestamppb.Timestamp {
244
+ if x, ok := x.GetValue().(*Value_DateTime); ok {
245
+ return x.DateTime
246
+ }
247
+ return nil
248
+ }
249
+
250
+ func (x *Value) GetNumber() float64 {
251
+ if x, ok := x.GetValue().(*Value_Number); ok {
252
+ return x.Number
253
+ }
254
+ return 0
255
+ }
256
+
257
+ func (x *Value) GetString_() string {
258
+ if x, ok := x.GetValue().(*Value_String_); ok {
259
+ return x.String_
260
+ }
261
+ return ""
262
+ }
263
+
264
+ func (x *Value) GetTime() *timestamppb.Timestamp {
265
+ if x, ok := x.GetValue().(*Value_Time); ok {
266
+ return x.Time
267
+ }
268
+ return nil
269
+ }
270
+
271
+ type isValue_Value interface {
272
+ isValue_Value()
273
+ }
274
+
275
+ type Value_Boolean struct {
276
+ Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3,oneof"`
277
+ }
278
+
279
+ type Value_Date struct {
280
+ Date *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=date,proto3,oneof"`
281
+ }
282
+
283
+ type Value_DateTime struct {
284
+ DateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date_time,json=dateTime,proto3,oneof"`
285
+ }
286
+
287
+ type Value_Number struct {
288
+ Number float64 `protobuf:"fixed64,4,opt,name=number,proto3,oneof"`
289
+ }
290
+
291
+ type Value_String_ struct {
292
+ String_ string `protobuf:"bytes,5,opt,name=string,proto3,oneof"`
293
+ }
294
+
295
+ type Value_Time struct {
296
+ Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3,oneof"`
297
+ }
298
+
299
+ func (*Value_Boolean) isValue_Value() {}
300
+
301
+ func (*Value_Date) isValue_Value() {}
302
+
303
+ func (*Value_DateTime) isValue_Value() {}
304
+
305
+ func (*Value_Number) isValue_Value() {}
306
+
307
+ func (*Value_String_) isValue_Value() {}
308
+
309
+ func (*Value_Time) isValue_Value() {}
310
+
311
+ var File_elimity_insights_common_v1alpha1_common_proto protoreflect.FileDescriptor
312
+
313
+ var file_elimity_insights_common_v1alpha1_common_proto_rawDesc = []byte{
314
+ 0x0a, 0x2d, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68,
315
+ 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
316
+ 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
317
+ 0x20, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2e, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74,
318
+ 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
319
+ 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
320
+ 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
321
+ 0x74, 0x6f, 0x22, 0xab, 0x02, 0x0a, 0x06, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x77, 0x0a,
322
+ 0x15, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67,
323
+ 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x65,
324
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2e, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e,
325
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
326
+ 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
327
+ 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
328
+ 0x52, 0x14, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67,
329
+ 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
330
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
331
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
332
+ 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x70,
333
+ 0x0a, 0x19, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67,
334
+ 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
335
+ 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a,
336
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65,
337
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2e, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e,
338
+ 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
339
+ 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
340
+ 0x22, 0x97, 0x03, 0x0a, 0x0c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69,
341
+ 0x70, 0x12, 0x7d, 0x0a, 0x15, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x61,
342
+ 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
343
+ 0x32, 0x48, 0x2e, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2e, 0x69, 0x6e, 0x73, 0x69, 0x67,
344
+ 0x68, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
345
+ 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70,
346
+ 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
347
+ 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x61, 0x74, 0x74, 0x72,
348
+ 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73,
349
+ 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f,
350
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x45, 0x6e,
351
+ 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x65,
352
+ 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
353
+ 0x52, 0x0e, 0x66, 0x72, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65,
354
+ 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64,
355
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
356
+ 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f,
357
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x45, 0x6e,
358
+ 0x74, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x70, 0x0a, 0x19, 0x41, 0x74, 0x74, 0x72,
359
+ 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73,
360
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
361
+ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
362
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79,
363
+ 0x2e, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
364
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
365
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff, 0x01, 0x0a, 0x05, 0x56,
366
+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x18,
367
+ 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e,
368
+ 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
369
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
370
+ 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61,
371
+ 0x74, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
372
+ 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
373
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
374
+ 0x70, 0x48, 0x00, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
375
+ 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52,
376
+ 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e,
377
+ 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e,
378
+ 0x67, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
379
+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
380
+ 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x04, 0x74,
381
+ 0x69, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x4a, 0x5a, 0x48,
382
+ 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6c, 0x69, 0x6d, 0x69,
383
+ 0x74, 0x79, 0x2d, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2d,
384
+ 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x79, 0x2f,
385
+ 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
386
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
387
+ }
388
+
389
+ var (
390
+ file_elimity_insights_common_v1alpha1_common_proto_rawDescOnce sync.Once
391
+ file_elimity_insights_common_v1alpha1_common_proto_rawDescData = file_elimity_insights_common_v1alpha1_common_proto_rawDesc
392
+ )
393
+
394
+ func file_elimity_insights_common_v1alpha1_common_proto_rawDescGZIP() []byte {
395
+ file_elimity_insights_common_v1alpha1_common_proto_rawDescOnce.Do(func() {
396
+ file_elimity_insights_common_v1alpha1_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_elimity_insights_common_v1alpha1_common_proto_rawDescData)
397
+ })
398
+ return file_elimity_insights_common_v1alpha1_common_proto_rawDescData
399
+ }
400
+
401
+ var file_elimity_insights_common_v1alpha1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
402
+ var file_elimity_insights_common_v1alpha1_common_proto_goTypes = []interface{}{
403
+ (*Entity)(nil), // 0: elimity.insights.common.v1alpha1.Entity
404
+ (*Relationship)(nil), // 1: elimity.insights.common.v1alpha1.Relationship
405
+ (*Value)(nil), // 2: elimity.insights.common.v1alpha1.Value
406
+ nil, // 3: elimity.insights.common.v1alpha1.Entity.AttributeAssignmentsEntry
407
+ nil, // 4: elimity.insights.common.v1alpha1.Relationship.AttributeAssignmentsEntry
408
+ (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
409
+ }
410
+ var file_elimity_insights_common_v1alpha1_common_proto_depIdxs = []int32{
411
+ 3, // 0: elimity.insights.common.v1alpha1.Entity.attribute_assignments:type_name -> elimity.insights.common.v1alpha1.Entity.AttributeAssignmentsEntry
412
+ 4, // 1: elimity.insights.common.v1alpha1.Relationship.attribute_assignments:type_name -> elimity.insights.common.v1alpha1.Relationship.AttributeAssignmentsEntry
413
+ 5, // 2: elimity.insights.common.v1alpha1.Value.date:type_name -> google.protobuf.Timestamp
414
+ 5, // 3: elimity.insights.common.v1alpha1.Value.date_time:type_name -> google.protobuf.Timestamp
415
+ 5, // 4: elimity.insights.common.v1alpha1.Value.time:type_name -> google.protobuf.Timestamp
416
+ 2, // 5: elimity.insights.common.v1alpha1.Entity.AttributeAssignmentsEntry.value:type_name -> elimity.insights.common.v1alpha1.Value
417
+ 2, // 6: elimity.insights.common.v1alpha1.Relationship.AttributeAssignmentsEntry.value:type_name -> elimity.insights.common.v1alpha1.Value
418
+ 7, // [7:7] is the sub-list for method output_type
419
+ 7, // [7:7] is the sub-list for method input_type
420
+ 7, // [7:7] is the sub-list for extension type_name
421
+ 7, // [7:7] is the sub-list for extension extendee
422
+ 0, // [0:7] is the sub-list for field type_name
423
+ }
424
+
425
+ func init() { file_elimity_insights_common_v1alpha1_common_proto_init() }
426
+ func file_elimity_insights_common_v1alpha1_common_proto_init() {
427
+ if File_elimity_insights_common_v1alpha1_common_proto != nil {
428
+ return
429
+ }
430
+ if !protoimpl.UnsafeEnabled {
431
+ file_elimity_insights_common_v1alpha1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
432
+ switch v := v.(*Entity); i {
433
+ case 0:
434
+ return &v.state
435
+ case 1:
436
+ return &v.sizeCache
437
+ case 2:
438
+ return &v.unknownFields
439
+ default:
440
+ return nil
441
+ }
442
+ }
443
+ file_elimity_insights_common_v1alpha1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
444
+ switch v := v.(*Relationship); i {
445
+ case 0:
446
+ return &v.state
447
+ case 1:
448
+ return &v.sizeCache
449
+ case 2:
450
+ return &v.unknownFields
451
+ default:
452
+ return nil
453
+ }
454
+ }
455
+ file_elimity_insights_common_v1alpha1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
456
+ switch v := v.(*Value); i {
457
+ case 0:
458
+ return &v.state
459
+ case 1:
460
+ return &v.sizeCache
461
+ case 2:
462
+ return &v.unknownFields
463
+ default:
464
+ return nil
465
+ }
466
+ }
467
+ }
468
+ file_elimity_insights_common_v1alpha1_common_proto_msgTypes[2].OneofWrappers = []interface{}{
469
+ (*Value_Boolean)(nil),
470
+ (*Value_Date)(nil),
471
+ (*Value_DateTime)(nil),
472
+ (*Value_Number)(nil),
473
+ (*Value_String_)(nil),
474
+ (*Value_Time)(nil),
475
+ }
476
+ type x struct{}
477
+ out := protoimpl.TypeBuilder{
478
+ File: protoimpl.DescBuilder{
479
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
480
+ RawDescriptor: file_elimity_insights_common_v1alpha1_common_proto_rawDesc,
481
+ NumEnums: 0,
482
+ NumMessages: 5,
483
+ NumExtensions: 0,
484
+ NumServices: 0,
485
+ },
486
+ GoTypes: file_elimity_insights_common_v1alpha1_common_proto_goTypes,
487
+ DependencyIndexes: file_elimity_insights_common_v1alpha1_common_proto_depIdxs,
488
+ MessageInfos: file_elimity_insights_common_v1alpha1_common_proto_msgTypes,
489
+ }.Build()
490
+ File_elimity_insights_common_v1alpha1_common_proto = out.File
491
+ file_elimity_insights_common_v1alpha1_common_proto_rawDesc = nil
492
+ file_elimity_insights_common_v1alpha1_common_proto_goTypes = nil
493
+ file_elimity_insights_common_v1alpha1_common_proto_depIdxs = nil
494
+ }
@@ -0,0 +1,138 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "import_extension=js,target=ts"
2
+ // @generated from file elimity/insights/common/v1alpha1/common.proto (package elimity.insights.common.v1alpha1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file elimity/insights/common/v1alpha1/common.proto.
13
+ */
14
+ export const file_elimity_insights_common_v1alpha1_common: GenFile = /*@__PURE__*/
15
+ fileDesc("Ci1lbGltaXR5L2luc2lnaHRzL2NvbW1vbi92MWFscGhhMS9jb21tb24ucHJvdG8SIGVsaW1pdHkuaW5zaWdodHMuY29tbW9uLnYxYWxwaGExIvkBCgZFbnRpdHkSYQoVYXR0cmlidXRlX2Fzc2lnbm1lbnRzGAEgAygLMkIuZWxpbWl0eS5pbnNpZ2h0cy5jb21tb24udjFhbHBoYTEuRW50aXR5LkF0dHJpYnV0ZUFzc2lnbm1lbnRzRW50cnkSCgoCaWQYAiABKAkSDAoEbmFtZRgDIAEoCRIMCgR0eXBlGAQgASgJGmQKGUF0dHJpYnV0ZUFzc2lnbm1lbnRzRW50cnkSCwoDa2V5GAEgASgJEjYKBXZhbHVlGAIgASgLMicuZWxpbWl0eS5pbnNpZ2h0cy5jb21tb24udjFhbHBoYTEuVmFsdWU6AjgBIr0CCgxSZWxhdGlvbnNoaXASZwoVYXR0cmlidXRlX2Fzc2lnbm1lbnRzGAEgAygLMkguZWxpbWl0eS5pbnNpZ2h0cy5jb21tb24udjFhbHBoYTEuUmVsYXRpb25zaGlwLkF0dHJpYnV0ZUFzc2lnbm1lbnRzRW50cnkSFgoOZnJvbV9lbnRpdHlfaWQYAiABKAkSGAoQZnJvbV9lbnRpdHlfdHlwZRgDIAEoCRIUCgx0b19lbnRpdHlfaWQYBCABKAkSFgoOdG9fZW50aXR5X3R5cGUYBSABKAkaZAoZQXR0cmlidXRlQXNzaWdubWVudHNFbnRyeRILCgNrZXkYASABKAkSNgoFdmFsdWUYAiABKAsyJy5lbGltaXR5Lmluc2lnaHRzLmNvbW1vbi52MWFscGhhMS5WYWx1ZToCOAEi0AEKBVZhbHVlEhEKB2Jvb2xlYW4YASABKAhIABIqCgRkYXRlGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAEi8KCWRhdGVfdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIABIQCgZudW1iZXIYBCABKAFIABIQCgZzdHJpbmcYBSABKAlIABIqCgR0aW1lGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAQgcKBXZhbHVlQkpaSGdpdGh1Yi5jb20vZWxpbWl0eS1jb20vaW5zaWdodHMtc2RrL2dlbi9lbGltaXR5L2luc2lnaHRzL2NvbW1vbi92MWFscGhhMWIGcHJvdG8z", [file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message elimity.insights.common.v1alpha1.Entity
19
+ */
20
+ export type Entity = Message<"elimity.insights.common.v1alpha1.Entity"> & {
21
+ /**
22
+ * @generated from field: map<string, elimity.insights.common.v1alpha1.Value> attribute_assignments = 1;
23
+ */
24
+ attributeAssignments: { [key: string]: Value };
25
+
26
+ /**
27
+ * @generated from field: string id = 2;
28
+ */
29
+ id: string;
30
+
31
+ /**
32
+ * @generated from field: string name = 3;
33
+ */
34
+ name: string;
35
+
36
+ /**
37
+ * @generated from field: string type = 4;
38
+ */
39
+ type: string;
40
+ };
41
+
42
+ /**
43
+ * Describes the message elimity.insights.common.v1alpha1.Entity.
44
+ * Use `create(EntitySchema)` to create a new message.
45
+ */
46
+ export const EntitySchema: GenMessage<Entity> = /*@__PURE__*/
47
+ messageDesc(file_elimity_insights_common_v1alpha1_common, 0);
48
+
49
+ /**
50
+ * @generated from message elimity.insights.common.v1alpha1.Relationship
51
+ */
52
+ export type Relationship = Message<"elimity.insights.common.v1alpha1.Relationship"> & {
53
+ /**
54
+ * @generated from field: map<string, elimity.insights.common.v1alpha1.Value> attribute_assignments = 1;
55
+ */
56
+ attributeAssignments: { [key: string]: Value };
57
+
58
+ /**
59
+ * @generated from field: string from_entity_id = 2;
60
+ */
61
+ fromEntityId: string;
62
+
63
+ /**
64
+ * @generated from field: string from_entity_type = 3;
65
+ */
66
+ fromEntityType: string;
67
+
68
+ /**
69
+ * @generated from field: string to_entity_id = 4;
70
+ */
71
+ toEntityId: string;
72
+
73
+ /**
74
+ * @generated from field: string to_entity_type = 5;
75
+ */
76
+ toEntityType: string;
77
+ };
78
+
79
+ /**
80
+ * Describes the message elimity.insights.common.v1alpha1.Relationship.
81
+ * Use `create(RelationshipSchema)` to create a new message.
82
+ */
83
+ export const RelationshipSchema: GenMessage<Relationship> = /*@__PURE__*/
84
+ messageDesc(file_elimity_insights_common_v1alpha1_common, 1);
85
+
86
+ /**
87
+ * @generated from message elimity.insights.common.v1alpha1.Value
88
+ */
89
+ export type Value = Message<"elimity.insights.common.v1alpha1.Value"> & {
90
+ /**
91
+ * @generated from oneof elimity.insights.common.v1alpha1.Value.value
92
+ */
93
+ value: {
94
+ /**
95
+ * @generated from field: bool boolean = 1;
96
+ */
97
+ value: boolean;
98
+ case: "boolean";
99
+ } | {
100
+ /**
101
+ * @generated from field: google.protobuf.Timestamp date = 2;
102
+ */
103
+ value: Timestamp;
104
+ case: "date";
105
+ } | {
106
+ /**
107
+ * @generated from field: google.protobuf.Timestamp date_time = 3;
108
+ */
109
+ value: Timestamp;
110
+ case: "dateTime";
111
+ } | {
112
+ /**
113
+ * @generated from field: double number = 4;
114
+ */
115
+ value: number;
116
+ case: "number";
117
+ } | {
118
+ /**
119
+ * @generated from field: string string = 5;
120
+ */
121
+ value: string;
122
+ case: "string";
123
+ } | {
124
+ /**
125
+ * @generated from field: google.protobuf.Timestamp time = 6;
126
+ */
127
+ value: Timestamp;
128
+ case: "time";
129
+ } | { case: undefined; value?: undefined };
130
+ };
131
+
132
+ /**
133
+ * Describes the message elimity.insights.common.v1alpha1.Value.
134
+ * Use `create(ValueSchema)` to create a new message.
135
+ */
136
+ export const ValueSchema: GenMessage<Value> = /*@__PURE__*/
137
+ messageDesc(file_elimity_insights_common_v1alpha1_common, 2);
138
+