@azure-rest/purview-datamap 1.0.0-beta.1 → 1.0.0-beta.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 (171) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +50 -18
  3. package/dist/browser/clientDefinitions.d.ts +680 -0
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  5. package/dist/browser/clientDefinitions.js +4 -0
  6. package/dist/browser/clientDefinitions.js.map +1 -0
  7. package/dist/browser/index.d.ts +10 -0
  8. package/dist/browser/index.d.ts.map +1 -0
  9. package/dist/browser/index.js +12 -0
  10. package/dist/browser/index.js.map +1 -0
  11. package/dist/browser/isUnexpected.d.ts +98 -0
  12. package/dist/browser/isUnexpected.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/isUnexpected.js +1 -1
  14. package/dist/browser/isUnexpected.js.map +1 -0
  15. package/dist/browser/logger.d.ts +2 -0
  16. package/dist/browser/logger.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/logger.js +1 -1
  18. package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
  19. package/dist/browser/models.d.ts +1205 -0
  20. package/dist/browser/models.d.ts.map +1 -0
  21. package/dist/browser/models.js +4 -0
  22. package/dist/browser/models.js.map +1 -0
  23. package/dist/browser/outputModels.d.ts +1585 -0
  24. package/dist/browser/outputModels.d.ts.map +1 -0
  25. package/dist/browser/outputModels.js +4 -0
  26. package/dist/browser/outputModels.js.map +1 -0
  27. package/dist/browser/package.json +3 -0
  28. package/dist/browser/parameters.d.ts +805 -0
  29. package/dist/browser/parameters.d.ts.map +1 -0
  30. package/dist/browser/parameters.js +4 -0
  31. package/dist/browser/parameters.js.map +1 -0
  32. package/dist/browser/purviewDataMapClient.d.ts +14 -0
  33. package/dist/browser/purviewDataMapClient.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/purviewDataMapClient.js +11 -8
  35. package/dist/browser/purviewDataMapClient.js.map +1 -0
  36. package/dist/browser/responses.d.ts +848 -0
  37. package/dist/browser/responses.d.ts.map +1 -0
  38. package/dist/browser/responses.js +4 -0
  39. package/dist/browser/responses.js.map +1 -0
  40. package/dist/commonjs/clientDefinitions.d.ts +680 -0
  41. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  42. package/dist/commonjs/clientDefinitions.js +5 -0
  43. package/dist/commonjs/clientDefinitions.js.map +1 -0
  44. package/dist/commonjs/index.d.ts +10 -0
  45. package/dist/commonjs/index.d.ts.map +1 -0
  46. package/dist/commonjs/index.js +15 -0
  47. package/dist/commonjs/index.js.map +1 -0
  48. package/dist/commonjs/isUnexpected.d.ts +98 -0
  49. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  50. package/dist/{index.js → commonjs/isUnexpected.js} +5 -69
  51. package/dist/commonjs/isUnexpected.js.map +1 -0
  52. package/dist/commonjs/logger.d.ts +2 -0
  53. package/dist/commonjs/logger.d.ts.map +1 -0
  54. package/dist/commonjs/logger.js +8 -0
  55. package/dist/commonjs/logger.js.map +1 -0
  56. package/dist/commonjs/models.d.ts +1205 -0
  57. package/dist/commonjs/models.d.ts.map +1 -0
  58. package/dist/commonjs/models.js +5 -0
  59. package/dist/commonjs/models.js.map +1 -0
  60. package/dist/commonjs/outputModels.d.ts +1585 -0
  61. package/dist/commonjs/outputModels.d.ts.map +1 -0
  62. package/dist/commonjs/outputModels.js +5 -0
  63. package/dist/commonjs/outputModels.js.map +1 -0
  64. package/dist/commonjs/package.json +3 -0
  65. package/dist/commonjs/parameters.d.ts +805 -0
  66. package/dist/commonjs/parameters.d.ts.map +1 -0
  67. package/dist/commonjs/parameters.js +5 -0
  68. package/dist/commonjs/parameters.js.map +1 -0
  69. package/dist/commonjs/purviewDataMapClient.d.ts +14 -0
  70. package/dist/commonjs/purviewDataMapClient.d.ts.map +1 -0
  71. package/dist/commonjs/purviewDataMapClient.js +35 -0
  72. package/dist/commonjs/purviewDataMapClient.js.map +1 -0
  73. package/dist/commonjs/responses.d.ts +848 -0
  74. package/dist/commonjs/responses.d.ts.map +1 -0
  75. package/dist/commonjs/responses.js +5 -0
  76. package/dist/commonjs/responses.js.map +1 -0
  77. package/dist/commonjs/tsdoc-metadata.json +11 -0
  78. package/dist/esm/clientDefinitions.d.ts +680 -0
  79. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  80. package/dist/esm/clientDefinitions.js +4 -0
  81. package/dist/esm/clientDefinitions.js.map +1 -0
  82. package/dist/esm/index.d.ts +10 -0
  83. package/dist/esm/index.d.ts.map +1 -0
  84. package/dist/esm/index.js +12 -0
  85. package/dist/esm/index.js.map +1 -0
  86. package/dist/esm/isUnexpected.d.ts +98 -0
  87. package/dist/esm/isUnexpected.d.ts.map +1 -0
  88. package/dist/esm/isUnexpected.js +167 -0
  89. package/dist/esm/isUnexpected.js.map +1 -0
  90. package/dist/esm/logger.d.ts +2 -0
  91. package/dist/esm/logger.d.ts.map +1 -0
  92. package/dist/esm/logger.js +5 -0
  93. package/dist/esm/logger.js.map +1 -0
  94. package/dist/esm/models.d.ts +1205 -0
  95. package/dist/esm/models.d.ts.map +1 -0
  96. package/dist/esm/models.js +4 -0
  97. package/dist/esm/models.js.map +1 -0
  98. package/dist/esm/outputModels.d.ts +1585 -0
  99. package/dist/esm/outputModels.d.ts.map +1 -0
  100. package/dist/esm/outputModels.js +4 -0
  101. package/dist/esm/outputModels.js.map +1 -0
  102. package/dist/esm/package.json +3 -0
  103. package/dist/esm/parameters.d.ts +805 -0
  104. package/dist/esm/parameters.d.ts.map +1 -0
  105. package/dist/esm/parameters.js +4 -0
  106. package/dist/esm/parameters.js.map +1 -0
  107. package/dist/esm/purviewDataMapClient.d.ts +14 -0
  108. package/dist/esm/purviewDataMapClient.d.ts.map +1 -0
  109. package/dist/esm/purviewDataMapClient.js +32 -0
  110. package/dist/esm/purviewDataMapClient.js.map +1 -0
  111. package/dist/esm/responses.d.ts +848 -0
  112. package/dist/esm/responses.d.ts.map +1 -0
  113. package/dist/esm/responses.js +4 -0
  114. package/dist/esm/responses.js.map +1 -0
  115. package/dist/react-native/clientDefinitions.d.ts +680 -0
  116. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  117. package/dist/react-native/clientDefinitions.js +4 -0
  118. package/dist/react-native/clientDefinitions.js.map +1 -0
  119. package/dist/react-native/index.d.ts +10 -0
  120. package/dist/react-native/index.d.ts.map +1 -0
  121. package/dist/react-native/index.js +12 -0
  122. package/dist/react-native/index.js.map +1 -0
  123. package/dist/react-native/isUnexpected.d.ts +98 -0
  124. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  125. package/dist/react-native/isUnexpected.js +167 -0
  126. package/dist/react-native/isUnexpected.js.map +1 -0
  127. package/dist/react-native/logger.d.ts +2 -0
  128. package/dist/react-native/logger.d.ts.map +1 -0
  129. package/dist/react-native/logger.js +5 -0
  130. package/dist/react-native/logger.js.map +1 -0
  131. package/dist/react-native/models.d.ts +1205 -0
  132. package/dist/react-native/models.d.ts.map +1 -0
  133. package/dist/react-native/models.js +4 -0
  134. package/dist/react-native/models.js.map +1 -0
  135. package/dist/react-native/outputModels.d.ts +1585 -0
  136. package/dist/react-native/outputModels.d.ts.map +1 -0
  137. package/dist/react-native/outputModels.js +4 -0
  138. package/dist/react-native/outputModels.js.map +1 -0
  139. package/dist/react-native/package.json +3 -0
  140. package/dist/react-native/parameters.d.ts +805 -0
  141. package/dist/react-native/parameters.d.ts.map +1 -0
  142. package/dist/react-native/parameters.js +4 -0
  143. package/dist/react-native/parameters.js.map +1 -0
  144. package/dist/react-native/purviewDataMapClient.d.ts +14 -0
  145. package/dist/react-native/purviewDataMapClient.d.ts.map +1 -0
  146. package/dist/react-native/purviewDataMapClient.js +32 -0
  147. package/dist/react-native/purviewDataMapClient.js.map +1 -0
  148. package/dist/react-native/responses.d.ts +848 -0
  149. package/dist/react-native/responses.d.ts.map +1 -0
  150. package/dist/react-native/responses.js +4 -0
  151. package/dist/react-native/responses.js.map +1 -0
  152. package/package.json +79 -59
  153. package/review/purview-datamap.api.md +353 -195
  154. package/dist/index.js.map +0 -1
  155. package/dist-esm/src/clientDefinitions.js +0 -4
  156. package/dist-esm/src/clientDefinitions.js.map +0 -1
  157. package/dist-esm/src/index.js +0 -14
  158. package/dist-esm/src/index.js.map +0 -1
  159. package/dist-esm/src/isUnexpected.js.map +0 -1
  160. package/dist-esm/src/models.js +0 -4
  161. package/dist-esm/src/models.js.map +0 -1
  162. package/dist-esm/src/outputModels.js +0 -4
  163. package/dist-esm/src/outputModels.js.map +0 -1
  164. package/dist-esm/src/parameters.js +0 -4
  165. package/dist-esm/src/parameters.js.map +0 -1
  166. package/dist-esm/src/purviewDataMapClient.js.map +0 -1
  167. package/dist-esm/src/responses.js +0 -4
  168. package/dist-esm/src/responses.js.map +0 -1
  169. package/dist-esm/src/serializeHelper.js +0 -13
  170. package/dist-esm/src/serializeHelper.js.map +0 -1
  171. package/types/purview-datamap.d.ts +0 -5770
@@ -0,0 +1,1205 @@
1
+ /**
2
+ * An instance of an entity along with extended info - like hive_table,
3
+ * hive_database.
4
+ */
5
+ export interface AtlasEntityWithExtInfo {
6
+ /** The referred entities. */
7
+ referredEntities?: Record<string, AtlasEntity>;
8
+ /** An instance of an entity - like hive_table, hive_database. */
9
+ entity?: AtlasEntity;
10
+ }
11
+ /** An instance of an entity - like hive_table, hive_database. */
12
+ export interface AtlasEntity {
13
+ /** The attributes of the struct. */
14
+ attributes?: Record<string, unknown>;
15
+ /** The name of the type. */
16
+ typeName?: string;
17
+ /** ETag for concurrency control. */
18
+ lastModifiedTS?: string;
19
+ /** Business attributes */
20
+ businessAttributes?: Record<string, unknown>;
21
+ /** An array of classifications. */
22
+ classifications?: Array<AtlasClassification>;
23
+ /** The created time of the record. */
24
+ createTime?: number;
25
+ /** The user who created the record. */
26
+ createdBy?: string;
27
+ /** Custom Attribute */
28
+ customAttributes?: Record<string, string>;
29
+ /** The GUID of the entity. */
30
+ guid?: string;
31
+ /** The home ID of the entity. */
32
+ homeId?: string;
33
+ /** Whether it is a shell entity */
34
+ isIncomplete?: boolean;
35
+ /** labels */
36
+ labels?: string[];
37
+ /** An array of term assignment headers indicating the meanings of the entity. */
38
+ meanings?: Array<AtlasTermAssignmentHeader>;
39
+ /** Used to record the provenance of an instance of an entity or relationship. */
40
+ provenanceType?: number;
41
+ /** Determines if there's a proxy. */
42
+ proxy?: boolean;
43
+ /** The attributes of relationship. */
44
+ relationshipAttributes?: Record<string, unknown>;
45
+ /**
46
+ * Status of the entity - can be active or deleted. Deleted entities are not
47
+ * removed.
48
+ *
49
+ * Possible values: "ACTIVE", "DELETED"
50
+ */
51
+ status?: EntityStatus;
52
+ /** The update time of the record. */
53
+ updateTime?: number;
54
+ /** The user who updated the record. */
55
+ updatedBy?: string;
56
+ /** The version of the entity. */
57
+ version?: number;
58
+ /** The dictionary of contacts for entities. Key could be Expert or Owner. */
59
+ contacts?: Record<string, Array<ContactInfo>>;
60
+ }
61
+ /**
62
+ * An instance of a classification; it doesn't have an identity, this object
63
+ * exists only when associated with an entity.
64
+ */
65
+ export interface AtlasClassification {
66
+ /** The attributes of the struct. */
67
+ attributes?: Record<string, unknown>;
68
+ /** The name of the type. */
69
+ typeName?: string;
70
+ /** ETag for concurrency control. */
71
+ lastModifiedTS?: string;
72
+ /** The GUID of the entity. */
73
+ entityGuid?: string;
74
+ /**
75
+ * Status of the entity - can be active or deleted. Deleted entities are not
76
+ * removed.
77
+ *
78
+ * Possible values: "ACTIVE", "DELETED"
79
+ */
80
+ entityStatus?: EntityStatus;
81
+ /** Determines if propagations will be removed on entity deletion. */
82
+ removePropagationsOnEntityDelete?: boolean;
83
+ /** An array of time boundaries indicating validity periods. */
84
+ validityPeriods?: Array<TimeBoundary>;
85
+ }
86
+ /** Captures time-boundary details */
87
+ export interface TimeBoundary {
88
+ /** The end of the time boundary. */
89
+ endTime?: string;
90
+ /** The start of the time boundary. */
91
+ startTime?: string;
92
+ /** The timezone of the time boundary. */
93
+ timeZone?: string;
94
+ }
95
+ /** The header for term assignment. */
96
+ export interface AtlasTermAssignmentHeader {
97
+ /** The confidence of the term assignment. */
98
+ confidence?: number;
99
+ /** The user who created the record. */
100
+ createdBy?: string;
101
+ /** The description of the term assignment. */
102
+ description?: string;
103
+ /** The display text. */
104
+ displayText?: string;
105
+ /** The expression of the term assignment. */
106
+ expression?: string;
107
+ /** The GUID of the relationship. */
108
+ relationGuid?: string;
109
+ /**
110
+ * The status of terms assignment.
111
+ *
112
+ * Possible values: "DISCOVERED", "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", "OTHER"
113
+ */
114
+ status?: AtlasTermAssignmentStatus;
115
+ /** The steward of the term. */
116
+ steward?: string;
117
+ /** The GUID of the term. */
118
+ termGuid?: string;
119
+ }
120
+ /** ContactInfo */
121
+ export interface ContactInfo {
122
+ /** Azure Active Directory object Id. */
123
+ id?: string;
124
+ /** additional information to describe this contact. */
125
+ info?: string;
126
+ }
127
+ /** An instance of an entity - like hive_table, hive_database. */
128
+ export interface AtlasEntityHeader {
129
+ /** The attributes of the struct. */
130
+ attributes?: Record<string, unknown>;
131
+ /** The name of the type. */
132
+ typeName?: string;
133
+ /** ETag for concurrency control. */
134
+ lastModifiedTS?: string;
135
+ /** An array of classification names. */
136
+ classificationNames?: string[];
137
+ /** An array of classifications. */
138
+ classifications?: Array<AtlasClassification>;
139
+ /** The display text. */
140
+ displayText?: string;
141
+ /** The GUID of the record. */
142
+ guid?: string;
143
+ /** Whether it is a shell entity */
144
+ isIncomplete?: boolean;
145
+ /** labels */
146
+ labels?: string[];
147
+ /** An array of meanings. */
148
+ meaningNames?: string[];
149
+ /** An array of term assignment headers. */
150
+ meanings?: Array<AtlasTermAssignmentHeader>;
151
+ /**
152
+ * Status of the entity - can be active or deleted. Deleted entities are not
153
+ * removed.
154
+ *
155
+ * Possible values: "ACTIVE", "DELETED"
156
+ */
157
+ status?: EntityStatus;
158
+ }
159
+ /**
160
+ * An instance of an entity along with extended info - like hive_table,
161
+ * hive_database.
162
+ */
163
+ export interface AtlasEntitiesWithExtInfo {
164
+ /** The referred entities. */
165
+ referredEntities?: Record<string, AtlasEntity>;
166
+ /** An array of entities. */
167
+ entities?: Array<AtlasEntity>;
168
+ }
169
+ /** The request payload for classification association. */
170
+ export interface ClassificationAssociateOptions {
171
+ /**
172
+ * An instance of a classification; it doesn't have an identity, this object
173
+ * exists only when associated with an entity.
174
+ */
175
+ classification?: AtlasClassification;
176
+ /** The GUID of the entity. */
177
+ entityGuids?: string[];
178
+ }
179
+ /** An instance of an entity header map. */
180
+ export interface AtlasEntityHeaders {
181
+ /** The description of the guid header map, */
182
+ guidHeaderMap?: Record<string, AtlasEntityHeader>;
183
+ }
184
+ export interface BusinessMetadataOptionsFilePartDescriptor {
185
+ name: "file";
186
+ body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File;
187
+ filename?: string;
188
+ contentType?: string;
189
+ }
190
+ /** MoveEntitiesOptions */
191
+ export interface MoveEntitiesOptions {
192
+ /** An array of entity guids to be moved to target collection. */
193
+ entityGuids?: string[];
194
+ }
195
+ /** The glossary object. */
196
+ export interface AtlasGlossary {
197
+ /** The GUID of the object. */
198
+ guid?: string;
199
+ /** An array of classifications. */
200
+ classifications?: Array<AtlasClassification>;
201
+ /** The long version description. */
202
+ longDescription?: string;
203
+ /** The name of the glossary object. */
204
+ name?: string;
205
+ /** The qualified name of the glossary object. */
206
+ qualifiedName?: string;
207
+ /** The short version of description. */
208
+ shortDescription?: string;
209
+ /** ETag for concurrency control. */
210
+ lastModifiedTS?: string;
211
+ /** The created time of the record. */
212
+ createTime?: number;
213
+ /** The user who created the record. */
214
+ createdBy?: string;
215
+ /** The update time of the record. */
216
+ updateTime?: number;
217
+ /** The user who updated the record. */
218
+ updatedBy?: string;
219
+ /** An array of categories. */
220
+ categories?: Array<AtlasRelatedCategoryHeader>;
221
+ /** The language of the glossary. */
222
+ language?: string;
223
+ /** An array of related term headers. */
224
+ terms?: Array<AtlasRelatedTermHeader>;
225
+ /** The usage of the glossary. */
226
+ usage?: string;
227
+ }
228
+ /** The header of the related category. */
229
+ export interface AtlasRelatedCategoryHeader {
230
+ /** The GUID of the category. */
231
+ categoryGuid?: string;
232
+ /** The description of the category header. */
233
+ description?: string;
234
+ /** The display text. */
235
+ displayText?: string;
236
+ /** The GUID of the parent category. */
237
+ parentCategoryGuid?: string;
238
+ /** The GUID of the relationship. */
239
+ relationGuid?: string;
240
+ }
241
+ /** The header of the related term. */
242
+ export interface AtlasRelatedTermHeader {
243
+ /** The description of the related term. */
244
+ description?: string;
245
+ /** The display text. */
246
+ displayText?: string;
247
+ /** The expression of the term. */
248
+ expression?: string;
249
+ /** The GUID of the relationship. */
250
+ relationGuid?: string;
251
+ /**
252
+ * The status of term relationship.
253
+ *
254
+ * Possible values: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", "OTHER"
255
+ */
256
+ status?: AtlasTermRelationshipStatus;
257
+ /** The steward of the term. */
258
+ steward?: string;
259
+ /** The GUID of the term. */
260
+ termGuid?: string;
261
+ }
262
+ /** The glossary category. */
263
+ export interface AtlasGlossaryCategory {
264
+ /** The GUID of the object. */
265
+ guid?: string;
266
+ /** An array of classifications. */
267
+ classifications?: Array<AtlasClassification>;
268
+ /** The long version description. */
269
+ longDescription?: string;
270
+ /** The name of the glossary object. */
271
+ name?: string;
272
+ /** The qualified name of the glossary object. */
273
+ qualifiedName?: string;
274
+ /** The short version of description. */
275
+ shortDescription?: string;
276
+ /** ETag for concurrency control. */
277
+ lastModifiedTS?: string;
278
+ /** The created time of the record. */
279
+ createTime?: number;
280
+ /** The user who created the record. */
281
+ createdBy?: string;
282
+ /** The update time of the record. */
283
+ updateTime?: number;
284
+ /** The user who updated the record. */
285
+ updatedBy?: string;
286
+ /** The glossary header with basic information. */
287
+ anchor?: AtlasGlossaryHeader;
288
+ /** An array of children categories. */
289
+ childrenCategories?: Array<AtlasRelatedCategoryHeader>;
290
+ /** The header of the related category. */
291
+ parentCategory?: AtlasRelatedCategoryHeader;
292
+ /** An array of related term headers. */
293
+ terms?: Array<AtlasRelatedTermHeader>;
294
+ }
295
+ /** The glossary header with basic information. */
296
+ export interface AtlasGlossaryHeader {
297
+ /** The display text. */
298
+ displayText?: string;
299
+ /** The GUID of the glossary. */
300
+ glossaryGuid?: string;
301
+ /** The GUID of the relationship. */
302
+ relationGuid?: string;
303
+ }
304
+ /** The glossary term. */
305
+ export interface AtlasGlossaryTerm {
306
+ /** The GUID of the object. */
307
+ guid?: string;
308
+ /** An array of classifications. */
309
+ classifications?: Array<AtlasClassification>;
310
+ /** The long version description. */
311
+ longDescription?: string;
312
+ /** The name of the glossary object. */
313
+ name?: string;
314
+ /** The qualified name of the glossary object. */
315
+ qualifiedName?: string;
316
+ /** The short version of description. */
317
+ shortDescription?: string;
318
+ /** ETag for concurrency control. */
319
+ lastModifiedTS?: string;
320
+ /** The created time of the record. */
321
+ createTime?: number;
322
+ /** The user who created the record. */
323
+ createdBy?: string;
324
+ /** The update time of the record. */
325
+ updateTime?: number;
326
+ /** The user who updated the record. */
327
+ updatedBy?: string;
328
+ /** The abbreviation of the term. */
329
+ abbreviation?: string;
330
+ /** The name of the template. */
331
+ templateName?: unknown[];
332
+ /** The glossary header with basic information. */
333
+ anchor?: AtlasGlossaryHeader;
334
+ /** An array of related term headers as antonyms. */
335
+ antonyms?: Array<AtlasRelatedTermHeader>;
336
+ /**
337
+ * Status of the AtlasGlossaryTerm
338
+ *
339
+ * Possible values: "Draft", "Approved", "Alert", "Expired"
340
+ */
341
+ status?: TermStatus;
342
+ /** The nick name of the term. */
343
+ nickName?: string;
344
+ /** The hierarchy information of the term. */
345
+ hierarchyInfo?: Array<PurviewObjectId>;
346
+ /** An array of resource link for term */
347
+ resources?: Array<ResourceLink>;
348
+ /** The dictionary of contacts for terms. Key could be Expert or Steward. */
349
+ contacts?: Record<string, Array<ContactInfo>>;
350
+ /**
351
+ * The custom attributes of the term, which is map<string,map<string,object>>.
352
+ * The
353
+ * key of the first layer map is term template name.
354
+ */
355
+ attributes?: Record<string, Record<string, unknown>>;
356
+ /** An array of related object IDs. */
357
+ assignedEntities?: Array<AtlasRelatedObjectId>;
358
+ /** An array of term categorization headers. */
359
+ categories?: Array<AtlasTermCategorizationHeader>;
360
+ /** An array of related term headers. */
361
+ classifies?: Array<AtlasRelatedTermHeader>;
362
+ /** An array of examples. */
363
+ examples?: string[];
364
+ /** An array of related term headers indicating the is-a relationship. */
365
+ isA?: Array<AtlasRelatedTermHeader>;
366
+ /** An array of preferred related term headers. */
367
+ preferredTerms?: Array<AtlasRelatedTermHeader>;
368
+ /** An array of related term headers that are preferred to. */
369
+ preferredToTerms?: Array<AtlasRelatedTermHeader>;
370
+ /** An array of related term headers that are replaced by. */
371
+ replacedBy?: Array<AtlasRelatedTermHeader>;
372
+ /** An array of related term headers for replacement. */
373
+ replacementTerms?: Array<AtlasRelatedTermHeader>;
374
+ /** An array of related term headers for see also. */
375
+ seeAlso?: Array<AtlasRelatedTermHeader>;
376
+ /** An array of related term headers as synonyms. */
377
+ synonyms?: Array<AtlasRelatedTermHeader>;
378
+ /** An array of translated related term headers. */
379
+ translatedTerms?: Array<AtlasRelatedTermHeader>;
380
+ /** An array of related term headers for translation. */
381
+ translationTerms?: Array<AtlasRelatedTermHeader>;
382
+ /** The usage of the term. */
383
+ usage?: string;
384
+ /** An array of related term headers as valid values. */
385
+ validValues?: Array<AtlasRelatedTermHeader>;
386
+ /** An array of related term headers as valid values for other records. */
387
+ validValuesFor?: Array<AtlasRelatedTermHeader>;
388
+ }
389
+ /** PurviewObjectId */
390
+ export interface PurviewObjectId {
391
+ /** The GUID of the object. */
392
+ guid?: string;
393
+ /** The name of the type. */
394
+ typeName?: string;
395
+ /** The unique attributes of the object. */
396
+ uniqueAttributes?: Record<string, unknown>;
397
+ /** Name */
398
+ name?: string;
399
+ /** Display text */
400
+ displayText?: string;
401
+ /** Item path */
402
+ itemPath?: string;
403
+ /** Resource Id */
404
+ resourceId?: string;
405
+ /** Dictionary of <any> */
406
+ properties?: Record<string, unknown>;
407
+ }
408
+ /** ResourceLink */
409
+ export interface ResourceLink {
410
+ /** Display name for url. */
411
+ displayName?: string;
412
+ /** web url. http or https */
413
+ url?: string;
414
+ }
415
+ /**
416
+ * Reference to an object-instance of AtlasEntity type used in relationship
417
+ * attribute values
418
+ */
419
+ export interface AtlasRelatedObjectId {
420
+ /** The GUID of the object. */
421
+ guid?: string;
422
+ /** The name of the type. */
423
+ typeName?: string;
424
+ /** The unique attributes of the object. */
425
+ uniqueAttributes?: Record<string, unknown>;
426
+ /** The display text. */
427
+ displayText?: string;
428
+ /**
429
+ * Status of the entity - can be active or deleted. Deleted entities are not
430
+ * removed.
431
+ *
432
+ * Possible values: "ACTIVE", "DELETED"
433
+ */
434
+ entityStatus?: EntityStatus;
435
+ /** Relationship type */
436
+ relationshipType?: string;
437
+ /**
438
+ * Captures details of struct contents. Not instantiated directly, used only via
439
+ * AtlasEntity, AtlasClassification.
440
+ */
441
+ relationshipAttributes?: AtlasStruct;
442
+ /** The GUID of the relationship. */
443
+ relationshipGuid?: string;
444
+ /**
445
+ * The enum of relationship status.
446
+ *
447
+ * Possible values: "ACTIVE", "DELETED"
448
+ */
449
+ relationshipStatus?: StatusAtlasRelationship;
450
+ }
451
+ /**
452
+ * Captures details of struct contents. Not instantiated directly, used only via
453
+ * AtlasEntity, AtlasClassification.
454
+ */
455
+ export interface AtlasStruct {
456
+ /** The attributes of the struct. */
457
+ attributes?: Record<string, unknown>;
458
+ /** The name of the type. */
459
+ typeName?: string;
460
+ /** ETag for concurrency control. */
461
+ lastModifiedTS?: string;
462
+ }
463
+ /** The basic information for term categorization. */
464
+ export interface AtlasTermCategorizationHeader {
465
+ /** The GUID of the category. */
466
+ categoryGuid?: string;
467
+ /** The description of the record. */
468
+ description?: string;
469
+ /** The display text. */
470
+ displayText?: string;
471
+ /** The GUID of the relationship. */
472
+ relationGuid?: string;
473
+ /**
474
+ * The status of term relationship.
475
+ *
476
+ * Possible values: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", "OTHER"
477
+ */
478
+ status?: AtlasTermRelationshipStatus;
479
+ }
480
+ /** The search query of advanced search request. */
481
+ export interface QueryOptions {
482
+ /** The keywords applied to all searchable fields. */
483
+ keywords?: string;
484
+ /**
485
+ * The limit of the number of the search result. default value is 50; maximum
486
+ * value is 1000.
487
+ */
488
+ limit?: number;
489
+ /**
490
+ * The token used to get next batch of data. Default 'Null' to get the first
491
+ * batch, and will return new token in each response unless there's no more data.
492
+ */
493
+ continuationToken?: string;
494
+ /** The sort order of search results, can specify multiple fields. */
495
+ orderby?: unknown[];
496
+ /** The filter for the search. See examples for the usage of supported filters. */
497
+ filter?: unknown;
498
+ /** The facets for search. See examples for the usage of supported facets. */
499
+ facets?: Array<SearchFacetItem>;
500
+ /** The taxonomy setting for search. */
501
+ taxonomySetting?: SearchTaxonomySetting;
502
+ }
503
+ /** The content of a search facet result item. */
504
+ export interface SearchFacetItem {
505
+ /** The count of the facet item. */
506
+ count?: number;
507
+ /** The name of the facet item. */
508
+ facet?: string;
509
+ /** Define the sorting criteria for items */
510
+ sort?: SearchFacetSort;
511
+ }
512
+ /** The sorting criteria */
513
+ export interface SearchFacetSort {
514
+ /**
515
+ * Order by count
516
+ *
517
+ * Possible values: "asc", "desc"
518
+ */
519
+ count?: SearchSortOrder;
520
+ /**
521
+ * Order by value
522
+ *
523
+ * Possible values: "asc", "desc"
524
+ */
525
+ value?: SearchSortOrder;
526
+ }
527
+ /** Taxonomy setting for search request */
528
+ export interface SearchTaxonomySetting {
529
+ /** Asset types */
530
+ assetTypes?: string[];
531
+ /** The content of a search facet result item. */
532
+ facet?: SearchFacetItem;
533
+ }
534
+ /** The payload of suggest request. */
535
+ export interface SuggestOptions {
536
+ /**
537
+ * The keywords applied to all fields that support suggest operation. It must be
538
+ * at least 1 character, and no more than 100 characters. In the index schema we
539
+ * defined a default suggester which lists all the supported fields and specifies
540
+ * a search mode.
541
+ */
542
+ keywords?: string;
543
+ /**
544
+ * The number of suggestions we hope to return. The default value is 5. The value
545
+ * must be a number between 1 and 100.
546
+ */
547
+ limit?: number;
548
+ /** The filter for the search. */
549
+ filter?: unknown;
550
+ }
551
+ /** The payload of autocomplete request. */
552
+ export interface AutoCompleteOptions {
553
+ /**
554
+ * The keywords applied to all fields that support autocomplete operation. It must
555
+ * be at least 1 character, and no more than 100 characters.
556
+ */
557
+ keywords?: string;
558
+ /**
559
+ * The number of autocomplete results we hope to return. The default value is 50.
560
+ * The value must be a number between 1 and 100.
561
+ */
562
+ limit?: number;
563
+ /** The filter for the autocomplete request. */
564
+ filter?: unknown;
565
+ }
566
+ /** Atlas relationship instance. */
567
+ export interface AtlasRelationship {
568
+ /** The attributes of the struct. */
569
+ attributes?: Record<string, unknown>;
570
+ /** The name of the type. */
571
+ typeName?: string;
572
+ /** ETag for concurrency control. */
573
+ lastModifiedTS?: string;
574
+ /** The created time of the record. */
575
+ createTime?: number;
576
+ /** The user who created the record. */
577
+ createdBy?: string;
578
+ /** Reference to an object-instance of a type - like entity. */
579
+ end1?: AtlasObjectId;
580
+ /** Reference to an object-instance of a type - like entity. */
581
+ end2?: AtlasObjectId;
582
+ /** The GUID of the relationship. */
583
+ guid?: string;
584
+ /** The home ID of the relationship. */
585
+ homeId?: string;
586
+ /** The label of the relationship. */
587
+ label?: string;
588
+ /** Used to record the provenance of an instance of an entity or relationship */
589
+ provenanceType?: number;
590
+ /**
591
+ * The enum of relationship status.
592
+ *
593
+ * Possible values: "ACTIVE", "DELETED"
594
+ */
595
+ status?: StatusAtlasRelationship;
596
+ /** The update time of the record. */
597
+ updateTime?: number;
598
+ /** The user who updated the record. */
599
+ updatedBy?: string;
600
+ /** The version of the relationship. */
601
+ version?: number;
602
+ }
603
+ /** Reference to an object-instance of a type - like entity. */
604
+ export interface AtlasObjectId {
605
+ /** The GUID of the object. */
606
+ guid?: string;
607
+ /** The name of the type. */
608
+ typeName?: string;
609
+ /** The unique attributes of the object. */
610
+ uniqueAttributes?: Record<string, unknown>;
611
+ }
612
+ /** class that captures details of a struct-type. */
613
+ export interface AtlasBusinessMetadataDef {
614
+ /**
615
+ * The enum of type category.
616
+ *
617
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
618
+ */
619
+ category?: TypeCategory;
620
+ /** The created time of the record. */
621
+ createTime?: number;
622
+ /** The user who created the record. */
623
+ createdBy?: string;
624
+ /** The date format. */
625
+ dateFormatter?: DateFormat;
626
+ /** The description of the type definition. */
627
+ description?: string;
628
+ /** The GUID of the type definition. */
629
+ guid?: string;
630
+ /** The name of the type definition. */
631
+ name?: string;
632
+ /** The options for the type definition. */
633
+ options?: Record<string, string>;
634
+ /** The service type. */
635
+ serviceType?: string;
636
+ /** The version of the type. */
637
+ typeVersion?: string;
638
+ /** The update time of the record. */
639
+ updateTime?: number;
640
+ /** The user who updated the record. */
641
+ updatedBy?: string;
642
+ /** The version of the record. */
643
+ version?: number;
644
+ /** ETag for concurrency control. */
645
+ lastModifiedTS?: string;
646
+ /** An array of attribute definitions. */
647
+ attributeDefs?: Array<AtlasAttributeDef>;
648
+ }
649
+ /** The date format. */
650
+ export interface DateFormat {
651
+ /** An array of available locales. */
652
+ availableLocales?: string[];
653
+ /** Calendar */
654
+ calendar?: number;
655
+ /** The date format. */
656
+ dateInstance?: DateFormat;
657
+ /** The date format. */
658
+ dateTimeInstance?: DateFormat;
659
+ /** The date format. */
660
+ instance?: DateFormat;
661
+ /** Determines the leniency of the date format. */
662
+ lenient?: boolean;
663
+ /** The number format. */
664
+ numberFormat?: NumberFormat;
665
+ /** The date format. */
666
+ timeInstance?: DateFormat;
667
+ /** The timezone information. */
668
+ timeZone?: TimeZone;
669
+ }
670
+ /** The number format. */
671
+ export interface NumberFormat {
672
+ /** The number format. */
673
+ availableLocales?: string[];
674
+ /** The currency. */
675
+ currency?: string;
676
+ /** The number format. */
677
+ currencyInstance?: NumberFormat;
678
+ /** Determines if grouping is used. */
679
+ groupingUsed?: boolean;
680
+ /** The number format. */
681
+ instance?: NumberFormat;
682
+ /** The number format. */
683
+ integerInstance?: NumberFormat;
684
+ /** The maximum of fraction digits. */
685
+ maximumFractionDigits?: number;
686
+ /** The maximum of integer digits. */
687
+ maximumIntegerDigits?: number;
688
+ /** The minimum of fraction digits. */
689
+ minimumFractionDigits?: number;
690
+ /** The minimum of integer digits. */
691
+ minimumIntegerDigits?: number;
692
+ /** The number format. */
693
+ numberInstance?: NumberFormat;
694
+ /** Determines if only integer is parsed. */
695
+ parseIntegerOnly?: boolean;
696
+ /** The number format. */
697
+ percentInstance?: NumberFormat;
698
+ /**
699
+ * The enum of rounding mode.
700
+ *
701
+ * Possible values: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY"
702
+ */
703
+ roundingMode?: RoundingMode;
704
+ }
705
+ /** The timezone information. */
706
+ export interface TimeZone {
707
+ /** The value of the daylight saving time. */
708
+ dstSavings?: number;
709
+ /** The ID of the timezone. */
710
+ id?: string;
711
+ /** An array of available IDs. */
712
+ availableIds?: string[];
713
+ /** The timezone information. */
714
+ default?: TimeZone;
715
+ /** The display name of the timezone. */
716
+ displayName?: string;
717
+ /** The raw offset of the timezone. */
718
+ rawOffset?: number;
719
+ }
720
+ /** class that captures details of a struct-attribute. */
721
+ export interface AtlasAttributeDef {
722
+ /**
723
+ * single-valued attribute or multi-valued attribute.
724
+ *
725
+ * Possible values: "SINGLE", "LIST", "SET"
726
+ */
727
+ cardinality?: CardinalityValue;
728
+ /** An array of constraints. */
729
+ constraints?: Array<AtlasConstraintDef>;
730
+ /** The default value of the attribute. */
731
+ defaultValue?: string;
732
+ /** The description of the attribute. */
733
+ description?: string;
734
+ /** Determines if it is included in notification. */
735
+ includeInNotification?: boolean;
736
+ /** Determines if it is indexable. */
737
+ isIndexable?: boolean;
738
+ /** Determines if it is optional. */
739
+ isOptional?: boolean;
740
+ /** Determines if it unique. */
741
+ isUnique?: boolean;
742
+ /** The name of the attribute. */
743
+ name?: string;
744
+ /** The options for the attribute. */
745
+ options?: Record<string, string>;
746
+ /** The name of the type. */
747
+ typeName?: string;
748
+ /** The maximum count of the values. */
749
+ valuesMaxCount?: number;
750
+ /** The minimum count of the values. */
751
+ valuesMinCount?: number;
752
+ }
753
+ /** class that captures details of a constraint. */
754
+ export interface AtlasConstraintDef {
755
+ /** The parameters of the constraint definition. */
756
+ params?: Record<string, unknown>;
757
+ /** The type of the constraint. */
758
+ type?: string;
759
+ }
760
+ /** class that captures details of a classification-type. */
761
+ export interface AtlasClassificationDef {
762
+ /**
763
+ * The enum of type category.
764
+ *
765
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
766
+ */
767
+ category?: TypeCategory;
768
+ /** The created time of the record. */
769
+ createTime?: number;
770
+ /** The user who created the record. */
771
+ createdBy?: string;
772
+ /** The date format. */
773
+ dateFormatter?: DateFormat;
774
+ /** The description of the type definition. */
775
+ description?: string;
776
+ /** The GUID of the type definition. */
777
+ guid?: string;
778
+ /** The name of the type definition. */
779
+ name?: string;
780
+ /** The options for the type definition. */
781
+ options?: Record<string, string>;
782
+ /** The service type. */
783
+ serviceType?: string;
784
+ /** The version of the type. */
785
+ typeVersion?: string;
786
+ /** The update time of the record. */
787
+ updateTime?: number;
788
+ /** The user who updated the record. */
789
+ updatedBy?: string;
790
+ /** The version of the record. */
791
+ version?: number;
792
+ /** ETag for concurrency control. */
793
+ lastModifiedTS?: string;
794
+ /** An array of attribute definitions. */
795
+ attributeDefs?: Array<AtlasAttributeDef>;
796
+ /**
797
+ * Specifying a list of entityType names in the classificationDef, ensures that
798
+ * classifications can
799
+ * only be applied to those entityTypes.
800
+ *
801
+ * Any subtypes of the entity types inherit the restriction.
802
+ *
803
+ * Any classificationDef subtypes inherit the parents entityTypes restrictions.
804
+ *
805
+ * Any classificationDef subtypes can further restrict the parents entityTypes
806
+ * restrictions by specifying a subset of the entityTypes.
807
+ *
808
+ * An empty entityTypes list when there are no parent restrictions means there are no
809
+ * restrictions.
810
+ *
811
+ * An empty entityTypes list when there are parent
812
+ * restrictions means that the subtype picks up the parents
813
+ * restrictions.
814
+ *
815
+ * If a list of entityTypes are supplied, where one inherits
816
+ * from another, this will be rejected. This should encourage cleaner
817
+ * classificationsDefs.
818
+ *
819
+ */
820
+ entityTypes?: string[];
821
+ /** An array of sub types. */
822
+ subTypes?: string[];
823
+ /** An array of super types. */
824
+ superTypes?: string[];
825
+ }
826
+ /** class that captures details of a entity-type. */
827
+ export interface AtlasEntityDef {
828
+ /**
829
+ * The enum of type category.
830
+ *
831
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
832
+ */
833
+ category?: TypeCategory;
834
+ /** The created time of the record. */
835
+ createTime?: number;
836
+ /** The user who created the record. */
837
+ createdBy?: string;
838
+ /** The date format. */
839
+ dateFormatter?: DateFormat;
840
+ /** The description of the type definition. */
841
+ description?: string;
842
+ /** The GUID of the type definition. */
843
+ guid?: string;
844
+ /** The name of the type definition. */
845
+ name?: string;
846
+ /** The options for the type definition. */
847
+ options?: Record<string, string>;
848
+ /** The service type. */
849
+ serviceType?: string;
850
+ /** The version of the type. */
851
+ typeVersion?: string;
852
+ /** The update time of the record. */
853
+ updateTime?: number;
854
+ /** The user who updated the record. */
855
+ updatedBy?: string;
856
+ /** The version of the record. */
857
+ version?: number;
858
+ /** ETag for concurrency control. */
859
+ lastModifiedTS?: string;
860
+ /** An array of attribute definitions. */
861
+ attributeDefs?: Array<AtlasAttributeDef>;
862
+ /** An array of sub types. */
863
+ subTypes?: string[];
864
+ /** An array of super types. */
865
+ superTypes?: string[];
866
+ /** An array of relationship attributes. */
867
+ relationshipAttributeDefs?: Array<AtlasRelationshipAttributeDef>;
868
+ }
869
+ /**
870
+ * The relationshipEndDef represents an end of the relationship. The end of the
871
+ * relationship is defined by a type, an
872
+ * attribute name, cardinality and whether
873
+ * it is the container end of the relationship.
874
+ */
875
+ export interface AtlasRelationshipAttributeDef {
876
+ /**
877
+ * single-valued attribute or multi-valued attribute.
878
+ *
879
+ * Possible values: "SINGLE", "LIST", "SET"
880
+ */
881
+ cardinality?: CardinalityValue;
882
+ /** An array of constraints. */
883
+ constraints?: Array<AtlasConstraintDef>;
884
+ /** The default value of the attribute. */
885
+ defaultValue?: string;
886
+ /** The description of the attribute. */
887
+ description?: string;
888
+ /** Determines if it is included in notification. */
889
+ includeInNotification?: boolean;
890
+ /** Determines if it is indexable. */
891
+ isIndexable?: boolean;
892
+ /** Determines if it is optional. */
893
+ isOptional?: boolean;
894
+ /** Determines if it unique. */
895
+ isUnique?: boolean;
896
+ /** The name of the attribute. */
897
+ name?: string;
898
+ /** The options for the attribute. */
899
+ options?: Record<string, string>;
900
+ /** The name of the type. */
901
+ typeName?: string;
902
+ /** The maximum count of the values. */
903
+ valuesMaxCount?: number;
904
+ /** The minimum count of the values. */
905
+ valuesMinCount?: number;
906
+ /** Determines if it is a legacy attribute. */
907
+ isLegacyAttribute?: boolean;
908
+ /** The name of the relationship type. */
909
+ relationshipTypeName?: string;
910
+ }
911
+ /** class that captures details of an enum-type. */
912
+ export interface AtlasEnumDef {
913
+ /**
914
+ * The enum of type category.
915
+ *
916
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
917
+ */
918
+ category?: TypeCategory;
919
+ /** The created time of the record. */
920
+ createTime?: number;
921
+ /** The user who created the record. */
922
+ createdBy?: string;
923
+ /** The date format. */
924
+ dateFormatter?: DateFormat;
925
+ /** The description of the type definition. */
926
+ description?: string;
927
+ /** The GUID of the type definition. */
928
+ guid?: string;
929
+ /** The name of the type definition. */
930
+ name?: string;
931
+ /** The options for the type definition. */
932
+ options?: Record<string, string>;
933
+ /** The service type. */
934
+ serviceType?: string;
935
+ /** The version of the type. */
936
+ typeVersion?: string;
937
+ /** The update time of the record. */
938
+ updateTime?: number;
939
+ /** The user who updated the record. */
940
+ updatedBy?: string;
941
+ /** The version of the record. */
942
+ version?: number;
943
+ /** ETag for concurrency control. */
944
+ lastModifiedTS?: string;
945
+ /** The default value. */
946
+ defaultValue?: string;
947
+ /** An array of enum element definitions. */
948
+ elementDefs?: Array<AtlasEnumElementDef>;
949
+ }
950
+ /** class that captures details of an enum-element. */
951
+ export interface AtlasEnumElementDef {
952
+ /** The description of the enum element definition. */
953
+ description?: string;
954
+ /** The ordinal of the enum element definition. */
955
+ ordinal?: number;
956
+ /** The value of the enum element definition. */
957
+ value?: string;
958
+ }
959
+ /**
960
+ * AtlasRelationshipDef is a TypeDef that defines a relationship.
961
+ * As with other typeDefs the AtlasRelationshipDef has a name. Once created the
962
+ * RelationshipDef has a guid.
963
+ * The name and the guid are the 2 ways that the
964
+ * RelationshipDef is identified.
965
+ * RelationshipDefs have 2 ends, each of which
966
+ * specify cardinality, an EntityDef type name and name and optionally
967
+ * whether the
968
+ * end is a container.
969
+ * RelationshipDefs can have AttributeDefs - though only
970
+ * primitive types are allowed.
971
+ * RelationshipDefs have a relationshipCategory
972
+ * specifying the UML type of relationship required
973
+ * The way EntityDefs and
974
+ * RelationshipDefs are intended to be used is that EntityDefs will define
975
+ * AttributeDefs these AttributeDefs
976
+ * will not specify an EntityDef type name as
977
+ * their types.
978
+ * RelationshipDefs introduce new attributes to the entity
979
+ * instances. For example
980
+ * EntityDef A might have attributes attr1,attr2,attr3
981
+ *
982
+ * EntityDef B might have attributes attr4,attr5,attr6
983
+ * RelationshipDef
984
+ * AtoB might define 2 ends
985
+ *
986
+ * end1: type A, name attr7
987
+ * end2: type B, name attr8
988
+ *
989
+ * When an instance of EntityDef A is created, it
990
+ * will have attributes attr1,attr2,attr3,attr7
991
+ * When an instance of EntityDef
992
+ * B is created, it will have attributes attr4,attr5,attr6,attr8
993
+ *
994
+ * In this way
995
+ * relationshipDefs can be authored separately from entityDefs and can inject
996
+ * relationship attributes into
997
+ * the entity instances
998
+ */
999
+ export interface AtlasRelationshipDef {
1000
+ /**
1001
+ * The enum of type category.
1002
+ *
1003
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
1004
+ */
1005
+ category?: TypeCategory;
1006
+ /** The created time of the record. */
1007
+ createTime?: number;
1008
+ /** The user who created the record. */
1009
+ createdBy?: string;
1010
+ /** The date format. */
1011
+ dateFormatter?: DateFormat;
1012
+ /** The description of the type definition. */
1013
+ description?: string;
1014
+ /** The GUID of the type definition. */
1015
+ guid?: string;
1016
+ /** The name of the type definition. */
1017
+ name?: string;
1018
+ /** The options for the type definition. */
1019
+ options?: Record<string, string>;
1020
+ /** The service type. */
1021
+ serviceType?: string;
1022
+ /** The version of the type. */
1023
+ typeVersion?: string;
1024
+ /** The update time of the record. */
1025
+ updateTime?: number;
1026
+ /** The user who updated the record. */
1027
+ updatedBy?: string;
1028
+ /** The version of the record. */
1029
+ version?: number;
1030
+ /** ETag for concurrency control. */
1031
+ lastModifiedTS?: string;
1032
+ /** An array of attribute definitions. */
1033
+ attributeDefs?: Array<AtlasAttributeDef>;
1034
+ /**
1035
+ * The relationshipEndDef represents an end of the relationship. The end of the
1036
+ * relationship is defined by a type, an
1037
+ * attribute name, cardinality and whether
1038
+ * it is the container end of the relationship.
1039
+ */
1040
+ endDef1?: AtlasRelationshipEndDef;
1041
+ /**
1042
+ * The relationshipEndDef represents an end of the relationship. The end of the
1043
+ * relationship is defined by a type, an
1044
+ * attribute name, cardinality and whether
1045
+ * it is the container end of the relationship.
1046
+ */
1047
+ endDef2?: AtlasRelationshipEndDef;
1048
+ /**
1049
+ * The Relationship category determines the style of relationship around
1050
+ * containment and lifecycle.
1051
+ * UML terminology is used for the values.
1052
+ * ASSOCIATION is a relationship with no containment.
1053
+ * COMPOSITION and AGGREGATION are containment relationships.
1054
+ * The difference being in the lifecycles of the container and its children.
1055
+ * In the COMPOSITION case, the children cannot exist without the container.
1056
+ * For AGGREGATION, the life cycles of the container and children are totally independent.
1057
+ *
1058
+ * Possible values: "ASSOCIATION", "AGGREGATION", "COMPOSITION"
1059
+ */
1060
+ relationshipCategory?: RelationshipCategory;
1061
+ /** The label of the relationship. */
1062
+ relationshipLabel?: string;
1063
+ }
1064
+ /**
1065
+ * The relationshipEndDef represents an end of the relationship. The end of the
1066
+ * relationship is defined by a type, an
1067
+ * attribute name, cardinality and whether
1068
+ * it is the container end of the relationship.
1069
+ */
1070
+ export interface AtlasRelationshipEndDef {
1071
+ /**
1072
+ * single-valued attribute or multi-valued attribute.
1073
+ *
1074
+ * Possible values: "SINGLE", "LIST", "SET"
1075
+ */
1076
+ cardinality?: CardinalityValue;
1077
+ /** The description of the relationship end definition. */
1078
+ description?: string;
1079
+ /** Determines if it is container. */
1080
+ isContainer?: boolean;
1081
+ /** Determines if it is a legacy attribute. */
1082
+ isLegacyAttribute?: boolean;
1083
+ /** The name of the relationship end definition. */
1084
+ name?: string;
1085
+ /** The type of the relationship end. */
1086
+ type?: string;
1087
+ }
1088
+ /** class that captures details of a struct-type. */
1089
+ export interface AtlasStructDef {
1090
+ /**
1091
+ * The enum of type category.
1092
+ *
1093
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
1094
+ */
1095
+ category?: TypeCategory;
1096
+ /** The created time of the record. */
1097
+ createTime?: number;
1098
+ /** The user who created the record. */
1099
+ createdBy?: string;
1100
+ /** The date format. */
1101
+ dateFormatter?: DateFormat;
1102
+ /** The description of the type definition. */
1103
+ description?: string;
1104
+ /** The GUID of the type definition. */
1105
+ guid?: string;
1106
+ /** The name of the type definition. */
1107
+ name?: string;
1108
+ /** The options for the type definition. */
1109
+ options?: Record<string, string>;
1110
+ /** The service type. */
1111
+ serviceType?: string;
1112
+ /** The version of the type. */
1113
+ typeVersion?: string;
1114
+ /** The update time of the record. */
1115
+ updateTime?: number;
1116
+ /** The user who updated the record. */
1117
+ updatedBy?: string;
1118
+ /** The version of the record. */
1119
+ version?: number;
1120
+ /** ETag for concurrency control. */
1121
+ lastModifiedTS?: string;
1122
+ /** An array of attribute definitions. */
1123
+ attributeDefs?: Array<AtlasAttributeDef>;
1124
+ }
1125
+ /** The definitions of types. */
1126
+ export interface AtlasTypesDef {
1127
+ /** businessMetadataDefs */
1128
+ businessMetadataDefs?: Array<AtlasBusinessMetadataDef>;
1129
+ /** An array of classification definitions. */
1130
+ classificationDefs?: Array<AtlasClassificationDef>;
1131
+ /** An array of entity definitions. */
1132
+ entityDefs?: Array<AtlasEntityDef>;
1133
+ /** An array of enum definitions. */
1134
+ enumDefs?: Array<AtlasEnumDef>;
1135
+ /** An array of relationship definitions. */
1136
+ relationshipDefs?: Array<AtlasRelationshipDef>;
1137
+ /** An array of struct definitions. */
1138
+ structDefs?: Array<AtlasStructDef>;
1139
+ /** An array of term template definitions. */
1140
+ termTemplateDefs?: Array<TermTemplateDef>;
1141
+ }
1142
+ /** Term template definition for glossary term. */
1143
+ export interface TermTemplateDef {
1144
+ /**
1145
+ * The enum of type category.
1146
+ *
1147
+ * Possible values: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", "TERM_TEMPLATE"
1148
+ */
1149
+ category?: TypeCategory;
1150
+ /** The created time of the record. */
1151
+ createTime?: number;
1152
+ /** The user who created the record. */
1153
+ createdBy?: string;
1154
+ /** The date format. */
1155
+ dateFormatter?: DateFormat;
1156
+ /** The description of the type definition. */
1157
+ description?: string;
1158
+ /** The GUID of the type definition. */
1159
+ guid?: string;
1160
+ /** The name of the type definition. */
1161
+ name?: string;
1162
+ /** The options for the type definition. */
1163
+ options?: Record<string, string>;
1164
+ /** The service type. */
1165
+ serviceType?: string;
1166
+ /** The version of the type. */
1167
+ typeVersion?: string;
1168
+ /** The update time of the record. */
1169
+ updateTime?: number;
1170
+ /** The user who updated the record. */
1171
+ updatedBy?: string;
1172
+ /** The version of the record. */
1173
+ version?: number;
1174
+ /** ETag for concurrency control. */
1175
+ lastModifiedTS?: string;
1176
+ /** An array of attribute definitions. */
1177
+ attributeDefs?: Array<AtlasAttributeDef>;
1178
+ }
1179
+ /** Alias for BusinessAttributeUpdateBehavior */
1180
+ export type BusinessAttributeUpdateBehavior = string;
1181
+ /** Alias for EntityStatus */
1182
+ export type EntityStatus = string;
1183
+ /** Alias for AtlasTermAssignmentStatus */
1184
+ export type AtlasTermAssignmentStatus = string;
1185
+ /** Business metadata to send to the service */
1186
+ export type BusinessMetadataOptions = FormData | Array<BusinessMetadataOptionsFilePartDescriptor>;
1187
+ /** Alias for AtlasTermRelationshipStatus */
1188
+ export type AtlasTermRelationshipStatus = string;
1189
+ /** Alias for TermStatus */
1190
+ export type TermStatus = string;
1191
+ /** Alias for StatusAtlasRelationship */
1192
+ export type StatusAtlasRelationship = string;
1193
+ /** Alias for SearchSortOrder */
1194
+ export type SearchSortOrder = string;
1195
+ /** Alias for LineageDirection */
1196
+ export type LineageDirection = string;
1197
+ /** Alias for TypeCategory */
1198
+ export type TypeCategory = string;
1199
+ /** Alias for RoundingMode */
1200
+ export type RoundingMode = string;
1201
+ /** Alias for CardinalityValue */
1202
+ export type CardinalityValue = string;
1203
+ /** Alias for RelationshipCategory */
1204
+ export type RelationshipCategory = string;
1205
+ //# sourceMappingURL=models.d.ts.map